cancel
Showing results for 
Search instead for 
Did you mean: 

Cancel infinite error on event onFinalize in SAP SCREEN PERSONAS

alexandreourth
Active Participant
0 Kudos
230

Hello,

I'm using the sap training developpement environement for SAP SCREEN PERSONAS. I have created a flavor for the SMEN and i'm trying to understand how to handle when a script is in error and how to get the hand back on my flavor so i can edit the script back and correct the error.

I have done on purpose an error on the onFinalize event of my flavor by calling a function with one missing parameter.

alexandreourth_0-1742592092132.png

Even if i close this popup, the system tries de reprocess the script and i'm stuck in a infinite loop.

I'm using Chrome dev tool, i see the script calling onFinalize

alexandreourth_1-1742592242406.png

Please provide me guidance on this because i'm sure there will be a case in real situation where this will happen...What can i do to to have the hand again on my flavor to edit it?

Thanks a lot for your time.

Regards,

Alexandre

 

View Entire Topic
alexandreourth
Active Participant
0 Kudos

I have a partial answer : 

I found my onFinalize script in chrome dev tool

alexandreourth_0-1742597264171.png

i changed the json content, i save (Ctr+S) + right clic on the file and i chose "Override content". 

=> OK i'm back on the PERSONAS menu but when i tried to change the flavor, it triggered another time the script but in the adaptative flavor that i have underneath my main flavor...

alexandreourth_1-1742597552320.png

And THIS script was NOT editable. Maybe because it's the same when you are editing an adaptative flavor, it says that script can be edited only in main flavor....I/WE need a solution for this please, this is last missing step before i find my peace of mind!