on 02-06-2008 6:32 AM
Hi,
I would like to know the basic difference between true/false kept in the following lines of reportException.
WdcomponentAPI.MessageManager().reportException("Message",true);
WdcomponentAPI.MessageManager().reportException("Message",false);
What are the different scenarios where we come across these MessageManager.
Thanks and regards,
Chandrashekar.
Hi Chandrashekar,
WdcomponentAPI.MessageManager().reportException("Message",true);
Report the exception Message to the client and cancels the subsequent navigations.
WdcomponentAPI.MessageManager().reportException("Message",false);
Report the exception Message to the client and doesn't cancel the subsequent navigations.
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi chandrashekar ,
true: All navigation steps should be canceled due to this error message.
false: All navigation steps should be continued due to this error message.
Right Click on <b>reportException </b> then choose the <b> Open Declaration </b> Option all the details will be shown.
http://help.sap.com/saphelp_nw70/helpdata/en/59/e8e95d1eba48dfa86ae91ad8816f5d/frameset.htm
Regards,
Mithu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
true - terminates after executing your exception.
false - Continue to excute other statements even after excuting your exception.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.