on 11-02-2010 10:32 AM
Hi Experts,
Before authorise I want to have some actions, I have added some actions and start conditions in the Change Request.
But when I execute the action I am getting the below dump.
-
Runtime Errors ITAB_DUPLICATE_KEY
Short text
A row with the same key already exists.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_IM_CHM1_HF_CHECK_SET=======CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An entry was to be entered into the table
"\CLASS=CL_IM_CHM1_HF_CHECK_SET\METHOD=HANDLE_EXCEPTION\DATA=LT_COND_DEF
(which should have
had a unique table key (UNIQUE KEY)).
However, there already existed a line with an identical key.
The insert-operation could have ocurred as a result of an INSERT- or
MOVE command, or in conjunction with a SELECT ... INTO.
The statement "INSERT INITIAL LINE ..." cannot be used to insert several
initial lines into a table with a unique key.
Any help on this error is appreciated,
Thanks in advance
Regards
Anandh
Hi Anandh.
In transaction ST22, please check the actual program line which is causing the short dump.
Then go class/interface "CL_IM_CHM1_HF_CHECK_SET" using transaction SE80
and try to look for that actual code line and set an external break point to that line.
When you test the action again, the system will display the ABAP debugger and
you should be able to check what's the table key/data being duplicated.
I hope this helps.
Regards,
Tess
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.