‎2007 Mar 16 5:40 AM
How to add the vertical scroll bar in table conrol in Module pool programming. can anyone give me the exact coding for adding that vertical scroll bar.
‎2007 Mar 16 5:42 AM
hi,
pls chk this stnd pgms. u will get good idea.
demo_dynpro_tabcont_loop
demo_dynpro_tabcont_loop_at
RSDEMO_TABLE_CONTROLRegards
Anver
‎2007 Mar 16 5:42 AM
hi,
pls chk this stnd pgms. u will get good idea.
demo_dynpro_tabcont_loop
demo_dynpro_tabcont_loop_at
RSDEMO_TABLE_CONTROLRegards
Anver
‎2007 Mar 16 5:43 AM
Hi,
Try defining the table control lines in PBO.
PROCESS BEFORE OUTPUT.
ZTR0300-CURRENT_LINE = 100.
Hope this helps.
Reward if helpful.
Regards,
Sipra
‎2007 Mar 16 5:43 AM
Joseph,
Automatically sysetem will take care.
Vertical scroll will add when the number of records are more than the displayed rows in table control.
Pls. reward if useful
‎2007 Mar 16 5:44 AM
Hi,
No coding is required for adding the scroll bars.
In the Table control Attributes, down below the screen
just put/select "X" for both vertical and Horizontal scroll bar.
they will come automatic.
Regards,
Anji
‎2007 Mar 16 5:44 AM
Joseph,
Automatically sysetem will take care.
Vertical scroll will add when the number of records are more than the displayed rows in table control.
Pls. reward if useful
‎2007 Mar 16 5:45 AM
add module vertical_scroll in PBO and try.
module vertical_scroll output.
data n type i.
describe table it_div lines n.
tabctrl-lines = n.
endmodule.
reward if useful.
‎2007 Mar 16 5:45 AM
‎2007 Mar 16 5:53 AM
hi,
after creating the table control to a screen,
check these table control attributes,
Resizing & Separators check them both for
vertical & horizontal,
try this,
kc
‎2007 Apr 24 7:31 AM
you can add the following code in the PAI which is very easy to understand
//
DESCRIBE TABLE it LINES fill.
tc-lines = fill.
//
here the "tc" is the table control and the "it " and "fill" are two Integer variables.
‎2007 Apr 24 7:38 AM
Hello Joseph,
Add a module in PBO,
module Scroll_bar.
If it_final is your final internal table(which you are outputting on table control)
data: lv_lines type n.
describle table it_final lines lv_lines.
tab_cntl-lines = lv_lines.
where tab_cntl is your table control.
Regards