SAP ABAP Class CL_CFX_HIERARCHY (General Hierarchy Iterator)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PLM-CFO (Application Component) Collaboration Folders
     CFX_FOLDERS (Package) Collaboration Folders: Folder and Documents
Properties
Class CL_CFX_HIERARCHY  
Short Description General Hierarchy Iterator    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CFX_FOLDERS   Collaboration Folders: Folder and Documents 
Created 20041004   SAP 
Last change 20141109    
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 CFXF1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CFX_HIERARCHY has no interface implemented.
Friends
Class CL_CFX_HIERARCHY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_INSTANCES Instance attribute Protected Type reference (TYPE) CFX_TT_HIERARCHY Node in Hierarchy 20041004
2 MT_OBJECT_TYPE_RANGE Instance attribute Protected Type reference (TYPE) CFX_TT_OBJECT_TYPE_RANGE Object Type Range 20041027
3 M_CURRENT_INDEX Instance attribute Protected Type reference (TYPE) I 0 Current Index for an Instance 20041004
4 M_IS_DONE Instance attribute Protected Type reference (TYPE) CFX_BOOLEAN ABAP_TRUE First/Last Instance Reached 20041004
5 M_LAST_INDEX Instance attribute Protected Type reference (TYPE) I 0 Index of Last Instance 20041004
Methods
# Method Level Visibility Method type Description Created on
1 ADD Instance method Private Method Add Node 20041005
2 CREATE_HIERARCHY_FOR_ROOT Instance method Public Method Structures Hierarchy for Root Node 20041005
3 EXPLODE Instance method Private Method Gets Subnodes 20041005
4 GET_ALL Instance method Public Method All Instances 20041004
5 GET_COUNT Instance method Public Method Number of Instances Corresponding to the Filter 20041004
6 GET_CURRENT Instance method Public Method Get Current Node 20041004
7 GET_FIRST Instance method Public Method Get First Node 20041004
8 GET_LAST Instance method Public Method Last Node 20041004
9 GET_LEVEL_IN_HIERARCHY Instance method Public Method Gets the Level in the hierarchy 20070411
10 GET_NEXT Instance method Public Method Get Next Node 20041004
11 GET_PREVIOUS Instance method Public Method Get Previous Node 20041004
12 IS_DONE Instance method Public Method Final or First Node Has Been Reached 20041004
13 MOVE Instance method Public Method Sort Object 1 Under Object 2 20041018
14 REGISTER_CHILDREN Instance method Private Method Registers Children for Node in Hierarchy Table 20041005
15 REMOVE Instance method Public Method Delete a node 20041004
16 REMOVE_ALL Instance method Public Method Delete All Nodes 20041004
17 SET_CURRENT Instance method Public Method Determine Current Nodes 20041004
Events
Class CL_CFX_HIERARCHY has no event.
Types
Class CL_CFX_HIERARCHY has no local type.
Method Signatures

Method ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NODE_IS_RECURSIVE Call by reference Type reference (TYPE) CFX_BOOLEAN 'X' = Knoten abgelehnt, da er rekursive Struktur erzeugt 20050711
2 Importing IP_INSTANCE Call by reference Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041005
3 Importing IP_PARENT Call by reference Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041027
4 Importing I_LEVEL Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041005

Method ADD on class CL_CFX_HIERARCHY has no exception.

Method CREATE_HIERARCHY_FOR_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IS_INCOMPLETE Call by reference Type reference (TYPE) ABAP_BOOL 20070917
2 Importing IP_ROOT Value transfer Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041005
3 Importing IT_OBJECT_TYPE_RANGE Call by reference Type reference (TYPE) CFX_TT_OBJECT_TYPE_RANGE Objekttyp-Range 20041027
4 Importing I_CREATE_FOR_EXPORT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20070917
5 Importing I_MAX_EXPLOSION_LEVEL Call by reference Type reference (TYPE) INT4 Maximale Auflösungstufe 20041005

Method CREATE_HIERARCHY_FOR_ROOT on class CL_CFX_HIERARCHY has no exception.

Method EXPLODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IS_INCOMPLETE Call by reference Type reference (TYPE) ABAP_BOOL 20070917
2 Importing IP_PARENT Call by reference Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041005
3 Importing I_CREATE_FOR_EXPORT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20070917
4 Importing I_EXPLOSION_LEVEL Call by reference Type reference (TYPE) INT4 0 Aktuelle Auflösungsstufe 20041005
5 Importing I_MAX_EXPLOSION_LEVEL Call by reference Type reference (TYPE) INT4 Maximale Auflösungsstufe 20041005

Method EXPLODE on class CL_CFX_HIERARCHY has no exception.

Method GET_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_HIERARCHY_ELEMENTS Value transfer Type reference (TYPE) CFX_TT_HIERARCHY Knoten in der Hierarchie 20041004

Method GET_ALL on class CL_CFX_HIERARCHY has no exception.

Method GET_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_COUNT Value transfer Type reference (TYPE) I Anzahl der Instanzen 20041004

Method GET_COUNT on class CL_CFX_HIERARCHY has no exception.

Method GET_CURRENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_NODE Value transfer Type reference (TYPE) CFX_TS_HIERARCHY Knoten in der Hierarchie 20041005

Method GET_CURRENT on class CL_CFX_HIERARCHY has no exception.

Method GET_FIRST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_NODE Value transfer Type reference (TYPE) CFX_TS_HIERARCHY Knoten in der Hierarchie 20041005

Method GET_FIRST on class CL_CFX_HIERARCHY has no exception.

Method GET_LAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_NODE Value transfer Type reference (TYPE) CFX_TS_HIERARCHY Knoten in der Hierarchie 20041005

Method GET_LAST on class CL_CFX_HIERARCHY has no exception.

Method GET_LEVEL_IN_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_HLEVEL Call by reference Type reference (TYPE) INT4 Natural number 20070411
2 Importing IP_INSTANCE Call by reference Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Common Interface of All Objects in the Hierarchy 20070411

Method GET_LEVEL_IN_HIERARCHY on class CL_CFX_HIERARCHY has no exception.

Method GET_NEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_NODE Value transfer Type reference (TYPE) CFX_TS_HIERARCHY Knoten in der Hierarchie 20041005

Method GET_NEXT on class CL_CFX_HIERARCHY has no exception.

Method GET_PREVIOUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_NODE Value transfer Type reference (TYPE) CFX_TS_HIERARCHY Knoten in der Hierarchie 20041005

Method GET_PREVIOUS on class CL_CFX_HIERARCHY has no exception.

Method IS_DONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_IS_DONE Value transfer Type reference (TYPE) CFX_BOOLEAN Boolscher Typ 20041004

Method IS_DONE on class CL_CFX_HIERARCHY has no exception.

Method MOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ELEMENT1 Call by reference Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041018
2 Importing IP_ELEMENT2 Call by reference Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041018
3 Importing I_BELOW Call by reference Type reference (TYPE) ABAP_BOOL Sortiert El1 unter El2 ein wenn wahr 20041018

Method MOVE on class CL_CFX_HIERARCHY has no exception.

Method REGISTER_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_CHILDREN Call by reference Object reference (TYPE REF TO) CL_CFX_ITERATOR Untergeordnete Knoten 20041005
2 Importing IP_NODE Value transfer Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041005
# Exception Resumable Description Created on
1 INSTANCE_NOT_FOUND Instance ist nicht im Container enthalten 20041005

Method REMOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_INSTANCE Value transfer Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041004

Method REMOVE on class CL_CFX_HIERARCHY has no exception.

Method REMOVE_ALL Signature

Method REMOVE_ALL on class CL_CFX_HIERARCHY has no parameter.
Method REMOVE_ALL on class CL_CFX_HIERARCHY has no exception.

Method SET_CURRENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_INSTANCE Value transfer Object reference (TYPE REF TO) IF_CFX_HIERARCHY_ELEMENT Gemeinsame Schnittstelle aller Objekte in der Hierarchie 20041004
# Exception Resumable Description Created on
1 INSTANCE_NOT_FOUND Instance ist nicht im Container enthalten 20041004
History
Last changed by/on SAP  20141109 
SAP Release Created in 400