Symptom
Hitting ST22 dump like:
Category ABAP programming error
Runtime Errors ITAB_DUPLICATE_KEY
ABAP: Program /IWFND/CL_COF_FACADE==========CP
Application Component OPU-FND-CS
Short Text
A row already exists with this key
The key components of the duplicate entry have the values
"{/UI2/;FDM_PAGE_REPOSITORY_CUST_SRV;0001}" " " " " ====> the dump already gives hint
dump code:
| 37 | |
| >>>>> | SELECT service~namespace, |
| 39 | service~service_name, |
| 40 | service~service_version, |
| 41 | servicegroup~model_identifier |
| 42 | FROM ( /iwfnd/i_med_srh AS service |
| 43 | INNER JOIN /iwfnd/i_med_srg AS servicegroup ON service~srv_identifier = servicegroup~ |
| 44 | INTO CORRESPONDING FIELDS OF TABLE @lt_service_grp_data |
| 45 | WHERE service~is_active = 'A'."#EC CI_BUFFJOIN |
Read more...
Environment
SAP Gateway (OData)
SAP NetWeaver
Product
Keywords
ITAB_DUPLICATE_KEY, /IWFND/CL_COF_FACADE==========CP, /IWFND/CL_COF_FACADE, GET_BCT_SERVICE_DATA, /iwfnd/i_med_srh, /iwfnd/i_med_srg, /UI5/UPD_ODATA_METADATA_CACHE, /UI5/APP_INDEX_CALCULATE, FDM_PAGE_REPOSITORY_CUST_SRV, FDM_VALUE_HELP_SRV, PRIMARY_KEY , KBA , OPU-FND-CS , Common Services (Only Internal use) , OPU-GW-COR , Framework , 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.
SAP Knowledge Base Article - Preview