SAP CL_GUI_CONTAINER OO Class - Abstract Container for GUI Controls
CL_GUI_CONTAINER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_GUI_CONTAINER including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_GUI_CONTAINER is CL_GUI_CONTROLMethod list of CL_GUI_CONTAINER SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| ADD_CHILD | @0A QAdd Child@Internal - DO NOT USE! | Protected |
| CALL METHOD cl_gui_container=>ADD_CHILD...more details | ||
| CLASS_CONSTRUCTOR | Class Constructor | Public |
| CALL METHOD cl_gui_container=>CLASS_CONSTRUCTOR...more details | ||
| CONSTRUCTOR | Constructor | Public |
| CALL METHOD cl_gui_container=>CONSTRUCTOR...more details | ||
| GET_CHILD | Get Specified Child | Protected |
| CALL METHOD cl_gui_container=>GET_CHILD...more details | ||
| GET_CONTAINER_TYPE | Gets type of container | Public |
| CALL METHOD cl_gui_container=>GET_CONTAINER_TYPE...more details | ||
| GET_DYNPRO_CONTAINER | Get Corresponding Screen Container to Container | Protected |
| CALL METHOD cl_gui_container=>GET_DYNPRO_CONTAINER...more details | ||
|
| ||
| GET_FRAME_CONTAINER | Get Corresponding Frame Container to Container | Protected |
| CALL METHOD cl_gui_container=>GET_FRAME_CONTAINER...more details | ||
| GET_INNER_HEIGHT | Inner Height | Public |
| CALL METHOD cl_gui_container=>GET_INNER_HEIGHT...more details | ||
| GET_INNER_WIDTH | Inner Width of Container | Public |
| CALL METHOD cl_gui_container=>GET_INNER_WIDTH...more details | ||
| GET_LINK_INFO | Returns Current Link State | Public |
| CALL METHOD cl_gui_container=>GET_LINK_INFO...more details | ||
| LINK | Link (Now Only in Container) | Public |
| CALL METHOD cl_gui_container=>LINK...more details | ||
| REMOVE_ALL_CHILDREN | Remove All Children | Protected |
| CALL METHOD cl_gui_container=>REMOVE_ALL_CHILDREN...more details | ||
| REMOVE_CHILD | @0A QRemove Child@Internal - DO NOT USE! | Protected |
| CALL METHOD cl_gui_container=>REMOVE_CHILD...more details | ||
| RESIZE | Resize Mode - DO NOT USE! | Public |
| CALL METHOD cl_gui_container=>RESIZE...more details | ||
| SET_MODE_FOR_ALL | Run/Design Mode also for Children | Public |
| CALL METHOD cl_gui_container=>SET_MODE_FOR_ALL...more details | ||
CL_GUI_CONTAINER attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| CHILDREN | Instance Attribute | Child List | LIKE CNTO_CONTROL_LIST | Public | |
| CONTAINER_TYPE_CUSTOM | Constant | Type Custom Container | 2 | LIKE I | Public |
| CONTAINER_TYPE_DIALOGBOX | Constant | Type Dialogbox Container | 6 | LIKE I | Public |
| CONTAINER_TYPE_DOCKING | Constant | Type Docking Container | 3 | LIKE I | Public |
| CONTAINER_TYPE_EASY_SPLITTER | Constant | Type Easy Splitter Container | 4 | LIKE I | Public |
| CONTAINER_TYPE_SIMPLE | Constant | Type Simple Container | 1 | LIKE I | Public |
| CONTAINER_TYPE_SPLITTER | Constant | Type Splitter Container | 5 | LIKE I | Public |
| DEFAULT_SCREEN | Static Attribute | Dummy for Default Top Level Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| DESKTOP | Static Attribute | Dummy for Desktop Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| DUMMY_PARENT_CONTAINER | Instance Attribute | Dummy Parent Container for All Top Levels | LIKE CL_GUI_CONTAINER | Protected | |
| M_CONTAINER_TYPE | Instance Attribute | Container type | 0 | LIKE I | Protected |
| M_LINK_INFO | Instance Attribute | Link State | LIKE CFW_LINK | Protected | |
| SCREEN0 | Static Attribute | Dummy for Top Level 0 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN1 | Static Attribute | Dummy for Top Level 1 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN2 | Static Attribute | Dummy for Top Level 2 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN3 | Static Attribute | Dummy for Top Level 3 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN4 | Static Attribute | Dummy for Top Level 4 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN5 | Static Attribute | Dummy for Top Level 5 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN6 | Static Attribute | Dummy for Top Level 6 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN7 | Static Attribute | Dummy for Top Level 7 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN8 | Static Attribute | Dummy for Top Level 8 Screen Container | LIKE CL_GUI_CONTAINER | Public | |
| SCREEN9 | Static Attribute | Dummy for Top Level 9 Screen Container | LIKE CL_GUI_CONTAINER | Public |
Links to Related Class(s)
CL_GUI_C...Full list of available SAP object classes
Search for further information about these or an SAP related objects