SAP Knowledge Base Article - Preview

2938950 - Error: DBSQL_DUPLICATE_KEY_ERROR during phase RSAIMMERGE_UPG_SHD

Symptom

During the update of a SAP Solution Manager 7.2 system, the following error occurs during phase RSAIMMERGE_UPG_SHD:

************************** Batch Job Log ****************************
20200607 100107 Job started
20200607 100107 Step 001 started (program RSAIMMERGE_UPG_SHD, variant SAP_AIM_MRGSHD, user ID DDIC)
20200607 101028 Internal session terminated with a runtime error DBSQL_DUPLICATE_KEY_ERROR (see ST22)
20200607 101028 Job cancelled

************************** ABAP Dump Content ************************
ABAP Short Dump Header Data
---------------------------
Short Dump Category: ABAP Programming Error
Runtime Error: DBSQL_DUPLICATE_KEY_ERROR
ABAP Program: FUGR STRD
ABAP Main Program: SAPLSTRD
ABAP Package: SCTS_OBJ
Software Component: SAP_BASIS
Application Component: BC-CTS-ORG Transport Organizer
Where did the dump occur
------------------------
Frame Program: RSAIMMERGE_UPG_SHD
ABAP Program: SAPLSTRD
ABAP Include: LSTRDU22
Line Number: 135
Additional Info: TRINT_APPEND_COMM
Short Text
----------
Open SQL array insert produces duplicate records in the database.


The dump points to a duplicate key error when inserting to table E071:

134 *---- database insert of E071 (if insert fails, you get a runtime error)
-----> 135 INSERT e071 FROM TABLE wt_e071.
136
137 we_objects_physical_appended = 'X'.
138 ENDIF.
139 ENDIF.


Read more...

Environment

  • SAP Solution Manager 7.2
  • SUM 1.0 SP24

Product

SAP Solution Manager 7.2

Keywords

ST22 , KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , 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.