Symptom
In a purchase order, a goods receipt (GR) with several items is created and EDI is used to post an incoming invoice using the function module IDOC_INPUT_INVOIC_MRM with the IDoc type INVOIC. The creation fails with the system raising error message M8321 "Document contains same order item more than once".
Note: "GR Bsd IV" is set (WEBRE = "X").
Read more...
Environment
- Materials Management (MM)
- SAP ERP Central Component
- SAP ERP
- SAP enhancement package for SAP ERP
- SAP enhancement package for SAP ERP, version for SAP HANA
- SAP S/4HANA
Product
SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions
Keywords
EXIT_SAPLMRMH_011, goods receipt, EDI, IDOC_INPUT_INVOIC_MRM, MRM_GR_ASSIGN, EKBE-XBLNR, MRM_GR_DISTRIBUTE, LMRMHF1G, IDOC, Segment, E1EDP02-ZEILE, EXIT_SAPLMRMH_013, M8321, M8 321 , KBA , MM-IV-GF-EDI , Electronic Data Interchange , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.