SAP Knowledge Base Article - Preview

2094902 - SAPSQL_ARRAY_INSERT_DUPREC when processing IDocs

Symptom

When generating IDocs at application level SAPSQL_ARRAY_INSERT_DUPREC runtime error is triggered.

Category  ABAP Programming Error
Runtime Errors  SAPSQL_ARRAY_INSERT_DUPREC
Exception  CX_SY_OPEN_SQL_DB
Application Component  BC-MID-ALE
Short text
The database and that record already exists with the same key, this results in a termination.
How to correct the error
"SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"
"SAPLEDI1" or "LEDI1F09"
"F09_IDOC_INSERT_WITH_NUMBER"
Information on where terminated

Termination occurred in ABAP Program "SAPLEDI1" in "F09_IDOC_INSERT_WITH_NUMBER". The main program was "RBDSEMAT "F09_IDOC_INSERT_WITH_NUMBER"


Read more...

Environment

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

Product

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

Keywords

BASIS_ALE, IDOCDSGNUM, LEDI1F09, 999999 segments per IDoc , KBA , BC-MID-ALE , Integration Technology ALE , How To

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.