SAP CL_GUI_CONTAINER_BAR_2 OO Class - Vertical Tabstrip for Controls
CL_GUI_CONTAINER_BAR_2 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_BAR_2 including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of CL_GUI_CONTAINER_BAR_2 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 |
ADAPT_TOOLBARS | Adapt Toolbars | Private |
CALL METHOD cl_gui_container_bar_2=>ADAPT_TOOLBARS...more details | ||
ADD_CELL | Add New Cell | Public |
CALL METHOD cl_gui_container_bar_2=>ADD_CELL...more details | ||
CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
CALL METHOD cl_gui_container_bar_2=>CLASS_CONSTRUCTOR...more details | ||
CONSTRUCTOR | Constructor | Public |
CALL METHOD cl_gui_container_bar_2=>CONSTRUCTOR...more details | ||
CREATE_TOOLBAR | Create Toolbar | Protected |
CALL METHOD cl_gui_container_bar_2=>CREATE_TOOLBAR...more details | ||
FREE | Destructor | Public |
CALL METHOD cl_gui_container_bar_2=>FREE...more details | ||
| ||
GET_ACTIVE | Get Active Cell | Public |
CALL METHOD cl_gui_container_bar_2=>GET_ACTIVE...more details | ||
GET_CONTAINER | Get Cell Container | Public |
CALL METHOD cl_gui_container_bar_2=>GET_CONTAINER...more details | ||
GET_ID_TO_NAME | Converts Name to ID | Private |
CALL METHOD cl_gui_container_bar_2=>GET_ID_TO_NAME...more details | ||
GET_NAME_TO_ID | Converts ID to Name | Private |
CALL METHOD cl_gui_container_bar_2=>GET_NAME_TO_ID...more details | ||
GET_NEW_ACTIVE_CELL | Switch New Active Cell to Delete/Invisible | Private |
CALL METHOD cl_gui_container_bar_2=>GET_NEW_ACTIVE_CELL...more details | ||
ON_CLICK | Internal: Reacts to Click on Cell Header | Protected |
CALL METHOD cl_gui_container_bar_2=>ON_CLICK...more details | ||
ON_CLOSE_CLICK | Internal: Reacts to Click on Cell Header | Protected |
CALL METHOD cl_gui_container_bar_2=>ON_CLOSE_CLICK...more details | ||
REMOVE_CELL | Remove Cell | Public |
CALL METHOD cl_gui_container_bar_2=>REMOVE_CELL...more details | ||
SET_ACTIVE | Set Active Cell | Public |
CALL METHOD cl_gui_container_bar_2=>SET_ACTIVE...more details | ||
SET_CELL_CAPTION | Set Cell Header | Public |
CALL METHOD cl_gui_container_bar_2=>SET_CELL_CAPTION...more details | ||
SET_CELL_VISIBLE | Make Cell Invisible | Public |
CALL METHOD cl_gui_container_bar_2=>SET_CELL_VISIBLE...more details |
CL_GUI_CONTAINER_BAR_2 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 |
AC_MENU | Instance Attribute | LIKE | Private | ||
AC_SPLITTER | Instance Attribute | LIKE | Private | ||
AC_SPLITTER_TOOLBAR_BOTTOM | Instance Attribute | LIKE | Private | ||
AC_SPLITTER_TOOLBAR_TOP | Instance Attribute | LIKE | Private | ||
AC_TOOLBAR_BOTTOM | Instance Attribute | Bottom Toolbar | LIKE CL_GUI_TOOLBAR | Protected | |
AC_TOOLBAR_BOTTOM_CLOSE | Instance Attribute | Bottom Toolbar | LIKE CL_GUI_TOOLBAR | Protected | |
AC_TOOLBAR_TOP | Instance Attribute | Top Toolbar | LIKE CL_GUI_TOOLBAR | Protected | |
AC_TOOLBAR_TOP_CLOSE | Instance Attribute | Top Toolbar | LIKE CL_GUI_TOOLBAR | Protected | |
AT_CELLINFOS | Instance Attribute | Information on Cell State | LIKE SBPTCINFOS | Protected | |
A_CLOSE_BUTTONS | Instance Attribute | Close Pushbuttons | LIKE SBPTCLOSE | Protected | |
A_CLOSE_BUTTON_HIDDEN | Instance Attribute | New Input Values | LIKE XFLAG | Protected | |
A_STYLE | Instance Attribute | Visualization Type (Outlook, Pushbutton Stable) | 'O' | LIKE SBPTSTYLE | Protected |
C_MAXCELLS | Constant | Maximum Fields | 14 | LIKE I | Protected |
C_STYLE_FIX | Constant | Visualization Type Pushbuttons Stable | 'F' | LIKE SBPTSTYLE | Public |
C_STYLE_OUTLOOK | Constant | Visualization Type Outlook | 'O' | LIKE SBPTSTYLE | Public |
C_STYLE_TILE | Constant | Visualization Type Pushbuttons Stable | 'T' | LIKE SBPTSTYLE | Public |
C_TOOLBARHEIGHT | Constant | Height of Toolbar | 24 | LIKE I | Protected |
M_TOOLBARHEIGHT | Static Attribute | Height of Toolbar | C_TOOLBARHEIGHT | LIKE I | Protected |
Events of Class CL_GUI_CONTAINER_BAR_2
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... CLICKED - Open CellCLOSED - Remove Cell
EMPTY - No Cell
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