‎2006 Jun 08 8:03 AM
hi!
i have written a table screen . when i reach the last line of the first page, i need the cursor to stand on the first line of the next page in the first colmun.
i set the <table-control>-top line to 20 ( i have 19 lines per page) and the i use command set cursor <field>
line lines.
after that i use command get cursor <fieldname> line line, and i get empty fields.
whet might be the problem?
regards
yifat
‎2006 Jun 08 5:49 PM
If i remember, set cursor and get cursor work in reporting, no in module pool
‎2006 Jun 08 5:54 PM
HI Yifat,
I think the fields will be visible once you scroll up again.
Refer the program RSDEMO_TABLE_CONTROL to know how they handled cursor positions in table control.
Regards,
Ravi
‎2006 Jun 08 5:56 PM
‎2006 Jun 08 6:24 PM
Are you using SET cursor in PBO, make sure the field name is in upper case. Check sy-subrc after GET cursor.
By default in table control, after page down, the cursor stays in the first field.
Regards
Sridhar