SAP Good Movement IDoc (MBGMCR03) : Structure and BAPI

SAP Good Movement IDoc: SAP MM-IM package offers two standard IDocs to exchange Material Document and to replicate creation, modification and cancellation of a SAP Good Movement.

You will find the two SAP Good Movement IDocs to manage MD and BAPIs related to these IDocs.

The main IDocs for Good Movement are:

  • MBGMCR03: SAP Good Movement IDoc for Posting Good Mvt
  • MBGMCA01: SAP Reverse Good Mvt IDoc

SAP Good Movement IDoc MBGMCR03

The standard IDoc MBGMCR03 is used for posting of Goods Movement. It based on standard BAPI MB_CREATE_GOODS_MOVEMENT.

SAP Posting IDoc MBGMCR03 Structure

You find following the structure of this Idocs :

SAP Good Movement IDoc MBGMCR03

  • E1MBGMCR Header Segment
    • E1BP2017_GM_HEAD_01 BAPI Communication Structure: Material Document Header Data
    • E1BP2017_GM_CODE MMIM: New Key Assignment GM_CODE to Transaction of Inv. Mgmt
    • /SPE/E1BP2017_GM_REF_EWM BAPI Communication Structure: Material Document EWM Ref.
    • E1BP2017_GM_ITEM_CREATE BAPI Communication Structure: Create Material Document Item
      • E1BP2017_GM_ITEM_CREATE1 BAPI Communication Structure: Create Material Document Item
    • E1BP2017_GM_SERIALNUMBER BAPI Communication Structure: Create Mat. Doc., Serial No.
    • /SPE/E1BP2017_SERVICEPART_D BAPI Communication Structure: Service Parts Data
    • E1BPPAREX Ref. Structure for BAPI Parameter EXTESIONIN/EXTENSIONOUT

SAP Good Movement Related BAPI

ALE_GOODSMVT_CREATE

The BAPI ALE_GOODSMVT_CREATE will generate an IDoc with Good Movement ( a Material Document ).

BAPI_GOODSMVT_CREATE

In order to integrate a MBGMCR03 idocs, you can use the standard BAPI IDOC_INPUT_MBGMCR.

The BAPI will format the MBGMCR IDoc into BAPI format and call the Standard BAPI BAPI_GOODSMVT_CREATE.

Check also List of important SAP Good Movement BAPI (Create,Cancel & Getdetails)


SAP Good Movement IDoc MBGMCA01

The standard IDoc MBGMCA01 is used for Reverse goods movements. It based also on standard BAPI MB_CANCEL_GOODS_MOVEMENT.

Reverse Good Movement IDoc MBGMCA01 Structure

The structure for IDoc MBGMCA01 is:

SAP Good Movement IDoc MBGMCA01

  • E1MBGMCA Header Segment
    • E1BP2017_GM_ITEM_04 BAPI Communication Structure: Cancel Mat. Doc., Items

BAPIs Related to SAP Reverse Good Mvt IDoc MBGMCA01

ALE_GOODSMVT_CANCEL

The Bapi ALE_GOODSMVT_CANCEL can generated an reverse goods movement IDocs.
Check this post SAP Good Movement BAPIs for more detail about this BAPI.

IDOC_INPUT_MBGMCA

In order to integrate a MBGMCA01 idocs, you can use the standard BAPI IDOC_INPUT_MBGMCA.

The BAPI will format the MBGMCA IDoc into BAPI format and call the Standard BAPI BAPI_GOODSMVT_CANCEL.

SAP and SAP logo are registered trademarks of SAP AG. Sap4tech.net is not associated with SAP AG.

We have made every effort to make sure provide relevant search results, use the content on this site at your own risk.

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.