cancel
Showing results for 
Search instead for 
Did you mean: 

How to AdditionalText in XI standart error

Former Member
0 Kudos

Hi!

We have scenario soap-to-abap proxy in sync mode. The abap proxy generates fault messages in case of application error. In Integration Server I see following message:

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

<!-- Call Inbound Proxy -->

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

    <SAP:Category>Application</SAP:Category>

    <SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>

    <SAP:P1/>

    <SAP:P2/>

    <SAP:P3/>

    <SAP:P4/>

    <SAP:AdditionalText/>

    <SAP:ApplicationFaultMessage namespace="urn:euroset.ru:SAP.HR">fmt_AuthorizationFaultData</SAP:ApplicationFaultMessage>

    <SAP:Stack>Application has thrown an exception

    </SAP:Stack>

    <SAP:Retry>N</SAP:Retry>

</SAP:Error>

Could anyone help me, Is it any way to set error text in Abap proxy class of fault message class to get element AdditionalText filled with same text in XI error message?

Best regards,

Sergey.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can achieve this using dynamic configuration parameters.

DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Error", "AdditionalText")


conf.put(key, "error text");

Former Member
0 Kudos

Unfortunately, this doesn`t work. The parameter has been set to dynamic configuration, but hasn`t been mapped to SAP:Error structure.

Any other suggestion?