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 NameDescriptionVisability
ADAPT_TOOLBARSAdapt ToolbarsPrivate
CALL METHOD cl_gui_container_bar_2=>ADAPT_TOOLBARS...more details

ADD_CELLAdd New CellPublic
CALL METHOD cl_gui_container_bar_2=>ADD_CELL...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD cl_gui_container_bar_2=>CLASS_CONSTRUCTOR...more details

CONSTRUCTORConstructorPublic
CALL METHOD cl_gui_container_bar_2=>CONSTRUCTOR...more details

CREATE_TOOLBARCreate ToolbarProtected
CALL METHOD cl_gui_container_bar_2=>CREATE_TOOLBAR...more details

FREEDestructorPublic
CALL METHOD cl_gui_container_bar_2=>FREE...more details

GET_ACTIVEGet Active CellPublic
CALL METHOD cl_gui_container_bar_2=>GET_ACTIVE...more details

GET_CONTAINERGet Cell ContainerPublic
CALL METHOD cl_gui_container_bar_2=>GET_CONTAINER...more details

GET_ID_TO_NAMEConverts Name to IDPrivate
CALL METHOD cl_gui_container_bar_2=>GET_ID_TO_NAME...more details

GET_NAME_TO_IDConverts ID to NamePrivate
CALL METHOD cl_gui_container_bar_2=>GET_NAME_TO_ID...more details

GET_NEW_ACTIVE_CELLSwitch New Active Cell to Delete/InvisiblePrivate
CALL METHOD cl_gui_container_bar_2=>GET_NEW_ACTIVE_CELL...more details

ON_CLICKInternal: Reacts to Click on Cell HeaderProtected
CALL METHOD cl_gui_container_bar_2=>ON_CLICK...more details

ON_CLOSE_CLICKInternal: Reacts to Click on Cell HeaderProtected
CALL METHOD cl_gui_container_bar_2=>ON_CLOSE_CLICK...more details

REMOVE_CELLRemove CellPublic
CALL METHOD cl_gui_container_bar_2=>REMOVE_CELL...more details

SET_ACTIVESet Active CellPublic
CALL METHOD cl_gui_container_bar_2=>SET_ACTIVE...more details

SET_CELL_CAPTIONSet Cell HeaderPublic
CALL METHOD cl_gui_container_bar_2=>SET_CELL_CAPTION...more details

SET_CELL_VISIBLEMake Cell InvisiblePublic
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.

NameLevelDescriptionInitial ValueTypeVisability
AC_MENUInstance AttributeLIKE
Private
AC_SPLITTERInstance AttributeLIKE
Private
AC_SPLITTER_TOOLBAR_BOTTOMInstance AttributeLIKE
Private
AC_SPLITTER_TOOLBAR_TOPInstance AttributeLIKE
Private
AC_TOOLBAR_BOTTOMInstance AttributeBottom ToolbarLIKE
CL_GUI_TOOLBAR
Protected
AC_TOOLBAR_BOTTOM_CLOSEInstance AttributeBottom ToolbarLIKE
CL_GUI_TOOLBAR
Protected
AC_TOOLBAR_TOPInstance AttributeTop ToolbarLIKE
CL_GUI_TOOLBAR
Protected
AC_TOOLBAR_TOP_CLOSEInstance AttributeTop ToolbarLIKE
CL_GUI_TOOLBAR
Protected
AT_CELLINFOSInstance AttributeInformation on Cell StateLIKE
SBPTCINFOS
Protected
A_CLOSE_BUTTONSInstance AttributeClose PushbuttonsLIKE
SBPTCLOSE
Protected
A_CLOSE_BUTTON_HIDDENInstance AttributeNew Input ValuesLIKE
XFLAG
Protected
A_STYLEInstance AttributeVisualization Type (Outlook, Pushbutton Stable)'O'LIKE
SBPTSTYLE
Protected
C_MAXCELLSConstantMaximum Fields14LIKE
I
Protected
C_STYLE_FIXConstantVisualization Type Pushbuttons Stable'F'LIKE
SBPTSTYLE
Public
C_STYLE_OUTLOOKConstantVisualization Type Outlook'O'LIKE
SBPTSTYLE
Public
C_STYLE_TILEConstantVisualization Type Pushbuttons Stable'T'LIKE
SBPTSTYLE
Public
C_TOOLBARHEIGHTConstantHeight of Toolbar24LIKE
I
Protected
M_TOOLBARHEIGHTStatic AttributeHeight of Toolbar C_TOOLBARHEIGHTLIKE
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 Cell
CLOSED - 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!