Symptom
By running an automatic task in update mode on releases S/4HANA 1809, 1909 or 2020, the runtime error DBSQL_DUPLICATE_KEY_ERROR occurs in function FC_ACDOCU_POST, here:
19 CHECK NOT it_data IS INITIAL.
20
>> INSERT acdocu FROM TABLE it_data.
22
After SAP Note 2980785 is available in the code, the message GK 835 "Document no. &1 already exists in number range &2, dimension &3, year &4" is raised and no runtime error occurs.
Another symptom may be - on release S/4HANA 2021 - that runtime error DBSQL_DUPLICATE_KEY_ERROR with exception CX_SY_OPEN_SQL_DB occurs in function fincs_document_refresh_update. In t-code ST22, in the runtime error's details, exception contains the following text: "A data record is to be inserted even though a data record with the same primary key or same unique secondary key exists."
Read more...
Environment
SAP S/4HANA, Finance, Group Reporting
Product
Keywords
FIMC_BELEG , KBA , FIN-CS-COR , S/4HANA Financial Consolidation, Core Processing , 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.
SAP Knowledge Base Article - Preview