Skip to Content
0

SAP PERSONAS 3.0 Switch Flavors in WEBGUI and SAPGUI

Feb 03, 2017 at 07:22 PM

243

avatar image
Former Member

I created a functionality in SAP PERSONAS 3.0 WEBGUI to switch flavors depends of the material type, for that I created a script to change the Flavors on WEB side.

When I test my script via Browser, it works correct. My question is, it's possible to run Personas Script in the SAP GUI Win? Where and how the script done in Personas is saved?

We are on Screen Personas 3.0 (SP04) and SAP GUI for Windows (7.40 PL11) with Blue Crystal Theme.

Thanks,

Cristina.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Tamas Hoznek
Feb 03, 2017 at 08:48 PM
0

Scripted flavor switching is supposed to work in the Windows GUI. I just tested this in a similar environment like you described and had no problem. Did you use the session.utils.changeFlavor("targetGUID") method in your script?

If it doesn't work for you, create an incident for component BC-FES-GUI and the SAP GUI team will help to get this clarified.

Show 6 Share
10 |10000 characters needed characters left characters exceeded
Former Member

hello, I'm using this method, and it works on html but it does not work in SAP GUI for windows.

// Read the notification type from the screen

var ntype = session.findById("wnd[0]/usr/ctxtVBAK-AUART").text;

// Find out if the selected type is S1 and switch the flavor flavor2 = 'VA01_v3';

if (session.findById("wnd[0]/usr/ctxtVBAK-AUART").text == 'BV') {

session.utils.changeFlavor("E435C87F09EE1ED79BC4EC60225EC174");

}

Must it works for SAP GUI for windows? I don't have problems with another scripts, and it works properly in SAP GUI for html.

0

Yes, it should work the same in SAP GUI for Windows too.

What version and patch level is your GUI? Try to install the latest available patch level for it and see if it helps.

0
Former Member
Tamas Hoznek
Juan de la Cruz Martinez Magaña (just now)

SAP LOGON 740 Nivel Patch 12

Is there something newest?

DO you know where can I download it?

Thank you so much!!!

0

The latest patch is 14, but even on 12, the flavor switching should still work.

You should be able to download the latest SAP GUI patch via the Service Marketplace, in the Download Software section.

Try the latest patch and if it still doesn't work, create an incident for component BC-FES-GUI.

0
Former Member
Tamas Hoznek

Thanks so much. I will try...

0
Former Member

SAP LOGON 740 Nivel Patch 12

Is there something newest?

DO you know where can I download it?

Thanks

0
avatar image
Former Member Feb 03, 2017 at 09:11 PM
0

Hi Tamas,

Thanks for your help.
I'm using exactly this method, I'll try to open a ticket to SAP GUI team to take a look on this then.

Share
10 |10000 characters needed characters left characters exceeded