SAP ABAP Class CL_COM_HIERARCHY_TREE (Category Tree of a Hierarchy)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   AP-MD-PRO (Application Component) Central Part of Product Master
     COM_PRODUCT_CATEGORY_UI (Package) Interface: Maintain Hierarchies and Categories
Properties
Class CL_COM_HIERARCHY_TREE  
Short Description Category Tree of a Hierarchy    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package COM_PRODUCT_CATEGORY_UI   Interface: Maintain Hierarchies and Categories 
Created 20010625   SAP 
Last change 20040518   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_COM_HIERARCHY_TREE has no forward declaration.
Interfaces
Class CL_COM_HIERARCHY_TREE has no interface implemented.
Friends
Class CL_COM_HIERARCHY_TREE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 FALSE Static Attribute Private Type reference (TYPE) COMT_BOOLEAN SPACE Logical Variable 20010625
2 GT_CATEGORY_FCAT_DATA Instance attribute Private Type reference (TYPE) COMT_CATEGORYUI_FCAT_TAB List of Categories for Tree Control 20010625
3 GT_FCAT Instance attribute Private Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20010625
4 GT_NODE Instance attribute Private Type reference (TYPE) COMT_CATEGORY_NODE_TAB_GUID Category GUID and Corresponding Node Key 20010625
5 GV_CATEGORY_EVENT_REC Instance attribute Private Object reference (TYPE REF TO) CL_HIERARCHY_EVENT_RECEIVER Category Tree of a Hierarchy 20010625
6 GV_SELECTED_CATEGORY Instance attribute Private Type reference (TYPE) COMT_CATEGORY_GUID Category GUID 20010627
7 GV_TOOLBAR Instance attribute Private Object reference (TYPE REF TO) CL_GUI_TOOLBAR Toolbar Control 20010627
8 GV_TREE Instance attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_TREE ALV Tree Control 20010625
9 GV_TREE_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in Screen Area 20010625
10 TRUE Static Attribute Private Type reference (TYPE) COMT_BOOLEAN 'X' Logical Variable 20010625
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE_CONTEXT_MENU_FUNC Instance method Public Method Activate Context Menu Functions (Create, Delete) 20020415
2 CHANGE_CATEGORY Instance method Public Method Change Description, ID of Category 20010628
3 COLLAPSE_ALL_AT_CAT Instance method Public Method 20040402
4 CONSTRUCTOR Instance method Public Constructor 20010625
5 CREATE_CATEGORY Instance method Public Method Create a New Node in Tree 20010628
6 CREATE_TOOLBAR Instance method Public Method Add Buttons for Creation and Deletion 20010627
7 DELETE_SELECTED_CATEGORY Instance method Public Method Delete Node(s) 20010628
8 DISPLAY_CATEGORY_RECURSIV Instance method Private Method Display All Categories Recursively 20010625
9 EXPAND_ALL_AT_CAT Instance method Public Method Expand All Nodes from Current Category 20040402
10 GET_OKCODE Instance method Public Method Determine OK Code of Tree 20010628
11 GET_SELECTED_CATEGORY Instance method Public Method Determine Selected Category 20010627
12 GET_SUBTREE_AT_CAT Instance method Public Method Gets GUIDs of Sub-Categories, if They Exist 20040402
13 INITIALIZE Instance method Public Method Initialize Hierarchy Tree 20010625
14 REFRESH_OKCODE Instance method Public Method Reset OK Code of Tree 20010628
15 REFRESH_TREE Instance method Public Method Create a New Hierarchy: Tree Refresh 20010628
16 SELECT_CATEGORY Instance method Public Method Select Category 20010628
Events
Class CL_COM_HIERARCHY_TREE has no event.
Types
Class CL_COM_HIERARCHY_TREE has no local type.
Method Signatures

Method ACTIVATE_CONTEXT_MENU_FUNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVE Call by reference Type reference (TYPE) COMT_BOOLEAN Logische Variable 20020415

Method ACTIVATE_CONTEXT_MENU_FUNC on class CL_COM_HIERARCHY_TREE has no exception.

Method CHANGE_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATEGORY_GUID Call by reference Type reference (TYPE) COMT_CATEGORY_GUID Kategorie-GUID 20010628
2 Importing IV_CATEGORY_ID Call by reference Type reference (TYPE) COMT_CATEGORY_ID Kategorie-ID 20010628
3 Importing IV_CATEGORY_TEXT Call by reference Type reference (TYPE) COMT_CATEGORY_TEXT Kurztext zur Kategorie 20010628

Method CHANGE_CATEGORY on class CL_COM_HIERARCHY_TREE has no exception.

Method COLLAPSE_ALL_AT_CAT Signature

Method COLLAPSE_ALL_AT_CAT on class CL_COM_HIERARCHY_TREE has no parameter.
Method COLLAPSE_ALL_AT_CAT on class CL_COM_HIERARCHY_TREE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONTROL Call by reference Type reference (TYPE) C CustomerControl 20010625

Method CONSTRUCTOR on class CL_COM_HIERARCHY_TREE has no exception.

Method CREATE_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATEGORY_GUID Call by reference Type reference (TYPE) COMT_CATEGORY_GUID Kategorie-GUID 20010628
2 Importing IV_CATEGORY_ID Call by reference Type reference (TYPE) COMT_CATEGORY_ID Kategorie-ID 20010628
3 Importing IV_CATEGORY_TEXT Call by reference Type reference (TYPE) COMT_CATEGORY_TEXT Kurztext zur Kategorie 20010628
4 Importing IV_PARENT_GUID Call by reference Type reference (TYPE) COMT_CATEGORY_GUID Kategorie-GUID 20010628

Method CREATE_CATEGORY on class CL_COM_HIERARCHY_TREE has no exception.

Method CREATE_TOOLBAR Signature

Method CREATE_TOOLBAR on class CL_COM_HIERARCHY_TREE has no parameter.
Method CREATE_TOOLBAR on class CL_COM_HIERARCHY_TREE has no exception.

Method DELETE_SELECTED_CATEGORY Signature

Method DELETE_SELECTED_CATEGORY on class CL_COM_HIERARCHY_TREE has no parameter.
Method DELETE_SELECTED_CATEGORY on class CL_COM_HIERARCHY_TREE has no exception.

Method DISPLAY_CATEGORY_RECURSIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CATEGORY Call by reference Type reference (TYPE) COMT_CATEGORY Kategorie-GUID 20010625
2 Importing IT_CATEGORY Call by reference Type reference (TYPE) COMT_CATEGORY_TAB Kategorie sortiert nacht GUID 20010625
3 Importing IT_CATEGORYT Call by reference Type reference (TYPE) COMT_CATEGORYT_TAB Kurztext zur Kategorie 20020524
4 Importing IV_CATEGORY_ICON Call by reference Type reference (TYPE) TV_IMAGE Tree Control: Ikone / Bild 20010625
5 Importing IV_PARENT_NODE Call by reference Type reference (TYPE) LVC_NKEY ALV-Tree-Control: Node-key 20010625
6 Importing IV_RELATIONSHIP Call by reference Type reference (TYPE) I 20010625

Method DISPLAY_CATEGORY_RECURSIV on class CL_COM_HIERARCHY_TREE has no exception.

Method EXPAND_ALL_AT_CAT Signature

Method EXPAND_ALL_AT_CAT on class CL_COM_HIERARCHY_TREE has no parameter.
Method EXPAND_ALL_AT_CAT on class CL_COM_HIERARCHY_TREE has no exception.

Method GET_OKCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OKCODE Call by reference Type reference (TYPE) SYUCOMM Bildschirmbilder, Funktionscode, der PAI ausgelöst hat 20010628

Method GET_OKCODE on class CL_COM_HIERARCHY_TREE has no exception.

Method GET_SELECTED_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CATEGORY_GUID Call by reference Type reference (TYPE) COMT_CATEGORY_GUID Kategorie-GUID 20010627

Method GET_SELECTED_CATEGORY on class CL_COM_HIERARCHY_TREE has no exception.

Method GET_SUBTREE_AT_CAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CATEGORY Value transfer Type reference (TYPE) COMT_CATEGORY_TAB Tabellentyp (standard) zu COMM_CATEGORY 20040402

Method GET_SUBTREE_AT_CAT on class CL_COM_HIERARCHY_TREE has no exception.

Method INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HIERARCHY_GUID Call by reference Type reference (TYPE) COMT_HIERARCHY_GUID Kategoriehierarchie-GUID 20010625
# Exception Resumable Description Created on
1 WRONG_CALL 20010625

Method REFRESH_OKCODE Signature

Method REFRESH_OKCODE on class CL_COM_HIERARCHY_TREE has no parameter.
Method REFRESH_OKCODE on class CL_COM_HIERARCHY_TREE has no exception.

Method REFRESH_TREE Signature

Method REFRESH_TREE on class CL_COM_HIERARCHY_TREE has no parameter.
Method REFRESH_TREE on class CL_COM_HIERARCHY_TREE has no exception.

Method SELECT_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CATEGORY_GUID Call by reference Type reference (TYPE) COMT_CATEGORY_GUID Kategorie-GUID 20010628

Method SELECT_CATEGORY on class CL_COM_HIERARCHY_TREE has no exception.
History
Last changed by/on SAP  20040518 
SAP Release Created in 30A