Solution : https://service.sap.com/sap/support/notes/407265 (SAP Service marketplace login required)
Summary :
When using BAPI BAPI_GOODSMVT_CANCEL for material document item reversal in SAP, it is crucial to fill the GOODSMVT_MATDOCITEM table correctly. Problems can arise, such as incomplete reversal of subcontract order items when only main items are provided or error M7001 if only subitems are inputted. For stock transfer reversals, a similar issue with error M7345 occurs when system-generated lines are transferred. SAP advises reversing complete documents; if item-wise reversal is necessary, ensure correct data entry in the GOODSMVT_MATDOCITEM table, considering specific guidelines for both subcontract and stock transfer reversals.
Key words :
material document 0815item material movement type1 '4711' 1012 '4711a' 5433 '4712' 1014 '4712a' 543in order, material document 0815item material plant sloc movement type xauto, system generates error message m7345 'document line & &, system generates error message m7001 ', individual material document items, reverse material document items, additional key words m7001, fill internal table goodsmvt_matdocitem, complete material documents, movement type 543/544
Related Notes :
| 520813 | FAQ: BAPIs for goods movements |