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

Table Control Vertical scroll Bar

Former Member
0 Likes
1,178

Experts,

Doing Table control after a long time .. Somehow i am not getting Vertical scroll bar in my table control, even if i have number of entries in table control that will need vertical scrolling. Am i missing something here ? I thought vertical scroll bar comes in by default when you paint a table control on ABAP screen , right ??

FYI >. We are on SAP Enterprise 4.7 release ..

Would appreciate your reply .

Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
978

Hello,

In the PBO of your screen, set the LINES property of the table control to the number of entries in the internal table whici contains the data + 1.

If the internal table is itab and the table control is tab_ctrl then try something like

describe table itab.

tab_ctrl-lines = sy-tfill + 1.

In the module in the PBO event

Regards

Sachin

4 REPLIES 4
Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
978

Hello,

Upgrade your SAPGUI to the latest patch level and see if it works.

Regards,

David

Read only

Former Member
0 Likes
979

Hello,

In the PBO of your screen, set the LINES property of the table control to the number of entries in the internal table whici contains the data + 1.

If the internal table is itab and the table control is tab_ctrl then try something like

describe table itab.

tab_ctrl-lines = sy-tfill + 1.

In the module in the PBO event

Regards

Sachin

Read only

0 Likes
978

Sachin ,,

You are the MAN ..... Thanks .. Your solution worked and i have the vertical scroll bar now .. GREAT ... Thanks again ...

Ashu

Read only

0 Likes
978

Let my table control name is VCONTROl

cant't be vcontrol-lines = sy-dbcnt

in my PBO