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

table control scrolling problem

Former Member
0 Likes
1,221

hi all,

i have three table control in my dialog program, each takes entries and updates different ztable , but table control has limited rows , and i wanted to make more entries but it is not providing more rows, plz suggest some solution.

thanks in advance,

vivek

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
588

Hello Vivek,

Check this:


module scroll_1002 output.
tctrl_cont_items-lines = 100.
tctrl_cont_items-v_scroll = 'X'.

endmodule. " scroll_1002 OUTPUT
Use the above Code hope it will work 

REgards,

Vasanth

3 REPLIES 3
Read only

Former Member
0 Likes
589

Hello Vivek,

Check this:


module scroll_1002 output.
tctrl_cont_items-lines = 100.
tctrl_cont_items-v_scroll = 'X'.

endmodule. " scroll_1002 OUTPUT
Use the above Code hope it will work 

REgards,

Vasanth

Read only

Former Member
0 Likes
588

ya wat u can do is in the pbo of the table control .....

lets say u have an internal table itab with n lines..

just assign table_control_name-lines = n +100 or so depending on the requirements and it will work fine........

if still facing a problem do let me know

Read only

Former Member
0 Likes
588

This is no rocket signs..
Simplest way and I used this and worked :

1. Create Table control via Wizard with Scroll checked
2. Adjust Properties of  table control viz. horizontal and Vertical Scrolling in Screen Painter(SE51)
3. in PBO write a module to set scroll lines :


*&---------------------------------------------------------------------*

*&      Module  SET_TC_LINES  OUTPUT

*&---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

MODULE set_tc_lines OUTPUT.

   DESCRIBE TABLE g_table_itab LINES lines.

   table-lines = lines.

ENDMODULE.                 " SET_TC_LINES  OUTPUT

P.S. Here TABLE is name of table control and lines is an integer variable.

That's all you need to do to make scrolling work w/o any issue