SAP Knowledge Base Article - Preview

3759203 - Runtime Error "DBSQL_DUPLICATE_KEY_ERROR" when adding services to a purchase requisition via BAPI_PR_CHANGE - SAP ERP & S/4HANA

Symptom

When changing a purchase requisition via a BAPI, a runtime dump occurs: DBSQL_DUPLICATE_KEY_ERROR (exception CX_SY_OPEN_SQL_DB) in program SAPLMLSD during service update and subsequent commit.


Read more...

Environment

  • SAP ERP
  • SAP S/4 HANA

Product

SAP ERP all versions ; SAP S/4HANA all versions

Keywords

BAPI_PR_CHANGE, BAPI_TRANSACTION_COMMIT, DBSQL_DUPLICATE_KEY_ERROR, CX_SY_OPEN_SQL_DB, SAPLMLSD, ESLH, MS_SERVICE_SAVE, service PR, limits, purchase requisition, add services, duplicate key, MM-SRV, runtime dump, ABAP error , KBA , MM-SRV-BPI , BAPIs , 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.