SAP Note 204393 - Inconsistencies between stocks of MARD and MBEW

Component : Stock Inconsistencies - -obsolete- RC-MM-Inventory Management

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

Summary :
This SAP Note addresses discrepancies between stock data in the accounting view table (MBEW) and the stock overview table (MARD or similar). The inconsistency arises when custom programs improperly update the MBEW or MARD table simultaneously with SAP-standard goods movements, leading to data overwrite. Developers are advised to refrain from modifying key fields like LBKUM, SALK3 without explicit locks and instead use the SET update to ensure only specified fields are changed. Incorrect updates are considered customer modifications and might incur charges. To prevent data inconsistency, follow the recommended code practices for database operations provided in the Note.

Key words :
matnr = wa_mard-matnr             werks = wa_mard-werks             lgort = wa_mard-lgort, update mard set             zz_field_1 = 'customer specific, entire work area back, find customer-specific programs, sap standard stock fields, customer-specific programs, 1'             zz_field_2 = 'customer specific, terms mminkon reason, program zxxxxxxx reads, program zxxxxxxx writes

Related Notes :

520010FAQ: Inconsistencies in inventory management
32236Incorrect stock qty or stock value in material master