on 02-03-2006 3:58 PM
My Scenario RFC(Asynch) ==> XI == > JDBC
We are running two RFC's and we are sending Employee and Dept info to the JDBC. In the Database the Employee and Dept tables have the Referential integrity. i.e in Employee Table we have the Deptno field and it refers to the Deptno in the Dept table.
So when we try to insert into the Employee table, before the dept table then then t he data base will fail with the referential integrity, if the corresponding record is not there in dept.
But its not possible for us to Schedule our RFC in such a way to run Dept First and then followed by Emp. Only at XI or in DB we have to take care of this situation.
Would some one can help me?
2) Also once we insert certain rows in DB, we want to send a response back saying that how many rows were inserted/deleted/modified? How can we acheive that
3) Also please point me to some of the JBDC blogs in general.
Appreicate your help a lot.
Hi Jenni,
Check these links..
>>Also once we insert certain rows in DB, we want to send a response back saying that how many rows were inserted/deleted/modified? How can we acheive that
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
>>Also please point me to some of the JBDC blogs in general.
/people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Regards
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
glad i could help
still the first part of your question remains unanswered..
I was thinking of using correlation but i don't see a comman unique field between Emp message and Dept message fom SAP system to correlate . May be you can try sending them together(as a sinlgle RFC message) from SAP system then split it in XI to insert into two different tables.
Regards
Anand
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.