cancel
Showing results for 
Search instead for 
Did you mean: 

Display SXI_MONITOR ApplicationFaultMessage in ALRTCATDEF Container Element

Former Member
0 Kudos

Dear All;

In ALRTCATDEF l have setup the Alert Category=Email_Aert.

The Container Element are like the following:

SXMS_MSG_GUID=Message ID

SXMS_ERROR_CODE=Error code

SXMS_FROM_SERVICE=Sender service

SXMS_FROM_INTERFACE=Sender interface

SXMS_TO_SERVICE=Receiver service

l would like to include the ApplicationFaultMessage from SXI_MONITOR into EMail_Alert.

In SXI_MONITOR, for the XML Message with the status of error, the Error section contain information like below:

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

- <!--

Request Message Mapping

-->

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

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

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_VendorFile_VendorSQL_03_</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>

<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_VendorFile_VendorSQL_03_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

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

</SAP:Error>

Is it possible that l can capture the below portion of ApplicationFaultMessage into Alert Category?:

com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_VendorFile_VendorSQL_03_: RuntimeException in Message-Mapping transformatio~

lf it is possible, please advise what is the steps?

Many thanks.

Jordan

Accepted Solutions (1)

Accepted Solutions (1)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Rodrigo;

From the help, there are few containers like :

SXMS_TO_ADAPTER_ERRTXT

SXMS_AF_ERRVAL1 u2026 15

or

ALERTDYNAMIC_SHORTTEXT

Short text

type salrtdcatd (CHAR60)

ALERTDYNAMIC_LONGTEXT

Long text

type table of CHAR255

EVTOBJECT

Triggering object

type BORIDENT

Which exactly is the container variable capture the error :

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_VendorFile_VendorSQL_03_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

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

</SAP:Error>

Please advice.

Thanks

Jordan

Answers (0)