Skip to Content
0
Former Member
Feb 18, 2009 at 06:17 AM

Fetching record number (INDEX) in READ TABLE

7695 Views

Hi experts,

I have one internal table with 40000 records.

Now I want to read the particular record with key. So I am using

READ TABLE  TABNAME  WITH  KEY  FIELD = 'XYZ'.

But I want the record number (INDEX of int table or SY-TABIX in LOOP....ENDLOOP) of selected record.

I can find it using Loop ...Endloop...

But that int table is huge, So this option is not suitable.............

Could anybody suggest me an alternative.......

Thanks.................