Skip to Content
author's profile photo Former Member
Former Member

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

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
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 09, 2014 at 12:58 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.