2004 Oct 26 1:41 PM
Hi all,
I am using BAPI FM BAPI_GOODSMVT_CREATE for creating GR against purchase order and Inbound delivery and it's working fine. But i have a situation where i have to <b>create GR against outbound delivery</b>. I tried with BAPI_GOODSMVT_CREATE but couldn't get through. Can any one have the idea how to do GR for outbound delivery using this BAPI_GOODSMVT_CREATE function module or any other function module?
2004 Oct 26 2:10 PM
Hi Gaurav,
From a functional point of view you can't create a goods receipt against an outbound delivery; the only thing that gets near is a reversal of a goods issue against an outbound delivery. What do you exactly want to post?
Regards,
John.
2004 Oct 26 2:56 PM
You can post a GR against OUTBOUND delivery. If you see from MIGO - there is an option. It is exactly similar to the posting against the purchase order.
Before passing the data to the BAPI, call function module SD_DELIVERY_ITEMS_RECEIVE and get the data in WUEB based on this fill the information into the item data for BAPI. Rest of the details that you need to pass are exactly same as for passing against a PO (like GM_CODE and etc.,)
Thanks
Anjaiah
2004 Oct 27 10:13 AM
hi Anjaiah,
yes u have got the point. MIGO provides that. I think the solution u have provided should work i will let u know once i got through. Thanks alot.
Thanks & Regards
Gaurav
2005 Apr 04 11:46 AM
Hi ,
Could you give a sample code for BAPI_GOODSMVT_CREATE creating via inbound delivery and purchase order.
Could these both be used together or just 1 of them is enough?
Cheers, neeth
2005 Aug 09 10:15 PM
Can you provide info on how you got BAPI_GOODSMVT_CREATE working for an INBOUND delivery? I'm in 4.7 and am having trouble getting the INBOUND delivery status to update and the INBOUND delivery document flow to update. I have BAPI_GOODSMVT_CREATE working partially - it successfully creates the goods receipt and the P.O. doc flow is being updated.
Also, I am executing the COMMIT statement once directly after the FM call.