Skip to Content
avatar image
Former Member

Personas - different default flavors for SAP GUI and Web GUI

Is it possible to set different default flavors for SAP GUI for Windows and SAP GUI for HTML in the same transaction?

E.g. I created my flavor for SAP GUI for HTML as default flavor but for SAP GUI for Windows I'd like to use the original screen as default.

I'd like to avoid to deactivate Personas for SAP GUI for Windows as general setting because other flavors should be available there.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 12, 2017 at 09:58 AM

    You can, in a script, check which GUI version is running using session.info.guiType, and then switch flavours accordingly. If you put this in the onLoad script for your flavour it will switch to the original screen if not running in the HTMLgui:

    if(session.info.guiType != 1) {
         session.utils.changeFlavor(""); // Switch to original Screen
    }

    Steve.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the answer! In the meantime I used the flavor in the direct-URL I provided my users (via Fiori Launchpad) so the original screen is always the default.

  • Sep 06, 2017 at 12:07 PM

    Hi,

    as workaround you can create a second TCODE for a existing transaction.
    Then you create a Screen Personas Flavor vor the new TCODE

    e.g.

    VA01 (original > used with Windows GUI)
    ZVA01 (modified by Screen Personas > used with HTML GUI)

    I would be glad if someone knows a better solution.
    It's more and more necessary to handle Windows GUI and HTML GUI in different way's, see also my old discussion:

    https://answers.sap.com/questions/174864/how-to-disable-the-default-flavor-in-windows-gui-w.html

    Best regards,
    Thomas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the answer but I really hope there is a better solution. I use personas to avoid creating additional Z-transactions.

      Best regards, Ulrich