on 02-06-2014 2:10 AM
Hi,
I have gotten myself into one of the perils of 'Oncreatehandler'.
Could anyone please advise me how to remove the control-id on the Oncreatehandler of the screen properties through tables or so?
I was working with a script which is an “OnCreateHandler” and manually moved out of the screen may be without completing the script.
And for the next time when I try to enter that screen it navigates to other screen where the script fails.
Through the screens there is no way it allows me to the screen where I need to fix that Oncreatehandler script.
Is there an alternate way to remove the control-id on the OncreateHandler of the screen? This is one of the internal screens of PA40 – MP000800/2013.
Appreciate your quick replies very much.
Thank you.
Geetha
Hi Geetha,
I was so waiting for someone to post this issue
Well, launch Personas using the url parameter as shown below:
……/index.html?sap-client=XXX&disableoncreatehandler=true
This URL parameter will not fire your oncreatehandler when you get into your flavor giving you chance to edit your start flavor.
Hope this helps to come out of your oncreate magic.
Regards,
sushant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Heh, this is really cool - thanks, Sushant.
When I faced the exact same issue, I actually had to hack my way through the related tables and manually delete the offending entry so that OnCreateHandler doesn't fire
I didn't know there is such a URL parameter available - it would have made my work much easier. Perhaps it would be worth a blog post explaining what all the "undocumented" URL parameters are
Tamas -
I just tried the Parameter for disabling onCreateHandler on our development system on SP2 and it is working fine.
Can you please provide system information for the system you are testing on (if internal)?
Alternately please log a ticket for our dev team to look into this.
Thanks
Vandana
Doesn't work for me either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.