cancel
Showing results for 
Search instead for 
Did you mean: 

HELP: Flavor runs with a endless while loop in the Screen Event onLoad

former_member215739
Participant
0 Kudos

Dear Screen Personas team,

please help me, I made a stupid mistake.

I wrote a while loop and didn't pay attention, now it runs endless.

I put this script in the screen event onLoad.

Everytime, when I click on the flavor to edit it, the script runs and my browser crashes.

Could you please me me to remove the script by not running the flavor?

Many thanks!!!

Accepted Solutions (0)

Answers (2)

Answers (2)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert

Look at this KB article, and the sap-personas-ignoreloadevents URL parameter in particular.

former_member215739
Participant
0 Kudos

Hi Tamas,

many thanks for your help, it now works like a wonder with the additional &sap-personas-ignoreloadevents=X.

Yesterday I tried to manipulate the field DELETE in table /personas/script to deactivate the script. But that solution doesn't work.

Could you please tell me, where the script of flavor is located? (in a bsp file? or it's really saved in the table /personas/script??)

In addition, it would be great if there is a possibility to change the flavor without having to run it at the first place.

Thanks,

Thanh

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Scripts are indeed stored in table /PERSONAS/SCRIPT but I would not advise trying to 'hack' the Personas tables unless you are absolutely sure you know the relationship among them. You risk creating inconsistencies otherwise.

As for changing the flavor without running it: The only supported way to change them is via the Flavor Editor.