Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How can I get a SOAP Error message in ABAP ?

Dear all.

I'm trying to get SOAP Error message during XI Interface.

I've got an Error ( T-code : sxi_monitor ) and I need to get the Error message and write to screen.

I used

CATCH CX_AI_APPLICATION_FAULT.

CATCH CX_AI_SYSTEM_FAULT.

but couldn't get the error message.

The Error occured as below.

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTSD0030' (structure 'stmt1'): java.sql.SQLException: FATAL ERROR: Column 'ORDER' does not exist in table 'ZTSD0030'</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

I exactly need 'BOLD' style message.

Any help is appreciated.

Thanks!

Not what you were looking for? View more on this topic or Ask a question