SAP Note 170135 - Inspectn lot:mtrl doc.cancelatn after stck transfer

Component : Inspection Lot Creation -

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

Summary :
After cancelling a material document in SAP, which was associated with the creation or modification of an inspection lot, inconsistencies may arise between Material Management Inventory Management (MM-IM) and Quality Management (QM) modules, often resulting in runtime errors and stock posting issues like error M7021. This issue, caused by a program error particularly after stock transfers, affects systems from Release 4.0 onwards while requiring a different approach for earlier versions. Resolution involves implementing specific program corrections as detailed in the provided attachment, enhancing integration, and updating to the latest program version from Note 48815 to address and prevent further discrepancies.

Key words :
system generates error message m7021, system generates error message qa046, original plant/storage location combination, additional key words qac1, mandatory import parameter i_dm07m, function module qaat_material_document_cancel, stock inconsistencies occur, inspection lot exists, material document cancellation, inspection lot stock

Related Notes :

175680Incorrect data for stock transfer
159546MBST: Nested Perform on Commit
115519Error message QA047 when cancelling matl document
102759Cancel.a material document creating inspection lots
102705Inspection lot creation when entering goods movment
92760Error mess.QA495 when cancelling a material documnt
92179GR cancellation with inspection lot not possible
89962Cancellation of a GR document with several items
87631Posting stocks for inspection lot
48815Checking possible inconsistencies between MM and QM