Symptom
After activating the duplicated invoice check, when creating an invoice through the "Create Incoming Invoices" app (FB60), only a warning message F5117 is displayed.
How can this warning message be changed to an error message?
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create an invoice in "Create Incoming Invoices" app.
- Create another supplier invoice with the same information.
- Get the warning message F5117 "Check whether document has already been entered under number CCCC XXXXXXXXXX YYYY" when posting.
- Can't find the configuration to change the message from Warning to Error.
Cause
This is a system standard behavior.
Resolution
Currently, it is not possible to modify the message control for message F5117.
This needs to be raised as a feature request, see KBA 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product. For go-live critical feature request, it is recommended to contact Product Expert (PE), e-CSP or CSP to get support.
Double Invoice Checks in Manage Journal Entries - from 2602.1
A duplicate invoice check is now available when changing existing journal entries in the Manage Journal Entries app. The system automatically checks for potential duplicate postings during the change process to help reduce the risk of duplicate invoices.
When a journal entry is changed, the system compares it against existing postings. If a matching posting is found, the system issues a warning message indicating a possible duplicate invoice. The warning is non-blocking, so users can still proceed with the change if required.
The warning message when a duplicate is detected:

Implementation Details
This check is only performed if Check Double Invoice is active for the related business partner. For example, in Manage Supplier Master Data, you have selected the Check Double Invoice checkbox on the Finance tab of the relevant company code:

Keywords
Duplicated Invoice, F5117, Error, Warning, Create Incoming Invoices, FB60 , KBA , FI-FIO-AP-TRA-2CL , Transaction Apps: Public Cloud , FI-AP-AP-A-2CL , Posting/Clearing/Special General Ledger (Public Cloud) , How To
SAP Knowledge Base Article - Public