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

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

Former Member
0 Likes
1,653

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
Read only

Ramprabhu_Sukum
Product and Topic Expert
Product and Topic Expert
0 Likes
1,130

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
Read only

Ramprabhu_Sukum
Product and Topic Expert
Product and Topic Expert
0 Likes
1,131

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

Read only

Former Member
0 Likes
1,130

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

Read only

Former Member
0 Likes
1,130

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

Read only

Former Member
0 Likes
1,130

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

Read only

0 Likes
1,130

how?

Read only

0 Likes
1,130

please share how it got resolved