SAP Note 92550 - Stock inconsistency due to customer enhancement (exit, BAdI)

Component : Inventory Management - Stock Inconsistencies

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

Summary :
Improper implementation of the enhancement MB_CF001 or BAdI MB_DOCUMENT_BADI in SAP could lead to inconsistencies between documents and stock, as well as material and accounting documents. These inconsistencies can stem from operations like COMMIT WORK, FROM MEMORY, Remote Function Call, ROLLBACk WORK, as well as direct updates to tables like MBEW or MARD. To mitigate risks, ensure these enhancements do not introduce COMMIT operations that could thwart a full data rollback upon update termination, thereby maintaining data integrity and avoiding asynchronous document statuses. Check and rectify any existing code issues to prevent potential inconsistencies.

Key words :
rollback work message type 'a' calling, function modules 'c' und 'd', function module 'd' terminates, memory remote function call, update function module mb_post_document, subsequent update function module, message type 'a', function module exit_saplmbmb_001, call function 'd', function modules 'a'

Related Notes :

1315985FAQ: BAdI MB_DOCUMENT_BADI
1284654Caution with implementations of the BAdI: MB_DOCUMENT_BADI
968812MM/FI Difference for material stocks
743744MIRO/MR1M: FI follow-on documents or MM documents missing
156299EXIT_SAPMM07M_004 together with reference batch