on 03-04-2014 11:25 AM
Hi,
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: .
Thanks
Che
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
I think the response should go to sender (proxy) and alert or further action should handle in proxy.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.