07-26-2007 7:26 AM
hi guys,
my table control doesnt display scrolling......i even used tablecontrol-v_scroll = 'X'..
..still it doesnt display scroll bar.....wht shld i do.....
tanx in advance.
07-26-2007 7:29 AM
in the PBO include these lines
<tabctrlname> is the name of the table control placed on the screen.
it_tabctrl is the internal table data that is being passed to the table control.
<b>describe table it_tabctrl lines N.
<tabctrlname>-lines = N.</b>
Regards
Gopi
07-26-2007 7:34 AM
Hi,
your control for that table control is TBC1.
in the PBO event of that screen, TBC1-LINES = 50.
Then the scroll will come
Regards
Sudheer
07-26-2007 8:31 AM
hi Sajith ,
Increase the length of your table control in your program coding, it should display the scroll then .
Try setting TC-lines = 100. it should give you the vertical scroll .
Regards,
Ranjita
Message was edited by:
Ranjita Kar
07-26-2007 11:44 AM
Hi Sajith
try thids one
describe table itab.
tab-line = sy-tfill
tab name of the table control
Regards
Ashok kumar
07-26-2007 8:28 PM
Yes
the gist of the story is that the lines attribute of your table control should be set by all means if you want to enable the scroll bar.
Check this out for more info
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbac4435c111d1829f0000e829fbfe/frameset.htm
07-27-2007 6:45 AM
see this sap example program: demo_dynpro_tabcont_loop
demo_dynpro_tabcont_loop_at