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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | 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 | Instance attribute | Private | Type reference (TYPE) | DFIES_TABLE | Table for dfies entries | 20090227 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | LVC_T_AUTO_HIERARCHY_INFO | TTYP for LVC_S_AUTO_HIERARCHY_INFO | 20090326 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | STRINGTAB | TTYP for LVC_S_AUTO_HIERARCHY_INFO | 20090227 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | TY_T_TREE_BUFFER | 20090227 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | RS38L_FNAM | Name of Function Module | 20090319 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | I | 20090227 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | TABNAME | Table Name | 20090227 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | LVC_AUTO_HIERARCHY_TREE_MODE | Tree Mode | 20090317 |
Methods
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 | IT_OUTTAB_LINE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090227 | ||||
| 2 | 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 | 20090227 | ||
| 2 | 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 | E_NEW_NODE_KEY | Call by reference | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20090227 | |||
| 2 | IS_OUTTAB_LINE | Call by reference | Type reference (TYPE) | ANY | 20090227 | ||||
| 3 | IV_CHECKBOX_DEFAULT | Call by reference | Type reference (TYPE) | AS4FLAG | 'X' | Flag (X or Blank) | 20090303 | ||
| 4 | IV_KEY_LEVEL | Call by reference | Type reference (TYPE) | I | 20090227 | ||||
| 5 | 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 | 20090227 | ||
| 2 | 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 | 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 | IT_FIELD_INFO | Call by reference | Type reference (TYPE) | LVC_T_AUTO_HIERARCHY_INFO | TTYP for LVC_S_AUTO_HIERARCHY_INFO | 20090327 | |||
| 2 | IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20090327 | |||
| 3 | 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 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | LVC_FNAME | ALV control: Field name of internal table field | 20090326 | |||
| 2 | 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 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | LVC_FNAME | ALV control: Field name of internal table field | 20090319 | |||
| 2 | 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 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | 20090227 | ||||
| 2 | IV_KEY_LEVEL | Call by reference | Type reference (TYPE) | I | 20090227 | ||||
| 3 | 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 | HIDE_SELECTION | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20090227 | |||
| 2 | ITEM_SELECTION | Value transfer | Type reference (TYPE) | AS4FLAG | 'X' | Flag (X or Blank) | 20090227 | ||
| 3 | I_CALLBACK | Call by reference | Type reference (TYPE) | RS38L_FNAM | Name of Function Module | 20090319 | |||
| 4 | I_FCAT_COMPLETE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090227 | ||||
| 5 | I_MODEL_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090227 | ||||
| 6 | I_PRINT | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20090227 | |||
| 7 | I_TREE_MODE | Call by reference | Type reference (TYPE) | LVC_AUTO_HIERARCHY_TREE_MODE | 'SEL' | Tree Mode | 20090317 | ||
| 8 | LIFETIME | Value transfer | Type reference (TYPE) | I | 20090227 | ||||
| 9 | NODE_SELECTION_MODE | Value transfer | Type reference (TYPE) | I | CL_GUI_COLUMN_TREE=>NODE_SEL_MODE_SINGLE | 20090227 | |||
| 10 | NO_HTML_HEADER | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20090227 | |||
| 11 | NO_TOOLBAR | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20090227 | |||
| 12 | PARENT | Value transfer | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20090227 | |||
| 13 | SHELLSTYLE | Value transfer | Type reference (TYPE) | I | 20090227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CNTL_ERROR | 20090227 | ||
| 2 | CNTL_SYSTEM_ERROR | 20090227 | ||
| 3 | CREATE_ERROR | 20090227 | ||
| 4 | Failed | 20090227 | ||
| 5 | ILLEGAL_COLUMN_NAME | 20090227 | ||
| 6 | ILLEGAL_NODE_SELECTION_MODE | 20090227 | ||
| 7 | LIFETIME_ERROR | 20090227 |
Method COUNT_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ALL_LEVELS | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20090326 | |||
| 2 | IV_NKEY | Call by reference | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20090326 | |||
| 3 | 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 | EV_PARENT_NODE_KEY | Value transfer | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20090227 | |||
| 2 | IS_OUTTAB_LINE | Call by reference | Type reference (TYPE) | ANY | 20090227 | ||||
| 3 | IV_CHECKBOX_DEFAULT | Call by reference | Type reference (TYPE) | AS4FLAG | 'X' | Flag (X or Blank) | 20090303 | ||
| 4 | IV_KEY_LEVEL | Call by reference | Type reference (TYPE) | I | 20090227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Node not Found | 20090227 | ||
| 2 | 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 | 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 | IT_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | 20090327 | ||||
| 2 | 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 | IS_HIERARCHY_HEADER | Call by reference | Type reference (TYPE) | TREEV_HHDR | Tree Control: Attributes of the Hierarchy Header | 20090227 | |||
| 2 | IT_FIELD_INFO | Call by reference | Type reference (TYPE) | LVC_T_AUTO_HIERARCHY_INFO | TTYP for LVC_S_AUTO_HIERARCHY_INFO | 20090326 | |||
| 3 | IT_OUTTAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090227 | ||||
| 4 | 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 | I_CHECKED | Call by reference | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20090303 | |||
| 2 | I_FIELDNAME | Call by reference | Type reference (TYPE) | LVC_FNAME | ALV control: Field name of internal table field | 20090303 | |||
| 3 | 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 | CT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090327 | ||||
| 2 | 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 |