SAP Knowledge Base Article - Preview

2177340 - M8321 Error in IDOC when GR contains more than one segment

Symptom

In the purchase order a goods receipt with several delivery note numbers (EKBE-XBLNR) is created or an EDI incoming invoice using the function module IDOC_INPUT_INVOIC_MRM with the IDoc type INVOIC is created, the system raises error message M8321 "Document contains same order item more than once"


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 , 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 ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.