Skip to Content
0
Former Member
Oct 23, 2006 at 02:05 PM

How to Catch BAPI Application Errors?

107 Views

Is there a way to catch BAPI execution errors and display a custom message?

Currently it seems that if the RETURN table from a bapi contains a record with a type of 'E' then an "Application Message" pops up with text similar to "An error was returned from the back end system..." How can you customize/suppress what gets displayed instead?

If there were a way to validate the data before executing the bapi via a guard condition then I would, but in this case that just can't be done.

Thanks.

VC 9