12-08-2011 5:29 PM
Hi,
I have created ALV using CL_GUI_ALV_GRID. ALV grid is contained in a Container and I have kept the size of container to maximum.
Still while viewing this ALV on client's monitor (may be with different resolution), it covers only a part of screen, thus wasting extra screen space and making user to use horizontal and vertical scroll unnecessarily.
Please advise what could be done.
I don't want to create ALV using some other way, say 'function module 'REUSE_ALV_GRID_DISPLAY'.
<< Moderator message - Please do not promise points >>
<< Moderator message - The answers in the forum are provided by volunteers. Please do not ask for help ASAP. >>
Thanks
Edited by: Rob Burbank on Dec 8, 2011 12:34 PM
12-08-2011 5:45 PM
Try the below code
DATA: obj_container TYPE REF TO cl_gui_custom_container,
CREATE OBJECT obj_container
EXPORTING
container_name = 'CC_CONTAINER'
style = cl_gui_custom_container=>ws_maximizebox.
for Screen resizing :
Call SE51 in layout editor; double-click on the container and declare "huge" dimensions (for a 100" screen) and check the resize box giving minimal dimensions
The container will automatically adapt to screen size.
Edited by: Mithun Shetty on Dec 8, 2011 11:19 PM
12-08-2011 5:45 PM
Try the below code
DATA: obj_container TYPE REF TO cl_gui_custom_container,
CREATE OBJECT obj_container
EXPORTING
container_name = 'CC_CONTAINER'
style = cl_gui_custom_container=>ws_maximizebox.
for Screen resizing :
Call SE51 in layout editor; double-click on the container and declare "huge" dimensions (for a 100" screen) and check the resize box giving minimal dimensions
The container will automatically adapt to screen size.
Edited by: Mithun Shetty on Dec 8, 2011 11:19 PM