SAP ABAP Class CL_RSR_HIERARCHY_BUFFER (Buffer for OLAP Hierarchy Description)
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 20060313
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SERIALIZABLE_OBJECT Serializable Object 20070403
Properties
Class CL_RSR_HIERARCHY_BUFFER  
Short Description Buffer for OLAP Hierarchy Description    
Super Class CL_RS_BASE BW Basis 
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package RSR_HIER   OLAP Hierarchy - Services 
Created 20010123   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_RSR_HIERARCHY_BINCL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 RRHI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RRSI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RSR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SERIALIZABLE_OBJECT Serializable Object 20070403
Friends
# Friend Modeled only Created on Description
1 CL_RSR_HIERARCHY_BINCL 20010209 Hierarchy with Inclusion Table
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_THJ_HIERARCHY Instance attribute Public Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20080423
2 O_R_BINCL Instance attribute Protected Object reference (TYPE REF TO) CL_RSR_HIERARCHY_BUFFER_BINCL OLAP Hierarchy Description BINCL 20021204
3 O_S_BINCL_INFO Instance attribute Protected Type reference (TYPE) RRHI_S_BINCL_INFO Hierarchies: Additional Info for BINCL Buffer Object 20020225
4 O_S_HIEDIR Instance attribute Protected Type reference (TYPE) RRHI_S_HIEDIR 20010123
5 O_TH_BINDEX Instance attribute Protected Type reference (TYPE) RRHI_TH_BINDEX 20010123
6 O_TH_REF_SUBNODES Instance attribute Protected Type reference (TYPE) NT_TH_REF_SUBNODES 20080423
7 O_TSX_TLEVEL Instance attribute Protected Type reference (TYPE) RRHI_TSX_TLEVEL TLevels of a Hierarchy 20010302
8 O_TS_BINDEX_DOUBLE Instance attribute Protected Type reference (TYPE) RRHI_TS_BINDEX_DOUBLE_INT Sorted Index for Hierarchy for Duplicate Internal (GrOpt) 20010123
9 O_TS_REF_BINDEX Instance attribute Protected Type reference (TYPE) NT_TS_REF_INDEX 20080423
10 O_T_LEAF_RANGE Instance attribute Protected Type reference (TYPE) RSDD_T_RANGE Range Expanded Around SID 20040202
11 P_TH_HIERARCHY Static Attribute Private Type reference (TYPE) G_TH_HIERARCHY 20010205
12 P_VERSION Constant Private Type reference (TYPE) I 1 20101201
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor (Only Create Objects with HIERARCHY_GET) 20010123
2 EXPORT_DATABASE Instance method Public Method 20021205
3 GET_CHARGEABLES_NODES Instance method Public Method Detects the nodes that can be posted to 20080320
4 GET_HIEDIR Instance method Public Method Returns Hierarchy Directory 20070119
5 HIERARCHY_BUFFER_DELETE Static method Public Method Deletes a Hierarchy from the Shared Buffer 20010528
6 HIERARCHY_GET Static method Public Method Factory: Only Holds Hierarchy Object Once in Storage 20010205
7 INT_BUFFER_DELETE Instance method Public Method Delete internal p_th_hierarchy buffer 20130219
8 TLEVELS_GET Instance method Public Method Returns the cardinality of the nodes for each level 20081010
9 _ADJUST_RESTPATH Instance method Private Method Adjusts the node for the remaining path 20081118
10 _ATTRIBUTES_CLEAR Instance method Private Method Deletes the Instance Attributes 20010126
11 _BINDEX_GET Instance method Private Method Finds the index of a node 20071031
12 _BUFFERKEY_GET Static method Private Method Determine Key for Shared Buffer 20010123
13 _BUFFER_READ Instance method Private Method Read Hierarchy Structures from the Shared Buffer 20010123
14 _BUFFER_WRITE Instance method Private Method Write Hierarchy Structures to the Shared Buffer 20010123
15 _CAN_BUFFERED Instance method Private Method Can BINCL be buffered? 20090421
16 _CHARGEABLE_GET Instance method Private Method Determines if a Node Type can be Updated 20010302
17 _CHARGEABLE_NIOBJ_COLLECT Instance method Private Method Collects Postable Node Types 20070129
18 _GET_SID_VALIDITY Instance method Private Method Can BINCL be buffered? 20110207
19 _HIEDIR_READ Instance method Private Method Read Hierarchy Directory 20010123
20 _INCL_READ_DB Instance method Private Method Read Inclusion Table from Database 20010123
21 _INCL_READ_VIRT Instance method Private Method Reading a Virtual Hierarchy 20040621
22 _INCL_TO_BINCL Instance method Private Method Convert Inclusion Table to Hierarchy Structures 20010123
23 _INCL_TO_BINCL_1 Instance method Private Method Convert Inclusion Table to Hierarchy Structures - 1 - 20010124
24 _INCL_TO_BINCL_2 Instance method Private Method Convert Inclusion Table to Hierarchy Structures - 2 - 20010124
25 _INCL_TO_BINCL_THJ Instance method Private Method Convert Inclusion Table to Hierarchy Structures 20071030
26 _MARK_CHARGEABLE_PARTS Instance method Private Method Selects Postable Parts of Node 20070129
27 _SET_ADDITIONAL_INFO Instance method Private Method 20020225
28 _TLEVEL_INFO_FILL Instance method Private Method Fill Level Information 20010302
Events
Class CL_RSR_HIERARCHY_BUFFER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 G_S_HIERARCHY Private See coding G_S_HIERARCHY 20010205 BEGIN OF g_s_hierarchy, hiesid TYPE rrhi_hiesid, sver TYPE rrhi_sver, hierarchy TYPE REF TO cl_rsr_hierarchy_buffer, END OF g_s_hierarchy
2 G_S_NTYPEID Private See coding G_S_NTYPEID 20010124 BEGIN OF g_s_ntypeid, tlevel TYPE rsrtlevel, ntypeid TYPE rrntypeid, END OF g_s_ntypeid
3 G_S_TLEVEL Private See coding 20010125 BEGIN OF g_s_tlevel, tlevel TYPE rsrtlevel, bindex_p TYPE i, child_cnt TYPE rrhi_child_cnt, END OF g_s_tlevel
4 G_TH_HIERARCHY Private See coding G_TH_HIERARCHY 20010205 g_th_hierarchy TYPE HASHED TABLE OF g_s_hierarchy WITH UNIQUE KEY hiesid sver INITIAL SIZE 0
5 G_TS_INCL_CORR Private See coding 20010326 G_TS_INCL_CORR type sorted table of rrhi_s_incl with non-unique key pred initial size 0
6 G_TS_NTYPEID Private See coding G_TS_NTYPEID 20010124 g_ts_ntypeid TYPE SORTED TABLE OF g_s_ntypeid WITH UNIQUE KEY tlevel ntypeid INITIAL SIZE 10
7 G_T_BINCL Private See coding 20010124 g_t_bincl TYPE STANDARD TABLE OF rrhi_s_bincl_int WITH NON-UNIQUE KEY table_line INITIAL SIZE 0
8 G_T_BINDEX_DOUBLE Private See coding G_T_BINDEX_DOUBLE 20010124 g_t_bindex_double TYPE STANDARD TABLE OF rrhi_s_bindex_double_int WITH NON-UNIQUE KEY succ tlevel INITIAL SIZE 0
9 G_T_TLEVEL Private See coding G_T_TLEVEL 20010125 g_t_tlevel TYPE STANDARD TABLE OF g_s_tlevel WITH NON-UNIQUE KEY tlevel INITIAL SIZE 0
10 NT_S_KTAB Public See coding 20101201 BEGIN OF nt_s_ktab, hiesid TYPE rsrhiesid, niobjnm TYPE rsniobjnm, nodename TYPE rsshnodename_maxlen, linkno TYPE rsrllinkno, sid TYPE rshisid, osid TYPE rshosid, END OF nt_s_ktab
11 NT_S_REF_BINDEX Public See coding 20080423 BEGIN OF nt_s_ref_bindex, ref_node TYPE rssid, bindex TYPE rrhi_bindex, END OF nt_s_ref_bindex
12 NT_TH_REF_SUBNODES Public See coding 20080423 nt_th_ref_subnodes TYPE HASHED TABLE OF rssid WITH UNIQUE DEFAULT KEY
13 NT_TS_KTAB Public See coding 20101201 nt_ts_ktab TYPE SORTED TABLE OF nt_s_ktab WITH UNIQUE KEY hiesid niobjnm nodename linkno
14 NT_TS_REF_INDEX Public See coding 20080423 nt_ts_ref_index TYPE SORTED TABLE OF nt_s_ref_bindex WITH UNIQUE KEY ref_node
Method Signatures

Method CONSTRUCTOR 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) RRHI_HIESID 20010123
2 Importing I_SVER Call by reference Type reference (TYPE) RRHI_SVER 20010124
3 Importing I_S_HIEDIR Call by reference Type reference (TYPE) RSRHIEDIR_OLAP OLAP-relevante Information zu den Hierarchien 20070119
# Exception Resumable Description Created on
1 CX_RSR_HIER_NOT_FOUND Hierarchie nicht gefunden 20010201

Method EXPORT_DATABASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_SUCCESS Value transfer Type reference (TYPE) RS_BOOL Boolean 20021205

Method EXPORT_DATABASE on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method GET_CHARGEABLES_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_NODE_LEAF Call by reference Type reference (TYPE) RRSI_TS_NODE_LEAF 20091221

Method GET_CHARGEABLES_NODES on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method GET_HIEDIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_S_HIEDIR Value transfer Type reference (TYPE) RSRHIEDIR_OLAP OLAP-relevante Information zu den Hierarchien 20070119

Method GET_HIEDIR on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method HIERARCHY_BUFFER_DELETE 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) RRHI_HIESID 20010528
2 Importing I_SVER Call by reference Type reference (TYPE) RRHI_SVER 20010528

Method HIERARCHY_BUFFER_DELETE on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method HIERARCHY_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_HIERARCHY Call by reference Object reference (TYPE REF TO) CL_RSR_HIERARCHY_BUFFER Puffer für OLAP-Hierarchiebeschreibung 20010205
2 Importing I_HIESID Call by reference Type reference (TYPE) RRHI_HIESID 20010205
3 Importing I_SVER Call by reference Type reference (TYPE) RRHI_SVER 20010205
4 Importing I_S_HIEDIR Call by reference Type reference (TYPE) RSRHIEDIR_OLAP OLAP-relevante Information zu den Hierarchien 20070119
# Exception Resumable Description Created on
1 CX_RSR_HIER_NOT_FOUND Hierarchie nicht gefunden 20010205

Method INT_BUFFER_DELETE 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) RRHI_HIESID 20130219
2 Importing I_SVER Call by reference Type reference (TYPE) RRHI_SVER 20130219

Method INT_BUFFER_DELETE on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method TLEVELS_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TSX_TLEVEL Call by reference Type reference (TYPE) RRHI_TSX_TLEVEL Tlevels einer Hierarchie 20081010

Method TLEVELS_GET on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _ADJUST_RESTPATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_INCL Call by reference Type reference (TYPE) RRHI_T_INCL 20081118

Method _ADJUST_RESTPATH on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _ATTRIBUTES_CLEAR Signature

Method _ATTRIBUTES_CLEAR on class CL_RSR_HIERARCHY_BUFFER has no parameter.
Method _ATTRIBUTES_CLEAR on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _BINDEX_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_BINDEX Call by reference Type reference (TYPE) RRHI_BINDEX Index auf die Tabelle BINDEX 20071031
2 Exporting E_S_BINDEX Call by reference Type reference (TYPE) RRHI_S_BINDEX Hashed Index auf die Hierarchiebeschreibung 20071031
3 Exporting E_T_BINDEX Call by reference Type reference (TYPE) CL_RSR_HIERARCHY_BINCL=>PT_T_BINDEX 20071031
4 Exporting E_UNIQUE Call by reference Type reference (TYPE) RS_BOOL Boolean 20071031
5 Importing I_PRED Call by reference Type reference (TYPE) RSSID RRSI_C_SID-NOT_EXIST Stammdaten ID 20071031
6 Importing I_SUCC Call by reference Type reference (TYPE) RSSID Stammdaten ID 20071031

Method _BINDEX_GET on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _BUFFERKEY_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIESID Value transfer Type reference (TYPE) RRHI_HIESID 20010123
2 Importing I_SVER Value transfer Type reference (TYPE) RRHI_SVER 20010123
3 Returning R_BUFFERKEY Value transfer Type reference (TYPE) RSIX-SRTFD BW: Clustertabelle Key 20010123

Method _BUFFERKEY_GET on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _BUFFER_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Call by reference Type reference (TYPE) SY-SUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen 20010123
2 Importing I_VALIDITY_MIN Call by reference Type reference (TYPE) RSTIMESTMP älteste erlaubte Gültigkeit 20110207

Method _BUFFER_READ on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _BUFFER_WRITE Signature

Method _BUFFER_WRITE on class CL_RSR_HIERARCHY_BUFFER has no parameter.
Method _BUFFER_WRITE on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _CAN_BUFFERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_RESULT Value transfer Type reference (TYPE) RS_BOOL Boolean 20090421

Method _CAN_BUFFERED on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _CHARGEABLE_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CHARGEABLE Call by reference Type reference (TYPE) RS_BOOL Boolean 20010302
2 Importing I_NTYPEID Call by reference Type reference (TYPE) RRNTYPEID Interne Id für den Knotentype 20010302

Method _CHARGEABLE_GET on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _CHARGEABLE_NIOBJ_COLLECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_T_IOBJNM Value transfer Type reference (TYPE) RSD_T_IOBJNM List of InfoObjects 20070129

Method _CHARGEABLE_NIOBJ_COLLECT on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _GET_SID_VALIDITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SID_NOT_STABLE Value transfer Type reference (TYPE) RS_BOOL SID nicht stabil 20110207
2 Exporting E_SID_VALIDITY Call by reference Type reference (TYPE) RSTIMESTMP Gültigkeit der SID 20110207

Method _GET_SID_VALIDITY on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _HIEDIR_READ 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) RRHI_HIESID 20010123
2 Importing I_SVER Call by reference Type reference (TYPE) RRHI_SVER 20010124
# Exception Resumable Description Created on
1 CX_RSR_HIER_NOT_FOUND Hierarchie nicht gefunden 20010201

Method _INCL_READ_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_INCL Call by reference Type reference (TYPE) RRHI_T_INCL 20010123

Method _INCL_READ_DB on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _INCL_READ_VIRT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_INCL Call by reference Type reference (TYPE) RRHI_T_INCL 20090415

Method _INCL_READ_VIRT on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _INCL_TO_BINCL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_INCL Call by reference Type reference (TYPE) RRHI_T_INCL 20010124

Method _INCL_TO_BINCL on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _INCL_TO_BINCL_1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_NTYPEID Call by reference Type reference (TYPE) G_TS_NTYPEID 20010124
2 Importing I_TS_INCL_CORR Call by reference Type reference (TYPE) G_TS_INCL_CORR 20010326
3 Importing I_T_INCL Call by reference Type reference (TYPE) RRHI_T_INCL 20010124

Method _INCL_TO_BINCL_1 on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _INCL_TO_BINCL_2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TLEVEL_MEM_CNT Call by reference Type reference (TYPE) RRHI_TLEVEL_BIT 20010302

Method _INCL_TO_BINCL_2 on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _INCL_TO_BINCL_THJ Signature

Method _INCL_TO_BINCL_THJ on class CL_RSR_HIERARCHY_BUFFER has no parameter.
Method _INCL_TO_BINCL_THJ on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _MARK_CHARGEABLE_PARTS Signature

Method _MARK_CHARGEABLE_PARTS on class CL_RSR_HIERARCHY_BUFFER has no parameter.
Method _MARK_CHARGEABLE_PARTS on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _SET_ADDITIONAL_INFO Signature

Method _SET_ADDITIONAL_INFO on class CL_RSR_HIERARCHY_BUFFER has no parameter.
Method _SET_ADDITIONAL_INFO on class CL_RSR_HIERARCHY_BUFFER has no exception.

Method _TLEVEL_INFO_FILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_NTYPEID Call by reference Type reference (TYPE) G_TS_NTYPEID 20010302
2 Importing I_TLEVEL_MEM_CNT Call by reference Type reference (TYPE) RRHI_TLEVEL_BIT 20010302

Method _TLEVEL_INFO_FILL on class CL_RSR_HIERARCHY_BUFFER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 30A