SAP Knowledge Base Article - Preview

2249805 - SAPSQL_ARRAY_INSERT_DUPREC dump on SE06 transaction


Performing any action on SE06 transactions ends with a dump similar to:

Category                      ABAP Programming Error
Runtime Errors             SAPSQL_ARRAY_INSERT_DUPREC
Except.                        CX_SY_OPEN_SQL_DB
ABAP Program              SAPLSLOG
Application Component  BC-CTS-ORG

Information on where terminated
Termination occurred in the ABAP program "SAPLSLOG" - in "WRITE_TABLE_DDPRS".
The main program was "RDDINSTR ".
In the source code you have the termination point in line 314 of the (Include) program "LSLOGF05".                                  
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in  procedure "WRITE_TABLE_DDPRS" "(FORM)", but it was neither handled locally nor declared in the RAISING clause of its signature.
The procedure is in program "SAPLSLOG "; its source code begins in line 226 of the (Include program "LSLOGF05 ". 

The source code Extract indicates the problem is on table DDPRS

>>>>>  INSERT ddprs FROM TABLE pt_ddprs.  
315   UPDATE ddprh FROM ls_ddprh.



duplicate record, SE06, post system copy, SAPLSLOG, WRITE_TABLE_DDPRS, RDDINSTR, LSLOGF05, DDPRH, DDPRS, SAP_SE06_TCE, DBSQL_DUPLICATE_KEY_ERROR, pt_ddprs , KBA , BC-CTS-ORG , Workbench/Customizing Organizer , BC-DWB-DIC , ABAP Dictionary and ABAP CDS , 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.