11-11-2005 2:25 PM
Please tell me any one
How to make full screen when i am using Custom Container In ALV Grid Control
04-23-2015 5:48 AM
Hello,
You don't need to create a custom container if your ALV is going to occupy the complete screen.
Use the following method and it will use full screen as container.
DATA: lr_grid TYPE REF TO cl_gui_alv_grid.
CREATE OBJECT lr_grid
EXPORTING
i_parent = cl_gui_container=>default_screen.
BR,
Sudharsan
11-11-2005 2:27 PM
Hi Vijay,
Just increase teh size of Container in the screen painter. This will help you to increase the size of Grid also.
Thanks & Regards,
Siri.
11-11-2005 2:30 PM
Hi Srilatha,
I am able to do that, but it is looking very odd, i want it to be like normal report. or can u suggest is there any way to reduce the conatainer size dynamically.
thanks
vijay
07-10-2015 10:57 AM
11-11-2005 2:33 PM
Use Screen Painter and in sttributes change the screen size. This will increase the grid size.
11-11-2005 2:43 PM
Hi,
Method exporting Parameter
In IS_LAYOUT Please set "CWIDTH_OPT" as 'X'. this automatically set the width of each column.
Try this.
11-11-2005 2:54 PM
hi murthy i will tell u my problem with the grid control.
i am setting the screen size but when i am selecting only few fields then container is almost blank, rest with some fields if i want to avoid that either i will make it full screen so that u don't fell like it is blank. or dynamically reduce the size.
please tell me how to proceed.
thanks and regards
vijay
11-11-2005 2:58 PM
11-11-2005 3:03 PM
11-11-2005 3:16 PM
11-11-2005 3:18 PM
Hi ,
Is there any way to link GRID and Container
please let me know.
thanks
vijay
11-11-2005 3:28 PM
11-11-2005 3:30 PM
Vijay,
Please have look in the Sample program present in the LINK(thread) mentioned in my previous postings. It should help.
Thanks
Kam
Message was edited by: Kam
11-11-2005 3:41 PM
Try this method this will help.
CREATE OBJECT G_GRID
EXPORTING I_PARENT = G_CUSTOM_CONTAINER.
11-11-2005 4:00 PM
Hi Kam,
The Report is already developed with Custom Container.
the Problem is when u exclude some fields from output
the container also should shrink.
is there any way to proceed.
thanks
vijay
11-11-2005 4:04 PM
Vijay,
The following code was myself and Rich meant:
data : w_alv_grid type ref to cl_gui_alv_grid,
<b> w_docking_container type ref to cl_gui_docking_container.</b>
......
.....
if w_docking_container is initial.
perform create_objects.
endif.
.....
.....
----
Form create_objects
----
form create_objects.
<b> create object w_docking_container
exporting
extension = 1700
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
others = 6.
create object w_alv_grid
exporting
i_parent = w_docking_container.</b>
endform.
Check this...
Cheers,
Kam
Message was edited by: Kam
11-11-2005 4:04 PM
11-11-2005 4:14 PM
11-11-2005 5:13 PM
11-11-2005 7:15 PM
11-12-2005 6:03 AM
Hi Vijay,
when u go in screen painter & select custom container, Drag container fully according to screen.
It surely resolve ur problem.
Regards,
Digesh Panchal
07-17-2008 6:41 AM
Solved on its my own, taking the reference from Standard SAP program.
06-17-2009 7:46 PM
Hi Vijay,
Can i have the referenced standrad program to resolve this problem?
How do we make the custom container size dynamic based on the resolution of screen. My problem is when I define size of container equavalent of Occupied screen size. But when i want to see in bigger screen(17" monitor) only defined area is displaying. It looks odd for me. Please suggest how do we resolve this problem.
Regards
Bhupal Reddy
06-30-2011 9:22 AM
04-10-2013 8:27 AM
Given solutions are perfect for their cases.
Like
pass extension in docking container as below
CREATE OBJECT o_docking
EXPORTING
extension = 2000. "(A high valuewhich will cover the screen).
If there is single screen for display
use below code.
CREATE OBJECT o_grid
EXPORTING
i_parent = cl_gui_container=>default_screen.
Again Thank you guys.
04-10-2013 10:12 AM
Double click on custom_container and choose resizing vertical/horizontal and you will have a perfect screen
04-23-2015 5:48 AM
Hello,
You don't need to create a custom container if your ALV is going to occupy the complete screen.
Use the following method and it will use full screen as container.
DATA: lr_grid TYPE REF TO cl_gui_alv_grid.
CREATE OBJECT lr_grid
EXPORTING
i_parent = cl_gui_container=>default_screen.
BR,
Sudharsan
12-10-2015 6:42 PM
02-08-2016 12:59 PM
07-14-2015 1:13 PM
hi experts.
i have an issue with my alv report.
while debugging the data are not coming into the internal table for single vendor no and whenever
i am executing without any vendor no specified the output comes the data of z table.
thanks.