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
233

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
Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Instead of the hacking, the simple addition of URL parameter sap-personas-ignoreloadevents=X would have allowed you to avoid the endless loop upon the error, since that prevents firing the onLoad, onAfterRefresh and onFinalize events 🙂

alexandreourth
Active Participant

Well well...I knew this parameter i think i talk about it somewhere and also i have the documentation with all the parameters possible but where i failed is that to fill this parameter, at the end of "https://iccsrm.sap.com:44300/sap/bc/se/m/index.html" i had an & instead of a ?...& for next parameters and ? for the first, wrong copy/paste with my  URL samples.. Well at least i learned to use dev chrome tool a lot so that's not a total loss of time...i guess..

Thanks again for your time Tamas.