Application Development 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: 

Auto post GR using transaction transaction VL06IG - program WS_MONITOR_INB_DEL_GDRC

Former Member
0 Kudos

Hi Experts,

In my case Inbound delivery gets created with inbound Idoc type FSHDLV03.

I need to automatically post GR for this delivery, by calling transaction code VL06IG after creation of inbound delivery.

But unfortunately i am able to see the generated delivery numbers at few exits, but they are not actually updated to database, hence not able to post GR.

Please suggest, how could I achieve this.

Thanks,

Srinivas

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Wrap your call of VL06IG (or some BAPI) in a RFC enabled FM and call it IN BACKGROUND TASK so it will be executed after end of update tasks so after database update.

Regards,
Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Wrap your call of VL06IG (or some BAPI) in a RFC enabled FM and call it IN BACKGROUND TASK so it will be executed after end of update tasks so after database update.

Regards,
Raymond

Former Member
0 Kudos

Thanks Raymond for your valuable inputs...

Regards,

Srinivas.