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: 

Reg: problem with Vertical scrolling in module pool table control.

Former Member
0 Kudos

Hi experts,

I am currently facing trouble with table control Vertical scrolling. But table control working fine for horizontal scroll bar. i have tried all the attributes. But i am not succeeded. Please suggest me and provide valid inputs. surely awarded for the right answer.

Regards,

Sreenivasa sarma

1 ACCEPTED SOLUTION

Ramprabhu_Sukum
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ,

If you want vertical scroll bars to work you need to do two things,

The vertical scroll bar will be displayed only when it has value values in it.

In order to display the vertical scroll bars

DATA: fill TYPE i.

In PBO of module pool

1. DESCRIBE TABLE itab LINES fill.

where itab is the internal table holding your table control data and variable fill is type i.

2. table_control-lines = fill .

where table_control is your table control name and fill is variable filled in previos step

thanks

6 REPLIES 6

Ramprabhu_Sukum
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ,

If you want vertical scroll bars to work you need to do two things,

The vertical scroll bar will be displayed only when it has value values in it.

In order to display the vertical scroll bars

DATA: fill TYPE i.

In PBO of module pool

1. DESCRIBE TABLE itab LINES fill.

where itab is the internal table holding your table control data and variable fill is type i.

2. table_control-lines = fill .

where table_control is your table control name and fill is variable filled in previos step

thanks

Former Member
0 Kudos

After 4.6 B version you will have to provide number of lines for scrolling in PBO for Table Control

Write this code in PBO

DATA : AINDEX LIKE SY-TABIX.

describe Itab lines aindex.

TC-lines = aindex.

Regards,

Alpesh

Former Member
0 Kudos

After 4.6 B version you will have to provide number of lines for scrolling in PBO for Table Control

Write this code in PBO

DATA : AINDEX LIKE SY-TABIX.

describe Itab lines aindex.

TC-lines = aindex.

Regards,

Alpesh

Former Member
0 Kudos

thanks for all your replies and the problem has been resolved by my own

0 Kudos

how?

0 Kudos

please share how it got resolved