SAP Knowledge Base Article - Preview

3661643 - realignment run causes DBSQL_DUPLICATE_KEY_ERROR in the transaction execution

Symptom

A dump appears after executing transaction code KEND (realignment), the dump contains the below relevant information:

"DBSQL_DUPLICATE_KEY_ERROR" CX_SY_OPEN_SQL_DB
"RK471000" bzw. RKEVRK47_2
"FLUSH"

If the exception cannot be prevented, "CX_SY_OPEN_SQL_DB" must be caught within
procedure "FLUSH" "(FORM)" or declared in the procedure's RAISING clause.
To prevent the exception, note the following:

 

 1228     endif.
>>>>>     INSERT (G-C_TABNAME_CE4_KENC) FROM TABLE G-T_CE4_KENC.
 1230     DBCNT_CE4_KENC = SY-DBCNT.
 1231     SUBRC_CE4_KENC = SY-SUBRC.
 1232   ELSE.


SY-MSGTY E
SY-MSGID KM
SY-MSGNO 029


Read more...

Environment

  • Contolling (CO) 
  • 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 Finance
  • SAP S/4HANA

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA Finance 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

DBSQL_DUPLICATE_KEY_ERROR, realignment run, periodic execution, KM029, RKE_KENC_EXEC_CHGRUN, CX_SY_OPEN_SQL_DB, SAP S/4HANA, operating concern, KM 029, KEND, SAPMKEND , KBA , CO-PA-ACT , Flow of actual values , 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.