SAP Knowledge Base Article - Public

3122832 - Inconsistencies between MM-IM and 3rd Party Warehouse stock


Stock Differences between Cloud MM-IM stock and 3rd Party Warehouse stock.


  • SAP S/4HANA Cloud 
  • Material Management
  • Decentralized Warehouse

Reproducing the Issue

You are following the IZQ Scope Item.

A Goods Receipt or Goods Issue was posted within the 3rd Party Warehouse. As a result the stock on the MM-IM side is not consistent with the 3rd Party Warehouse  stock.


In order to adjust the stock on the MM-IM side only without updating the Warehouse Stock (without sending IDOC SHP_OBDLV_SAVE_REPLICA08 and receiving IDOC SHP_OBDLV_CONFIRM_DECENTRAL).

Use API_MATERIAL_DOCUMENT_SRV/A_MaterialDocumentHeader utilizing the field ‘CtrlPostgForExtWhseMgmtSyst’.

The following 3 options are available for the field CtrlPostgForExtWhseMgmtSyst :

1 = Create delivery and transmit WM.

2 = Execute stock change in S/4HANA.

3 = Post goods movement synchronously to Extended Warehouse Management (EWM )

Within the API set field CtrlPostgForExtWhseMgmtSyst - as ‘2 Execute stock change in S/4HANA’. Which will only adjust the stock on the MM-IM side.

See Also

Create Material Documents


Goods Receipt, Goods Issue, posted, 3rd Party Warehouse, stock, MM-IM, inconsistent, 3rd Party, Warehouse , 3PL, API, API_MATERIAL_DOCUMENT_SRV/A_MaterialDocumentHeader,  CtrlPostgForExtWhseMgmtSyst , ‘2 Execute stock change in S/4HANA’, 1ZQ , KBA , MM-FIO-IM-SGM , Fiori UI for Stock and Goods Movements , LE-IDW-DEC , Local Operations , Problem


SAP S/4HANA Cloud 2111