cancel
Showing results for 
Search instead for 
Did you mean: 

How to Trigger Mail Alert Using UDF

manemahesh
Participant
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.

Regards

Mahesh Mane

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member187587
Contributor
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.

anupam_ghosh2
Active Contributor
0 Kudos

Fully support your suggestion Nimrod.

Regards

Anupam

Former Member
0 Kudos

Hi Mahesh,

Please refer to the below link :

Hope this will help you out with your scenario.

Thanks and Regards,

Satanik

former_member194786
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


Cheers,

Sanjeev.