Skip to Content
0
Former Member
Jun 08, 2008 at 02:03 AM

how can I read an entry from an internal table with a specified key

19 Views

I want to read an entry from an internal table, something like this

SELECT * from itab into workarea

where linenumber = sourcecounter

ENDSELECT.

it works perfectly with DB tables. Not so with internal tables. how to get along with this?

I want to loop backwards in an internal table till a certain condition is met, is there a way to do it.

starting from the start with forwards looping will be too time consuming.

Thanks for your answers,

Binko

Edited by: Binko Binev on Jun 8, 2008 4:24 AM