SAP ABAP Class CL_GUI_ALV_TREE_AUTO_HIERARCHY (ALV Tree with automatic hierarchy)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI-WKB (Application Component) Development Workbench
     WCF_BSP_WD_CHECK_TOOLS (Package) Central check tools for WCF developments
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_GUI_ALV_TREE ALV Tree Control 20090227
Properties
Class CL_GUI_ALV_TREE_AUTO_HIERARCHY  
Short Description ALV Tree with automatic hierarchy    
Super Class CL_GUI_ALV_TREE ALV Tree Control 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WCF_BSP_WD_CHECK_TOOLS   Central check tools for WCF developments 
Created 20090227   SAP 
Last change 20100303   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_GUI_COLUMN_TREE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 SDYDO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 SLIS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no interface implemented.
Friends
Class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_DFIES Instance attribute Private Type reference (TYPE) DFIES_TABLE Table for dfies entries 20090227
2 MT_FIELD_INFO Instance attribute Private Type reference (TYPE) LVC_T_AUTO_HIERARCHY_INFO TTYP for LVC_S_AUTO_HIERARCHY_INFO 20090326
3 MT_HIERARCHY_INFO Instance attribute Private Type reference (TYPE) STRINGTAB TTYP for LVC_S_AUTO_HIERARCHY_INFO 20090227
4 MT_TREE_BUFFER Instance attribute Private Type reference (TYPE) TY_T_TREE_BUFFER 20090227
5 MV_CALLBACK Instance attribute Private Type reference (TYPE) RS38L_FNAM Name of Function Module 20090319
6 MV_KEY_NUM Instance attribute Private Type reference (TYPE) I 20090227
7 MV_STRUCTURE_NAME Instance attribute Private Type reference (TYPE) TABNAME Table Name 20090227
8 MV_TREE_MODE Instance attribute Private Type reference (TYPE) LVC_AUTO_HIERARCHY_TREE_MODE Tree Mode 20090317
Methods
# Method Level Visibility Method type Description Created on
1 ADD_NODES_AUTO Instance method Public Method 20090227
2 ADD_NODE_AUTO_INTERNAL Instance method Private Method 20090227
3 AUTO_EXPAND Instance method Public Method 20090326
4 BUILD_FIELDCATALOG Static method Public Method 20090327
5 CALLBACK_BUTTON_CLICK Instance method Public Method 20090326
6 CALLBACK_DOUBLE_CLICK Instance method Public Method 20090319
7 CALLBACK_NAVIGATION Instance method Public Method 20090319
8 CONCATENATE_KEYS Instance method Private Method 20090227
9 CONSTRUCTOR Instance method Public Constructor 20090227
10 COUNT_CHILDREN Instance method Private Method 20090326
11 FIND_CREATE_PARENT Instance method Private Method 20090227
12 GET_CHECKED_NODES_AUTO Instance method Public Method 20090302
13 GET_STRUCTURE_NAME Static method Public Method 20090327
14 INIT_DISPLAY Instance method Public Method 20090227
15 REGISTER_EVENTS Instance method Private Method 20090327
16 SET_CHECK_FLAG_SUBTREE Instance method Public Method 20090303
17 SORT_DATA Static method Public Method 20090327
Events
Class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_TREE_BUFFER Private See coding 20090227 BEGIN OF ty_tree_buffer, nkey TYPE lvc_nkey, nlevel type i, key_concat TYPE string, END OF ty_tree_buffer
2 TY_T_TREE_BUFFER Private See coding 20090227 ty_t_tree_buffer TYPE STANDARD TABLE OF ty_tree_buffer
Method Signatures

Method ADD_NODES_AUTO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OUTTAB_LINE Call by reference Type reference (TYPE) STANDARD TABLE 20090227
2 Importing IV_CHECKBOX_DEFAULT Call by reference Type reference (TYPE) FLAG 'X' Flag (X or Blank) 20090303
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Node not Found 20090227
2 RELAT_NODE_NOT_FOUND Relat Node Key not Found 20090227

Method ADD_NODE_AUTO_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NEW_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20090227
2 Importing IS_OUTTAB_LINE Call by reference Type reference (TYPE) ANY 20090227
3 Importing IV_CHECKBOX_DEFAULT Call by reference Type reference (TYPE) AS4FLAG 'X' Flag (X or Blank) 20090303
4 Importing IV_KEY_LEVEL Call by reference Type reference (TYPE) I 20090227
5 Importing I_RELAT_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20090227
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Node not Found 20090227
2 RELAT_NODE_NOT_FOUND Relat Node Key not Found 20090227

Method AUTO_EXPAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SHOW_LINES Call by reference Type reference (TYPE) I 40 20090326

Method AUTO_EXPAND on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method BUILD_FIELDCATALOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELD_INFO Call by reference Type reference (TYPE) LVC_T_AUTO_HIERARCHY_INFO TTYP for LVC_S_AUTO_HIERARCHY_INFO 20090327
2 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20090327
3 Returning RT_FIELDCATALOG Value transfer Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20090327

Method BUILD_FIELDCATALOG on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method CALLBACK_BUTTON_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELDNAME Call by reference Type reference (TYPE) LVC_FNAME ALV control: Field name of internal table field 20090326
2 Importing IV_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20090326

Method CALLBACK_BUTTON_CLICK on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method CALLBACK_DOUBLE_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELDNAME Call by reference Type reference (TYPE) LVC_FNAME ALV control: Field name of internal table field 20090319
2 Importing IV_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20090319

Method CALLBACK_DOUBLE_CLICK on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method CALLBACK_NAVIGATION Signature

Method CALLBACK_NAVIGATION on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no parameter.
Method CALLBACK_NAVIGATION on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method CONCATENATE_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) ANY 20090227
2 Importing IV_KEY_LEVEL Call by reference Type reference (TYPE) I 20090227
3 Returning RV_CONCAT_KEY Value transfer Type reference (TYPE) STRING 20090227

Method CONCATENATE_KEYS on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HIDE_SELECTION Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20090227
2 Importing ITEM_SELECTION Value transfer Type reference (TYPE) AS4FLAG 'X' Flag (X or Blank) 20090227
3 Importing I_CALLBACK Call by reference Type reference (TYPE) RS38L_FNAM Name of Function Module 20090319
4 Importing I_FCAT_COMPLETE Call by reference Type reference (TYPE) ABAP_BOOL 20090227
5 Importing I_MODEL_MODE Call by reference Type reference (TYPE) ABAP_BOOL 20090227
6 Importing I_PRINT Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20090227
7 Importing I_TREE_MODE Call by reference Type reference (TYPE) LVC_AUTO_HIERARCHY_TREE_MODE 'SEL' Tree Mode 20090317
8 Importing LIFETIME Value transfer Type reference (TYPE) I 20090227
9 Importing NODE_SELECTION_MODE Value transfer Type reference (TYPE) I CL_GUI_COLUMN_TREE=>NODE_SEL_MODE_SINGLE 20090227
10 Importing NO_HTML_HEADER Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20090227
11 Importing NO_TOOLBAR Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20090227
12 Importing PARENT Value transfer Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20090227
13 Importing SHELLSTYLE Value transfer Type reference (TYPE) I 20090227
# Exception Resumable Description Created on
1 CNTL_ERROR CNTL_ERROR 20090227
2 CNTL_SYSTEM_ERROR CNTL_SYSTEM_ERROR 20090227
3 CREATE_ERROR CREATE_ERROR 20090227
4 FAILED Failed 20090227
5 ILLEGAL_COLUMN_NAME ILLEGAL_COLUMN_NAME 20090227
6 ILLEGAL_NODE_SELECTION_MODE ILLEGAL_NODE_SELECTION_MODE 20090227
7 LIFETIME_ERROR LIFETIME_ERROR 20090227

Method COUNT_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALL_LEVELS Call by reference Type reference (TYPE) FLAG General Flag 20090326
2 Importing IV_NKEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20090326
3 Returning RV_CHILDREN Value transfer Type reference (TYPE) I 20090326

Method COUNT_CHILDREN on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method FIND_CREATE_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PARENT_NODE_KEY Value transfer Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20090227
2 Importing IS_OUTTAB_LINE Call by reference Type reference (TYPE) ANY 20090227
3 Importing IV_CHECKBOX_DEFAULT Call by reference Type reference (TYPE) AS4FLAG 'X' Flag (X or Blank) 20090303
4 Importing IV_KEY_LEVEL Call by reference Type reference (TYPE) I 20090227
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Node not Found 20090227
2 RELAT_NODE_NOT_FOUND Relat Node Key not Found 20090227

Method GET_CHECKED_NODES_AUTO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHECKED Call by reference Type reference (TYPE) STANDARD TABLE ALV control: Field name of internal table field 20090302

Method GET_CHECKED_NODES_AUTO on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method GET_STRUCTURE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TABLE Call by reference Type reference (TYPE) ANY TABLE 20090327
2 Returning RV_TABNAME Value transfer Type reference (TYPE) TABNAME Table Name 20090327

Method GET_STRUCTURE_NAME on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method INIT_DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HIERARCHY_HEADER Call by reference Type reference (TYPE) TREEV_HHDR Tree Control: Attributes of the Hierarchy Header 20090227
2 Importing IT_FIELD_INFO Call by reference Type reference (TYPE) LVC_T_AUTO_HIERARCHY_INFO TTYP for LVC_S_AUTO_HIERARCHY_INFO 20090326
3 Changing IT_OUTTAB Call by reference Type reference (TYPE) STANDARD TABLE 20090227
4 Importing I_STRUCTURE_NAME Call by reference Type reference (TYPE) DD02L-TABNAME Table Name 20090227

Method INIT_DISPLAY on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method REGISTER_EVENTS Signature

Method REGISTER_EVENTS on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no parameter.
Method REGISTER_EVENTS on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method SET_CHECK_FLAG_SUBTREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECKED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20090303
2 Importing I_FIELDNAME Call by reference Type reference (TYPE) LVC_FNAME ALV control: Field name of internal table field 20090303
3 Importing I_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20090303

Method SET_CHECK_FLAG_SUBTREE on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.

Method SORT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20090327
2 Importing IT_FIELD_INFO Call by reference Type reference (TYPE) LVC_T_AUTO_HIERARCHY_INFO TTYP for LVC_S_AUTO_HIERARCHY_INFO 20090327

Method SORT_DATA on class CL_GUI_ALV_TREE_AUTO_HIERARCHY has no exception.
History
Last changed by/on SAP  20100303 
SAP Release Created in 701