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

Vertical Scrolling bar

Former Member
0 Likes
795

Hi All,

I am using table control to display some data which is in two internal tables, but if the range of values in any one internal is more than 31 then its not showing the rest 9. before the scrollable bar was not coming then i tried assigning some value to TABLE1-LINES and now its coming , but when i am trying to scroll its going back to input selection screen.

Can anyone please help me out ASAP.

Regards

Siddhartha Sengupta

Hi All,

I am using table control to display some data which is in two internal tables, but if the range of values in any one internal is more than 31 then its not showing the rest 9. before the scrollable bar was not coming then i tried assigning some value to TABLE1-LINES and now its coming , but when i am trying to scroll its going back to input selection screen.

Can anyone please help me out ASAP.

Regards

Siddhartha Sengupta

6 REPLIES 6
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
771

Hi,

In PBO,

describe table itab lines ln.

tctrl-lines = ln + 100.

Message was edited by:

Jayanthi Jayaraman

Read only

0 Likes
771

Hi ,

I am sorry to say that its not working still, what other ways are there? please help.

regards

Siddhartha Sengupta

Read only

Former Member
0 Likes
771

Hi,

In PBO event,

TABLE1-LINES = SY-DBCNT + 1.

it will help u.

Revert point if its usefull

Gowri

Read only

0 Likes
771

Hi,

Again this is also not working.

regards

Siddhartha Sengupta

Read only

Former Member
0 Likes
771

Hi,

You use this code to get scroll bar.

TABLE1-CURRENT_LINE = 1.

DESCRIBE TABLE ITAB_ITEM LINES TABCOUNTER.

IF TABCOUNTER = 0.

TABLE1-LINES = 100.

ELSE.

TABLE1-LINES = TABCOUNTER + 1.

ENDIF.

TABLE1- Table controll name.

ITAB_ITEM- Internal table name.

IF USEFULL REWARD

Read only

0 Likes
771

Hi,

The code that you have given, i have already tried with that, its not that the scrolling bar is not coming, its just that when i try to scroll down, its taking me to the input selection screen.

regards

Siddhartha Sengupta