Skip to Content
avatar image
Former Member

Not able to Edit a Flavor

Hi Team,

Below are the steps:

1. Create a Flavor for any transaction (which has the logoff button at the top)
2. Write a script and add one single line - Take the Press event of the logoff button
3. Add the script on "On After Rendering" screen Event of the flavor

Now try to access that transaction.

Problem -
1. I am not able to access the transaction as it goes back every time that screen loads.
2. I am not able to remove the script as for removing the script I have to open the transaction and then press the edit button. But the moment I am opening the Transaction, it is navigating back or logging off :(

Please let me know if we can directly open a flavor in Edit Mode.

-Regards
Dhrubajyoti

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 05, 2017 at 08:17 AM

    Try this...

    Add URL parameter sap-personas-ignoreloadevents (SP05+) or suppressOnLoadEvents (deprecated with SP05)

    e.g. http://server:port/sap/bc/personas?sap-ie=edge&sap-client=001&sap-personas-ignoreloadevents=X

    This will stop the scripts loading when the flavour initially renders. Then you can access the editor and fix the problem.

    More info here ... https://wiki.scn.sap.com/wiki/display/Img/URL+Parameters+available+in+SAP+Screen+Personas+3.0

    Add comment
    10|10000 characters needed characters exceeded