SAP BOX

'26/12/04 UPDATE

FI-AP / MM-IV / FIELD NOTES

The same invoice went in twice. Why didn't the duplicate check warn?

The FI check in FB60 and the LIV check in MIRO compare different values. This note explains why more selected fields in OMRDC catch less, what an empty reference does, how sources differ on message severity, and which cases the documents leave out, as a sequence of questions for comparing the two documents.

When the same invoice turns up posted twice before payment, it is easy to assume the duplicate check was switched off. Yet the documentation describes cases where the indicator is on and no message appears. After this note you can put the two documents side by side and work out which check they went through, which value differed, and whether a message appeared and someone clicked past it.

The basis is the SAP Help Portal topic "Check for Duplication of Invoice Entry" for SAP S/4HANA 2025 FPS02 (October 2026), the SAP Learning course "Invoice Verification in SAP S/4HANA", two Help Portal support content pages (no target release stated; one mentions rel 4.7), the fully public SAP KBAs 3463526 and 2646346 (both for SAP S/4HANA Cloud Public Edition), and the public previews of KBAs 1859210 and 3584438. The full text of 1859210 and 3584438 requires a login and was not read. Company codes, suppliers, references and amounts are all invented, and nothing here was run on an SAP system.

First look at the supplier's indicator

The normal path starts with an indicator on the supplier. The Help Portal says to open business partner role FLVN00, go to Company Code and the Vendor: Payment Transactions tab, and set Check Double Invoice. The support content describes the same indicator as "Chk double inv." in FK01 and FK02; the SAP S/4HANA 2025 FPS02 documentation points to BP instead. Because it sits under company code data, this note takes it that setting it for company code 1000 says nothing about 2000.

Example SAP GUI BP screen. Supplier 100200, BP role FLVN00, company code 1000 with marker 1. On the Vendor: Payment Transactions tab, Check Double Invoice is selected with marker 2.
Example of Check Double Invoice for the fictional supplier 100200. Marker 1 points to the sentence on the indicator being per company code, and marker 2 to the sentence on it being a prerequisite. Labels follow the SAP Help Portal documentation for SAP S/4HANA 2025 FPS02 in reduced form, and the real screen may differ.

There is more than one check

Even with the indicator on, the values compared depend on where the document was entered.

On the FI side, according to the support content, FI_DUPLICATE_INVOICE_CHECK is called from FB60 and compares supplier, currency, company code, amount, reference and document date with the values in table BSIP. A match gives message F5117. There is one exception: when the reference is filled, the amount is not compared. Public KBA 3463526 explains a case of F5117 for two invoices with different amounts in the same way (environment: SAP S/4HANA Cloud Public Edition): the first invoice had a reference, so the amount was not part of the check.

For MM Logistics Invoice Verification (LIV), the Help Portal describes something different. Supplier, currency and gross amount are always compared, while company code, reference, invoice date and credit memo are set in Customizing. A match gives message M8108, according to the SAP Learning course. Public KBA 2646346 (SAP S/4HANA Cloud Public Edition) separates M8108, for a match with an accounting document, from M8462, for a match with a logistics invoice document. The fields that KBA lists as having to match are company code, supplier, currency, reference and document date, with no gross amount. This note's LIV description and the example below follow the SAP S/4HANA 2025 FPS02 documentation.

So the same two invoices get different answers. Take two fictional invoices with the same reference INV-0042 and the same date of Nov 2, differing only in amount: KRW 1,100,000 and KRW 1,000,000. Applying the text above, FB60 ignores the amount and gives a message, while MIRO sees a different gross amount and gives none. That is this note's reading of the documents, not something confirmed on a system.

SAP NOTES

Same two invoices, different answers

Reference INV-0042 and date Nov 2 match, only the amount differs (KRW)

  • First invoice

    • Gross KRW 1,100,000
  • Second invoice

    • Gross KRW 1,000,000, all other values match
  • FI check (FB60)

    • Compares company code, supplier, currency, reference, amount, document date
    • With a reference, the amount is not compared
    • So message F5117 appears
  • LIV check (MIRO)

    • Always compares supplier, currency, gross amount
    • A different gross amount means a different invoice
    • So message M8108 does not appear

Fictional example. This note applies the SAP Help Portal text for S/4HANA 2025 FPS02 and its support content. Not the result of a run.

A fictional example applying both checks to two invoices that differ only in amount. The FI check (FB60) card and the LIV check (MIRO) card reach the same conclusions as the paragraph on two invoices with different answers. The second invoice's gross of KRW 1,000,000 is what separates them.

A different route does not mean the checks never see each other's documents. The Help Portal says the LIV check looks first at accounting documents in Financial Accounting, then at LIV documents that are incorrect, on hold, parked or entered for verification in the background. KBA 3463526 says the FI check looks at FI documents posted or parked through LIV or an FI invoice transaction. So if the two invoices came in by different routes, this note's reading is to compare them by the criteria of the route the second invoice took.

More selected fields catch less

OMRDC is easy to misread. According to the SAP Learning course the path is Customizing, Materials Management, Logistics Invoice Verification, Incoming Invoice, Set Check for Duplicate Invoices. Selecting a field here looks like tightening the check, but it does the opposite. A selected field must also match before an invoice counts as a duplicate, so one difference means no message. The Help Portal also says that switching fields off makes a duplicate more likely to be found, since fewer characteristics are compared. It adds a caution: switching off Check Company Code can hurt performance, because documents from many company codes are then read.

Example SAP GUI OMRDC screen. Check Reference Number is selected with marker 1, Check Company Code is selected, Check Invoice Date is selected with marker 2, and Check Credit Memo is not selected, with marker 3.
Example OMRDC setting. Markers 1 and 2 lead to the sentence that more selected fields catch less, and to cases C and D. Marker 3 leads to the credit memo sentence. Field names come from the SAP Help Portal documentation for SAP S/4HANA 2025 FPS02 in reduced form, and the real layout may differ.

The SAP Learning course makes the same point with an example. Two invoices whose references differ only in letter order, a2b3c4 and ab23c4, are not duplicates when the reference is a criterion, and they get a message when it is not. With the reference as a criterion, how someone typed the number changes the result of the check.

The six cases below are fictional and change one value at a time. The first invoice has company code 1000, supplier 100200, reference INV-0042, date Nov 2 and gross KRW 1,100,000. For case G, the Help Portal states as a prerequisite that LIV checks only if the reference is entered. That reads as: in MIRO, an invoice with the field left empty is not caught even if every other value matches. The FI check in FB60 is different: public KBA 3463526 (SAP S/4HANA Cloud Public Edition) says that without a reference it compares the amount instead.

SAP NOTES

Six cases for a second invoice in MIRO

First invoice: company code 1000, supplier 100200, INV-0042, Nov 2, KRW 1,100,000

  • B: everything matches

    • Message M8108 appears
  • C: only the reference is INV0042

    • No message
    • With Check Reference Number off, the message appears
  • D: only the date is Nov 3

    • No message
  • E: only the company code is 2000

    • No message
  • F: only the gross is KRW 1,100,100

    • No message. The gross amount is always compared
  • G: the reference is empty

    • The documented prerequisite is missing, so no check runs

Assumes the first invoice is posted, not parked, that Check Reference Number, Check Company Code and Check Invoice Date are on, and that the supplier has Check Double Invoice. Fictional, not the result of a run.

Six fictional second invoices, each changing one value of the first. Only case B gets a message, and case C changes when Check Reference Number is turned off. Read it together with markers 1 and 2 on the OMRDC figure.

Maybe there was a message

A message may have appeared and been clicked past. Sources describe its severity differently. The Help Portal says warning or error depending on settings, and the SAP Learning course says information or error for M8108. For F5117, the support content says error and KBA 3463526 says warning, adding that in SAP S/4HANA Cloud Public Edition this warning for FI invoices cannot currently be changed to an error. Check the message settings in your own system to see which applies. Where a system is set to warning or information, someone may simply have pressed Enter; that is this note's assumption.

The documentation also lists cases that are left out.

  • Cancelled documents: if an earlier document was cancelled and the invoice entered again, no message appears. The Help Portal and the support content both describe this as normal.
  • BAPI, EDI, API: the public preview of KBA 1859210 describes LIV not checking invoices created this way (SAP ERP, SAP S/4HANA, all versions). The full text requires a login and was not read, so if invoices arrive through an interface, read that KBA yourself.
  • Special G/L: the support content says the FI check is not meant for special G/L transactions and looks only at sales-related posting keys.
  • Credit memos: sources differ a little. One support content page says credit memos and subsequent adjustments are not checked, with only the Argentina version as an exception. The Help Portal says the check covers credit memos as well as invoices for the Argentina version and for FI documents, and public KBA 3463526 also says the check runs when credit memos are entered in Financial Accounting, in line with the Help Portal. In LIV this is set with Check Credit Memo, as of SAP S/4HANA 2023 according to the SAP Learning course.
  • Different document types: the public preview of KBA 3584438 describes the check failing when a single invoice number goes in under different document types. The full text requires a login and was not read.
  • Own changes: according to the support content, the FI criteria can be changed with process interface 00001110 (FIBF), so if the behaviour differs from the description, check first whether that is in use.

The next time you find a duplicate, put the two documents side by side and ask five questions. Which route did each take? Is the indicator set for that supplier in that company code? Which of the compared values differ? For MIRO, is the reference empty? Did a message appear and get clicked past? As the documents describe it, this check does not recognise the same invoice. It compares the values in a fixed set of fields.

THE END
RSS feedBack to the library
COMMENTS BOX

Add your perspective.

Share a question, another approach, or something you have tried.

Newest first

Checking sign-in…

Loading comments…