Symptom
In your system you might face a number of runtime error "DBSQL_DUPLICATE_KEY_ERROR in program SAPLCV200" with header
Category ABAP programming error
Runtime Errors DBSQL_DUPLICATE_KEY_ERROR
Except. CX_SY_OPEN_SQL_DB
ABAP Program SAPLCV200
Application Component CA-DMS
----------------------------------------------------------------------------------------------------
|How to correct the error |
| The exception must either be prevented, caught in procedure "KPRO_DATA_SAVE" |
| "(FORM)", or |
| the possibility of it occurring must be declared in the RAISING clause |
| in the procedure. |
| To prevent the exception, note the following: |
| |
| Open SQL array insert should only be used if it is certain that none of |
| the records specified already exists on the database. If this cannot be |
| guaranteed, exception CX_SY_OPEN_SQL_DB should be intercepted, and the |
| error must be resolved. |
| If the error occurs in a non-modfied SAP program, you might be able to |
| find a solution in the SAP Notes system. If you have access to the SAP |
| Notes system, check there first using the following keywords: |
| |
| "DBSQL_DUPLICATE_KEY_ERROR" CX_SY_OPEN_SQL_DB |
| "SAPLCV200" bzw. LCV200F04 |
| "KPRO_DATA_SAVE" |
Read more...
Environment
- SAP ERP Document Management System (CA-DMS)
- SAP R/3
- SAP R/3 Enterprise
- SAP S/4HANA
- SAP S/4HANA Cloud Public Edition
- SAP ERP Central Component
- SAP ERP
- SAP Enhancement package for SAP ERP
- SAP Enhancement package for SAP ERP, version for SAP HANA
Product
Keywords
CVAPI_DOC_CHECKIN, ESComXML files, SAPLCV200, KPRO_DATA_SAVE , KBA , CA-DMS , Document management , 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