SAP ABAP Class CL_RRHI_ADHOC_HIER_ADMIN (Administration of Ad Hoc Hierarchies)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSR_HIER (Package) OLAP Hierarchy - Services
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RS_BASE BW Basis 20100111
Properties
Class CL_RRHI_ADHOC_HIER_ADMIN  
Short Description Administration of Ad Hoc Hierarchies    
Super Class CL_RS_BASE BW Basis 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSR_HIER   OLAP Hierarchy - Services 
Created 20100111   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RRHI_ADHOC_HIER_ADMIN has no interface implemented.
Friends
Class CL_RRHI_ADHOC_HIER_ADMIN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_HIESID_COUNTER Static Attribute Private Type reference (TYPE) RSRHIESID Counter for HIESID 20100112
2 P_TH_BUFFER Static Attribute Private Type reference (TYPE) PT_TH_BUFFER 20100112
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20100112
2 CREATE_NEW_HIERARCHY Static method Public Method Creates a new hierarchy instance 20100112
3 GET_HIERARCHIES Static method Public Method Returns all ad hoc hierarchies for a characteristic 20100112
4 GET_HIERARCHY Static method Public Method Hierarchy Header 20100112
5 GET_HIERARCHY_INSTANCE Static method Public Method Returns hierarchy instance 20100112
6 IS_HIERARCHY_ADHOC Static method Public Method Is the hierarchy ad hoc? 20100112
7 RELEASE_HIERARCHY Static method Public Method Remove Hierarchy from Memory 20100118
8 _FILL_RSHIEDIR Static method Private Method Fills RSHIEDIR structure 20100112
9 _GET_BUFFER Static method Private Method Hierarchy Header 20100112
10 _GET_HIESID Static method Private Method Finds a (currently) unique HIESID 20100118
Events
Class CL_RRHI_ADHOC_HIER_ADMIN has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PT_S_BUFFER Private See coding 20100112 BEGIN OF PT_S_BUFFER, hienm type rshienm, hiesid type rsrhiesid, chabasnm type rschanm, txtlg type rstxtlg, hier type ref to cl_rrhi_adhoc_hierarchy, END OF pt_s_buffer
2 PT_TH_BUFFER Private See coding 20100112 pt_th_buffer type HASHED TABLE OF pt_s_buffer WITH UNIQUE key hienm chabasnm with unique hashed key hiesid_index components hiesid
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_RRHI_ADHOC_HIER_ADMIN has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RRHI_ADHOC_HIER_ADMIN has no exception.

Method CREATE_NEW_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHABASNM Call by reference Type reference (TYPE) RSCHANM Merkmal 20100112
2 Importing I_HIENM Call by reference Type reference (TYPE) RSHIENM Hierarchiename 20100112
3 Importing I_NORESTNODES Call by reference Type reference (TYPE) RSHIERNOREST RS_C_FALSE Unterdrückung der nicht zugeordneten Knoten 20100112
4 Importing I_TXTLG Call by reference Type reference (TYPE) RSTXTLG Beschreibung lang 20100112
5 Returning R_HIER Value transfer Object reference (TYPE REF TO) CL_RRHI_ADHOC_HIERARCHY Ad Hoc Hierarchie 20100112
# Exception Resumable Description Created on
1 CX_RRHI_HIER_EXISTS Hierarchie existiert schon 20100112

Method GET_HIERARCHIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_RSHIEDIR Call by reference Type reference (TYPE) RSSH_T_HIEDIR Tabelle für Hierarchieheader 20100112
2 Changing C_T_RSHIEDIRT Call by reference Type reference (TYPE) RSSH_T_RSHIEDIRT Beschreibung einer Hierarchie 20100112
3 Changing C_T_RSHIEDIRTXT Call by reference Type reference (TYPE) RSSH_T_HIEDIRTXT Hierarchiekopf mit Text Tabelle 20100112
4 Importing I_CHABASNM Call by reference Type reference (TYPE) RSCHANM Merkmal 20100112

Method GET_HIERARCHIES on class CL_RRHI_ADHOC_HIER_ADMIN has no exception.

Method GET_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_HIEDIR Call by reference Type reference (TYPE) RSRHIEDIR_OLAP OLAP-relevante Information zu den Hierarchien 20100112
2 Exporting E_S_HIETEXT Call by reference Type reference (TYPE) RSTXTSML Struktur mit Kurz-, Mittel- und Langtext 20100112
3 Exporting E_S_RSHIEDIR Call by reference Type reference (TYPE) RSHIEDIR Hierarchieverzeichnis 20100112
4 Exporting E_T_RSHIEDIRT Call by reference Type reference (TYPE) RSSH_T_RSHIEDIRT Beschreibung einer Hierarchie 20100112
5 Importing I_CHABASNM Call by reference Type reference (TYPE) RSCHANM Merkmal 20100112
6 Importing I_HIEID Call by reference Type reference (TYPE) RSHIEID Interne Hierarchie-ID (Unique-ID) 20100112
7 Importing I_HIENM Call by reference Type reference (TYPE) RSHIENM Hierarchiename 20100112
8 Importing I_HIESID Call by reference Type reference (TYPE) RSRHIESID SID für die Hierarchie ID 20100112
# Exception Resumable Description Created on
1 CX_RSR_HIER_NOT_FOUND Hierarchie nicht gefunden 20100112

Method GET_HIERARCHY_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIEID Call by reference Type reference (TYPE) RSHIEID Interne Hierarchie-ID (Unique-ID) 20100114
2 Importing I_HIESID Call by reference Type reference (TYPE) RSRHIESID SID für die Hierarchie ID 20100112
3 Returning R_INST Value transfer Object reference (TYPE REF TO) CL_RRHI_ADHOC_HIERARCHY Ad Hoc Hierarchie 20100112
# Exception Resumable Description Created on
1 CX_RSR_HIER_NOT_FOUND Hierarchie nicht gefunden 20100112

Method IS_HIERARCHY_ADHOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIESID Call by reference Type reference (TYPE) RSRHIESID SID für die Hierarchie ID 20100112
2 Returning R_RESULT Value transfer Type reference (TYPE) RS_BOOL Boolean 20100112

Method IS_HIERARCHY_ADHOC on class CL_RRHI_ADHOC_HIER_ADMIN has no exception.

Method RELEASE_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIESID Call by reference Type reference (TYPE) RSRHIESID SID für die Hierarchie ID 20100118
# Exception Resumable Description Created on
1 CX_RSR_HIER_NOT_FOUND Hierarchie nicht gefunden 20100118

Method _FILL_RSHIEDIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_BUFFER Call by reference Type reference (TYPE) PT_S_BUFFER 20100112
2 Returning R_S_HIEDIRTXT Value transfer Type reference (TYPE) RSSH_S_HIEDIRTXT Hierarchiekopf mit Text 20100112

Method _FILL_RSHIEDIR on class CL_RRHI_ADHOC_HIER_ADMIN has no exception.

Method _GET_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHABASNM Call by reference Type reference (TYPE) RSCHANM Merkmal 20100112
2 Importing I_HIEID Call by reference Type reference (TYPE) RSHIEID Interne Hierarchie-ID (Unique-ID) 20100112
3 Importing I_HIENM Call by reference Type reference (TYPE) RSHIENM Hierarchiename 20100112
4 Importing I_HIESID Call by reference Type reference (TYPE) RSRHIESID SID für die Hierarchie ID 20100112
5 Returning R_S_BUFFER Value transfer Type reference (TYPE) PT_S_BUFFER 20100112
# Exception Resumable Description Created on
1 CX_RSR_HIER_NOT_FOUND Hierarchie nicht gefunden 20100112

Method _GET_HIESID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_HIESID Value transfer Type reference (TYPE) RSRHIESID SID für die Hierarchie ID 20100118

Method _GET_HIESID on class CL_RRHI_ADHOC_HIER_ADMIN has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 730