SAP Knowledge Base Article - Preview

2252557 - DBSQL_DUPLICATE_KEY_ERROR Short Dump when saving an Order or Notification

Symptom

  • Short dump occurs after adding a Task List in IW32 and pressing Save
  • Short dump DBSQL_DUPLICATE_KEY_ERROR when changing an Order
  • Short dump DBSQL_DUPLICATE_KEY_ERROR when changing a Notification
  • Dumps can also be triggered when using Fiori Applications for the same actions.

Dump 1.PNG

Further short dump text details:

"DBSQL_DUPLICATE_KEY_ERROR" CX_SY_OPEN_SQL_DB
"SAPLBSVU" bzw. LBSVUU01
"STATUS_UPDATE"

  Source Code Extract                                                                             
  Line    SourceCde  
  51   LOOP AT jest_upd WHERE chgkz = 'X'.
  52     CHECK jest_upd-chgnr > '000'.
  53     CLEAR jcds_tab.
  54     MOVE-CORRESPONDING jest_upd TO jcds_tab.
  55     MOVE-CORRESPONDING chdat    TO jcds_tab.
  56     jcds_tab-chind = 'U'.
  57     APPEND jcds_tab.
  58   ENDLOOP.59 * Verbuchung Statusobjekte
  60   DESCRIBE TABLE jsto_ins LINES sy-tabix.
  61   IF sy-tabix > 0.
  >>>>>   INSERT jsto CLIENT SPECIFIED
  63              FROM TABLE jsto_ins.
  64   ENDIF.
  65   DESCRIBE TABLE jsto_upd LINES sy-tabix.


Read more...

Environment

  • SAP ERP Plant Maintenance (PM) 
  • SAP ERP Customer Service (CS)
  • SAP R/3
  • SAP R/3 Enterprise
  • 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, on-premise

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP R/3 Enterprise all versions ; SAP R/3 all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

IW31, IW33, PTEST, maintenance order, pm order, service order, status, jest, jcds, error, update termination, CX_SY_OPEN_SQL_DB, CA-GTF-TS-SMT, QA02, MIGO, CJ20N, CP404, F5325 , KBA , jcds , jest , equipment , PM-WOC-MO , Maintenance Orders , CS-SE , Service Execution , CS-CM-SN , Service Notification , PM-WOC-MN , Maintenance Notifications , PS-ST-NET , Network and activities , PM-FIO , Fiori User Interface (UI) for PM , 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.