Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

remove vertical scroll in a table control

Former Member
0 Likes
3,237

Hi,

I have a table control with a fixed number of rows, and I need to remove vertical and horizontal scroll bars. For horizontal scroll bars it's easy because a way of doing this is setting all the columns fixed (and obviously leaving enough space in table control in order to all columns can be viewed).

But how can I remove vertical scroll bars?

thanks in advance

1 ACCEPTED SOLUTION
Read only

abdul_hakim
Active Contributor
0 Likes
1,792

Hi

I think it is not possible..

Try using check boxes for horizontal and vertical scroll bars in the table control properties.

Regards,

Abdul

Message was edited by: Abdul Hakim

11 REPLIES 11
Read only

Former Member
0 Likes
1,792

Hi Click on the table control in screen

you can see change the Horizontal scrolling and vertical scrolling options .

those are check boxes. you can select them.

try that

regards

vijay

Read only

0 Likes
1,792

Sorry but I can't see these options,

Is there any way to quit the scroll bar from source code not table control options?

Read only

0 Likes
1,792

Hi

Go to the graphical screen painter and double click your table control there you can see those options.

Read only

0 Likes
1,792

Hi Check the Resizing Option.

regards

vijay

Read only

abdul_hakim
Active Contributor
0 Likes
1,793

Hi

I think it is not possible..

Try using check boxes for horizontal and vertical scroll bars in the table control properties.

Regards,

Abdul

Message was edited by: Abdul Hakim

Read only

Former Member
0 Likes
1,792

Hi,

Yes,

Click on the control in screen painter.

and you can change scroll bar options available in check boxes. you can checked them.

try it

Read only

0 Likes
1,792

Sorry but I don't have these options in my sap, it's a 4.7 version, but I think that it's a quite special implantation.

Any other way of remove the scroll bars, for example modifying it from the source code (at PBO for example)

thanks again for all the answers

Read only

0 Likes
1,792

Hi,

Say TC_TEST is your table control name and t_data is your internal table that is used for displaying in the table control then in your PBO MODULE, you should use the following statement,

DESCRIBE TABLE t_data LINES tc_test-lines.

What this will do, this will tell the system how many rows the table control is going to display and if the current display of table control is able to display all the rows at once then you will not get the scroll bar.

Hope this helps..

Sri

Read only

Former Member
0 Likes
1,792

Hi,

double click on table control. then it will show the properties of table control.

in that properties, it contain Separators, in this 2 check boxes. one for Vertical and another for Horizantal.

click if you want to display separators in the screen.

then active the screen.

i hope it will clear.

Read only

Former Member
0 Likes
1,792

It is not possible to remove the scoll bars.

Read only

Former Member
0 Likes
1,792

Go to the table control and from the table control properties, deselect the Vertical & Horizontal check boxes by which the corresponding bars gets eliminated from the table.