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: 

BAPI_GOODSMVT_CREATE - delivery quantity

it_soubry
Member
0 Kudos

By using BAPI, I want to perform good receipts.

One of the parameters that I want to pass on is "Del. Quantity" or MSEG-LSMNG.

This is missing from the BAPI_GOODSMVT_CREATE implementation.

It's also not included in the BAPI2017_GM_ITEM_CREATE structure.

Is there anyway that I can quickly solve this problem?

thx,

Soubry Cedric

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

You can use the Function MB_CREATE_GOODS_MOVEMENT

look for the table parameter IMSEG

Former Member

Former Member
0 Kudos

Hi All

I need to update the delivery note (and also the quantity in the delivery note) using the BAPI_GOODSMVT_CREATE.

I was able to update the 'Delivery Note' field by filling the field goods_mvt_header-ref_do_no in the BAPI.

But this worked only when I passed the Purcahse Order Number (as I am doing the GR against a PO) in goods_mvt_header-ref_do_no.

If I give any other value, it gives an error M7-036.

How shall I proceed, cause in the MIGO transaction, I am able to fill anything in the Delivery Note field, but using the BAPI, I can update this field only with the PO number.

Thanks & Regards,

Ankur Malhotra