Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with Get Cursor dynpro statement

Hi All

I am display a table control which contains 25 lines but only 7 lines can be visible on the screen. I am providing F4 help to table control fields through PROCESS ON VALUE-REQUEST.

I am using GET CURSOR statment to get the current line of the table control. Here the problem is that the get cursor statment returns the current visible line of the table control and not the actual line number of the internal table used for the table control.

Can anyone advice how to get the current internal table line number.


Ravindra Suvarna


you need to adjust the to take into account where you are in the table. Use the table control's top_line field, i.e. add tc-top_line - 1 to the line from the get cursor.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question