Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Outbound bgRFC

Former Member
0 Likes
611

Hello,

I have a question about bgRFC. In my requirement, I have to update some data in VBAP table in r/3 from GTS system. So my GTS system will be a sender system and R/3 would be a reciever system. And this is done is to be done when Sales order is created. Now if I use a simple RFC FM, and it tries to update VBAP at that very time, but sales order number has not been updated at that instant in VBAP, so i cant use simple RFC FM.

Now if I do it with outbound bgRFC, how can I schedule bgRFC FM to run if I want it to run as soon as entry is created in VBAP table.

Thanks

1 ACCEPTED SOLUTION
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
506

Pls see this link : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0401ea9-0be5-2910-b389-ce9675ab8af9

A verynice document on bgRFC and hopefully you will get the answer.

2 REPLIES 2
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
507

Pls see this link : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0401ea9-0be5-2910-b389-ce9675ab8af9

A verynice document on bgRFC and hopefully you will get the answer.

Read only

0 Likes
506

Rohit Malik ,

Well, we have some user-exits and also some kind of function you might use as you can see below:

1) Include MV45AFZZ: in this include we have two main routines when you save an order(..SAVE_DOCUMENT AND ...SAVE_PREPARE_DOCUMENT) I'm quite sure that in the first one the doc. number was already assigned.

2) You can use UPDATED TASK FM(start late), this function will be triggered right after standard processes have been done and all the standard tables will have the data updated in the data base, in general will be better use this FM AT SAVE_DOCUMENT routine;

best regards,

Alexandre