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

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


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

SELECT * from itab into workarea

where linenumber = sourcecounter


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,


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