When Iu2019m testing the BAPI_GOODSMVT_CREATE, it is throwing an error message .
DELIVERY NUMBER
DELIVERY ITEM
VENDOR
MATERIAL NUMBER
PLANT
STORAGE LOCATION
MOVEMENT TYPE 101
MOVEMENT INDICATOR 'L'
QUANTITY
BASE UNIT MESSARE
The following is the error message
Update control of movement type is incorrect (entry 101 X X _ L)
Can you people suggest me to overcome this error message?
Thanks & Regards
RAMU.
hi try the following.
S_BAPI2017_GM_HEAD_01-PSTNG_DATE = sy-datlo. S_BAPI2017_GM_HEAD_01-DOC_DATE = sy-datlo. S_BAPI2017_GM_HEAD_01-REF_DOC_NO = '12345'. S_BAPI2017_GM_HEAD_01-PR_UNAME = SY-UNAME. T_GOODSMVT_ITEM-MATERIAL = 'hardware'. T_GOODSMVT_ITEM-PLANT = '1000'. T_GOODSMVT_ITEM-MOVE_TYPE = '101'. T_GOODSMVT_ITEM-PO_NUMBER = '12345677'. T_GOODSMVT_ITEM-PO_ITEM = '00100'. T_GOODSMVT_ITEM-MVT_IND = 'B'. T_GOODSMVT_ITEM-ENTRY_QNT = '100'. T_GOODSMVT_ITEM-SPEC_MVMT = '2'. APPEND T_GOODSMVT_ITEM.
Hi,
You need to give B in movement indicator since purchase order is unknown and delivery details is know.
You can see in help, it is clearly mentioned for purchase order unknown, del details is mandatory and all the other details should be as per purchase order known.
Regards,
Sunny
Add a comment