Skip to Content

ErrText Value for APPLICATION Error in Alert Email

Hello Guys,

I have built a synchronous scenario REST to SOAP(ECC proxy). Depending on the message processing in ECC, it sends back a success or failure message as a response back to the REST adapter. The error response from ECC is sent through Fault Message type back to the REST service.

I am trying to capture these application(Fault Message Type) error text in an alert. However, even though I  was able to generate an alert email for any kind of application error, still the email doesn't shows the "ErrText" value. Here is the sample of an alert email generated from application error.
Here is the error response payload in SXMB_MONI(ECC) that I want to capture in my email.

I want to append ErrorMessage "Account number 0000000123 not found." in the Alert Email.

Regards,

Simran

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 08, 2015 at 02:22 AM

    Simran,

    Fault response is valid response from SAP. Technically it is not a failure (functionally it can be a failure).

    Standard alert functionality does not work here.

    FYI. You can send an email from UDF (create UDF in response fault mapping).

    http://scn.sap.com/docs/DOC-54997

    Add comment
    10|10000 characters needed characters exceeded