Skip to Content

Sync Proxy alerting in SAP


I have a scenario as follows:

SAP sender sync proxy -> PI -> JDBC (action = update_insert)

The JDBC receiver adapter will send back the number of records updated or inserted. My question is how to raise an alert in SAP based on the response from the JDBC adapter? For example if the result says no records were updated or inserted I would like to raise an alert in SAP/PI.

Do I simply define the Sender Interface to include a response and standard fault? then use a suitable method to raise a fault exception in SAP? Can the fault on a sync proxy be used in this way?

I know there is a blog that shows how to raise an alert for an async proxy scenario: Fault Message Types - A Demo (Part 1).



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 04, 2014 at 12:02 PM

    Hi Che,

    The blog gives the details for fault response from receiver. In your case you will receive the response from JDBC in one format for successful and no update message.

    For your requirement, you can raise alert in UDF. But do you want to stop the message and raise alert? Or pass the message.

    Please check the below blog

    Hacking: To get error from the PI Mapping Mapping realtime.

    I think the response should go to sender (proxy) and alert or further action should handle in proxy.



    Add comment
    10|10000 characters needed characters exceeded