Skip to Content
0
Former Member
Sep 17, 2007 at 02:24 PM

help with read with index

24 Views

hallow

i have table that i count lines and i wont to read this table from index 1 until a_index .

here in my code if a_index is 5 i read table intab_a1 from line 5 and i wont to read in from 1 (first) after 2 until 5

what is the best way to do that?

DESCRIBE TABLE intab_a1 LINES a_index.

LOOP AT zprice_rec Into.....

<b>READ TABLE intab_a1 INTO wa_intab_a1 INDEX a_index</b> .

....

ENDLOOP.

a_index = a_index - 1.