Displaying and Relinking Containers
Use
Visualization
You should remember the following points about displaying SAP Containers:
-
The default size of a control is the same as the size of its container. You can override this default when you instantiate the control.
-
Each container has a top level container (screen0 to 9) its parent. The top level container is automatically created when you use the corresponding ABAP Objects class, and is the equivalent of a dialog box level 0 to 9. The default screen is the current dialog box when you create the control. If you want to specify a particular screen on which to display the control, pass the screen as the parent when you create the container. For more information, see the documentation of the relevant constructor method.
-
A container can only be displayed at the dialog box level to which it is attached when you create it. When the system leaves a particular level, the lifetime management system destroys all controls from that level. For more information, see Lifetime Management.
-
If you want to display controls dynamically, use the SET_VISIBLE method.
-
If a parent is not visible, its children are also not visible.
Relinking Containers
You can only relink containers at the same dialog box level and at the top parent level (for example, Custom Container, Docking Container).
To relink containers, use the LINK method.