Skip to Content
Former Member
Jun 01, 2009 at 02:46 PM

Catching errors in Web Dynpro for Java when thrown from RFC Raise Exception


Hello Developers,

I'm looking for information that explains how a Web Dynpro for Java application responds and processes errors that are thrown from a Raise Exception event within an RFC.

The Exceptions do not appear to be part of the Model and I can't identify how they get processed.

When rfc HRXSS_CAT_WD_RECORD raises exception PERNR_NOT_LOCKED this exception is passed back to the calling webdynpro CAT DC that displays the exception on the web page along with the log.

I would like to display a friendlier message and without the log. Any information on how to customize the handling of this error would be greatly appreciated.

Thank you,