2005 Aug 25 8:10 AM
Hi,
I have created a table control from internal table.
Initially the internal table is having no rows.
In this case Table control is showing no scroll bar. What I want is it should activate the scrolling functionality even if there is only one record.
In my scenario initially there wont be any record. If user presses the scroll button it should create a row in internal table. But scroll button is disabled.
Awaiting for comments.
Nitin
2005 Aug 25 8:22 AM
Hi,
I think that table control scroll is activated, when the internal table rows are more than the rows of the table control. Anyway you can try to modify this in your PBO.
MODULE STATUS_0100 output.
<control_name>-V_SCROLL = 'X'.
ENDMODULE.
Svetlin
P.S. If you find an answer useful, please assign reward points.
Message was edited by: Svetlin Rusev
2005 Aug 25 8:14 AM
Hello,
I had a similar problem. Try creating the table control using the wizard and the problem will get solved.
Regards,
Shekhar Kulkarni
2005 Aug 25 8:22 AM
Hi,
I think that table control scroll is activated, when the internal table rows are more than the rows of the table control. Anyway you can try to modify this in your PBO.
MODULE STATUS_0100 output.
<control_name>-V_SCROLL = 'X'.
ENDMODULE.
Svetlin
P.S. If you find an answer useful, please assign reward points.
Message was edited by: Svetlin Rusev
2005 Aug 25 8:34 AM
Scroll bar gets displayed if the no of rows in internal table data is greater than the no of line displayed in screen.
To do this u have to set
<table control name>-LINES = no of rec in itab.
if u donot hv records in itab & u want scroll bar
then
<table control name>-LINES = 20 (something greater than the actual lines displayed in that table control without scroll bar)
regds
gv