SAP Knowledge Base Article - Preview

2562748 - Different document types default in MIGO and BAPI_GOODSMVT_CREATE

Symptom

In your business process, a Vendor can deliver goods urgently when no Purchase Order has yet been created. In Inventory Management, it is possible to retrospectively generate a purchase order in the background when you carry out the goods receipt.
You have noticed that, with this process, when you post the goods receipt in transaction MIGO, the system generates the IM posting with document type WA, but if the same posting is made with BAPI_GOODSMVT_CREATE, it comes out with document type WE and a different number range, which is confusing for users.


Read more...

Environment

  • Materials Management (MM)
  • SAP ERP Central Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

ECC, T158, BAPI_GOODSMVT_CREATE, MIGO_GI, T158G-tcode, MM07MFT0_TRANSAKTIONS_INIT, mkpf-blart, ME_SET_PO_ITEMS, MM07MFA0_AUTOMATISCHE_BESTELLUNG, document type. , KBA , MM-IM-GR-MIGO , Goods Receipt from External Procurement (MIGO) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.