SAP ABAP Class CL_ENH_DATA_TREE (Display/Editing of Internal Structures of Enhancements)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-ENH (Application Component) Enhancement Tools
     SEEF_BASE (Package) Enhancement Base Functionality
Properties
Class CL_ENH_DATA_TREE  
Short Description Display/Editing of Internal Structures of Enhancements    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEEF_BASE   Enhancement Base Functionality 
Created 20060824   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_ENH_DATA_TREE has no interface implemented.
Friends
Class CL_ENH_DATA_TREE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GR_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in Screen Area 20080215
2 GR_DATA Instance attribute Protected Object reference (TYPE REF TO) DATA 20080215
3 GR_TREE Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Column Tree Control 20080215
4 GS_TREE_HEADER Instance attribute Protected Type reference (TYPE) TREEV_HHDR Tree Control: Attributes of the Hierarchy Header 20080215
5 GT_ITEMS Instance attribute Protected Type reference (TYPE) ITEM_TAB 20080215
6 GT_KEYTAB Instance attribute Protected Type reference (TYPE) KEY_TAB 20080215
7 GT_NODES Instance attribute Protected Type reference (TYPE) TREEV_NTAB Tree Control: Node Table 20080215
8 G_AKT_KEY Instance attribute Protected Type reference (TYPE) I 1 20080215
9 G_DATA_CHANGED Instance attribute Protected Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20080215
10 G_EDITABLE Instance attribute Protected Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20080215
11 G_EDIT_FUNC Instance attribute Protected Type reference (TYPE) STRING 'ENH_EXP_EDIT_VALUE' Module for Displaying/Editing Values 20080215
12 G_HCOLUMN_NAME Instance attribute Protected Type reference (TYPE) TV_ITMNAME 'HRY' Tree Control: Column Name / Item Name 20080215
13 G_ICON_CLOSED_FOLDER Instance attribute Protected Type reference (TYPE) TV_IMAGE Tree Control: Icon / Image 20080215
14 G_ICON_OPEN_FOLDER Instance attribute Protected Type reference (TYPE) TV_IMAGE Tree Control: Icon / Image 20080215
15 G_PREF_ELEM Instance attribute Protected Type reference (TYPE) STRING 'VAL:' 20080215
16 G_PREF_IDX Instance attribute Protected Type reference (TYPE) STRING 'IDX:' 20080215
17 G_PREF_ROOT Instance attribute Protected Type reference (TYPE) STRING 'ROOT:' 20080215
18 G_PREF_STRUC Instance attribute Protected Type reference (TYPE) STRING 'STR:' 20080215
19 G_PREF_TAB Instance attribute Protected Type reference (TYPE) STRING 'TAB:' 20080215
20 G_VCOLUMN_NAME Instance attribute Protected Type reference (TYPE) TV_ITMNAME 'VAL' Tree Control: Column Name / Item Name 20080215
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ITEM Instance method Protected Method Add Items to Tree 20080215
2 ADD_LINES_TO_TAB_NODE Instance method Protected Method Inserts lines in table node 20080215
3 ADD_STRUC Instance method Protected Method Add Structure to Tree 20080215
4 ADD_TABLE Instance method Protected Method Adds table to tree 20080215
5 APPEND_LINE Instance method Protected Method Add Row to Table 20080215
6 BUILD_TREE Instance method Public Method Tree Structure 20080215
7 CHECK_TREE Instance method Protected Method Checks tree for consistency 20080215
8 CONSTRUCTOR Instance method Public Constructor Instance Generation 20080215
9 DELETE_LINE Instance method Protected Method Deletes row from table 20080215
10 FREE Instance method Public Method 20080215
11 GET_CHILD_NODES_AND_ITEMS Instance method Protected Method Returns all subnodes of a node 20080215
12 GET_DATA Instance method Public Method Returns data 20080215
13 GET_EDIT_MODE Instance method Public Method Returns the editability 20080215
14 GET_REF_TO_VALUE Instance method Protected Method Returns reference to value to be changed 20080215
15 GET_STACK_FOR_KEY Instance method Protected Method 20080215
16 GET_TREE Instance method Public Method Returns tree 20080215
17 HANDLE_CONTEXT_MENU_REQ Instance method Protected Event handling method 20080215
18 HANDLE_CONTEXT_MENU_SEL Instance method Protected Event handling method 20080215
19 HANDLE_ITEM_DBLCLICK Instance method Protected Event handling method Handler for Double-Click on Item 20080215
20 HANDLE_NODE_CONTEXT_MENU_REQ Instance method Protected Event handling method Context Menu Request for Node 20080215
21 HANDLE_NODE_CONTEXT_MENU_SEL Instance method Protected Event handling method Context Menu Selection for Node 20080215
22 INSERT_LINE Instance method Protected Method Insert Row in Table 20080215
23 IS_DATA_CHANGED Instance method Public Method Returns change status 20080215
24 SET_EDIT_MODE Instance method Public Method Sets editability 20080215
Events
Class CL_ENH_DATA_TREE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 ITEM_TAB Protected See coding Table with Tree Items 20080215 ITEM_TAB type standard table of mtreeitm
2 KEY_STRUC Protected See coding Key Structure for Long Key 20080215 begin of KEY_STRUC, key type i, long_key type string, end of key_struc
3 KEY_TAB Protected See coding Key Table 20080215 KEY_TAB type sorted table of key_struc with unique key key
4 S_STACK Protected See coding 20080215 begin of S_STACK, index type i, value type string, end of s_stack
5 T_STACK Protected See coding 20080215 T_STACK type standard table of s_stack
Method Signatures

Method ADD_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ITEMS Call by reference Type reference (TYPE) ITEM_TAB Tabelle mit Tree-Items 20080215
2 Changing CT_NODES Call by reference Type reference (TYPE) TREEV_NTAB Tree Control: Knotentabelle 20080215
3 Importing IS_PARENT Call by reference Type reference (TYPE) TREEV_NODE Tree Control: Eigenschaften eines Knotens 20080215
4 Importing I_DATA Call by reference Type reference (TYPE) ANY 20080215
5 Importing I_ITEM_NAME Call by reference Type reference (TYPE) STRING 20080215
6 Importing I_LONG_KEY Call by reference Type reference (TYPE) STRING 20080215

Method ADD_ITEM on class CL_ENH_DATA_TREE has no exception.

Method ADD_LINES_TO_TAB_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ITEMS Call by reference Type reference (TYPE) ITEM_TAB Tabelle mit Tree-Items 20080215
2 Changing CT_NODES Call by reference Type reference (TYPE) TREEV_NTAB Tree Control: Knotentabelle 20080215
3 Importing IS_PARENT Call by reference Type reference (TYPE) TREEV_NODE Tree Control: Eigenschaften eines Knotens 20080215
4 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE 20080215

Method ADD_LINES_TO_TAB_NODE on class CL_ENH_DATA_TREE has no exception.

Method ADD_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ITEMS Call by reference Type reference (TYPE) ITEM_TAB Tabelle mit Tree-Items 20080215
2 Changing CT_NODES Call by reference Type reference (TYPE) TREEV_NTAB Tree Control: Knotentabelle 20080215
3 Importing IS_PARENT Call by reference Type reference (TYPE) TREEV_NODE Tree Control: Eigenschaften eines Knotens 20080215
4 Importing I_DATA Call by reference Type reference (TYPE) ANY 20080215
5 Importing I_LONG_KEY Call by reference Type reference (TYPE) STRING 20080215
6 Importing I_NODE_NAME Call by reference Type reference (TYPE) STRING 20080215

Method ADD_STRUC on class CL_ENH_DATA_TREE has no exception.

Method ADD_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ITEMS Call by reference Type reference (TYPE) ITEM_TAB Tabelle mit Tree-Items 20080215
2 Changing CT_NODES Call by reference Type reference (TYPE) TREEV_NTAB Tree Control: Knotentabelle 20080215
3 Importing IS_PARENT Call by reference Type reference (TYPE) TREEV_NODE Tree Control: Eigenschaften eines Knotens 20080215
4 Importing I_DATA Call by reference Type reference (TYPE) ANY TABLE 20080215
5 Importing I_NODE_NAME Call by reference Type reference (TYPE) STRING 20080215

Method ADD_TABLE on class CL_ENH_DATA_TREE has no exception.

Method APPEND_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_NAME Call by reference Type reference (TYPE) TV_ITMNAME Tree Control: Name einer Spalte / eines Items 20080215
2 Importing NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Schlüssel eines Knotens 20080215

Method APPEND_LINE on class CL_ENH_DATA_TREE has no exception.

Method BUILD_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY darzustellende Struktur 20080215
# Exception Resumable Description Created on
1 CX_ENH_ROOT Web Service : Exception 20080215

Method CHECK_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TREE_OK Value transfer Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20080215

Method CHECK_TREE on class CL_ENH_DATA_TREE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container fuer Custom Controls in der Dynpro Area 20080215
2 Importing I_EDITABLE Call by reference Type reference (TYPE) ENHBOOLEAN SPACE Enhancement Boolean 20080215
3 Importing I_EDIT_FUNC Call by reference Type reference (TYPE) STRING 'ENH_EXP_EDIT_VALUE' Baustein zum Anzeigen/Editieren von Werten 20080215
# Exception Resumable Description Created on
1 CX_ENH_ROOT Web Service : Exception 20080215

Method DELETE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_NAME Call by reference Type reference (TYPE) TV_ITMNAME Tree Control: Name einer Spalte / eines Items 20080215
2 Importing NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Schlüssel eines Knotens 20080215

Method DELETE_LINE on class CL_ENH_DATA_TREE has no exception.

Method FREE Signature

Method FREE on class CL_ENH_DATA_TREE has no parameter.
Method FREE on class CL_ENH_DATA_TREE has no exception.

Method GET_CHILD_NODES_AND_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ITEMS Call by reference Type reference (TYPE) ITEM_TAB Tabelle mit Tree-Items 20080215
2 Changing CT_NODES Call by reference Type reference (TYPE) TREEV_NTAB Tree Control: Knotentabelle 20080215
3 Importing I_KEY Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Schlüssel eines Knotens 20080215

Method GET_CHILD_NODES_AND_ITEMS on class CL_ENH_DATA_TREE has no exception.

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Value transfer Type reference (TYPE) ANY 20080215

Method GET_DATA on class CL_ENH_DATA_TREE has no exception.

Method GET_EDIT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_EDITABLE Value transfer Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20080215

Method GET_EDIT_MODE on class CL_ENH_DATA_TREE has no exception.

Method GET_REF_TO_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_VALUE Call by reference Object reference (TYPE REF TO) DATA 20080215
2 Exporting E_NAME Call by reference Type reference (TYPE) STRING 20080215
3 Importing IS_KEY Call by reference Type reference (TYPE) KEY_STRUC 20080215

Method GET_REF_TO_VALUE on class CL_ENH_DATA_TREE has no exception.

Method GET_STACK_FOR_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STACK Call by reference Type reference (TYPE) T_STACK 20080215
2 Importing IS_KEY Call by reference Type reference (TYPE) KEY_STRUC 20080215

Method GET_STACK_FOR_KEY on class CL_ENH_DATA_TREE has no exception.

Method GET_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container fuer Custom Controls in der Dynpro Area 20080215
2 Exporting ER_TREE Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Column Tree Control 20080215

Method GET_TREE on class CL_ENH_DATA_TREE has no exception.

Method HANDLE_CONTEXT_MENU_REQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_NAME Value transfer Attribute reference (LIKE) 20080215
2 Importing MENU Value transfer Attribute reference (LIKE) 20080215
3 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20080215

Method HANDLE_CONTEXT_MENU_REQ on class CL_ENH_DATA_TREE has no exception.

Method HANDLE_CONTEXT_MENU_SEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Value transfer Attribute reference (LIKE) 20080215
2 Importing ITEM_NAME Value transfer Attribute reference (LIKE) 20080215
3 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20080215

Method HANDLE_CONTEXT_MENU_SEL on class CL_ENH_DATA_TREE has no exception.

Method HANDLE_ITEM_DBLCLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_NAME Value transfer Attribute reference (LIKE) 20080215
2 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20080215

Method HANDLE_ITEM_DBLCLICK on class CL_ENH_DATA_TREE has no exception.

Method HANDLE_NODE_CONTEXT_MENU_REQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MENU Value transfer Attribute reference (LIKE) 20080215
2 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20080215

Method HANDLE_NODE_CONTEXT_MENU_REQ on class CL_ENH_DATA_TREE has no exception.

Method HANDLE_NODE_CONTEXT_MENU_SEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Value transfer Attribute reference (LIKE) 20080215
2 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20080215

Method HANDLE_NODE_CONTEXT_MENU_SEL on class CL_ENH_DATA_TREE has no exception.

Method INSERT_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_NAME Call by reference Type reference (TYPE) TV_ITMNAME Tree Control: Name einer Spalte / eines Items 20080215
2 Importing I_POS Call by reference Type reference (TYPE) C 20080215
3 Importing NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Schlüssel eines Knotens 20080215

Method INSERT_LINE on class CL_ENH_DATA_TREE has no exception.

Method IS_DATA_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_CHANGED Value transfer Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20080215

Method IS_DATA_CHANGED on class CL_ENH_DATA_TREE has no exception.

Method SET_EDIT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EDITABLE Call by reference Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20080215

Method SET_EDIT_MODE on class CL_ENH_DATA_TREE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 740