SAP ABAP Class CL_SALV_NODE (Single Node Object of Tree Structure)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-ALV (Application Component) SAP List Viewer
     SALV_OM_METADATA (Package) ALV: Meta Data
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SALV_METADATA_TREE ALV: Basis Class for Tree Metadata 20040329
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SALV_C_NODE_RELATION ALV: Relations Between Tree Nodes 20040422
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SALV_C_TREE_STYLE Style for Tree Nodes 20040406
Properties
Class CL_SALV_NODE  
Short Description Single Node Object of Tree Structure    
Super Class CL_SALV_METADATA_TREE ALV: Basis Class for Tree Metadata 
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SALV_OM_METADATA   ALV: Meta Data 
Created 20040329   SAP 
Last change 20040930   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)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SALV_C_NODE_RELATION ALV: Relations Between Tree Nodes 20040422
2 IF_SALV_C_TREE_STYLE Style for Tree Nodes 20040406
Friends
# Friend Modeled only Created on Description
1 CL_SALV_ITEM 20040406 Item in Tree Structure
2 CL_SALV_NODES 20040329 All Node Objects of Tree Structure
3 CL_SALV_TREE_ADAPTER_BASE 20040415 ALV: Adapter for Trees
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_VIRTUAL_ROOT_NODE Constant Public Type reference (TYPE) LVC_NKEY '&VIRTUALROOT' Key for Root Node (Managed by System) 20040330
2 DATA_ROW Instance attribute Private Object reference (TYPE REF TO) DATA Data Line for Node 20040329
3 ITEM_SETTINGS Instance attribute Private Type reference (TYPE) LVC_T_LAYI Settings for Data Elements of Node 20040329
4 NODE_KEY Instance attribute Private Type reference (TYPE) SALV_DE_NODE_KEY Node Key 20040329
5 NODE_SETTINGS Instance attribute Private Type reference (TYPE) LVC_S_LAYN Node Settings 20040329
6 TEXT Instance attribute Private Type reference (TYPE) LVC_VALUE Text Description for Node 20040329
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_ITEM Instance method Private Method Change Single Item 20040406
2 COLLAPSE Instance method Public Method Hide Subnodes 20040331
3 CONSTRUCTOR Instance method Public Constructor Constructor 20040329
4 DELETE Instance method Public Method Deletes Node and All Subnodes 20040331
5 EXPAND Instance method Public Method Show Subnodes 20040331
6 GET_CHILDREN Instance method Public Method Gets Direct Subnodes 20040331
7 GET_COLLAPSED_ICON Instance method Public Method Get Icon for Collapsed Node 20040405
8 GET_DATA_ROW Instance method Public Method Gets Data Line for Node 20040405
9 GET_EXPANDED_ICON Instance method Public Method Get Icon for Expanded Node 20040405
10 GET_FIRST_CHILD Instance method Public Method Gets First Subnode 20040331
11 GET_HIERARCHY_ITEM Instance method Public Method Gets Item for Hierarchy Column 20040428
12 GET_ITEM Instance method Public Method Gets Specific Item 20040401
13 GET_KEY Instance method Public Method Get Node Key 20040329
14 GET_LAST_CHILD Instance method Public Method Gets Last Subnode 20040331
15 GET_NEXT_SIBLING Instance method Public Method Gets Next Same-Level Node 20040331
16 GET_PARENT Instance method Public Method Get Higher-Level Nodes 20040331
17 GET_PREVIOUS_SIBLING Instance method Public Method Gets Previous Same-Level Node 20040331
18 GET_ROW_STYLE Instance method Public Method Get Combination of Text and Background Color 20040405
19 GET_SUBTREE Instance method Public Method Get All Nodes of Subtree 20040331
20 GET_TEXT Instance method Public Method Get Hierarchy Column Text 20040405
21 HAS_EXPANDER Instance method Public Method Check Whether Node Is Empty and Has Expander 20040405
22 IS_ENABLED Instance method Public Method Check Whether Node Can Be Selected 20040405
23 IS_FOLDER Instance method Public Method Check Whether Node Is a Folder 20040405
24 IS_VISIBLE Instance method Public Method Check Whether Node Is Visible 20040405
25 MOVE Instance method Public Method Move Node 20040422
26 SET_COLLAPSED_ICON Instance method Public Method Set Icon of Collapsed Node 20040401
27 SET_DATA_ROW Instance method Public Method Reset Data Line 20040329
28 SET_ENABLED Instance method Public Method Set Selectability of Node 20040330
29 SET_EXPANDED_ICON Instance method Public Method Set Icon of Expanded Node 20040401
30 SET_EXPANDER Instance method Public Method Add Expander 20040329
31 SET_FOLDER Instance method Public Method Set Node as Folder with Subnodes 20040329
32 SET_ROW_STYLE Instance method Public Method Set Combination of Text and Background Color 20040329
33 SET_TEXT Instance method Public Method Set Text for Hierarchy Column 20040329
34 SET_VISIBLE Instance method Public Method Set Visibility of Node 20040330
Events
Class CL_SALV_NODE has no event.
Types
Class CL_SALV_NODE has no local type.
Method Signatures

Method CHANGE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SETTINGS Call by reference Type reference (TYPE) LVC_S_LAYI Layoutstruktur für Items des ALV-Tree Controls 20040406

Method CHANGE_ITEM on class CL_SALV_NODE has no exception.

Method COLLAPSE Signature

Method COLLAPSE on class CL_SALV_NODE has no parameter.
Method COLLAPSE on class CL_SALV_NODE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Call by reference Type reference (TYPE) SALV_DE_NODE_KEY Knotenschlüssel 20040329
2 Importing R_CONTROLLER Call by reference Object reference (TYPE REF TO) CL_SALV_CONTROLLER_TREE ALV: abstrakter Controller 20040329

Method CONSTRUCTOR on class CL_SALV_NODE has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing UPDATE_PARENT_EXPANDER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Expander des Vaters wird ggf. entfernt 20040331
2 Importing UPDATE_PARENT_FOLDER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Vater wird zum Blatt, falls keine weitere Kinder vorhanden 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method EXPAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COMPLETE_SUBTREE Call by reference Type reference (TYPE) SAP_BOOL ABAP_FALSE Gesamten Unterbaum expandieren 20040331
2 Importing LEVEL Call by reference Type reference (TYPE) I 1 Tiefe bis zu der expandiert wird 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method GET_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_T_NODES Schlüssel - Knotenpaare 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method GET_COLLAPSED_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_DE_TREE_IMAGE Bild zur Tree Hierarchie 20040405

Method GET_COLLAPSED_ICON on class CL_SALV_NODE has no exception.

Method GET_DATA_ROW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Object reference (TYPE REF TO) DATA 20040405

Method GET_DATA_ROW on class CL_SALV_NODE has no exception.

Method GET_EXPANDED_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_DE_TREE_IMAGE Bild zur Tree Hierarchie 20040405

Method GET_EXPANDED_ICON on class CL_SALV_NODE has no exception.

Method GET_FIRST_CHILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Object reference (TYPE REF TO) CL_SALV_NODE ALV: Knoten eines Trees 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method GET_HIERARCHY_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Object reference (TYPE REF TO) CL_SALV_ITEM ALV: Datenzelle des Tree 20040428

Method GET_HIERARCHY_ITEM on class CL_SALV_NODE has no exception.

Method GET_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COLUMNNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20040401
2 Returning VALUE Value transfer Object reference (TYPE REF TO) CL_SALV_ITEM ALV: Datenzelle des Tree 20040401
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method GET_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_DE_NODE_KEY Knotenschlüssel 20040329

Method GET_KEY on class CL_SALV_NODE has no exception.

Method GET_LAST_CHILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Object reference (TYPE REF TO) CL_SALV_NODE ALV: Knoten eines Trees 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method GET_NEXT_SIBLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Object reference (TYPE REF TO) CL_SALV_NODE ALV: Knoten eines Trees 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method GET_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Object reference (TYPE REF TO) CL_SALV_NODE ALV: Knoten eines Trees 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method GET_PREVIOUS_SIBLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Object reference (TYPE REF TO) CL_SALV_NODE ALV: Knoten eines Trees 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040421

Method GET_ROW_STYLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_DE_CONSTANT ALV: Datenelement für Konstanten 20040405

Method GET_ROW_STYLE on class CL_SALV_NODE has no exception.

Method GET_SUBTREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SALV_T_NODES Schlüssel - Knotenpaare 20040331
# Exception Resumable Description Created on
1 CX_SALV_MSG 20040428

Method GET_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) LVC_VALUE ALV-Control: Zelleninhalt 20040405

Method GET_TEXT on class CL_SALV_NODE has no exception.

Method HAS_EXPANDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) ABAP_BOOL 20040405

Method HAS_EXPANDER on class CL_SALV_NODE has no exception.

Method IS_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040405

Method IS_ENABLED on class CL_SALV_NODE has no exception.

Method IS_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040405

Method IS_FOLDER on class CL_SALV_NODE has no exception.

Method IS_VISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALUE Value transfer Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20040405

Method IS_VISIBLE on class CL_SALV_NODE has no exception.

Method MOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RELATED_NODE Call by reference Type reference (TYPE) SALV_DE_NODE_KEY Knotenschlüssel 20040422
2 Importing RELATIONSHIP Call by reference Type reference (TYPE) SALV_DE_NODE_RELATION Knotenrelationen im Tree 20040422
# Exception Resumable Description Created on
1 CX_SALV_MSG ALV: Allg. Fehlerklasse mit Meldung 20040422

Method SET_COLLAPSED_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SALV_DE_TREE_IMAGE Bild zur Tree Hierarchie 20040405

Method SET_COLLAPSED_ICON on class CL_SALV_NODE has no exception.

Method SET_DATA_ROW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) ANY 20040329

Method SET_DATA_ROW on class CL_SALV_NODE has no exception.

Method SET_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) ABAP_BOOL 20040405

Method SET_ENABLED on class CL_SALV_NODE has no exception.

Method SET_EXPANDED_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SALV_DE_TREE_IMAGE Bild zur Tree Hierarchie 20040405

Method SET_EXPANDED_ICON on class CL_SALV_NODE has no exception.

Method SET_EXPANDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL Expander für kinderlosen Knoten setzen 20040401

Method SET_EXPANDER on class CL_SALV_NODE has no exception.

Method SET_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) ABAP_BOOL 20040405

Method SET_FOLDER on class CL_SALV_NODE has no exception.

Method SET_ROW_STYLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SALV_DE_CONSTANT ALV: Datenelement für Konstanten 20040401

Method SET_ROW_STYLE on class CL_SALV_NODE has no exception.

Method SET_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) LVC_VALUE ALV-Control: Zelleninhalt 20040329

Method SET_TEXT on class CL_SALV_NODE has no exception.

Method SET_VISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) SAP_BOOL 20040330

Method SET_VISIBLE on class CL_SALV_NODE has no exception.
History
Last changed by/on SAP  20040930 
SAP Release Created in 700