Skip to Content
0
Former Member
Oct 10, 2005 at 03:32 PM

Convert BAPI Return to Faults?

61 Views

Hi,

For the development of Web Services, the use of Fault messages is preferred to report errors. Proxies (Java and ABAP) can return Fault messages, that in turn can be returned through the Web Services.

However, BAPI's are not able to return Fault messages. BAPI's retun a 'Return' structure containing items. <b>Is there a simple way (no BPM please) to convert these Return items of type 'E' into Fault messages?</b>

This would lead to nice web services reporting errors back as Fault messages.

Kind regards, Guy Crets