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

How to access Selected Row on a Grid SAP Personas 3

$
0
0

Hi All,

 

I have just started building a new flavor using SAP Personas 3.

 

I am struggling somewhat as my JavaScript skills currently are shall we say, poor. What I want to do is this:

 

In a grid view, a row is selected by the user, based upon this selection I want to copy the data from 2 cells within that row into fields elsewhere within the flavor, sometimes in antoher transaction.

 

I have tried to follow this:

 

https://wiki.scn.sap.com/wiki/display/Img/Copying+Table+data+into+a+variable

 

But im not sure how to change this to only copy data from the cells within the selected row that I was to copy.

 

Any help would be appreciated.

 

Ian


Integrating SAP Screen Personas 3.0 with SAP NWBC 6.0

$
0
0

Hi,

 

I'm trying to integrate SAP Screen Personas with NWBC.

 

Screen flavors that I created are reflecting in NWBC but I came across with below questions and need assistance.

 

Versions : NWBC 6.0 PL 3

                 Screen Personas 3.0 SP 2

 

1. Is there a way that I can use the same theme I created in Personas in NWBC without creating a new theme in NWBC itself ?

 

2. How can I get the scripts created in Personas to work in NWBC ?

 

3. Properties of GUI controls are not reflecting in NWBC (i.e. font style, color, etc ). Is it possible to get them into NWBC?

 

 

I tried both desktop and HTML GUIs.

 

Thanks,

Harsha.

Does Personas R3 work for the Media Industry Solution?

$
0
0

Does anyone have experience of IS Media?

 

Can anyone out there confirm that it is just dynpro screens and Personas can be used with them?

 

This is quite urgent so a speedy response would be appreciated.

 

Thanks.

Patrick.

Error while creating views in ecc

$
0
0

Hi. I m new to SCN..

 

I  am getting some problems while creating view based on vbap,vbrp nd lips . m getting errors inconsistencies in field netwr and fkimg. so what to do

saplogon.ini Update options

$
0
0

I am trying to update a small group of about 200 users saplogon.ini file without leveraging any Domain Admins.  I have my saplogon.ini file located in CustomerFiles\saplogon.ini and I don't want to update the client other than this file. 

 

Original code from SAPSetup Guide 2016-06-07 so its fairly new.

 

NwEngine.Context.Log.Write "Event: Copying customized SapLogon.ini"

strSrcFile = NwEngine.Variables.ResolveString("%SapSrcDir%\CustomerFiles\SapLogon.ini")

strDstFile = NwEngine.Variables.ResolveString("%WinDir%\SapLogon.ini")

If NwEngine.Shell.FileExist( strSrcFile ) Then

NwEngine.Shell.CopyFile strSrcFile, strDstFile

End If

 

The above example was a bit outdated to the new file location with SAP GUI 7.40

 

'This script can be added to the “On Installation End” section of a SAP GUI 740 package event script.

'It distributes your special version of the “sapsogon.ini” file

'given this file exist inside a directory “CustomerFiles” on your installation server share.

NwEngine.Context.Log.Write "Event: Copying customized SapLogon.ini"

strSrcFile = NwEngine.Variables.ResolveString("%SapSrcDir%\CustomerFiles\saplogon.ini")

strDstFile = NwEngine.Variables.ResolveString("%AppData%\Roaming\SAP\Common\saplogon.ini")

If NwEngine.Shell.FileExist( strSrcFile ) Then

NwEngine.Shell.CopyFile strSrcFile, strDstFile

End If

 

I created the package without selecting and content as I don't want to update the client version. The successfully created a single file installer.  When I run it on a Windows 7 PC the saplogon.ini is not updated.  What am I doing wrong?

 

 

Cheers,

 

Dan Mead

GUI 740 SP5 - registry entries ConfigFileOnServer disappearing

$
0
0

Hello

We just migrated SAPGui installation server to 7.40 Compilation 2 with GUI 7.4 SP5

In package installation settings we are using option to use central configuration file:

NwEngine.Shell.SetRegValue "HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPLogon\Options\ConfigFileOnServer", "REG_EXPAND_SZ", "\\server\SapLogonTree.xml"

NwEngine.Shell.SetRegValue "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\SAPLogon\Options\ConfigFileOnServer", "REG_EXPAND_SZ", "\\server\SapLogonTree.xml"

but those registry entries are existing only for day or two and next morning disappearing from users workstations.

I've already checked following notes:

2075150 - SAP Logon (Pad) 740: New format of configuration files as of SAP GUI for Windows 7.40

2220930 - How to enable SAP UI Landscape format for SAP GUI for Windows 7.40

2075073 - SAP Logon (Pad) 740: create/distribute server configuration file in the SAP UI landscape format

2175351 - SAP Logon (Pad) 740: create/distribute the administrative core configuration file in the SAP UI landscape format

2175912 - SAP Logon (Pad) 740: favorites to the server connection entries are missing after migration

2225093 - SAP Logon (Pad) 740: command parameters /INI_FILE=... and /LSXML_FILE=... didn't work anymore in PL4+PL5

 

but nothing matched ....

We are also using:

NwEngine.Shell.SetRegValue "HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPLogon\Options\SapguiNTCmdOpts","REG_SZ","/SUPPORTBIT_OFF=MAX_WSIZE"

NwEngine.Shell.SetRegValue "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\SAPLogon\Options\SapguiNTCmdOpts","REG_SZ","/SUPPORTBIT_OFF=MAX_WSIZE"

 

and those registry entries are always in place ....

Any hint how to trace this issue or resolve it ?

Regards

Marcin

P.S. Anyone from OSS who really do want  to investigate ?

Change the default Encoding Value

$
0
0

Hi Experts,

 

I am set with the default encoding value of 4110. I would like to change the same to 1160.

 

Please let me know how to change this?

 

Is is GUI specific?

 

 

 

Thanks,

Bala

Personas 3: Change borderColor with own F4-Input Field

$
0
0

Hello Experts,

 

after Upgrade from Personas SP01 to SP02 it's not longer possible to change the border color of an user defined F4 input field.

In my Script i want to give the user a messagebox and a red border color if there is an invalid manual input.

 

 

This code works with SP01:

 

session.findById("wnd[0]/usr/ctxtPersonas_1467186939923").setProperty("borderColor", "ff0000");

 

 

In SP02 i get this script error:

 

"setProperty(): The property name 'borderColor' is invalid for a 'GuiCTextField' control. -  sap.personas.scripting"

 

Master Note 2222774 is implemented (Kernel 742, PL 300).

 

 

Regards,

Thomas


Load Balancing in Personas 3.0 SP02

$
0
0

Hi,

 

We are on Personas 3.0 SP02, kernel 742 PL 329.

We are having Production system with two application servers, is there away to handle load balancing in Personas without web dispatcher.

Is web dispatcher mandatory to handle lad balancing.

 

Regards,

Preethi

Personas 3.0 read-only table fields show as editable

$
0
0

Hello,

In my standard transaction VA02, in the item table I am able to see which columns are editable and which ones are read-only (these are greyed out). In Personas, though, in the same transaction (even in the Original Screen), even though the ability to edit works the same as in the standard, they all show as if they were editable - none are greyed out.

This will be very confusing for the users who will try to edit these fields since they show as editable but are actually read-only (like the item number and the material id).

 

Has anyone seen this problem and found a way to solve it?

 

Thanks!

Screen Personas 3 - "failed to fire action: not supported"

$
0
0

Hello all togehter,

 

I´m facing a strange problem with Screen-Personas 3 (SP 2, SP3 will be installed soon). Within transaction RECN we have created some buttons to print Adobe forms (see 1.png).

 

1.png

 

Now, sometimes users are getting the following script error when pressing one of the buttons -> "failed to fire action: not supported" on batch step<- (see 2.png).

 

2.png

This error occurs from time to time on different systems, different clients and for different users. For myself, I am not able to reproduce it.

 

I also checked note 2269094 and thread 3780681, but this did not help.

 

Any ideas?

 

 

Regards,

Daniel

Flavor not displaying correctly SAP Personas 2

$
0
0

   Hi all,

 

We are having an intermittant issue with our SAP Personas build whereby occasionally a user will perform an action, and the flavor fails to render correctly such as in this image:

flavor.png

 

The user had previously been using the build all day with no errors. This also coincides with a previous post of mine where the same users report similar happening, only the screen is black.

 

There are no scripting errors visible. No SAP Personas type error message pop ups either.

 

Has anyone else had this issue at all?

 

best regards,

 

Ian

NwSapSetupAdmin Installation Variables Read-Only?

$
0
0

Hello,

 

I have upgraded an SAPGUI Installation Server from 7.30 to 7.40, and updated the packages appropriately. However, when I test auto-update of 7.30 clients via AWUS against this Installation Server, they don't run the package update scripts, but only update components. As a result, the existing configuration for centralized saplogon.ini (ConfigFileOnServer) gets wiped out (the registry keys are deleted), and the client is left in a default state, not pointing to any configuration files. I could fix this on the individual test workstation by directly running the update with the /package parameter, of course, but that's not the point. I need hundreds of existing clients to auto-update correctly.

 

I'm beginning to suspect the cause may be an artifact of how I setup the test workstation, i.e. by installing a 7.30 GUI on it from a different Installation Server (but using the same package name), and then pointing it to my new 7.40 test Installation Server. I'm thinking that AWUS is looking at package GUIDs instead of package names, and thus not detecting that this is the same package. Therefore it just updates the components, but not the package on the client. Annoying, especially when it wipes out the existing configuration. However, if this is true, then this won't be a problem when I roll this out to production, as this is a test-specific artifact.

 

Can anyone confirm that I'm right about this?

 

Along the way, however, I wanted to experiment with the new Installation Variables that 7.40 offers on the Installation Server. One of them that didn't exist in 7.30 is SAPGUI.CONFIGFILEONSERVER. A similar Package Parameter exists at the package level (SapGui.ConfigFileOnServer), and it seems that it's now possible to eliminate the package event scripting that sets this registry parameter on clients.

 

I can modify the variable/parameter at the package level, but apparently the same variable at the Installation Server level is read-only. If I set it to %SapSrcDir%\CustomerFiles\SapLogonTree.xml in the package, that's fine, but on the Properties page (i.e., server-level), the same parameter remains set to NONE.

 

 

 

Does anyone know how to adjust these server-level parameters? And, what would be the effect of doing so, if it is possible? Would that configure all clients installed from this server to use that parameter, with or without a package installation? And would the same parameter at the package level overwrite one at the server level?

 

I've looked through all the guides I could find on the topic (SapSetup guide, SAPGUI Installation Guide, SAPGUI Administration Guide), as well as searched here, and I've not found anything that discusses these server-level parameters. I thought perhaps I could edit SapGuiVars.xml from the Installation Server's Setup folder, but I haven't tried that yet, and don't know if it actually influences this.

 

This Installation server is at SAPGUI 7.40 Compilation 3, Patch 9, and SAPSETUP Patch 77.

 

Cheers,

Matt

Help needed for Mac setup

$
0
0

Guys

 

I am really struggling here... I cannot for the life of me get my SAP for Java on Mac to connect to our SAP servers :-(

I have a feeling my connection string is wrong, can someone please help me get my connection working?

 

From saplogon.ini:

 

[Configuration]

SessManNewKey=151

MessageServerTimeout=10

ConfirmDelete=1

NoEditFunctionality=0

SapguiHexdumpActivated=0

SapguiTraceActivated=0

SapguiTraceLevel=2

SapguiNTCmdOpts=

WithWizard=0

[MSWinPos]

NormX=416

NormY=226

[Router]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

Item10=

Item11=

Item12=

Item13=

[Router2]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

Item10=

Item11=

Item12=

Item13=

[RouterChoice]

Item1=0

Item2=0

Item3=0

Item4=0

Item5=0

Item6=0

Item7=0

Item8=0

Item9=0

Item10=0

Item11=0

Item12=0

Item13=0

[Server]

Item1=P01-Group

Item2=Q01-Group

Item3=T01-Group

Item4=PW1-Group

Item5=QW1-Group

Item6=TW1-Group

Item7=CRP-Group

Item8=CRQ-Group

Item9=CRT-Group

Item10=SPACE

Item11=SPACE

Item12=FEP-Group

Item13=FEQ-Group

[Database]

Item1=22

Item2=01

Item3=03

Item4=12

Item5=11

Item6=16

Item7=25

Item8=23

Item9=21

Item10=10

Item11=09

Item12=32

Item13=31

[System]

Item1=3

Item2=3

Item3=3

Item4=3

Item5=3

Item6=3

Item7=3

Item8=3

Item9=3

Item10=3

Item11=3

Item12=3

Item13=3

[Description]

Item1=1.1 P01 - R/3 Production System

Item2=1.2 Q01 - R/3 Quality System

Item3=1.3 T01 - R/3 Test System

Item4=2.1 PW1 - BW Production System

Item5=2.2 QW1 - BW Quality System

Item6=2.4 TW1 - BW Test System

Item7=3.1 CRP - CRM Production System

Item8=3.2 CRQ - CRM Quality System

Item9=3.3 CRT - CRM Test System

Item10=4.1 TDP - HR Production System

Item11=4.3 TDT - HR Test System

Item12=5.1 FEP - FSCM System

Item13=5.2 FEQ - FSCM System

[Address]

Item1=10.100.40.61

Item2=10.100.40.66

Item3=10.100.40.1

Item4=10.100.35.5

Item5=10.100.35.134

Item6=10.100.35.18

Item7=10.100.38.33

Item8=10.100.38.129

Item9=10.118.243.33

Item10=10.100.48.10

Item11=10.100.48.9

Item12=10.100.35.104

Item13=10.100.35.7

Training System

[MSSysName]

Item1=P01

Item2=Q01

Item3=T01

Item4=PW1

Item5=QW1

Item6=TW1

Item7=CRP

Item8=CRQ

Item9=CRT

Item10=TDP

Item11=TDT

Item12=FEP

Item13=FEQ

[MSSrvName]

Item1=10.100.17.2

Item2=10.100.18.6

Item3=10.100.18.5

Item4=10.100.35.1

Item5=10.100.35.130

Item6=10.100.35.18

Item7=10.100.38.37

Item8=10.100.38.133

Item9=10.118.243.33

Item10=10.100.48.10

Item11=10.100.48.9

Item12=10.100.35.104

Item13=10.100.35.103

[MSSrvPort]

Item1=3602

Item2=3601

Item3=3603

Item4=3612

Item5=3611

Item6=3616

Item7=3624

Item8=3622

Item9=3621

Item10=3610

Item11=3609

Item12=3632

Item13=3631

[SessManKey]

Item1=141

Item2=134

Item3=54

Item4=57

Item5=49

Item6=106

Item7=128

Item8=129

Item9=144

Item10=146

Item11=148

Item12=149

Item13=150

[SncName]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

Item10=p:CN=TDP_ABAP_CI, OU=SAP, O=TechData, C=DE

Item11=p:CN=TDT_ABAP_CI, OU=SAP, O=TechData, C=DE

Item12=

Item13=

[SncChoice]

Item1=-1

Item2=-1

Item3=-1

Item4=-1

Item5=0

Item6=-1

Item7=-1

Item8=-1

Item9=-1

Item10=0

Item11=0

Item12=-1

Item13=-1

[Codepage]

Item1=1100

Item2=1100

Item3=1100

Item4=1100

Item5=1100

Item6=1100

Item7=1100

Item8=1100

Item9=1100

Item10=1100

Item11=1100

Item12=1100

Item13=1100

[CodepageIndex]

Item1=-1

Item2=-1

Item3=-1

Item4=-1

Item5=-1

Item6=-1

Item7=-1

Item8=-1

Item9=-1

Item10=-1

Item11=-1

Item12=-1

Item13=-1

[Origin]

Item1=MS_SEL_GROUPS

Item2=MS_SEL_GROUPS

Item3=MS_SEL_GROUPS

Item4=MS_SEL_GROUPS

Item5=MS_SEL_GROUPS

Item6=MS_SEL_GROUPS

Item7=MS_SEL_GROUPS

Item8=MS_SEL_GROUPS

Item9=MS_SEL_GROUPS

Item10=MS_SEL_GROUPS

Item11=MS_SEL_GROUPS

Item12=MS_SEL_GROUPS

Item13=MS_SEL_GROUPS

[LowSpeedConnection]

Item1=0

Item2=0

Item3=0

Item4=0

Item5=0

Item6=0

Item7=0

Item8=0

Item9=0

Item10=0

Item11=0

Item12=0

Item13=0

[MSLast]

MSLast=TDT

 

 

[EntryKey]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

Item10=

Item11=

Item12=

Item13=

 

 

[Utf8Off]

Item1=0

Item2=0

Item3=0

Item4=0

Item5=0

Item6=0

Item7=0

Item8=0

Item9=0

Item10=0

Item11=0

Item12=0

Item13=0

 

 

[EncodingID]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

Item10=

Item11=

Item12=

Item13=

 

 

[ShortcutType]

Item1=0

Item2=0

Item3=0

Item4=0

Item5=0

Item6=0

Item7=0

Item8=0

Item9=0

Item10=0

Item11=0

Item12=0

Item13=0

 

 

[ShortcutString]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

Item10=

Item11=

Item12=

Item13=

 

 

[ShortcutTo]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

Item10=

Item11=

Item12=

Item13=

 

 

[ShortcutBy]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

Item10=

Item11=

Item12=

Item13=

[SncNoSSO]

Item1=0

Item2=0

Item3=0

Item4=0

Item5=0

Item6=0

Item7=0

Item8=0

Item9=0

Item10=0

Item11=0

Item12=0

Item13=0

 

 

Thanks in advance :-)

Personas 2.0 close pop-up screen

$
0
0

Hi,

 

I'm working on a VA01 flavor. We have a scenario which triggers the material substitution as soon as a material/qty is typed in the VA01 screen. This is a pop-up inside the VA01 screen that looks something like this:

2015-12-07_11-05-50.jpg

All I'm trying to do is cancel/close that pop-up. So, in my script, I have an IF condition. I'm pretty much telling the script, if the pop-up is visible/active, then just click the cancel/close button. The reason it's an IF condition is because the pop-up will not appear always. It depends on the material number entered.

Here is what the relevant portion of my script looks like:

2015-12-07_11-08-44.jpg

I have tried "control exists", "is visible" and "is not empty". But no matter which action I choose, Personas is not able know about the pop-up and keeps failing. I have also tried selecting the whole pop-up window (ses[0]/wnd[1]), specific fields inside the pop-up and also the whole table inside the pop-up. Nothing seems to work.

Not sure what I'm doing wrong or if there is another way of handling this.

 

I also made sure that I have the screen control overwrite rules setup for VA01, VA02 and VA03 per note 1999747 before the flavor was created.

 

Thanks,

Srini


refresh_table_display cause SYSTEM_CORE_DUMPED on Personas 3 flavor

$
0
0

Hello all,

 

I've filtering criterias and a search button to display filtered data on ALV grid ( cl_gui_alv_grid )


 

Unfortunately, when following code line is executed the flavorer causes systen_core_dumped error

 

CALL METHOD gr_grid->refresh_table_display

 

SYSTEM_CORE_DUMPED occured. P1=11 (termination: RABAX_STATE)



Please check the error details here: SAP Personas Error: SYSTEM_CORE_DUMPED termination RABAX_STATE

 

 

This error prevents data display on the table used on Personas flavor which is the original table on main transaction code

 

Do you have an idea how can I continue?

Sort DropDown field-values by key

$
0
0

Hello,

 

I set the parameter Rendering.ShowComboKey (Value True) in my Screen Personas 2 System to show keys in drop down fields.

 

Personas 2.0 SP03 Features - SAP Imagineering - SCN Wiki

 

Currently the values of the drop down fields are sorted by the field falue.

I want  to sort the drop down field values by KEY.

Is there an additional parameter or any other System settings?

 

Regards Matthias

Problems in Edit-Mode (Personas 2.0 SP03)

$
0
0

Hello,

 

I want to change a existing flavor (transaction XD01).

I can start the flavor and switch to EDIT-mode, but I am not able to select any elements.

The only element, which is selectable is the tab-container in this transaction.

 

I tried to start the compression of this flavor (using the Admin-Transaction).

But it still doesn't work.

 

I am on Personas 2 SP03.

 

 

Regards Matthias

Personas 3.0 SP02: Dynamically populate dropdown values

$
0
0

Hi,

 

I need to create a dropdown based on values of text table T157E, but I need to filter this table by language (SPRAS) and movement type (BWART). So my doubt is:

 

  • Can I create an RFC that returns me the list of values I want and then call it using script and add the list to the drop down control?
  • If not, what is the alternative? I can only think in F4 help, but from the usability point of view it is not a good idea (as per today there are only 3 values, so 3 more clicks for open F4, select and submit is not a valid option). I also know that the drop drown could be in the underlying transaction, but in my scenario I'm not able to modify the standard UI to add a field.

Personas Authorization Objects

$
0
0

Hello Experts,

 

I am looking to find out if there is an Authorization Object we can use to lock the flavor/theme assignment sections in their respective transactions.

 

The requirement is to allow our developers to have everything the standard admin role has except the ability to assign Flavors and themes. This would be restricted to the R&A Team.

 

Curiously when we look in SU24 for the personas transactions, it is not populated. IS this normal or are we missing something?

 

Thanks,

 

Andrew

Viewing all 3616 articles
Browse latest View live


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