Skip to Content
Apr 04, 2011 at 01:29 PM

Full screen splitter control


I'm using cl_gui_splitter_container to display two ALV grids on one screen. Currently I put the splitter inside a custom container with a fixed size, but what I want to do is use the whole available screen.

When creating a single ALV grid, I can use screen0 as parent to use the full screen:

CREATE OBJECT go_grid EXPORTING i_parent = cl_gui_container=>screen0.

However for a splitter I can't get this to work, not with default_screen instead of screen0 either.

Does anyone have working code where a splitter uses the full screen?