on 03-18-2009 3:36 AM
Hi Guys
i have two scenarios
1) JDBC1--> XI --> RFC1
2) JDBC1--> XI --> RFC2
RFC business logic of both uses both creating document based on Movement Type
My concern is both RFC1 and RFC2 should not work in same time there should be some time gap for both so locks wont happen while bacth characteristics updation , where in two RFC uses.
How to make sure that RFC1 executes first and next RFC2 ????
Here i have configured first scenario tested and all fine , now suggest any idea without using BPM for the above requirement.
rgds
srini
Hi Srinivas,
You can put some enough Delay in the mapping of JDBC1-Xi-RFC2 which is sufficient to make sure that RFC1 get executed first mean while RFC2 scenario will keep waiting .
Thanks
Sunil Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Venkat..
This seems simple..
Create a ZRFC as a wrapper and inside that embed both RFC1 and RFC2.....
inside ZRFC u can chk whether RFC1 has executed completely then only go for RFC2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can give a time gap even if you combine the 2 RFCS..
however i will give u a solution without combining the 2 RFCs and without BPM :
1. in RFC1 at the end of the code update a flag in a ZTABLE
2. when RFC2 executes it will first chk that flag in the ztable ...if it is 'Y' means RFC1 has executed OK...then you can go ahead with code of rfc2 else put your RFC2 in error or send a response back whatever ..
Also dont forget to reset the flag to 'N' once logic in RFC2 is done
Hi,
If you go for proxy approach which i said above, then you do not need a BPM for your scenario.......you want that your RFCs should be executed independently and in sequence.........so in your ABAP proxy code, first execute your RFC1 and take its response and then execute RFC2 and take its response, then you can add both the responses in a single response msg and send it back to to JDBC database system........in the ABAP proxy code, you can also do the logging of the RFC calls and log the RFC responses returned by RFCs in your R/3 system.
Regards,
Rajeev Gupta
Hi,
hmmmmmm.........so i suggest a workaround for this thing...........have two sender JDBC comm channels.........configure your second scenario for JDBC - RFC.............then in RWB in comm channel monitoring in Avaliabity Time Planning, you can schedule your JDBC comm channels and have a time gap between them.........
Regards,
Rajeev Gupta
Hi
Well last question i hope
CC_JDBC_Adapter1 ---> created
CC_JDBC_Adapter2 ---> created
This t
two adapter has poll daily contionusly , but only requirement JDBC1 and JDBC2 should have 8 mins gap.
i have selected "Availabilty Time" - Daily
1) JDBC1 --> At(Time) 00:00:00 ?? For Duration --?? 8 Mins
1) JDBC2 --> At(Time) ?? 00:00:00 For Duration --?? 16 Mins
Am i doing right
rgds
srini
Hi Tarang,
Flag updation is fine , For example while executing RFC2 if flag status is "N" in ZTABLE then it would send back to DB.
Design wise ok , but according to this extra ztable creation , RFC logic change to insert the table.
Moreover updating back if RFC2 is not happening because of Status "N" and again sending to RFC2 from DB.
it seems to bit resource consumption process.So i was looking if any more option cutting all above.
Anyways thx for u r idea..
rgds
srini
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.