Solution : https://service.sap.com/sap/support/notes/788231 (SAP Service marketplace login required)
Summary :
When attempting to delete a parked document via Transaction MIRO, users may encounter Error M8 036 indicating the related purchase order item doesn't exist due to it being archived. As a solution, SAP has introduced the 'Z_MRM_DELETE_PP_ARCH' correction report. This report comes with options to input Invoice Document Number, Fiscal Year, User ID, and a mode selection ('X' for correction, space for analysis). Initially running the report in analysis mode details necessary deletions in RBKP and BKPF tables. Corrections are advised to be handled solely by SAP, ensuring alterations in the RBKP and BKPF header tables and related entries are properly executed following analysis.
Key words :
invoice document number fiscal year user id, error message m8 036 'purchase order item & &, transaction 'enter incoming invoice', 'x' = correction mode ' ' = analysis mode, added 'z_mrm_delete_pp_arch' correction report, purchase order item, abap runtime error, terms fs item, parked document refers, 'z_delete_rbkp_pp' correction report
Related Notes :
626192 | SARA and MM_EKKO: Purchase orders with parked invoices |