SAP Knowledge Base Article - Preview

2959261 - DBSQL_DUPLICATE_KEY_ERROR during insert into EDID4 in SAPLEDI1


A DBSQL_DUPLICATE_KEY_ERROR dump occurs while inserting into the EDID4 table in program SAPLEDI1.

The internal table from which the records to be inserted are coming contain more than 999,999 rows.

For example, in this "Source Code Extract" the internal table is LIST_CONTAINER_INSERT.

short_dump - code.png

And in the "Chosen Variables" section of the short dump, the internal table LIST_CONTAINER_INSERT contains more than 999,999 rows.




  • SAP Basis ALE
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4 HANA
  • ABAP PLATFORM - Application Server ABAP


ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions


BASIS_ALE, LSMW , KBA , BC-MID-ALE , Integration Technology ALE , 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.