2011 Jan 19 5:51 PM
Hi,
I have 3 containers in one screen.
One with an ALV tree, the other with a alv grid and i need to call in the third a screen.
Is there any way to do it?
Don´t know what code i could put in here. I am doing all by oop.
tks in advanced
2011 Jan 19 5:55 PM
Hi
you can use 2 container (one for ALV tree, one for ALV grid) and 1 subarea instead of the third container where you can call your screen
Max
Hi,
I have 3 containers in one screen.
One with an ALV tree, the other with a alv grid and i need to call in the third a screen.
Is there any way to do it?
Don´t know what code i could put in here. I am doing all by oop.
tks in advanced
2011 Jan 19 5:55 PM
Hi
you can use 2 container (one for ALV tree, one for ALV grid) and 1 subarea instead of the third container where you can call your screen
Max
2011 Jan 27 12:03 AM
If you are only going to put ALV's in the screen containers. You can control it in the program using the split screen container.
You can either split the screen or split a container. In this case I am splitting the entire screen.
DATA: SPLITTER_V type ref to CL_GUI_SPLITTER_CONTAINER.
create object SPLITTER_V
exporting
PARENT = CL_GUI_CONTAINER=>SCREEN0
ROWS = 2
COLUMNS = 1.
g_CONTAINER_TOP = SPLITTER_V->GET_CONTAINER( ROW = 1 COLUMN = 1 ).
g_CONTAINER_BOTTOM = SPLITTER_V->GET_CONTAINER( ROW = 2 COLUMN = 1 ).
This is also useful if you want to create a dynamic layout ie. 1 alv in summary or 2 - 3 in detail mode. Also CL_GUI_CONTAINER=>SCREEN0 can just as easily be a container on the screen.