cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get a SOAP Error message in ABAP ?

Former Member
0 Kudos

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!

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member859847
Active Contributor
0 Kudos

Hi,

This is an application fault,

error log clearly saying that''ORDER' does not exist in table 'ZTSD0030'.

these are specific to interfaces, in order to handle those

u need to configure apllication log at 'SLG1' t.code.

i mean, u have to use following function moules to handle application log in ABAP Proxy .

i.e

APPL_LOG_WRITE_HEADER

APPL_LOG_WRITE_MESSAGES

APPL_LOG_WRITE_DB.

warm regards

mahesh.

former_member183906
Active Contributor
0 Kudos

column names are case sensitive.pls check that.

Former Member
0 Kudos

Hi ViJaYaNt JhA ~~

Yes I know what the Error message means. and i'm ready to make that correct.

I want to get the Error Message and Print to the Screen in ABAP.

I called 'Outbound Proxy' in ABAP Program and the error occured, need to print the message.

B.Rgds.

Drew.

Edited by: Drew Kim on Sep 23, 2008 11:09 AM