Skip to Content
Former Member
Jan 19, 2006 at 03:53 PM

Set dynamically the custom control size(attributes) for ALV


The custom control attributes/size are set statically in SE51 when creating it on the screen. When changing the display resolution on the frontend (Windows) I would like to be able to fit this custom control on the screen to fill the full screen.

If you design the size to fit the whole screen at the low resolution you will have rather large empty margins at high resolution - if you do it at high resolution you will have navigation issues with multiple scroll bars(one set for the window, and one set for the container) at low resolution.

This is automatically done for you if you use the function module approach for ALV.

I tried unsuccesfully to do this using methods of CL_GUI_CONTROL, and would appreciate any tips.