SAP Knowledge Base Article - Preview

3446538 - BAPI: Error message M8321 for invoices with TM reference - SAP ERP & SAP S/4HANA

Symptom

  • After trying to post TM-relevant invoices via BAPI interface (BAPI_INCOMINGINVOICE_CREATE, BAPI_INCOMINGINVOICE_CREATE1, BAPI_INCOMINGINVOICE_PARK), system triggers error message M8321 - Document contains same order item more than once.
  • Note: S.-based IV is enabled.


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

ERP, ECC, BAPI, M8321, TM integration, BAPI_INCOMINGINVOICE_CREATE, BAPI_INCOMINGINVOICE_CREATE1, BAPI_INCOMINGINVOICE_PARK, invoice, freight settlement, LEBRE, IDoc, freight order, freight cost, service entry sheet, SES, TMS, LFBNR, S-based IV, Service based IV, TM Invoice, Service , KBA , MM-IV-LIV-BAPI , BAPI , 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.