cancel
Showing results for 
Search instead for 
Did you mean: 

What to do in case of crictical exceptions?

Former Member
0 Kudos

Hi,

Consider you caught a critical exception and the application has to be "stopped". How can one display a nice message to the user in this case? Can one create a custom exception screen?

Bye

Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

Hello Christoph,

What do you mean - "stopped"? You can use IWDMessageManager.reportException with cancelNavigation=true to prevent any other navigation. Or you can use WDClientUser.forceLogoffClientUser and pass something like http://host:port/webdynpro/resources/sap.com/tcwddispwda/global/logoff.htm (or pass error message through URL parameters)

See for more details:

and

Best regards, Maksim Rashchynski.