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: 

Goods Receipt using BAPI_GOODSMVT_CREATE

Former Member
0 Kudos
745

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?

5 REPLIES 5

Former Member
0 Kudos
149

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.

Former Member
0 Kudos
149

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

0 Kudos
149

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

Former Member
0 Kudos
149

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

Former Member
0 Kudos
149

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.