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

Duplicate or overlapping KEY specifications now not allowed in READ

Hi ,

I am in an upgrade project. I am getting this error.

ASSIGN X_ISBN_INPUT(C_INDEX) TO <X_FS>.

CONCATENATE 'ISBN(' C_INDEX ')' INTO X_COMPONENT.

<b> READ TABLE ZZ_G_ITAB_ISBN WITH

KEY (X_COMPONENT) = <X_FS>.</b>

which says <b>Duplicate or overlapping KEY specifications now not allowed in READ</b>

Can anyone tell me what the solution is?

Helpful answers will be rewarded.

Thanks

kiran

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 08, 2006 at 05:02 PM

    pl take a look at OSS Note #367676 & do a find on 'DYN_KEY_DUPLICATE '.

    this ia nextarct from the note:

    "1. READ TABLE itab ... WITH KEY k1 = v1 ... kn = vn

    The system now checks, during the syntax check, whether the key values can be converted into the component type. To date this only generated the warning TRMSG: READ 014 or the runtime error MOVE_NOT_SUPPORTED. This conversion check is also effective with the newer variant READ ... WITH TABLE KEY .... In addition, the system now generates a syntax error instead of a syntax warning with duplicate and overlapping key information. Previously, the last key information was used for dynamic information; now the runtime error DYN_KEY_DUPLICATE is deleted."

    ~Suresh

    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.