Quantcast
Channel: SCN : All Content - SAP GUI
Viewing all 3616 articles
Browse latest View live

Client repeatedly ask for updates from SAP installation server

$
0
0

After installing SAP from the installation server, the Client PC repeatedly as for updates from SAP installation server; click yes, it runs the updates and then ask to run them again ... what can cause this to happen?

 

thanks

 

larry


SAPGUI for Windows keep prompting SAP Software Update

$
0
0

Hi,

 

I have an installation server to distribute SAPLogon to users. We are using SAPGUI 7.30 Patch 14.

 

Users keep having multiple prompts to SAP Software Update "Do you wish to update the SAP products installed on your computer?" even after successful update and restarts of the computer.

 

Users have checked and the patch level has been updated, but don't understand the subsequent multiple prompts to update.

 

May I know how to stop the multiple prompts?

 

Thank you.

 

regards,

zl

SAP screen personas login issue

$
0
0

Hello All,

 

I have configured Personas & unable to login.While logging into personas "you are not allowed to access this system. if this is not correct please contact your system administrator" message is being displayed.

 

Below attached is the screenshot of configuration check. Both the persona system & target system are same, why the config check tool is unable to determine configuration of clientaccesspolicy.xml, crossdomain.xml, BASIS Version, Kernel & Patch Version (Am I missing any configuration?)

 

screen.PNG

 

Also,

RFC connection type H is showing "Status HTTP Response : 404" --- I have used communication user for authentication, please correct me.

 

 

 

Regards,

Dheeraj

Error in method when trying to get cell value

$
0
0

Hello experts,

 

 

I am trying  to write a script for su3  transaction where we have parameter ids. My requirement is to get the value of certain cell .

 

As you can see in the below picture lets say i have FZ1 parameter ID i need to capture parameter value in some variable and display it in other screen.

 

 

How can i write the script code for it ?

 

 

 

Currently i am able to get the number of rows and cloumns of that table control but my script is failing when

 

i call the method     Selectedtable .getCellValue (value of row number , column id );

 

I am able to get values of number of rows and columns but why is my method getCellValue  not working ?



it is throwing me error that there is an issue with property . I am passing a row number  and column id .  I am not sure where i went wrong .

 

 

 

Kindly suggest .

 

 

 

 

 

 

 

 

 

Best regards,

pradeep.

Screen Personas 3 - Flavor resize

$
0
0

Hi everyone,

I have a (hopefully) little problem and want you to ask for help.


My wish is to provide two flavors with more or less identic content, each with its own resolution (1024*768 and 1280 * 1024) and a resolution responsive flavor switching.
So if the first user is joining with the resolution of 1024*768 he should get FlavorA and the second user with a resolution of 1280*1024 FlavorB.
In my actual tryings, I’ve added the following Script, to switch from FlavorA to FlavorB, resolution responsive:


//check for screen resolution
// 1. Check your screen size 
var screenSize, flavor; 
screenSize = session.findById("wnd[0]").width; 
// 2.Decide which flavor is the best fits 
if (screenSize > 1279) { 
flavor = 'FlavorA'; 
} else {
flavor = 'FlavorB'; 

// 3. Switch to the flavor if it is not already used 
if (flavor !=
session.info.flavorId) { 
session.utils.changeFlavor(flavor); 


This works and I’m pretty happy with that. But I’m really struggling, trying to force the screen size in FlavorB.
Here are my coding attempts:


session.findById("wnd[0]").height = "768px";
session.findById("wnd[0]").width = "1024px";

window.width = "1024px";
window.height = "768px";

Nothing really works.

Maybe I can manage this with a second Theme, which is getting automatically chosen in FlavorB.
But I can’t find any codings for that.

 

 

Personas 3.0 SP2


Thanks a lot


How to Consume Odata service in Personas

$
0
0

Hi All,

 

We would like to know how to consume Odata service in personas, please let us know if this is possible what are the ways of doing the same and pros and Cons??

 

Regards

Manoj

Using screen fields from flavor and scripting on those values

$
0
0

Hi  Experts ,

 

I  have a flavor which shows 4 values in  4 text box's   now based on those values I have to execute a script (using script button here ) , this script is basically displaying results from IW 28 using those values .

 

When I try to do it the script is failing as it does not recognise those 4 values since they are from a different screen.

 

Kindly suggest how I can run the script that displays results based on values that were given on my flavor screen .

 

 

Best regards,

pradeep.

SAP GUI not opening SAP File Save as Dialog-

$
0
0

On a number of machines users are unable to perform a number of functions including:

 

Downloading as an excel XLSX file (Only export possible is in XXL format)

Downloading a role

Can't browse to location to save a file.

 

Surprisingly a success messages given at the end  either Setting was applied SALV_BS_MSG811, or Action Canceled by user

 

 

The common factor in the above actions seems to be that there would normally be a File save as dialog box -

 

 

This does not appear.

 

 

Looking at the SAP trace logs on the client you can see the following error-

 

(Error):    CSapInfoCtrl::FileSaveDialogEx: Failed with rc = 65535 ()

 

This occurs on Windows 7 machines with a variety of SAP GUI Clients 7.20 -7.40

 

 

Wondering if anyone has any suggestions on what might be causing the issue and how to resolve it? I have tried uninstalling and reinstalling the SAP GUI Client and patching up to 7.40 patch level 3




SAP GUI JAVA 7.40 rev7 Bug?

$
0
0

Hi List,

 

it seems there is a bug within the latest Java GUI within ALV.

 

Can someone verify this please.

 

How to reproduce:

Run Report BCALV_GRID_08

Total the last column (Days)

Subtotal the sixth column (Country)

The filled values within the Country column don´t look right.

 

Can also be reproduced with any ALV with a subtotal.

 

wkr

Henry

SAP GUI 740: VBA "SAP.Logoncontrol.1" and "SAP.Functions" doesn't work anymore

$
0
0

Hi,

 

we updated to SAP GUI 740 and it seems that our Excel VBA files which are using "SAP.Logoncontrol.1" and "SAP.Functions" to logon to SAP and to execute different function modules doesn't work anymore.

 

Enclosed two examples for VBA Excel (NON_SSO and SSO) ...

 

„NON_SSO“ VBA Code:

 

Set objSap = CreateObject("SAP.Logoncontrol.1")

Set objSapCon = objSap.NewConnection

 

objSapCon.Client = "100"

objSapCon.ApplicationServer = "servapk01"

objSapCon.System = "K01"

objSapCon.SystemNumber = "01"

objSapCon.User = "Developer"

objSapCon.Password = "Password"

objSapCon.Language = "EN"

 

If objSapCon.Logon(0, True) <> True Then

    objSapCon.LastError

Else

    MsgBox("Logon ok!")

Endif

 

„SSO“ VBA Code:

 

Set objSap = CreateObject("SAP.Logoncontrol.1")

Set objSapCon = objSap.NewConnection()

 

objSapCon.Client = "100"

objSapCon.ApplicationServer = "servapk01"

objSapCon.System = "K01"

objSapCon.SystemNumber = "01"

objSapCon.User = "Developer"

objSapCon.Language = "EN"

objSapCon.autologon = 1

objSapCon.SNC = True

objSapCon.SNCName = "p:Developer@COMPANY.COM"

objSapCon.SNCQuality = 3

 

If objSapCon.Logon(0, True) <> True Then

    objSapCon.LastError

Else

    MsgBox ("Logon ok!")

End If

 

...where we get the following error:

 

 

Fehler Gruppe

 

RFC_ERROR_COMMUNICATION

 

Nachricht

 

Connect to message server failed

Connect_PM  MSHOST=servapk01, R3NAME=K01, GROUP=PUBLIC

 

ERROR       service 'sapmsK01' unknown

TIME        Wed Jun 24 13:14:19 2015

RELEASE     740

COMPONENT   NI (network interface)

VERSION     40

RC          -3

MODULE      D:/depot/bas/740_REL/src/base/ni/nixxsl.cpp

LINE        189

DETAIL      NiSrvLGetServNo: service name cached as unknown

COUNTER     7

 

--------------------------------------

 

When we change the following VBA code part from ...

 

      If objSapCon.Logon(0, True) <> True Then

 

... to ...

 

      If objSapCon.Logon(0, False) <> True Then

 

... to display the Logon window the "NON_SSO" works:

 

-----------------------------

 

Set objSap = CreateObject("SAP.Logoncontrol.1")

Set objSapCon = objSap.NewConnection

 

objSapCon.Client = "100"

objSapCon.ApplicationServer = "servapk01"

objSapCon.System = "K01"

objSapCon.SystemNumber = "01"

objSapCon.User = "Developer"

objSapCon.Password = "Password"

objSapCon.Language = "EN"

 

If objSapCon.Logon(0, True) <> True Then

    objSapCon.LastError

Else

    MsgBox("Logon ok!")

Endif

 

-----------------------------

 

But for "SSO" ...

 

-----------------------------

 

Set objSap = CreateObject("SAP.Logoncontrol.1")

Set objSapCon = objSap.NewConnection()

 

objSapCon.Client = "100"

objSapCon.ApplicationServer = "servapk01"

objSapCon.System = "K01"

objSapCon.SystemNumber = "01"

objSapCon.User = "Developer"

objSapCon.Language = "EN"

objSapCon.autologon = 1

objSapCon.SNC = True

objSapCon.SNCName = "p:Developer@HERAEUS.COM"

objSapCon.SNCQuality = 3

 

If objSapCon.Logon(0, True) <> True Then

    objSapCon.LastError

Else

    MsgBox ("Logon ok!")

End If

 

-----------------------------

 

... we get the following error:

 

 

Fehler Gruppe

 

RFC_ERROR_COMMUNICATION

 

Nachricht

 

CPIC-CALL: 'CMRCV : rc=20

 

LOCATION    CPIC (TCP/IP) on local host

ERROR       illegal parameter value ( function=SAP_CMTIMEOUT2 /

            parameter=conversation_ID / value=75850214 )

TIME        Wed Jun 24 13:29:15 2015

RELEASE     740

COMPONENT   CPIC (TCP/IP)

VERSION     3

RC          769

MODULE      D:/depot/bas/740_REL/src/krn/si/cpic/r3cpic.c

LINE        10858

COUNTER     20

 

-----------------------------

 

With SAP GUI 720 everything works fine.

 

Are there any changes or bugs know for SAP GUI 740 or do we have to handle VBA logon to SAP in a new changed way?

 

We have the same errors in our SAP Online Transport Management System and within SAP ChaRM and Incident Mgt CRM (SAP NetWeaver).

 

BR

Florian

Modal Window in Personas 3.0 SP2

$
0
0

Hello Experts,

 

I am attempting to create a modal window to appear on script button click.

 

The client requirement is to have a pop-up window on button click to show an external website. I have checked to ensure the website has been whitelisted and when I put an HTML viewer on screen, it works.

 

My issue is getting a modal window to appear. Has anyone been able to accomplish this, or is it possible at all?

 

Any help is greatly appreciated.

 

Thanks,

 

Andrew McGrath

Creating a flavor in SAPGUI

$
0
0

We just installed SAP Personas 3.0. How do I create a flavor using sapgui for Windows? I have the P in the menu bar, but no options from it. The open SAP course used webgui when creating flavors. I was wondering if its possible using sapgui as we have not used webgui. Thanks

Personas 3.0: Dump while Calling RFC via script

$
0
0

Hello Experts,

 

I am following the below Wiki link to call the RFC from script, but getting dump "Conversion of type "STRING" to type "TABLE OF FLAT_STRUCTURE" not supported". Any idea as to why I am getting below error?

 

I debugged the EXECUTE_RFC_CALL method and its dumping while converting the parameter "IT_SO_ID_RANGE" !!

 

How to call Remote Enabled ABAP Function Modules in Personas 3.0 - SAP Imagineering - SCN Wiki

 

Script:

var rfc = session.createRFC("SEPM_GWS_SALES_ORDERS_GET");
var orderSearch1 = { SIGN: 'I', OPTION: "EQ",LOW: '500000001'};
var orderSearch2 = { SIGN: 'I', OPTION: "EQ",LOW: '500000005'};
rfc.setParameter("IT_SO_ID_RANGE", JSON.stringify([orderSearch1, orderSearch2]));
rfc.requestResults('["ET_SO_HEADER", "ET_RETURN"]');
rfc.send();
var soJ = rfc.getResult("ET_SO_HEADER");
session.utils.log(soJ);
var so = JSON.parse(soJ);
for(var i=0; i<so.length; i++){    session.utils.log(so[i].SO_ID+" : "+so[i].GROSS_AMOUNT);
}

System details:

script.png

Regards,

Karthikeya

Personas 3.0 SP02 page doesnt open

$
0
0

Hi All,

 

we have deployed Persons 3.0 SP02 on ECC6-EHP7(Kernel - 745) on SAP DEV box.

All the prerequisites are set based on configuration guide and Health check everything is green, but while opening Persons HTML page it doesnt come up.

I am wondering why the Persons HTML page doest load, it gets stuck at a point which is attached here.

It has never happened in any of the system environments where we have previously deployed Persons 3.0 SP02.

 

Screenshots attached for Health Check & Persons HTML page issue

 

Will appreciate your suggestions.

 

Thanks

Ayush

Screen Personas 3.0 SP2 - Error message after webgui LogOn

$
0
0

Hello experts,

 

we installed and configured Screen Personas 3.0 SP2. The Health Check shows only green lights. Kernel 742 patch level 329 and SAP_BASIS Release  740 SP10 is installed. The SICF services are activited. After logging on to the webgui an error message appears: Initializing of SAP PERSONAS failed.

 

There is no flavor created and used yet. Screen Personas is only installed on the system.

 

We already cleared the browser and server caches. Version 19 of note 2222774 is installed. So are most of the notes mentioned in 2222773.

 

Can it be an authorization issue? I'm getting a http 403 while debugging in the browser. When I'm logging on with a SAP-ALL authorized user the message won't appear.

 

Thanks in advandce,

Hans.


ME52N SAP personas image not appearing within SAP GUI

$
0
0

Hi,

 

I'm trying to get a background and company logo to appear within the SAP GUI, I've managed to get background images and the company logo (as an image) to appear within SE38 and QM01 but for some reason I can’t get anything to appear within ME52N has anyone tried to make alterations to ME52N within SAP Personas and had those changes reflect within the GUI

 

The requirement is for it to work from the SAP GUI not web GUI images do appear on web version.

 

I'm currently using SAP personas 3.0 SP 2

UX Sessions at SAPPHIRE NOW 2016 and ASUG Annual Conference

$
0
0

SAPPHIRE NOW and the ASUG Annual Conference are coming soon. We have many great sessions planned in which customers, partners, and SAP experts will talk about their successes with SAP’s user experience (UX) solutions. This blog summarizes some of the presentations you may want to add to your agenda. Please check the schedule as there are additional sessions that I did not include on this list.

 

For those of you new to the Agenda Builder, here is a quick tutorial:

  • To find all the ASUG sessions on user experience: In the Filters selector on the left side, click on “ASUG Tracks”. Scroll down to User Experience (towards the bottom), check the box, and then close the filter.
  • To find all the SAP sessions on user experience: In the Filters selector on the left side, click on “Digital Enterprise Platform”, select the box for User Experience, then close the filter.

 

 

Date /

Time

Session# /

Location

Description

Speaker

Monday

5/16/16

 

 

 

8am - 5pm

ASUG Pre-conference

User Experience: Apply Design Thinking to Develop an Awesome User Experience

This ASUG preconference seminar requires an additional registration fee. For more information and registration details, visit https://experience.sap.com/news/going-asug-may-sign-now-full-day-design-thinking-ux-workshop/ .

Design Thinking experts from SAP and SAP customers

 

 

 

 

Tuesday

5/17/16

 

 

 

11:00 am - 12:00 pm

4121

S330B

UX Strategy in the age of SAP Fiori

With Fiori SAP has a clearly outlined UX direction. But what does this mean for SAP's key UI technologies? This session covers the evolution of SAPUI5, other UI technologies, UI clients like Fiori launchpad, Business Client and Portal and includes further empower tools like BUILD. The session will give a comprehesive understanding of the key parts.

Nis Boy Naeve, SAP

12:30 pm - 1:30 pm

4355

S330C

From Ugly Duckling to Swan – SAP UX Strategy in Practice @ Cargill

Cargill has adopted an SAP UX Strategy of new, renew and enable. During this presentation we will discuss how Cargill chooses between Fiori, Screen Personas, or another UX. We will take an in-depth look at how Cargill has used Fiori, the mobile client, and Screen Personas. Finally, will discuss overcoming challenges faced during this process.

Kari Ingebritsen, Cargill

1:45 pm - 2:45 pm

5564

S330C

Fiori - Concept to Production in 8 Weeks at Coca-Cola

Learn how Coca-Cola enabled Fiori apps for North America bottler users from concept to production in 8 weeks. Gain insight into how Coca-Cola integrated NetWeaver Gateway, Single Sign-on, SAP Portal and SAP backends into the Fiori solution. Learn how Coca-Cola looked at the latest Fiori Apps for HCM, CRM, Sales and Procurement out of the box.

Chan Pham, Coca-Cola

3:00 pm - 4:00 pm

3908

S330B

GE Oil & Gas Puts End-User Data to Work When Planning for SAP Fiori

GE Oil & Gas put the power of its end-user data to work during implementation and beyond. Unique user insights and analytics provided by SAP User Experience Management by Knoa enabled GE to create efficiency, build value, and reduce complexity. Additionally, GE leveraged the data to develop its strategy for SAP Fiori and UX to deliver the best user experience possible.

Dmitri Prigojev and Anca Racasan GE Oil & Gas

3:00 pm - 4:00 pm

4038

S330C

SAP Fiori 2.0

Fiori 2.0 is an evolution of SAP's highly successful first gen Fiori which is the new user experience (UX) for SAP software. It applies modern design principles and following latest design trends for a completely reimagined UX. It is designed for global reach on every device (mobile and desktop), every user everywhere (cloud and on-premise).

Michael Falk, SAP

 

 

 

 

Wednesday

5/18/16

 

 

 

11:00 am - 12:00 pm

4299

S330B

Convince IT and Business Leaders to Value User Experience (UX) and Design

How can you convince IT and business leaders to value UX and design? You will hear about customer examples and best practices on how to influence the organization and processes to include design methods and establish design skills and a design mindset throughout the organization, and learn about the tools and required infrastructure to make it happen.

Andreas Hauser and David Ramsay, SAP

11:00 am - 12:00 pm

TBD

SAP Screen Personas 3.0 Practitioner Forum

Join your peers to hear how they are using SAP Screen Personas to simplify SAP GUI screens and run simple.

SAP Screen Personas product team

12:45 pm - 1:45 pm

4136

S330C

Overcoming Obstacles to Creating Excellence in User Experience (UX)

Whether your organization can’t find UX design talent or budget constraints prevent adding staff, learn how Johns Hopkins created an in-house UX team and grew the skills needed. The UX team has created a UX road map, designed a new app using design thinking, and deployed a pilot SAP Fiori launchpad and SAP Fiori app.

Keith Haggard and Harish Kurup, Johns Hopkins

12:45 pm - 1:45 pm

5341

S330B

Organizational Readiness for Design Thinking

Design thinking helps companies drive adoption and user satisfaction through great user experience. Change in organizational culture is often required to make this a reality. Learn how the organizational readiness framework from SAP can assess readiness and develop strategies to adopt design thinking, and hear a customer share their journey.

Jerzy Bilchuk, Intel Corporation; Janaki Kumar and Carol Farnsworth, SAP;

1:00 pm - 1:40 pm

DE33564

Digital Enterprise Platform Topic Area 5

Provide a Simplified and Integrated Visual Experience

Enrich the user experience (UX) of working with logistics, finance, and purchasing screens. See how SAP Screen Personas software, with the look and feel of SAP Fiori UX, simplifies the screens based on SAP GUI and Web Dynpro. Learn how Nestlé S.A. uses SAP Screen Personas across several of its business units and global locations.

Francis Rodrigues, Nestle and Tobias Queck, SAP

2:15 pm - 3:15 pm

4531

S330C

Rockwell Automation Is Able to Run Simple with SAP Fiori, Cloud Edition

Rockwell Automation is an innovative SAP customer with a clear vision to deliver great user experience for end users, allowing them to perform their daily tasks anywhere and on any device. Join the session to learn how SAP HANA Cloud Platform and SAP Fiori, cloud edition empower Rockwell Automation to execute the vision.

Michelle Heger, Rockwell Automation

2:15 pm - 3:15 pm

4344

S330B

How Customers Use SAP Screen Personas to Run Simple

50 percent click reduction, 20 tabs reduced to 4, training time down from 2 hours to 45 minutes - these are real numbers from live SAP Screen Personas customers. In this session, we will showcase the IT heroes and the steps they followed that used SAP Screen Personas to deliver a simple, role-based, and intuitive user experience to their business users.

Peter Spielvogel, Tobias Queck, Sebastian Steinhauer, SAP

3:30 pm - 4:30 pm

4042

S330B

SAP Fiori Launchpad: Latest Updates and Recommendations

SAP Fiori launchpad is the SAP strategic single point of access for business users. This session provides a deep dive into the key capabilities and benefits of SAP Fiori launchpad. Learn about user interface integration guidance for your application landscape and get insights on how the award-winning SAP Fiori 2.0 design concepts will be applied to the SAP Fiori launchpad.

Stefan Lötterle, SAP

 

 

 

 

 

 

 

 

Thursday

5/19/16

 

 

 

11:00 am - 12:00 pm

4111

Boosting Warehouse Efficiency with a Barcode Scanning Mobile Application Based on SAPUI5

FreshDirect is an online grocer that delivers to residences and offices in the NYC metropolitan area. FreshDirect wanted to increase the efficiency of picking processes in its warehouses. Working with Incture, the company developed a user interface development toolkit for an HTML5- (SAPUI5) based mobile barcode scanning app to enable faster picking and checkout of customer orders.

Nitin Chaudhary, FreshDirect

12:30 pm - 1:30 pm

5173

S330B

Dolby’s Journey in Adopting SAP Fiori User Experience (UX)

Dolby replaced the unified work list (UWL) in SAP Enterprise Portal with SAP Fiori My Inbox and Expense and Time Approval apps to provide a richer UX and launch the user interface strategically aligned with SAP’s long-term vision. Hear Ashish Mehta, director of Enterprise Applications, talk about the challenges, wins, and lessons learned with the deployment.

Ashish Mehta Dolby Laboratories, Inc.;

1:00 pm - 1:40 pm

DE33560

Digital Enterprise Platform Topic Area 5

Adopt Next-Generation User Experience and Harmonized Visual Experience

Use design to empower users to work more efficiently. Understand how SAP Fiori user experience concepts support users with context switching and decision making when using SAP S/4HANA software. Learn how you can collaborate more effectively with team members and manage interruptions during primary business activities.

Kai Richter, SAP

2:00 pm - 3:00 pm

5577

S330C

Convergent IS Simplifies Order Process on SAP S/4HANA with SAP Screen Personas

Convergent IS processes complex orders for hardware, software, and services solutions across multiple countries and currencies. We have accelerated our lead-to-cash processes and further simplified them with SAP Screen Personas applied to the service order and billing transactions in SAP S/4HANA. Learn how radical simplification can reduce your costs.

Shaun Syvertsen, Convergent IS and Peter Spielvogel, SAP

3:30 pm - 4:30 pm

4036

S210C

Road Map: SAP Fiori and User Interface (UI) Technologies

Learn about latest developments and future directions of SAP Fiori: concept, design, user experience (UX) guidelines, programming models, platforms, and services. We also cover the main UI tools and technologies from SAP complementing SAP Fiori. The goal is not just to inform you about news and plans but also to help you define your path toward SAP Fiori UX.

Thomas Reiss, SAP

3:30 pm - 4:30 pm

4234

S330B

SAP Fiori: A Game Changer in Usability and Accessibility at Applied Materials

SAP Fiori apps enhanced user satisfaction by improving usability and accessibility. AMAT heavily relies on SAP modules, but users desired a more streamlined process. SAP Fiori was the right choice, granting Web-based access for SAP business applications across platforms and devices. Learn how the flexibility of SAP Fiori can be customized to meet your unique needs.

Sudha Jaladi, Applied Materials

 

 

 

 

Every day

 

 

 

Show floor hours

DE33573

Demo station

SAP Fiori UX Evolution

Benefit from a manifestation of digital age application automation that provides intelligent, context-based support for different personas. Explore the SAP Fiori user experience (UX) and understand why it won a Red Dot Design Award. See how SAP Fiori UX with SAP Screen Personas harmonizes the user experience for SAP S/4HANA software.

Danny George, SAP

Show floor hours

Usability testing room

SAP Screen Personas 3.0 SP03 usability testing

Test the latest service pack of SAP Screen Personas. Try the new features and provide your feedback.

Sylvia Barnard, Ashley Tung, SAP

 

For the SAP User Experience and Design team, Peter Spielvogel.

Use of Onselect event in Grid view

$
0
0

Hi Experts,

 

 

I am able to get the selected rows using property .selectedrows   but when I scroll down the grid the value of .selectedrows change.

 

I have read in the sap scn page that I can use Onselect event .

 

 

Kindly suggest how I use Onselect event for capturing the rows selected before scrolling.

 

 

 

Best regards,

pradeep.

SAP gui scripting looping problem

$
0
0

Hello Guys,

 

I'm very new to sap gui  scripting, i have an issue looping. Below is my code and i need to enter the product details into sap .

 

I'm able to enter the product details in the first line and then i need to move to second item and input the product ,but am not able to input the data into second line. could you please any one help me with this.

 

 

 

Sub SAPLOGON_SAIL()

 

Dim i As Integer

Dim objCBN As String

Dim PO_order_no As String

Dim PO_date As String

Dim material As String

Dim target_qty As Integer

Dim lrow As Integer

 

 

 

 

 

objCBN = Range("A2").Value

PO_order_no = Range("B2").Value

PO_date = Range("C2").Value

'material = Range("E2").Value

'target_qty = Range("F2").Value

 

 

 

If Not IsObject(App) Then

   Set sapguiauto = CreateObject("SAPGUI.Scriptingctrl.1")

   Set App = sapguiauto.GetScriptingEngine

   End If

 

If Not IsObject(connection) Then

   Set connection = App.OpenConnection("CPO [SNC]")

      End If

 

If Not IsObject(session) Then

   Set session = connection.Children(0)

End If

 

If IsObject(WScript) Then

   WScript.ConnectObject session, "on"

   WScript.ConnectObject App, "on"

End If

 

 

'//User Login

session.findById("wnd[0]").maximize

session.findById("wnd[0]/usr/txtRSYST-BNAME").Text = "29003675"

session.findById("wnd[0]/usr/pwdRSYST-BCODE").Text = "*******"

session.findById("wnd[0]/usr/pwdRSYST-BCODE").SetFocus

session.findById("wnd[0]/usr/pwdRSYST-BCODE").caretPosition = 8

session.findById("wnd[0]").sendVKey 0

 

 

 

session.findById("wnd[0]/tbar[0]/okcd").Text = "VA01"

session.findById("wnd[0]").sendVKey 0

session.findById("wnd[0]").sendVKey 0

 

 

session.findById("wnd[0]").maximize

session.findById("wnd[0]/usr/ctxtVBAK-AUART").Text = "ZIPP"

session.findById("wnd[0]/usr/ctxtVBAK-AUART").caretPosition = 4

session.findById("wnd[0]").sendVKey 0

 

 

session.findById("wnd[0]/usr/subSUBSCREEN_HEADER:SAPMV45A:4021/subPART-SUB:SAPMV45A:4701/ctxtKUAGV-KUNNR").Text = objCBN

session.findById("wnd[0]/usr/subSUBSCREEN_HEADER:SAPMV45A:4021/subPART-SUB:SAPMV45A:4701/ctxtKUAGV-KUNNR").caretPosition = 9

session.findById("wnd[0]").sendVKey 0

session.findById("wnd[1]/tbar[0]/btn[9]").press

session.findById("wnd[2]/usr/txtRSYSF-STRING").Text = "00"

session.findById("wnd[2]/usr/txtRSYSF-STRING").caretPosition = 2

session.findById("wnd[2]/tbar[0]/btn[0]").press

session.findById("wnd[3]/usr/lbl[1,2]").SetFocus

session.findById("wnd[3]/usr/lbl[1,2]").caretPosition = 2

session.findById("wnd[3]").sendVKey 2

session.findById("wnd[1]").sendVKey 2

session.findById("wnd[0]").sendVKey 0

 

 

 

 

 

session.findById("wnd[0]").maximize

session.findById("wnd[0]/usr/subSUBSCREEN_HEADER:SAPMV45A:4021/txtVBKD-BSTKD").Text = PO_order_no

session.findById("wnd[0]/usr/subSUBSCREEN_HEADER:SAPMV45A:4021/ctxtVBKD-BSTDK").Text = PO_date

session.findById("wnd[0]/usr/subSUBSCREEN_HEADER:SAPMV45A:4021/ctxtVBKD-BSTDK").SetFocus

session.findById("wnd[0]/usr/subSUBSCREEN_HEADER:SAPMV45A:4021/ctxtVBKD-BSTDK").caretPosition = 9

session.findById("wnd[0]").sendVKey 0

 

 

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\01/ssubSUBSCREEN_BODY:SAPMV45A:4414/ssubHEADER_FRAME:SAPMV45A:4440/cmbVBAK-AUGRU").Key = "105"

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\01/ssubSUBSCREEN_BODY:SAPMV45A:4414/ssubHEADER_FRAME:SAPMV45A:4440/cmbVBAK-AUGRU").SetFocus

session.findById("wnd[0]").sendVKey 0

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\01/ssubSUBSCREEN_BODY:SAPMV45A:4414/ssubHEADER_FRAME:SAPMV45A:4440/cmbVBAK-FAKSK").Key = "02"

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\02").Select

 

lrow = Range("E" & Rows.Count).End(xlUp).Row

 

For i = 2 To lrow Step 1

 

material = Range("E" & i).Value

target_qty = Range("F" & i).Value

 

 

 

 

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\02/ssubSUBSCREEN_BODY:SAPMV45A:4415/subSUBSCREEN_TC:SAPMV45A:4902/tblSAPMV45ATCTRL_U_ERF_GUTLAST/ctxtRV45A-MABNR[1,0]").Text = material

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\02/ssubSUBSCREEN_BODY:SAPMV45A:4415/subSUBSCREEN_TC:SAPMV45A:4902/tblSAPMV45ATCTRL_U_ERF_GUTLAST/txtVBAP-ZMENG[2,0]").Text = target_qty

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\02/ssubSUBSCREEN_BODY:SAPMV45A:4415/subSUBSCREEN_TC:SAPMV45A:4902/tblSAPMV45ATCTRL_U_ERF_GUTLAST/txtVBAP-ZMENG[2,0]").SetFocus

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\02/ssubSUBSCREEN_BODY:SAPMV45A:4415/subSUBSCREEN_TC:SAPMV45A:4902/tblSAPMV45ATCTRL_U_ERF_GUTLAST/txtVBAP-ZMENG[2,0]").caretPosition = 17

session.findById("wnd[0]").sendVKey 0

 

 

 

 

Next i

 

 

While session.Children.Count > 1

session.findById("wnd[0]").sendVKey 0

Wend

 

 

 

'

'Order_No = Range("C1").Value

'

 

 

 

 

End Sub

Loading SAP Gui Via Portal Link in Citrix fails

$
0
0

Hi all

 

We are putting in a new Citrix environment and are coming across one weird issue holding up the works.

 

When loading SAP Gui from a shortcut in Citrix (Or using the Enterprise Portal to generate the Gui Shortcut) it fails with the error message:

 

Error Getting logon parameter for entry

\\server\userhome$\username\Netsettings\Profile\Desktop\ECP SAP Easy Access

rc=33

 

The Gui shortcut I created is below:

[System]

Name=ECP

Client=100

GuiParm=/M/MessageHost.Domain.internal/S/3614/G/SPACE

[User]

Name=USERNAME

Language=EN

[Function]

Title=SAP Easy Access

Command=SESSION_MANAGER

[Configuration]

WorkDir=H:\SapWorkDir

[Options]

Reuse=1

 

 

The Gui Shortcut created by the portal is below that also fails

 

[System]

Name=ECP

Client=100

GuiParm=/M/MessageHost.Domain.internal/S/3614/G/SPACE

[User]

Name=USERNAME

at="MYSAPSSO2=AjExMDAgAAxwb3J0YWw6dG1hcHCIABNiYXNpY2F1dGhlbnRpY2F0aW9uAQAFVE1BUFACAAMwMDADAANFUFAEAAwyMDE2MDQyMDAzNDYFAAQAAAAMCgAFVE1BUFD/AQQwggEABgkqhkiG9w0BBwKggfIwge8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBzzCBzAIBATAiMB0xDDAKBgNVBAMTA0VQUDENMAsGA1UECxMESjJFRQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTYwNDIwMDM0NjE1WjAjBgkqhkiG9w0BCQQxFgQU0KZmQ93+tj+qsfEWjtKW7GNSgDQwCQYHKoZIzjgEAwQuMCwCFEVBp7Bsf7XBIsKPtbyLDGErIBygAhRInXiysJmrHrm+5Bn8z/OC/9bVfA=="

Language=EN

[Function]

Command=smen

Type=Transaction

[Configuration]

Workplace=true

[Options]

Reuse=0

 

Failure message:

 

 

 

If I copy any of these shortcuts to my PC or the old Citrix environment they work fine.

 

The old Citrix environment is running SAP Gui 730, my Desktop is running SAP Gui 740 SP7 and the New Citrix is running SAP Gui 740 SP7

 

There is likely a setting that may well be preventing this from properly functioning but I am yet to find it.

 

Thanks.

Viewing all 3616 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>