SAP ABAP Class CL_RRHI_ADHOC_HIERARCHY (Ad Hoc Hierarchy)
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 | 20100105 |
Properties
| Class | CL_RRHI_ADHOC_HIERARCHY | |
| Short Description | Ad Hoc Hierarchy | |
| Super Class | CL_RS_BASE | BW Basis |
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSR_HIER | OLAP Hierarchy - Services |
| Created | 20100105 | SAP |
| Last change | 20140121 | 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) |
Interfaces
Class CL_RRHI_ADHOC_HIERARCHY has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_RRHI_ADHOC_HIER_ADMIN | 20100112 | Administration of Ad Hoc Hierarchies | |
| 2 | CL_RSMD_RS_READ_MDATA_NODE | 20130131 | Master Data for 0HIER_NODE | |
| 3 | CL_RSR_HIERARCHY_BUFFER | 20100112 | Buffer for OLAP Hierarchy Description |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | See coding | '!AD_HOC_' | Prefix for HIEID of Ad Hoc Hier. | 20100118 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | RS_BOOL | Ready for Use | 20100105 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Hierarchy Data | 20100105 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | RSRHIEDIR_OLAP | Hierarchy Header | 20100105 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | NT_TH_NODETXT | Node texts | 20100114 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | NT_TS_DESCRIPTION | Description of Hierarchy Data | 20100105 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Constructor | CONSTRUCTOR | 20100105 | |
| 2 | Instance method | Protected | Method | Hierarchy Header | 20100112 | |
| 3 | Instance method | Protected | Method | Transformation to INCL Format | 20100105 | |
| 4 | Instance method | Protected | Method | Returns the text for a node | 20100114 | |
| 5 | Instance method | Protected | Method | Display of Level | 20100120 | |
| 6 | Static method | Public | Method | Conversion: HIEID to HIESID | 20100118 | |
| 7 | Static method | Public | Method | Converts HIESID to HIEID | 20100118 | |
| 8 | Static method | Public | Method | Is the hierarchy ad hoc? | 20100118 | |
| 9 | Instance method | Public | Method | Submission of Hierarchy Data | 20100105 | |
| 10 | Instance method | Private | Method | Check method that checks correctness of entries | 20100108 |
Events
Class CL_RRHI_ADHOC_HIERARCHY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | NT_S_DESCRIPTION | Public | See coding | 20100105 | BEGIN OF nt_s_description,
tlevel TYPE rstlevel,
position TYPE i,
END OF nt_s_description
|
||
| 2 | NT_S_NODETXT | Public | See coding | 20100114 | BEGIN OF nT_S_NODETXT,
name type rsshnodename,
text type rstxtlg,
END OF nt_s_nodetxt
|
||
| 3 | NT_TH_NODETXT | Public | See coding | 20100114 | nt_th_nodetxt TYPE HASHED TABLE OF nt_s_nodetxt
WITH UNIQUE key name
|
||
| 4 | NT_TS_DESCRIPTION | Public | See coding | 20100105 | nt_ts_description TYPE SORTED TABLE OF nt_s_description
WITH UNIQUE KEY tlevel
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHABASNM | Call by reference | Type reference (TYPE) | RSCHANM | Merkmal | 20100105 | |||
| 2 | I_HIESID | Call by reference | Type reference (TYPE) | RSRHIESID | 20100105 | ||||
| 3 | I_NORESTNODES | Call by reference | Type reference (TYPE) | RSHIERNOREST | Unterdrückung der nicht zugeordneten Knoten | 20100105 |
Method CONSTRUCTOR on class CL_RRHI_ADHOC_HIERARCHY has no exception.
Method GET_HIEDIR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_S_HIEDIR | Value transfer | Type reference (TYPE) | RSRHIEDIR_OLAP | OLAP-relevante Information zu den Hierarchien | 20100112 |
Method GET_HIEDIR on class CL_RRHI_ADHOC_HIERARCHY has no exception.
Method GET_INCL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_INCL | Call by reference | Type reference (TYPE) | RRHI_T_INCL | 20100105 |
Method GET_INCL on class CL_RRHI_ADHOC_HIERARCHY has no exception.
Method GET_NODE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NODENAME | Call by reference | Type reference (TYPE) | RSSHNODENAME | Name des Hierarchieknotens | 20100114 | |||
| 2 | R_S_NODE_TXT | Value transfer | Type reference (TYPE) | RSTXTSMXL | Texte der nicht bebuchbaren Hierarchieknoten | 20100114 |
Method GET_NODE_TEXT on class CL_RRHI_ADHOC_HIERARCHY has no exception.
Method GET_NUMBER_OF_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TLEVEL | Value transfer | Type reference (TYPE) | RSTLEVEL | Level eines Hierarchieknotens | 20100120 |
Method GET_NUMBER_OF_LEVEL on class CL_RRHI_ADHOC_HIERARCHY has no exception.
Method HIEID_TO_HIESID_CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HIEID | Call by reference | Type reference (TYPE) | RSHIEID | Interne Hierarchie-ID (Unique-ID) | 20100118 | |||
| 2 | R_HIESID | Value transfer | Type reference (TYPE) | RSSID | Stammdaten ID | 20100118 |
Method HIEID_TO_HIESID_CONVERT on class CL_RRHI_ADHOC_HIERARCHY has no exception.
Method HIESID_TO_HIEID_CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HIESID | Call by reference | Type reference (TYPE) | RSRHIESID | SID für die Hierarchie ID | 20100118 | |||
| 2 | R_HIEID | Value transfer | Type reference (TYPE) | RSHIEID | Interne Hierarchie-ID (Unique-ID) | 20100118 |
Method HIESID_TO_HIEID_CONVERT on class CL_RRHI_ADHOC_HIERARCHY has no exception.
Method IS_HIER_ADHOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HIEID | Call by reference | Type reference (TYPE) | RSHIEID | Interne Hierarchie-ID (Unique-ID) | 20100118 | |||
| 2 | R_RESULT | Value transfer | Type reference (TYPE) | RS_BOOL | Boolean | 20100118 |
Method IS_HIER_ADHOC on class CL_RRHI_ADHOC_HIERARCHY has no exception.
Method SET_HIERDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TS_DESCRIPTION | Call by reference | Type reference (TYPE) | NT_TS_DESCRIPTION | Beschreibung der Daten-Tabelle | 20100105 | |||
| 2 | I_T_HIERDATA | Call by reference | Type reference (TYPE) | ANY TABLE | 20100105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Basis Exception für Fehler bei Hierarchien im OLAP | 20100105 |
Method _CHECK Signature
Method _CHECK on class CL_RRHI_ADHOC_HIERARCHY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Basis Exception für Fehler bei Hierarchien im OLAP | 20100108 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 730 |