Symptom
The following error occurs during execution of change document-related transactions or processes in an SAP S/4HANA system:
Category ABAP Programming Error
Runtime Errors DBSQL_DUPLICATE_KEY_ERROR
Exception CX_SY_OPEN_SQL_DB
ABAP Program SAPLSCD0
Additionally, trace logs (e.g., HANA indexserver traces) may show failed attempts to insert into e.g. table CDPOS with errors like:
Failed to execute trigger 'SAPABAP1:CDPOS_I_<TRIGGER_NAME>_TRIG (triggered by INSERT on table SAPABAP1:CDPOS)'
Despite the dump message referencing a duplicate key error, manual verification via SE16 or SQL shows no existing entry with the conflicting key in the target table (CDPOS).
Read more...
Environment
SAP HANA
Product
Keywords
KBA , HAN-DB , SAP HANA Database , 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