‎2006 Sep 11 5:58 AM
‎2006 Sep 11 6:05 AM
hi,
in the screen , when we create the table control
there is a option for 'resizing'.
there tick both vertical and horzontal.
just right this code in the PBO.
*when we write the blow code in PBO, the scroll bar will come dynamically.
'int_factor' is the internal table.
*number of lines of table control
DESCRIBE TABLE int_factor LINES wf_lines.
tab_control-lines = wf_lines + 1.
hope this will help u.
for any clarifiaction pls mail me.
pls reward points, if this helped u.
regards,
anversha.
anversha.shahul@wipro.com
‎2006 Sep 11 6:00 AM
The vertical scroll bar appears as and when there are more items than the number of visible lines.
If all the lines are filled, then press page down button. then you can see the vertical scrollbar also
‎2006 Sep 11 6:01 AM
Hi
It should be created automatically, if you can't see it, try to set the field lines of table control
PROCESS PBO
MODULE SET_ATTR_TC.
LOOP AT ITAB WITH .....
ENDLOOP.
MODULE SET_ATTR_TC.
DESCRIBE TABLE ITAB LINES SY-TABIX.
<TABLE CONTROL>-LINES = SY-TABIX.
ENDMODULE.
Regards,
Ram
Pls reward points if helpful
‎2006 Sep 11 6:05 AM
hi,
in the screen , when we create the table control
there is a option for 'resizing'.
there tick both vertical and horzontal.
just right this code in the PBO.
*when we write the blow code in PBO, the scroll bar will come dynamically.
'int_factor' is the internal table.
*number of lines of table control
DESCRIBE TABLE int_factor LINES wf_lines.
tab_control-lines = wf_lines + 1.
hope this will help u.
for any clarifiaction pls mail me.
pls reward points, if this helped u.
regards,
anversha.
anversha.shahul@wipro.com
‎2006 Sep 11 6:12 AM
Vertical scroll bar is automatic once the line items are filled.
Let me know what exactly u required.
Regards
‎2006 Sep 11 6:17 AM
In my table control,Initially while disolaying the screen nothing will be there...it is like VA01 tcode...I have to give the values.
In this it is showing only 5 lines...thats y i need scrollbar.Dynamically it sd come.
Once i complete 1st line it sd be stored in a table like this.
As said by Ram and venersha I did like this..
once i complete 5 tgh line it sd show +5 lines.
Describe table T_Goods lines L_line.
TC_Goods-Lines = L_Line + 5.
‎2006 Sep 11 6:25 AM
hi,
chamge ur code like this
Describe table T_Goods lines L_line.
if l_line MOD 5 = 0.
TC_Goods-Lines = L_Line + 5.
endif.
this will defenetly solve ur problem
regards.
anver