SAP Note 1315985 - FAQ: BAdI MB_DOCUMENT_BADI

Component : Basic Functions -

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

Summary :
This SAP Note provides clarifications on implementing and using the BAdI MB_DOCUMENT_BADI. Concerning implementation, users must refer to SAP Notes 1284654 and 92550 to avoid data inconsistencies. As for functionality, MB_DOCUMENT_BADI does not support error handling directly through message returning during goods movements checks; instead, users should employ the method MB_DOCUMENT_BEFORE_UPDATE for data validation. Mismanagement in error handling inside BAdI can provoke system dumps, as further detailed in SAP Note 385830. Key terms include SE18, SE19, CL_EX_MB_DOCUMENT_BADI, and MESSAGE_TYPE_X.

Key words :
frequently-asked questions, business add-, avoid inconsistencies, goods movements, generally speaking, goods movement, return messages, error messages, terms se18, message_type_x reason

Related Notes :

1284654Caution with implementations of the BAdI: MB_DOCUMENT_BADI
385830Inconsistencies with goods movements in the background
92550Stock inconsistency due to customer enhancement (exit, BAdI)