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

ALV Screen Dynamic Size

Former Member
0 Likes
2,150

Hello All,

I created an ALV report by using cl_gui_alv_grid class and a custom container by using cl_gui_custom_container.

I wonder if it is possible to set the custom container size to the screen size, I want to make the custom container as big as the user´s screen resolution allows...is it possible?....I have checked but I still havent found how to do it.....

Thanks for your inputs

Gabriel P-.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
1,804

Create a Container which can occupy the full screen.

Set the Resizing property on the container.

Regards,

Naimesh Patel

Create a Container which can occupy the full screen.

Set the Resizing property on the container.

Regards,

Naimesh Patel

8 REPLIES 8
Read only

naimesh_patel
Active Contributor
0 Likes
1,805

Create a Container which can occupy the full screen.

Set the Resizing property on the container.

Regards,

Naimesh Patel

Read only

0 Likes
1,804

Hello....

I already did it...but i whant to avoid the double scroll is generated because some user´s resolution is less than others...so I want to set the container´s size depending on it....any ideas??

The question is how can I get the size of the container´s parent? is it possible??

thanks for answering!

Gabriel

Read only

0 Likes
1,804

Another possible way is

Create a docking container and allocate the size then call you container inside this docking container.

Read only

0 Likes
1,804

Dear Gabriel:

I faced the same issue: Trying to avoid the double scrollbars when the OO ALV is shown in a low resolution screen.

It's as easy to solve as difficult to find.

Go to the dynpro where you have the Custom Container. At screen painter, set the resizing vertical horizontal attributes of the Custom Container. Set the minimum column and row to a small value.

Kind regards

Jordi

Read only

0 Likes
1,804

Thank you very much.............

Read only

0 Likes
1,804

Many, many thanks!

Read only

naimesh_patel
Active Contributor
0 Likes
1,804

Pls Ignore.

Edited by: Naimesh Patel on Feb 25, 2009 11:25 AM

Read only

naimesh_patel
Active Contributor
0 Likes
1,804

Pls ignore.