Register Login

BAPI_GOODSMVT_CREATE: Goods Receipt for Inbound Delivery

Updated May 18, 2018

Document Flow and Goods Movement Status Not Updated

Hello SAP Experts,

While posting a Goods Receipt for the Inbound Delivery with the help of BAPI BAPI_GOODSMVT_CREATE the Document Flow and the Goods Movement Status does not get updated.​

Please follow the steps below in order to regenerate the issue:

  1. First, post a Goods Receipt for the Inbound Delivery with the help of BAPI BAPI_GOODSMVT_CREATE
  2. Now in the call structure correctly transfer he DELIV_NUMB_TO_SEARCH and DELIV_ITEM_TO_SEARCH fields and not (!) the purchase order number and the purchase order item.
  3. Now when the corresponding Goods Receipt Material Document is posted.
  4. And while checking the data for the Inbound Delivery in VL33N you will notice that the Document Flow does not get updated (it does not contain the Goods Receipt Material Document created previously) and the Goods Movement Status remains as "A" (Not yet started).


  • 26 Jul 2017 6:03 pm Chandan Singh Parihar Helpful Answer

    For ECC 6.00 the Good Receipts via Inventory Management Transactions will also update the document flow table VBFA if the "Document Flow Update" Indicator is set in the Customizing.

    So in order to update Inbound Delivery please follow the three steps below :

    1) First in the Item Table please complete the fields DELIV_NUMB_TO_SEARCH and DELIV_ITEM_TO_SEARCH with the help of Inbound Delivery Number and Item. Leave the fields for the Purchase Order Number and Purchase Order Item empty.

    2) Now please set the 'Document Flow Update' Indicator under the customizing path below:

    Logistics Execution → Shipping → Basic Shipping Functions → Configure Global Shipping Data.

    3) Now in the Table GOODSMVT_ITEM please complete the Material Number (MATERIAL).

    The BAPI BAPI_GOODSMVT_CREATE does not really perform a goods receipt in reference to the inbound delivery, it is only really used to find the correct purchase order item.

    When you post with the help of BAPI while this flag is set then it will also update the document flow but you need to enter more data in the BAPI, most important the material number.

    Now in the case, if calling program is not able to pass over the material number then you can also consider using the BAdI MB_BAPI_GOODSMVT_CREATE in the BAPI in order to read the material number from table LIPS and fill T_IMSEG-MATNR.