‎2007 Apr 23 3:58 PM
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
‎2007 Apr 23 4:00 PM
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
‎2007 Apr 23 4:00 PM
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
‎2007 Apr 24 6:44 AM
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
‎2014 Jul 02 1:09 PM
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