Application Development 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: 

Table Control Vertical scroll Bar

Former Member
0 Kudos

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

Former Member
0 Kudos

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

david_liu1
Advisor
Advisor
0 Kudos

Hello,

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

Regards,

David

Former Member
0 Kudos

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

0 Kudos

Sachin ,,

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

Ashu

0 Kudos

Let my table control name is VCONTROl

cant't be vcontrol-lines = sy-dbcnt

in my PBO