cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Handling in WebDynPro

Former Member
0 Kudos

Dear All,

I need to get the Exception stack trace in a WebDynPro application while running the application. I need to get the stack trace in my browser. Please note that I am working on a remote server and server logs are not accessible to me. Any suggestions for that?

I also want to print the Exception stack trace in the static method <b>public static void wdDoModifyView(IPrivateLinkListDisplayWebDynProComponentView wdThis, IPrivateLinkListDisplayWebDynProComponentView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)</b>. Here even the method <b>wdComponentAPI.getMessageManager().reportException()</b> is not available. If you have any ideas, kindly share with me.

Kind regards,

Sreejesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi sreejesh

Try the below code in the wdDoModifyView()

wdThis.wdGetAPI().getComponent().getMessageManager().raiseException("success",true);

Regards,

Rathna.

Answers (1)

Answers (1)