cancel
Showing results for 
Search instead for 
Did you mean: 

SQL Server call Trigger to SP - SAP PI

Former Member
0 Kudos

Hi Dear Experts.I had a new escenario JDBC(SQL→ to ECC). My client now needs to send data to PI when a new record have been recorded in table then a trigger will call an store procedure and then call to PI.

Its possible?

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor

Hi Luis!

If you need the push mechanism from DB side the one of the ways to achieve this is to use web service call from within stored procedure.

Regards, Evgeniy.

Answers (2)

Answers (2)

0 Kudos

Hi Rudra.

This option is for Oracle and I need for MSSQL-

Regards

weberpat
Contributor
0 Kudos

Anyway this won't help you getting the notification you want. You'll need something along the lines of what Evgeniy suggested, i.e. a notification sent to PI in response to a database trigger. If you google "call web service from mssql stored procedure" you'll find a series or articles that will get you started.

Former Member
0 Kudos

Hi Luis,

Yes, you can write a stored procedure and call in sender JDBC channel.

Please find the link below.

https://blogs.sap.com/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71/

Warm Regards,

Rudra

weberpat
Contributor
0 Kudos

I think this is not going to cut it. The OP needs a trigger mechanism from database side.