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: 

Find/Find Next Behavior in ALV in container in ABAP OO

Former Member
0 Kudos
115

I have an ALV grid in a custom container that's sized for a screen on a high-resolution tube. In other words, there's a scrollbar on the ALV but none on the screen itself (because the whole screen is visible at the high resolution.)

At this high resolution, a find or find next will correctly scroll the ALV to the row in which an item is found (when the "found" row is below the currently visible row of the ALV.)

But when I switch to a lower resolution where I have a scroll bar on the ALV and on the window itself, a find or find next does not scroll the ALV properly. You have to manually scroll to find the found row.

Yes - I have both resizings checked on the container.

Is there a way I can:

1) find the resolution the user is in?

2) modify the screen size to fit this resolution?

3) modify the container size to fit this resolution?

Thanks

djh

6 REPLIES 6

Former Member
0 Kudos
73

Hi David,

If your container was placed on a screen painter , you can easily expand the screen to max . values that i could have .

And you can set the custom control attributes: check the box for resizing vertical, horizontal and set the minimum lines and minimum columns to 1.

Hope this will be useful

Regards

Caglar

0 Kudos
73

Calgar -

This is the same thing that Thomas (Jung) suggested in an old ABAP General thread.

But I've done it, and it doesn't work.

Also, I don't understand why I'm getting a scroll bar for the ALV as well as for the screen.

I thought if I did what you and Thomas said, I would only see the scroll bar for the screen and not the ALV.

Any other ideas ????

Thanks

djh

former_member181923
Active Participant
0 Kudos
73

Calgar - I've given you 6 for responding even though the problem was something else entirely.

If you have a custom subscreen on top of the alv, the resizing gets screwed up !!!!!

As soon as I commented out the call to the subscreen in the flow logic, the problem disappeared.

0 Kudos
73

Hi David,

It is nice to hear that your problem is solved.

By the way thanks for the points...

Regards .

Caglar

kmoore007
Active Contributor
0 Kudos
73

Sounds like a GUI error. Make sure you have the latest patches for your SAP GUI.

0 Kudos
73

Thanks, Ken - I'll check that, though I'm doubtful.

Dave