08-12-2008 3:28 AM
Hi,
How can display the ALV grid with full screen in the report?
Regards,
Kit
08-12-2008 5:16 AM
you can also get that using the screen properties.
Copy the screen 500 of the program
SAPLSLVC_FULLSCREEN
or else set the properites of the screen
Lines/Columns Occupied 200 240
Mainten. 200 240
and in the screen layout
For custom Controll you make the Height 240, Vis.length 240 , Height 200
then it will be a fullscreen.
08-12-2008 4:22 AM
Hi Kit,
Create a Container with full screen and assign the ALV parent to the Container.. It will automatically display it on the full screen.
Cheers,
Chidanand
08-12-2008 4:36 AM
Hello Kit
For fullscreen mode I usually link a docking container (parent of the grid control) to the target dynpro ( ).
The docking control has a parameter EXTENSION (e.g. a value of 90 means fill 90% of the screen with the container).
After having created the docking container I set this extension value to a very high value, e.g.:
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90 " 90% yet not full-screen size
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD go_docking->set_extension
EXPORTING
extension = 99999 " full-screen size !!!
EXCEPTIONS
cntl_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Uwe
08-12-2008 5:16 AM
you can also get that using the screen properties.
Copy the screen 500 of the program
SAPLSLVC_FULLSCREEN
or else set the properites of the screen
Lines/Columns Occupied 200 240
Mainten. 200 240
and in the screen layout
For custom Controll you make the Height 240, Vis.length 240 , Height 200
then it will be a fullscreen.
03-28-2015 5:23 AM
Is posible..
When you created the object ALV you must indicate the attribute cl_gui_custom_container=>default_screen.
Something like that:
CREATE OBJECT gc_alv
EXPORTING
i_parent = cl_gui_custom_container=>default_screen.
regards
11-28-2022 4:35 PM
This one is very good.
You can create the screen but must not create the container.
It makes a friendlier user ALV screen.