SAP Knowledge Base Article - Preview

3722623 - Exception CX_SY_ITAB_DUPLICATE_KEY while trying to open Freight Unit

Symptom

While trying to open freight unit below error displayed along with dump generated in ST22:

"500 internal server error A row was to be added that would have produced a duplicate of the key CONTENT_AREA_UIBB_KEY "

Category            ABAP programming error           
Runtime Errors   ITAB_DUPLICATE_KEY    
Except.              CX_SY_ITAB_DUPLICATE_KEY 
ABAP Program    CL_FPM_OVP====================CP
Application Component  BC-WD-CMP-FPM 
                                                                     
Short Text                                            
A row already exists with this key   

Error analysis                                                                                    
An attempt was made to insert an entry into table                                             
"\CLASS=CL_FPM_OVP\METHOD=INITIALIZE_IT_FLOORPLAN_DATA\DATA=LT_UIBB_CHG_ORIG".               
Updating unique table key "CONTENT_AREA_UIBB_KEY" resulted in a duplicate entry however.

The key in question could be either the primary key or a secondary key. The key components of the duplicate entry have the values                                                  "{MAIN;FPM_TABBED_UIBB;TABBED_WINDOW;/SCMTMS/WDCC_FU_ITMTAB;00;;}" " " " "                                                                               


Read more...

Environment

  • SAP NetWeaver
  • SAP NetWeaver Application Server for SAP S/4HANA
  • ABAP PLATFORM - Application Server ABAP
  • SAP Web Dynpro FloorPlanManager
  • SAP_UI 816

Product

SAP S/4HANA Cloud Private Edition 2025

Keywords

A row was to be added that would have produced a duplicate of the key CONTENT_AREA_UIBB_KEY, CX_SY_ITAB_DUPLICATE_KEY, INITIALIZE_IT_FLOORPLAN_DATA, CL_FPM_OVP====================CP, ITAB_DUPLICATE_KEY, A row already exists with this key, INSERT <ls_uibb> INTO TABLE lt_uibb_chg_orig, \CLASS=CL_FPM_OVP\METHOD=INITIALIZE_IT_FLOORPLAN_DATA\DATA=LT_UIBB_CHG_ORIG,  {MAIN;FPM_TABBED_UIBB;TABBED_WINDOW;/SCMTMS/WDCC_FU_ITMTAB;00;;}  , KBA , BC-WD-CMP-FPM , Floorplanmanager , 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.