SAP Knowledge Base Article - Preview

2933064 - Dump ITAB_DUPLICATE_KEY in CL_WAPI_STEP_ATTRIBUTES (SWDSTEXT)

Symptom

Users are experiencing the following dump in ST22.

Category               ABAP Programming Error
Runtime Errors         ITAB_DUPLICATE_KEY
ABAP Program           CL_WAPI_STEP_ATTRIBUTES=======CP
Application Component  BC-BMT-WFM
Short text
A row already exists with this key
What happened?

The current ABAP program "CL_WAPI_STEP_ATTRIBUTES=======CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.

Source Code Extract
>>>>> SELECT wfd_id version nodeid language texttyp textnumber wfd_text
 FROM swdstext * TABLE lt_steps_text_db
 FOR ALL ENTRIES IN lt_nodes_return_db
 WHERE wfd_id EQ lt_nodes_return_db-wfd_id
 AND exetyp EQ lt_nodes_return_db-exetyp
 AND version EQ lt_nodes_return_db-version
 AND language EQ m_language
 AND texttyp EQ 'MD'
 AND nodeid EQ lt_nodes_return_db-nodeid.


Read more...

Environment

  • SAP Business Workflow
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4 HANA
  • ABAP PLATFORM - Application Server ABAP

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

WF_GDPR, SWF_WORKFLOW, An attempt was made to insert an entry * table "\CLASS=CL_WAPI_STEP_ATTRIBUTES\METHOD=FILL_DECISION_ATTRIBUTES\DATA=LT_STEPS_TEXT_DB", unique table key "PRIMARY_KEY", WFD_ID (<STEP>-WFD_ID) and NODEID (<STEP>-NODEID), only one decision text for one NODEID of the same workflow in the same language , KBA , BC-BMT-WFM , Business Workflow , 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.