SAP IF_GUI_ALV_TREE OO Class - *NO* Reuse - ALV Tree Control









IF_GUI_ALV_TREE 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 IF_GUI_ALV_TREE 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 IF_GUI_ALV_TREE 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
ADD_KEY_STROKEPublic
CALL METHOD if_gui_alv_tree=>ADD_KEY_STROKE...more details

ADD_NODEAdd Node KeyPublic
CALL METHOD if_gui_alv_tree=>ADD_NODE...more details

CHANGE_ITEMChange Item, Only Update when ChangedPublic
CALL METHOD if_gui_alv_tree=>CHANGE_ITEM...more details

CHANGE_NODEChange Line, Update Changed Line OnlyPublic
CALL METHOD if_gui_alv_tree=>CHANGE_NODE...more details

COLLAPSE_ALL_NODESPublic
CALL METHOD if_gui_alv_tree=>COLLAPSE_ALL_NODES...more details

COLLAPSE_SUBTREECollapses all Branches of a Part of the TreePublic
CALL METHOD if_gui_alv_tree=>COLLAPSE_SUBTREE...more details

COLUMN_OPTIMIZEPublic
CALL METHOD if_gui_alv_tree=>COLUMN_OPTIMIZE...more details

CREATE_REPORT_HEADERPublic
CALL METHOD if_gui_alv_tree=>CREATE_REPORT_HEADER...more details

DELETE_ALL_NODESPublic
CALL METHOD if_gui_alv_tree=>DELETE_ALL_NODES...more details

DELETE_SUBTREEDeletes NodePublic
CALL METHOD if_gui_alv_tree=>DELETE_SUBTREE...more details

ENSURE_NODES_VISIBLENode on Frontend, Implicit Call of FRONTEND_UPDATEPublic
CALL METHOD if_gui_alv_tree=>ENSURE_NODES_VISIBLE...more details

EXPAND_NODEExpands one NodePublic
CALL METHOD if_gui_alv_tree=>EXPAND_NODE...more details

EXPAND_NODESExpands Several NodesPublic
CALL METHOD if_gui_alv_tree=>EXPAND_NODES...more details

FRONTEND_UPDATEPublic
CALL METHOD if_gui_alv_tree=>FRONTEND_UPDATE...more details

GET_CHECKED_ITEMSReturns Items in Which Checkbox is SelectedPublic
CALL METHOD if_gui_alv_tree=>GET_CHECKED_ITEMS...more details

GET_CHILDRENReturns Children of Tree ModelPublic
CALL METHOD if_gui_alv_tree=>GET_CHILDREN...more details

GET_EXPANDED_NODESReturns Selected NodesPublic
CALL METHOD if_gui_alv_tree=>GET_EXPANDED_NODES...more details

GET_FIRST_CHILDReturns the First Child NodePublic
CALL METHOD if_gui_alv_tree=>GET_FIRST_CHILD...more details

GET_FRONTEND_FIELDCATALOGPublic
CALL METHOD if_gui_alv_tree=>GET_FRONTEND_FIELDCATALOG...more details

GET_HIERARCHY_HEADER_WIDTHPublic
CALL METHOD if_gui_alv_tree=>GET_HIERARCHY_HEADER_WIDTH...more details

GET_HTML_HEADER_OBJECTPublic
CALL METHOD if_gui_alv_tree=>GET_HTML_HEADER_OBJECT...more details

GET_LAST_CHILDReturns the Last Child NodePublic
CALL METHOD if_gui_alv_tree=>GET_LAST_CHILD...more details

GET_NEXT_SIBLINGReturns the Next NodePublic
CALL METHOD if_gui_alv_tree=>GET_NEXT_SIBLING...more details

GET_OUTTAB_LINEGet Data From ModelPublic
CALL METHOD if_gui_alv_tree=>GET_OUTTAB_LINE...more details

GET_PARENTReturns Parent of one Node in Tree ModelPublic
CALL METHOD if_gui_alv_tree=>GET_PARENT...more details

GET_PREV_SIBLINGReturns the Preceding NodePublic
CALL METHOD if_gui_alv_tree=>GET_PREV_SIBLING...more details

GET_SELECTED_COLUMNSPublic
CALL METHOD if_gui_alv_tree=>GET_SELECTED_COLUMNS...more details

GET_SELECTED_ITEMReturns Item SelectedPublic
CALL METHOD if_gui_alv_tree=>GET_SELECTED_ITEM...more details

GET_SELECTED_NODESReturns Selected NodesPublic
CALL METHOD if_gui_alv_tree=>GET_SELECTED_NODES...more details

GET_SUBTREEReturns all Nodes of Subtree of NodePublic
CALL METHOD if_gui_alv_tree=>GET_SUBTREE...more details

GET_TOOLBAR_OBJECTPublic
CALL METHOD if_gui_alv_tree=>GET_TOOLBAR_OBJECT...more details

GET_TOP_NODEReturns the Key of the Node at Top of ControlPublic
CALL METHOD if_gui_alv_tree=>GET_TOP_NODE...more details

GET_VARIANT_KEYPublic
CALL METHOD if_gui_alv_tree=>GET_VARIANT_KEY...more details

MOVE_NODEMove a Node Within TreePublic
CALL METHOD if_gui_alv_tree=>MOVE_NODE...more details

SEARCH_IN_EXTERNAL_FORMATSearches for StringPublic
CALL METHOD if_gui_alv_tree=>SEARCH_IN_EXTERNAL_FORMAT...more details

SEARCH_IN_INTERNAL_FORMATSearches for Data in a ColumnPublic
CALL METHOD if_gui_alv_tree=>SEARCH_IN_INTERNAL_FORMAT...more details

SET_ALV_TREE_FOCUSPublic
CALL METHOD if_gui_alv_tree=>SET_ALV_TREE_FOCUS...more details

SET_CALCULATION_STYLEPublic
CALL METHOD if_gui_alv_tree=>SET_CALCULATION_STYLE...more details

SET_CTX_MENU_SELECT_EVENT_APPLPublic
CALL METHOD if_gui_alv_tree=>SET_CTX_MENU_SELECT_EVENT_APPL...more details

SET_DEFAULT_DROPPublic
CALL METHOD if_gui_alv_tree=>SET_DEFAULT_DROP...more details

SET_FRONTEND_FIELDCATALOGPublic
CALL METHOD if_gui_alv_tree=>SET_FRONTEND_FIELDCATALOG...more details

SET_FUNCTION_CODESets Function CodePublic
CALL METHOD if_gui_alv_tree=>SET_FUNCTION_CODE...more details

SET_HAS_3D_FRAMEPublic
CALL METHOD if_gui_alv_tree=>SET_HAS_3D_FRAME...more details

SET_HIERARCHY_HEADERSets Hierarchy HeaderPublic
CALL METHOD if_gui_alv_tree=>SET_HIERARCHY_HEADER...more details

SET_HIERARCHY_HELP_FIELDSPublic
CALL METHOD if_gui_alv_tree=>SET_HIERARCHY_HELP_FIELDS...more details

SET_MIN_NODE_HEIGHTPublic
CALL METHOD if_gui_alv_tree=>SET_MIN_NODE_HEIGHT...more details

SET_SCREEN_UPDATEPublic
CALL METHOD if_gui_alv_tree=>SET_SCREEN_UPDATE...more details

SET_SELECTED_COLUMNSPublic
CALL METHOD if_gui_alv_tree=>SET_SELECTED_COLUMNS...more details

SET_SELECTED_ITEMSets Selected ItemPublic
CALL METHOD if_gui_alv_tree=>SET_SELECTED_ITEM...more details

SET_SELECTED_NODESSets Selected NodesPublic
CALL METHOD if_gui_alv_tree=>SET_SELECTED_NODES...more details

SET_SPLITTER_ROW_HEIGHTPublic
CALL METHOD if_gui_alv_tree=>SET_SPLITTER_ROW_HEIGHT...more details

SET_TABLE_FOR_FIRST_DISPLAYSets Table for First DisplayPublic
CALL METHOD if_gui_alv_tree=>SET_TABLE_FOR_FIRST_DISPLAY...more details

SET_TOP_NODESets Top Node, Implicit Frontend Update!Public
CALL METHOD if_gui_alv_tree=>SET_TOP_NODE...more details

SET_USER_COMMANDPublic
CALL METHOD if_gui_alv_tree=>SET_USER_COMMAND...more details

SET_VARIANT_KEYPublic
CALL METHOD if_gui_alv_tree=>SET_VARIANT_KEY...more details

SET_VISIBLEPublic
CALL METHOD if_gui_alv_tree=>SET_VISIBLE...more details

UNSELECT_ALLPublic
CALL METHOD if_gui_alv_tree=>UNSELECT_ALL...more details

UNSELECT_NODESDeselect NodesPublic
CALL METHOD if_gui_alv_tree=>UNSELECT_NODES...more details

UPDATE_CALCULATIONSPublic
CALL METHOD if_gui_alv_tree=>UPDATE_CALCULATIONS...more details




Events of Class IF_GUI_ALV_TREE

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... AFTER_USER_COMMAND -
BEFORE_USER_COMMAND -
BUTTON_CLICK - Button Click
CHECKBOX_CHANGE - CheckboxChange
DEFAULT_CONTEXT_MENU_REQUEST -
DEFAULT_CONTEXT_MENU_SELECT -
EXPAND_NC - Expand on No Children (Expander)
HEADER_CLICK - Header Click
HEADER_CONTEXT_MENU - User Command in Header Context Menu (not yet Implemented)
HEADER_CONTEXT_MENU_REQUEST -
HEADER_CONTEXT_MENU_SELECT -
ITEM_CONTEXT_MENU_REQUEST - Application May Change Context Menu
ITEM_CONTEXT_MENU_SELECTED - User Command in Item Context Menu
ITEM_DOUBLE_CLICK - ItemDoubleClick
ITEM_KEYPRESS - Key Pressed, Node Was Selected
LINK_CLICK - LinkClick
NODE_CONTEXT_MENU_REQUEST - Application May Change Context Menu
NODE_CONTEXT_MENU_SELECTED - User Command in Node Context Menu
NODE_DOUBLE_CLICK - NodeDoubleClick
NODE_KEYPRESS - Key Pressed, Node Was Selected
ON_DRAG - Event for Filling Drag and Drop Data Object
ON_DRAG_MULTIPLE - Event for Filling Drag and Drop Data Object
ON_DROP - One Object Dropped
ON_DROP_COMPLETE - Drop Event Processed Successfully
ON_DROP_COMPLETE_MULTIPLE - Drop Event Processed Successfully
ON_DROP_GET_FLAVOR - There is More Than One Possible Flavor For a Drop
SELECTION_CHANGED - Selection Changed
TOP_OF_LIST -
TOP_OF_PAGE -

Links to Related Class(s)

IF_GUI_A...
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!