cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Errors ITAB_DUPLICATE_KEY ABAP Program CL_BSP_WD_REPOSITORY==========CP

Former Member
0 Kudos

We are doing the CRM Upgrade from EHp1 to EHp3

after running the TC: WCF_CC as post upgrade activity

Enhancement Set      ZXXX  and UI Component BP_ADDR  i got a short dump while trying to open the views in the component workbench as following

What happened?

    Error in the ABAP Application Program

    The current ABAP program "CL_BSP_WD_REPOSITORY==========CP" had to be

     terminated because it has

    come across a statement that unfortunately cannot be executed.

Error analysis

    An attempt was made to insert an entry into table

     "\CLASS=CL_BSP_WD_REPOSITORY\METHOD=CREATE_INSTANCE_FROM_XML\DATA=LT_VIEWS".

     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 "{BP_A;X}" " " " "

    " ".

    With primary keys, termination can occur during block insert

    operations. The can affect numerious statements, for example

    (1) MOVE

    (2) INSERT/APPEND ... LINES OF ... INTO/TO

    (3) SELECT ... INTO/APPENDING ...

    With secondary keys, termination can also occur due to a single record

    insert operation. In particular, the following modifying statements can

    cause the system to terminate due to duplicate key values as soon as

    the key is used again (delayed update):

Please advice me how to solve it

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189549
Active Contributor
0 Kudos

Hello Madhuri,

Can you please deactivate your enhancement via setting user parameter WCF_IGNORE_ENHANCEMT =A using transaction code SU3? Then retest the issue? If it's works, then the error is happening due to your enhancement.

If the error persist please check if note 1941320 can be applied in your system.

thanks

Willie

0 Kudos

I also face the same issue. Can anyone guide how did you resolve this?