cancel
Showing results for 
Search instead for 
Did you mean: 

Send SXMB_MONI Error transaction payload's to E-Mail with Mail Adapter ?

baskar_ramasamy
Participant
0 Kudos

Hi Experts,

How to send Error transaction payloads to recipients E-Mail id by using MAIL Adapter.

I wanted to send e-mail of Input Payload and Error message of the failed transaction.

Please help me on this.

Thanks in Advance.

Baskar

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

Hi Baskar,

For any error in IE / AE, you can not use mail adapter to send error mails. You have to use Alert Framework. In ALRTCATDEF transaction, you can find lot of Container Variables which can be used in your email and populates values at Runtime. Please find the below Link:

http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm

Now coming to your Second part: "I wanted to send e-mail of Input Payload and Error message of the failed transaction".

You can not include the whole Input Payload (XML message) in your email body with any Standrad process or with Containers.

But Yes you can populate error message with 'SXMS_ERROR_CAT' and 'SXMS_ERROR_CODE'.

Please below blog:

http://scn.sap.com/thread/2137838

http://scn.sap.com/thread/3213660

baskar_ramasamy
Participant
0 Kudos

Thanks nabendu,

I know to send alerts using alrtcatdef, but i tought of sending input xml through mail adapter.

Thanks for your suggestions. i will look in to the links given by you.

nabendu_sen
Active Contributor
0 Kudos

Hi Baskar,

Welcome.

You can send Input xml through Receiver Mail adapter, but not in case of error (Alert). If you need to send Payload for a specific purpose, configure Mail adapter. Let me know if you need any more information.

Answers (1)

Answers (1)

former_member201264
Active Contributor
0 Kudos

Hi Bhaskar,

You can configure Alerts in PI with container parameters then you will get required messages.

keep posting to clear Issue.

Regards,

Sreeni.