SAP ABAP Class CL_EHSGWB_ALV_TREE (EHS: LWB ALV Tree)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
EHS-SAF (Application Component) Product Safety
⤷
CBGLMP_WB (Package) EHS: Labeling Workbench Framework
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_EHSGWB_ALV_ROOT | EHS: LWB ALV Definition | 20110914 |
Properties
| Class | CL_EHSGWB_ALV_TREE | |
| Short Description | EHS: LWB ALV Tree | |
| Super Class | CL_EHSGWB_ALV_ROOT | EHS: LWB ALV Definition |
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CBGLMP_WB | EHS: Labeling Workbench Framework |
| Created | 20110914 | SAP |
| Last change | 20130531 | 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) |
Interfaces
Class CL_EHSGWB_ALV_TREE has no interface implemented.
Friends
Class CL_EHSGWB_ALV_TREE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | INT4 | 30 | Natural Number | 20111129 | ||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_ALV_TREE | ALV Tree Control | 20110914 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Buffer for Data of Expanded Nodes | 20110914 | |||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Output Data | 20110914 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Buffer for Previously Selected Entries | 20110914 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | TREEV_HHDR | Tree Control: Attributes of the Hierarchy Header | 20110914 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | LVC_T_NKEY | ALV Tree Control: Node Table | 20110914 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | LVC_T_NKEY | Buffer for Reselection of Entries | 20110914 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | CBGLE_WB_ALV_DISP_TYPE | ALV Display Type | 20110914 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Add a Line to the Output Table | 20110914 | |
| 2 | Instance method | Protected | Method | Add a Hierarchy Node | 20110914 | |
| 3 | Instance method | Protected | Method | Determine Name of Column by Column Number | 20110914 | |
| 4 | Instance method | Protected | Method | Translate Node Key into Table Index | 20110914 | |
| 5 | Instance method | Protected | Method | Collect Keys of Expanded Nodes to Restore Node Expansion | 20110914 | |
| 6 | Instance method | Public | Constructor | Create an ALV Tree Object | 20110914 | |
| 7 | Instance method | Protected | Method | Set Up Data Hierarchy | 20110914 | |
| 8 | Instance method | Public | Method | Destroy the ALV Tree Object | 20110914 | |
| 9 | Static method | Public | Method | Create an ALV Tree Object | 20110914 | |
| 10 | Instance method | Protected | Method | Get Data of Selected Nodes | 20110914 | |
| 11 | Instance method | Public | Method | Returns the Selected Entries with All Child Nodes | 20110914 | |
| 12 | Instance method | Public | Event handling method | Event Handler: Node Double-Click | 20110914 | |
| 13 | Instance method | Protected | Method | Buffer Actually Buffered Selected Entries | 20110914 | |
| 14 | Instance method | Protected | Method | Collect Keys of Previously Collected Nodes to Restore Select | 20110914 | |
| 15 | Instance method | Protected | Method | Reselect the Previously Selected Entries | 20110914 | |
| 16 | Instance method | Protected | Method | Set Hierarchy Header Entry | 20110914 |
Events
Class CL_EHSGWB_ALV_TREE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_LS_FIELDS | Protected | See coding | 20110914 | BEGIN OF ty_ls_fields,
col TYPE i,
name TYPE abap_compname,
END OF ty_ls_fields
|
||
| 2 | TY_LT_FIELDS | Protected | See coding | 20110914 | ty_lt_fields TYPE STANDARD TABLE OF ty_ls_fields WITH KEY col
|
Method Signatures
Method ADD_LINE 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 | EHS: LWB ALV generic outtab structure | 20110914 | |||
| 2 | IV_NODE_TEXT | Call by reference | Type reference (TYPE) | LVC_VALUE | ALV Control: Cell Content | 20110914 | |||
| 3 | IV_PARENT_KEY | Call by reference | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20110914 | |||
| 4 | RV_LINE_KEY | Value transfer | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20110914 |
Method ADD_LINE on class CL_EHSGWB_ALV_TREE has no exception.
Method ADD_NODE 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 | EHS: LWB ALV generic outtab structure | 20110914 | |||
| 2 | IV_NODE_TEXT | Call by reference | Type reference (TYPE) | LVC_VALUE | ALV Control: Cell Content | 20110914 | |||
| 3 | IV_PARENT_KEY | Call by reference | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20110914 | |||
| 4 | RV_NODE_KEY | Value transfer | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20110914 |
Method ADD_NODE on class CL_EHSGWB_ALV_TREE has no exception.
Method AS_COLUMN_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COL_NO | Call by reference | Type reference (TYPE) | I | 20110914 | ||||
| 2 | RV_COL_NAME | Value transfer | Type reference (TYPE) | ABAP_COMPNAME | 20110914 |
Method AS_COLUMN_NAME on class CL_EHSGWB_ALV_TREE has no exception.
Method AS_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_INDEX_NODE | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20110914 | |||
| 2 | EV_INDEX_REAL | Call by reference | Type reference (TYPE) | LVC_S_ROW-INDEX | ALV control: Row number (index of internal table) | 20110914 | |||
| 3 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20110914 |
Method AS_INDEX on class CL_EHSGWB_ALV_TREE has no exception.
Method COLLECT_EXPANDED_NODES 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 | 20110914 | ||||
| 2 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20110914 |
Method COLLECT_EXPANDED_NODES on class CL_EHSGWB_ALV_TREE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTAINER | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CUSTOM_CONTAINER | Container for Custom Controls in the Screen Area | 20110914 | |||
| 2 | IS_HIERARCHY_HEADER | Call by reference | Type reference (TYPE) | TREEV_HHDR | Tree Control: Attributes of the Hierarchy Header | 20110914 | |||
| 3 | IT_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | Output data | 20110914 | |||
| 4 | IV_BP_ID | Call by reference | Type reference (TYPE) | CBGLE_WB_BP_ID | Business Process ID | 20110914 | |||
| 5 | IV_HIERARCHY_LEVELS | Call by reference | Type reference (TYPE) | CBGLE_WB_ALV_DISP_TYPE | ALV display type | 20110914 | |||
| 6 | IV_OUTTAB_STRUCTURE | Call by reference | Type reference (TYPE) | CBGLE_WB_STRUCTURE_NAME | ABAP Dictionary name of structure | 20110914 | |||
| 7 | IV_SCREEN_ID | Call by reference | Type reference (TYPE) | CBGLE_WB_SCREEN_ID | Screen ID | 20110914 | |||
| 8 | IV_TAB_ID | Call by reference | Type reference (TYPE) | CBGLE_WB_TAB_ID | Tab ID | 20110914 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110914 |
Method CREATE_HIERARCHY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | 20110914 |
Method CREATE_HIERARCHY on class CL_EHSGWB_ALV_TREE has no exception.
Method FINALIZE Signature
Method FINALIZE on class CL_EHSGWB_ALV_TREE has no parameter.
Method FINALIZE on class CL_EHSGWB_ALV_TREE has no exception.
Method GET_INSTANCE_CL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTAINER | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CUSTOM_CONTAINER | Container for Custom Controls in the Screen Area | 20110914 | |||
| 2 | IS_HIERARCHY_HEADER | Call by reference | Type reference (TYPE) | TREEV_HHDR | Tree Control: Attributes of the Hierarchy Header | 20110914 | |||
| 3 | IT_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | Output data | 20110914 | |||
| 4 | IV_BP_ID | Call by reference | Type reference (TYPE) | CBGLE_WB_BP_ID | Business Process ID | 20110914 | |||
| 5 | IV_HIERARCHY_LEVELS | Call by reference | Type reference (TYPE) | CBGLE_WB_ALV_DISP_TYPE | '1' | ALV display type | 20110914 | ||
| 6 | IV_OUTTAB_STRUCTURE | Call by reference | Type reference (TYPE) | CBGLE_WB_STRUCTURE_NAME | '/TDAG/GFWBS_ALV_STRUC_GENERIC' | ABAP Dictionary name of structure | 20110914 | ||
| 7 | IV_SCREEN_ID | Call by reference | Type reference (TYPE) | CBGLE_WB_SCREEN_ID | Screen ID | 20110914 | |||
| 8 | IV_TAB_ID | Call by reference | Type reference (TYPE) | CBGLE_WB_TAB_ID | Tab ID | 20110914 | |||
| 9 | RO_ALV_TREE | Value transfer | Object reference (TYPE REF TO) | CL_EHSGWB_ALV_TREE | EHS: LWB ALV tree | 20110914 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110914 |
Method GET_NODES_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | 20110914 | ||||
| 2 | EV_FLG_NODE_SELECTED | Call by reference | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20110914 | |||
| 3 | IV_FLG_INCLUDE_CHILD_NODES | Call by reference | Type reference (TYPE) | AS4FLAG | ABAP_TRUE | Flag (X or Blank) | 20110914 | ||
| 4 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20110914 |
Method GET_NODES_DATA on class CL_EHSGWB_ALV_TREE has no exception.
Method GET_SELECTED_ENTRIES_INC_CHILD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | 20110914 |
Method GET_SELECTED_ENTRIES_INC_CHILD on class CL_EHSGWB_ALV_TREE has no exception.
Method ON_NODE_DOUBLE_CLICK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE_KEY | Call by reference | Attribute reference (LIKE) | 20110914 | |||||
| 2 | SENDER | Call by reference | Attribute reference (LIKE) | 20110914 |
Method ON_NODE_DOUBLE_CLICK on class CL_EHSGWB_ALV_TREE has no exception.
Method SELECTED_ENTRIES_BUFFER Signature
Method SELECTED_ENTRIES_BUFFER on class CL_EHSGWB_ALV_TREE has no parameter.
Method SELECTED_ENTRIES_BUFFER on class CL_EHSGWB_ALV_TREE has no exception.
Method SELECTED_ENTRIES_COLLECT 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 | 20110914 | ||||
| 2 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | LVC_NKEY | ALV Tree Control: Node Key | 20110914 |
Method SELECTED_ENTRIES_COLLECT on class CL_EHSGWB_ALV_TREE has no exception.
Method SELECTED_ENTRIES_RESELECT Signature
Method SELECTED_ENTRIES_RESELECT on class CL_EHSGWB_ALV_TREE has no parameter.
Method SELECTED_ENTRIES_RESELECT on class CL_EHSGWB_ALV_TREE has no exception.
Method SET_HIERARCHY_HEADER 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 | 20110914 |
Method SET_HIERARCHY_HEADER on class CL_EHSGWB_ALV_TREE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 607 |