2007 Jul 12 10:28 PM
Hi all,
I am getting Abap runtime dump "ITAB_DUPLICATE_KEY" There is already a line with the same key.
details are..........
Program............. "SAPLRMPU "
Error analysis
You wanted to add an entry to table "\PROG=RMPU_SEL_SCREEN\DATA=REP_SR-PKHDIX",
which you declared with a UNIQUE KEY. However, there was already an entry with thesame key.
This may have been in an INSERT or MOVE statement, or within a
SELECT ... INTO statement.
In particular, you cannot insert more than one initial line into a
table with a unique key using the INSERT INITIAL LINE... statement.
What might be the Cause of Error?
How to correct this Error?
It is an Standard SAP program if u have any OSS notes Regarding this please mention.
2007 Jul 12 11:03 PM
Hi,
The problem is it is trying to insert a record to the internal table which is already there for the defined key..
From help
ITAB_DUPLICATE_KEY: You inserted a set of lines, more than oneof which had the same key (target table defined with UNIQUE).
Thanks
Naren
Hi all,
I am getting Abap runtime dump "ITAB_DUPLICATE_KEY" There is already a line with the same key.
details are..........
Program............. "SAPLRMPU "
Error analysis
You wanted to add an entry to table "\PROG=RMPU_SEL_SCREEN\DATA=REP_SR-PKHDIX",
which you declared with a UNIQUE KEY. However, there was already an entry with thesame key.
This may have been in an INSERT or MOVE statement, or within a
SELECT ... INTO statement.
In particular, you cannot insert more than one initial line into a
table with a unique key using the INSERT INITIAL LINE... statement.
What might be the Cause of Error?
How to correct this Error?
It is an Standard SAP program if u have any OSS notes Regarding this please mention.
2007 Jul 12 10:39 PM
Hi,
Looks like it is a standard sap program..check the oss notes with the program..
Thanks
Naren
2007 Jul 12 10:50 PM
Hi naren,
Do u now what is the exact cause of the error.
Here the Table PKHD is an transparant table ...
2007 Jul 12 11:03 PM
Hi,
The problem is it is trying to insert a record to the internal table which is already there for the defined key..
From help
ITAB_DUPLICATE_KEY: You inserted a set of lines, more than oneof which had the same key (target table defined with UNIQUE).
Thanks
Naren
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |