SAP Note 355894 - Dependent goods movemts:error M7021 for no valid reason

Component : Goods Movements - Confirmation

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

Summary :
When posting or canceling order confirmations in SAP related to goods movements, errors such as M7021 "Deficit of & && &&" or M7042 "Batch & && && does not exist" may occur. These errors stem from issues in handling dependent goods movements in collective orders—specifically, incorrect sequencing during the goods movement updates. To rectify this, ensure the cancellation of goods issues is processed before the cancellation of goods receipts to maintain sequence integrity. Implementing SAP Note 351237 and subsequent program corrections is recommended for resolution.

Key words :
additional key words sequence, goods movements works incorrectly, goods movements work incorrectly, words dependent goods movements, post dependent goods movements, post goods movements, dependent goods movements, generate message m7042, direct production assembly, material manufactured directly

Related Notes :

351237Cancelling via function MB_CANCEL_GOODS_MOVEMENT
327137Problems with dependent goods movements as of Release 4.5
313985Cancel confirmation with goods mvts as of Rel. 4.6