Skip to Content

ABAP Runtime Error "ITAB_DUPLICATE_KEY"

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2007 at 10: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2007 at 09:39 PM

    Hi,

    Looks like it is a standard sap program..check the oss notes with the program..

    Thanks

    Naren

    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.