Symptom
While Implementing Note in SNOTE following dump occurs :
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
Short text
The ABAP/4 Open SQL * insert results in duplicate database records.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSCWC" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "SCWB_CINSTS_IMPLEMENT" "(FUNCTION)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL * insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
Read more...
Environment
SNOTE
Product
Keywords
SAPSQL_ARRAY_INSERT_DUPREC SCWB_CINSTS_IMPLEMENT , KBA , BC-UPG-NA , Note Assistant , BC-UPG-NV , Note Validation , 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.