Skip to Content
0
Former Member
Oct 04, 2005 at 10:58 PM

read table error

158 Views

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