SAP Note 1248511 - Differences between storage location stock and batch stock

Component : Stock Inconsistencies -

Solution : https://service.sap.com/sap/support/notes/1248511 (SAP Service marketplace login required)

Summary :
This SAP Note addresses discrepancies between batch stock sums (in table MCHB) and storage location stocks (in table MARD), affecting not just special stocks but also project stocks. The issue arises from multiple assignments of a single batch number due to modifications in the batch number assignment, particularly in the function module VB_NEXT_BATCH_NUMBER. To resolve this, check the modification and consider implementing SAP Notes 1035372 and 1062164. Additionally, inconsistencies should be managed by deleting modifications and setting appropriate parameters in EXIT_SAPLV01Z_002 and EXIT_SAPMM07M_010. For existing discrepancies, SAP’s paid Remote Support can be contacted.

Key words :
component mm-im-gf-, existing user exit exit_saplv01z_002, user exit exit_sapmm07m_010, component xx-rc, function module vb_next_batch_number, call transaction msc3n, error message m3 204, relevant error message, storage location stock, sales order stock

Related Notes :

1062164EXCEPTION BATCH_EXIST in VB_CREATE_BATCH III
1035372Exception BATCH_EXIST in VB_CREATE_BATCH II
32236Incorrect stock qty or stock value in material master