SAP Knowledge Base Article - Preview

2252557 - DBSQL_DUPLICATE_KEY_ERROR Short Dump when saving in IW32

Symptom

  • Short dump occurs after adding a task list in IW32 and pressing Save
  • Short dump DBSQL_DUPLICATE_KEY_ERROR when changing work order

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 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
  • SAP S/4HANA, cloud edition

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 Cloud 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, IW32, 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, , KBA , PM-WOC-MO , Maintenance Orders , CS-SE , Service 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.