Skip to Content
0
Former Member
Aug 09, 2011 at 03:04 AM

BAPI for GR for Outbound delivery

781 Views

Hi Gurus,

I need to create a Goods Receipt against an Outbound Delivery ( movement type "101" ) using the BAPI BAPI_GOODSMVT_CREATE

user is using MIGO transaction for the same. There he will choose the GOODS RECEIPT for OUTBOUND DELIVERY and enters the delivery number. The movement type "101" is used.

I tried passing gm_code = 01 and mvt_type = 101 and mvt indicator as u2018Bu201D , but Iu2019m getting an error message 'ENTER PURCHASE ORDER NUMBER'.

I donu2019t have PO number . I just have shipment number from which I have found open outbound deliveries and now I need to do GR for each of the Outbound delivery.

Please let me know if Iu2019m passing the right gm_code and mvt indicator to the BAPI or if Iu2019m missing any parameters. Iu2019m passing the following parameters to the BAPI ?

Delivery. No. , delivery item, Doc. Date , Posting Date , ref document num , Quantity, Storage Location, External qty, External qty unit, matnr, werks .

Your help is greatly appreciated.

Thanks in advance.