cancel
Showing results for 
Search instead for 
Did you mean: 

Set value vertical scrollbar screen

Former Member
0 Kudos

Hi all!

I'm making a application with one screen with 5 alv's on it.

Those are all in a seperate container.

The layout is something like this:

[TOP]  [TOP]

[      MID      ]

[LOW][LOW]

The alv are linked to eachother when there is an event on-click.

So when you select one line of one of the top alv's, it shows relevant data in the other 3.

When you start the application, only the top 2 alv's are visible and the other 3 arn't.

So my issue is now, when i click on one of the 2 topalv's, the screen has to scroll to the position of the 2 low alv's.

Is this possible?

Allready thanks for you help!

Accepted Solutions (0)

Answers (1)

Answers (1)

Sandra_Rossi
Active Contributor
0 Kudos

Could you explain in terms of number of rows? Let's say your monitor resolution has height 40 lines, but dynpro has 60 lines. TOP, MID and LOW have height of 20 lines each. So, what you mean is that you want to scroll to make LOW visible only, or MID and LOW, and if the user scrolls upwards, he may see TOP?

Former Member
0 Kudos

Hi Sandra,

So indeed, the monitor has 40 lines and dynpro 60.

When I click on the TOP alv, I want the screen to 'jump' to the position of LOW.

So it has to jump 40 lines.

Sandra_Rossi
Active Contributor
0 Kudos

I think a SET CURSOR FIELD 'FIELDNAME' should do the trick, FIELDNAME being a field in line 41. I don't know whether FIELDNAME could be replaced with the LOW container name. Try it. If it doesn't work, define a dummy field.