Dynamic screen layout
I have created a screen with two custom container. One is for a tree ALV and the other one is a table ALV. My question is how can I make the containers to fully utilize my real screen estate? It seems that I can only specify a fixed value to the lines and columns of screen and custom containers.
Marcin Pciak replied
Yes, you are partly right.
Custom container can have only fixed size and position on screen. You must define it before program starts and can't change it dynamically. The container is, however, only a place where you strore your GUI controls. It is therefore up to them what size they are. If they don't fit the size of the container you will get a scrollbars.
If you want to have a modifiable screen containers you must use docking container or splitter container .
In cutom container control you have attributes Resizing . Their only determine if resizing the SAP window affects the size of the container. Min lines/columns are to define a smallest necessary size which must be kept to container during window resizing.