Skip to Content
author's profile photo Former Member
Former Member

Email Alert with data from payload SAP PI 7.0

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2011 at 10:57 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.