cancel
Showing results for 
Search instead for 
Did you mean: 

Email Alert with data from payload SAP PI 7.0

Former Member
0 Kudos

Hi,

i have a requirement to send an email alert when a Purchase Order Transmission fails through PI. In the email i need to send PO number which had failed.

Format is:

Subject- PO # XXXXXXX failed to reach XXXTarget

in the mail content i need to mention the error and why the error occurred.

Please tell if this is possible in SAP PI 7.0 If yes then How?

Regards,

Ashwani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If the message fails in in mapping, you can send the alert with PO number in the email. Steps would be following.

  • Catch the execpetion

  • Call RFC SALERT_CREATE by passing required parameters

  • You can also pass the PO number as one of the value which will can be used in you alert category

  • PO number can be used as one of the Alert container

But if the message fails in adapter engine you cannot send the PO number in the email. You can just send email with standard alert containers.