Symptom
Runtime error DBSQL_DUPLICATE_KEY_ERROR is generated updating object ML4HDOCREF in Program SAPLFCML4H_DOC_RW:
Category ABAP programming error
Runtime Errors DBSQL_DUPLICATE_KEY_ERROR
Except. CX_SY_OPEN_SQL_DB
ABAP Program SAPLFCML4H_DOC_RW
Application Component CO-PC-ACT
Affected FUNCTION FCML4H_DOC_POST
Line:
13| INSERT mldoc FROM TABLE it_doc.
>>>>>| INSERT mldocccs FROM TABLE it_docccs.
or
>>>>>| INSERT mldoc FROM TABLE it_doc.
Read more...
Environment
- Controlling (CO)
- SAP S/4 HANA
Product
Keywords
DBSQL_DUPLICATE_KEY_ERROR, CX_SY_OPEN_SQL_DB, SAPLFCML4H_DOC_RW, number range, MLDOC, MLDOCCCS, NR status, DOCREF, ML4HDOCREF, ST22 , KBA , CO-PC-ACT , Actual Costing , CO-PC-OBJ , Cost Object Controlling , CO-OM , Overhead Cost Controlling , MM-IM-GF , Basic Functions , 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