SAP Knowledge Base Article - Preview

1572769 - Dump DBSQL_DUPLICATE_KEY_ERROR in SAPLM61U when running MRP

Symptom

During execution of transactions MD01, MDBT, MD02, MD03 or MD01N you receive the following dump:

Category               ABAP programming error
Runtime Errors         DBSQL_DUPLICATE_KEY_ERROR
Except.                CX_SY_OPEN_SQL_DB
ABAP Program           SAPLM61U
Application Component  PP-MRP-BD

In MRP performance log, you may receive the following message:

"MRP run terminated (help for analysis in note 2432291)
Open SQL array insert produces duplicate records in the data base".


Read more...

Environment

  • SAP ERP Release Independent
  • SAP S/4HANA
  • Material Requirements Planning - PP-MRP

Product

SAP ERP 6.0 ; SAP S/4HANA 1610 ; SAP S/4HANA 1709 ; SAP S/4HANA 1809 ; SAP S/4HANA 1909 ; SAP S/4HANA 2020 ; SAP S/4HANA 2021 ; SAP S/4HANA, on-premise edition 1511 ; mySAP ERP 2004

Keywords

INSERT_MDSBI_IN_MDSB, DBSQL_DUPLICATE_KEY_ERROR, SAPSQL_ARRAY_INSERT_DUPRECCX_SY_OPEN_SQL_DB, SAPLM61U, LM61UF1T , KBA , PP-MRP-PR , Planning Execution , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.