SAP Knowledge Base Article - Public

3773667 - Duplicate invoice check does not validate credit memo against existing supplier invoice - s/4hana cloud public edition

Symptom

  • When a credit memo is created with the same Company Code, Reference, and Invoice Date as an already posted supplier invoice, the system allows posting without any duplicate warning or error.
  • No duplicate invoice check occurs between a supplier invoice and a credit memo.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. set the "Check Double Invoice" in the supplier master data and make the necessary configuration for duplicate invoice check.
  2. Post a supplier invoice.
  3. Open the Create Supplier Invoice app.
  4. Create a Credit Memo using the same Company Code, Reference, and Invoice Date as the posted supplier invoice (and the same invoicing party).
  5. Post the credit memo.
  6. Observe that no duplicate warning or error is shown and the document is posted.

Cause

Standard system behavior: the duplicate invoice check compares documents of the same type only (invoice-to-invoice or credit memo-to-credit memo). It does not compare a supplier invoice with a credit memo.

Resolution

If business requirements demand preventing a credit memo when a matching supplier invoice exists, implement a custom validation using BAdI MRM_CHECK_INVOICE_CLOUD to perform a cross-document-type duplicate check.

Keywords

duplicate invoice check, credit memo, supplier invoice, duplicate validation, no warning, no error, create supplier invoice app, invoice verification, badi mrm_check_invoice_cloud, s/4hana cloud public edition, duplicate prevention, reference field, invoice date, company code, fiori invoice posting , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions