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

read table error

Hi,

I'm developing a BSP application using BW tables.

BW Table - /BIC/TZLIBRARY has two fields 1)/BIC/ZLIBRARY 2TXTLG

Internal table is

types: i_lib type /BIC/TZLIBRARY,
       zlib type table of i_lib.
data: lib type ZLIB.(created in Page attribute tab)
data: wa_lib type line of zlib.

READ TABLE lib WITH TABLE KEY /BIC/ZLIBRARY = wa-lib     into wa_lib.

I have moved the data into internal table(lib) using select statement. Now i want to read the values from the internal table using read table statement and Im getting the <b>error</b> message <b>"The declaration for the key field "TXTLG" is incomplete. However, TXTLG is contained in the key of table "ME->LIB" must be filled".</b>

What is that I'm missing. Why cant i read simple value from internal table. Kindy help me.

Thanks,

Maya

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 05, 2005 at 10:30 AM

    <i><b>in type definition tab</b></i>

    types: i_lib type standard tabel of /BIC/TZLIBRARY .

    <i><b>page attribute</b></i>

    lib type i_lib .

    wa_lib type /BIC/TZLIBRARY .

    READ TABLE lib into wa_lib WITH KEY xxx = 'abc' .

    Regards

    Raja

    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.