cancel
Showing results for 
Search instead for 
Did you mean: 

ErrText Value for APPLICATION Error in Alert Email

0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

RaghuVamseedhar
Active Contributor
0 Kudos

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