SAP Knowledge Base Article - Preview

3833488 - Update error and dump DBSQL_DUPLICATE_KEY_ERROR occurs in FM RV_KONDITION_SICHERN_V13A while using outline agreement BAPIs - SAP ERP & S/4HANA

Symptom

When creating a contract with multiple items with the same material, different plants and Info Record update "C", or when adding multiple items in an agreement with same material, different plants and Info Record update "C", all the following symptoms occur:

  • Dump DBSQL_DUPLICATE_KEY_ERROR is raised
  • Update error occurs in SM13 with the following details:
    • Function Module: RV_KONDITION_SICHERN_V13A
    • Report: RV13A018
    • Error: Internal session terminated with a runtime error DBSQL_DUPLICATE_KEY_ERROR (see ST22)


Read more...

Environment

  • Materials Management (MM)
  • SAP ERP Central Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA
  • SAP S/4HANA Cloud Private Edition

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA Cloud Private Edition all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

BAPI_CONTRACT_CREATE, BAPI_SAG_CREATE, BAPI_CONTRACT_CHANGE, BAPI_SAG_CHANGE, duplicate key, RV_KONDITION_SICHERN_V13A, DBSQL_DUPLICATE_KEY_ERROR, EKPO-SPINF, PIR, A018, outline agreement , KBA , MM-PUR-OA-BAPI , BAPIs - Outline Agreements , 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.