SAP Knowledge Base Article - Preview

3461486 - ITAB_DUPLICATE_KEY /UI2/CL_EDM_UIAD_CONFIG_UTIL==CP

Symptom

Hitting ST22 dump (for example:  /UI2/PAGE_CACHE_CREATE) :


Category               ABAP programming error
Runtime Errors         ITAB_DUPLICATE_KEY
ABAP Program           /UI2/CL_EDM_UIAD_CONFIG_UTIL==CP
Application Component  CA-FLP-ABA

|Short Text                                                                                        |
|    A row already exists with this key                                                            |

|Error analysis                                                                                    |
|    An attempt was made to insert an entry into table                                             |
|     "\CLASS=/UI2/CL_EDM_UIAD_CONFIG_UTIL\METHOD=CREATE_CONFIG_FOR_UIAD_TM\DATA=LS_               |
|    TM_CONFIG-SIGNATURE-PARAMETERS". Updating                                                     |
|    unique table key "PRIMARY_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 "{GLAccount}" " " " "               |           >>>>>>>>>>>>this is the duplicate entry name
|    " ". 

|Source Code Extract (Source code has changed)                                                     |
----------------------------------------------------------------------------------------------------
|Line |Code                                                                                        |
----------------------------------------------------------------------------------------------------
|    1|  method create_config_for_uiad_tm.                                                         |
|    2|                                                                                            |
|    3|    data(lt_signature_parameter) = /ui2/cl_edm_uiad_adapter=>get_sign_parameter_from_uiad( i|
|    4|                                                                                            |
|>>>>>|    data(ls_tm_config) = value ts_config_tm(                                                |
|    6|            semantic_object                 = is_app-sem_obj                                |
|    7|            semantic_action                 = is_app-sem_act                                |
|    8|            transaction-code                = is_app-tcode                                  |
|    9|            display_title_text              = /ui2/cl_edm_uiad_adapter=>get_correct_tm_text(|
|   10|            display_info_text               = is_app-tm_information                         |
|   11|            mapping_signature               = /ui2/cl_target_mapping_util=>get_mapping_signa|
|   12|            signature-additional_parameters = /ui2/cl_fdm_uiad_adapter=>uiad_add_par_to_fdm_|
|   13|            signature-parameters            = lt_signature_parameter                        |
|   14|            target_system_alias             = cond #( when is_app-cat_type = if_sui_tm_const|
|   15|                                                        then is_app-cat_system_alias        |
|   16|                                                        else is_app-system_alias )          |
|   17|            form_factors                    = value #( manual-desktop = is_app-form_factor_d|
|   18|                                                       manual-phone   = is_app-form_factor_p|
|   19|                                                       manual-tablet  = is_app-form_factor_t|
|   20|                                                                                            |
|   21|    add_app_type_specific_values( exporting is_app = is_app                                 |
|   22|                             changing  cs_tm_config = ls_tm_config ).                       |
|   23|                                                                                            |
|   24|    data(ls_chip_config) = value /ui2/cl_ad_remote_util=>tp_s_chip_config( tile_configuratio|
----------------------------------------------------------------------------------------------------


Read more...

Environment

SAP Fiori

Product

SAP S/4HANA 2020

Keywords

ITAB_DUPLICATE_KEY, /UI2/CL_EDM_UIAD_CONFIG_UTIL, /UI2/CL_EDM_UIAD_CONFIG_UTIL==CP, create_config_for_uiad_tm , KBA , CA-FLP-ABA , SAP Fiori Launchpad ABAP Services , 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.