Showing results for 
Search instead for 
Did you mean: 

How to Trigger Mail Alert Using UDF

0 Kudos

Hi All,

I have requirement where I have synchronous scenario in which response is coming back in PI from third party webservice .

This response contains Success or Error Data which we have to pass it to intended recipients using Mail Alert.

How we can achieve this Mail Alert Mechanism using UDF in PI 7.4 Dual Stack.

Please help.


Mahesh Mane

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Best approach is to implement this logic in the SAP ERP system for the Proxy response part. these are the reasons:

  • It is a synch. process.The sender system is waiting for the data to come back. successful or wrong application data should appear on the ECC side preferably on screen of the user requesting the data.It makes sense as this user is the one that can understand the data and handle it..
  • If it is a system error the SAP PI Alert mechanism should handle the alert as part of alert configuration for failed messages in PI.

You have to understand the difference between business logic and application logic.

When you will get the hand on that the picture will get clearer.

Active Contributor
0 Kudos

Fully support your suggestion Nimrod.



Former Member
0 Kudos

Hi Mahesh,

Please refer to the below link :

Hope this will help you out with your scenario.

Thanks and Regards,


Active Contributor
0 Kudos

Hi Mahesh,

You can build another interface that will be called via SOAP lookup and will be triggered from the UDF in response mapping, as per the approach mentioned here by Bhavesh Kantilal:

PI 7.5 interface architecture possibilities | SCN