2011 Apr 11 8:30 AM
Hi Gurus,
I designed an ALV OOABAP report..where I designed the Layout with the size of the container at the maximum. as per my screen size...when I run the Report..It shows fine in my system..
But when the other User runs.(with a bigger screen size). The container shows some unwanted space at right side at end of container...
Is there anyway to handle this issue..To set the size of the container dynamically inaccordance with the screen size of the system..
Thanks
Natasha SS..
2011 Apr 11 9:16 AM
For a container, you can set Resizable checkbox which allows only its resize once GUI window dimension changes. This however doesn't apply to screen resolution.
In my opinion the best approach would be using cl_salv_table w/o providing any container. This way system uses fullscreen form of a grid, so no such issue should occur anymore.
Regards
Marcin
Hi Gurus,
I designed an ALV OOABAP report..where I designed the Layout with the size of the container at the maximum. as per my screen size...when I run the Report..It shows fine in my system..
But when the other User runs.(with a bigger screen size). The container shows some unwanted space at right side at end of container...
Is there anyway to handle this issue..To set the size of the container dynamically inaccordance with the screen size of the system..
Thanks
Natasha SS..
2011 Apr 11 9:16 AM
For a container, you can set Resizable checkbox which allows only its resize once GUI window dimension changes. This however doesn't apply to screen resolution.
In my opinion the best approach would be using cl_salv_table w/o providing any container. This way system uses fullscreen form of a grid, so no such issue should occur anymore.
Regards
Marcin
2011 Apr 11 9:34 AM
HI,
Thanks for the Info..
Can the same can be solved using REUSE_ALV_GRID_DISPLAY.
Thanks
Natasha SS.
2011 Apr 11 9:35 AM
Hi ,
Use container below as a parent while creating object for fullscreen alv.
cl_gui_container=>screen0
CREATE OBJECT go_alv
EXPORTING
i_parent = cl_gui_container=>screen0
* i_appl_events = space
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
OTHERS = 5.parent = cl_gui_container=>screen0Regards
Edited by: Hüseyin Dereli on Apr 11, 2011 12:24 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |