Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Catch an error in outbound ABAP Proxy

0 Likes
645

Hi.

For a Sync ws: ECC -> PI -> Legacy

I need to get, in SAP ECC, the AdditionalText field that SXI_MONITOR shows but I do not know how map this field in a CATCH abap sentence.

SXI_MONITOR showme follows:

<?xml version="1.0" encoding="UTF-8" standalone="true"?>

<!-- Inbound Message -->

-<SAP:Error xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30" 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: java.net.SocketTimeoutException: Read timed out</SAP:AdditionalText> <SAP:Stack/>

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

</SAP:Error>

But in ECC CATCH sentence only show 'MESSAGE.GENERAL'.

How can I map 'AdditionalText' field to ECC abap CATCH?

I can't see this detail in ST22 trx neither.

Thaks.

Hi.

For a Sync ws: ECC -> PI -> Legacy

I need to get, in SAP ECC, the AdditionalText field that SXI_MONITOR shows but I do not know how map this field in a CATCH abap sentence.

SXI_MONITOR showme follows:

<?xml version="1.0" encoding="UTF-8" standalone="true"?>

<!-- Inbound Message -->

-<SAP:Error xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30" 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: java.net.SocketTimeoutException: Read timed out</SAP:AdditionalText> <SAP:Stack/>

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

</SAP:Error>

But in ECC CATCH sentence only show 'MESSAGE.GENERAL'.

How can I map 'AdditionalText' field to ECC abap CATCH?

I can't see this detail in ST22 trx neither.

Thaks.

0 REPLIES 0