Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Module pool

Former Member
0 Likes
426

Hi all,

There is a requirement in module pool with respect to a table control.

eg: There is a table control with 5 rows visible always.

so if an user presses ENTER the cursor has to move to the next row.

So by pressing ENTER it could go upto 5th row.

And after 5th row, when the user presses ENTER key, those 5 rows has to go up and the next 5 rows has to be shown. (new fresh five rows has to be shown)

What can be done on this. Please suggest.

Thanks in adv.

Will be rewarded.

1 ACCEPTED SOLUTION
Read only

former_member491305
Active Contributor
0 Likes
368

hi ,

use <b>top_line</b> field in table control structure.

use <b>get cursor line</b> stmt to find the line no of table control in which cursor is positioned.And then

IF line = 5.

tc-top_line = tc-top_line + 5.

endif.

Reward points If helpfull.

Regards,

Vigneswaran S

1 REPLY 1
Read only

former_member491305
Active Contributor
0 Likes
369

hi ,

use <b>top_line</b> field in table control structure.

use <b>get cursor line</b> stmt to find the line no of table control in which cursor is positioned.And then

IF line = 5.

tc-top_line = tc-top_line + 5.

endif.

Reward points If helpfull.

Regards,

Vigneswaran S