Skip to Content
0

Not able to Edit a Flavor

Jul 04, 2017 at 01:23 PM

42

avatar image

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

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

1 Answer

Best Answer
Neil Ward Jul 05, 2017 at 08:17 AM
1

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

Share
10 |10000 characters needed characters left characters exceeded