Skip to Content
Jun 07, 2010 at 10:15 AM

Getting Cursor for Table control while scrolling


Hi Experts,

I am displaying 3 pages of records using table controls,

and when i double click on the record, i have to display some pop up based on the values present in the particular record,

this is done by getting the line number of the record using GET CURSOR LINE and reading the internal table with the index obtained from GET CURSOR LINE

This is working fine for one page. I am getting problem for more than one pages

i.e. if i have to validate for the 23rd record, it will be the second record in the second page, so i will get line number as 2nd instead of 23rd (using GET CURSOR LINE) and i will read the 2nd record in the internal table instead of reading the 23rd record.

This will lead to improper pop up messages.

So please let me know how can i catch/get the line number of particular record irrespective of number of pages.