SAP ABAP Class CL_RSDRH_TREX_STORAGE (Database Table as Hierarchy Storage)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷ BW-BEX-OT (Application Component) OLAP Technology
⤷ RSDRC (Package) Data Manager InfoProvider Read Access
⤷ BW-BEX-OT (Application Component) OLAP Technology
⤷ RSDRC (Package) Data Manager InfoProvider Read Access
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_RSDRH_HIER_STORAGE | Storage for a resolved hierachy restriction | 20040625 |
Properties
Class | CL_RSDRH_TREX_STORAGE | |
Short Description | Database Table as Hierarchy Storage | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | RSDRC | Data Manager InfoProvider Read Access |
Created | 20040625 | SAP |
Last change | 20130531 | 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) |
2 | CL_RSDRH_HIER_REST | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | IF_RSDRH_HIER_STORAGE | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
4 | RSD | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
5 | RSDD | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
6 | RSDRC | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
7 | RSDRH | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
8 | RSDRS | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_RSDRH_HIER_STORAGE | Storage for a resolved hierachy restriction | 20040625 |
Friends
Class CL_RSDRH_TREX_STORAGE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | N_C_TREX_VIEW | Constant | Public | Type reference (TYPE) | STRING | 'VIEW_' | TREX VIEWindicator | 20040803 | |
2 | N_TABLNM | Instance attribute | Public | Attribute reference (LIKE) | 20040625 | ||||
3 | PS_SHOW_HIER | Static Attribute | Private | Type reference (TYPE) | RS_BOOL | 'Y' | Show hierarchy result tables ? | 20050810 | |
4 | PS_TREX_VIEW_ID | Static Attribute | Private | Type reference (TYPE) | NUMC4 | TREX View ID | 20040629 | ||
5 | PS_TSX_VIEWS | Static Attribute | Private | Type reference (TYPE) | TN_TS_VIEW_ENTRY | All views for actual characteristic | 20050208 | ||
6 | P_RFCDEST | Instance attribute | Private | Type reference (TYPE) | RFCDEST | TREX RFC Destination | 20040628 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_EQUALS_TO_NODEREST | Static method | Public | Method | Process Hier Restrictions inside seldr | 20050810 |
2 | ADD_TABLE_RESTRICTION | Static method | Private | Method | Add a selt table restriction for the hier restriction | 20050210 |
3 | BUILD_FEMS_REST | Instance method | Public | Method | Build fems restriction if necessary | 20050810 |
4 | BUILD_FEMS_TABLDR | Static method | Private | Method | Add a selt table restriction for the hier restriction | 20050210 |
5 | BUILD_SINGLE_VIEW | Static method | Private | Method | Build all logical TREX views needed | 20041215 |
6 | BUILD_VIEW | Static method | Public | Method | Build all logical TREX views needed | 20040629 |
7 | CLEANUP | Instance method | Public | Method | 20040625 | |
8 | CREATE | Instance method | Public | Method | 20040625 | |
9 | CREATE_REF | Instance method | Public | Method | 20040625 | |
10 | DROP | Instance method | Public | Method | 20040625 | |
11 | GET_STORAGE_FOR_LEAFS | Static method | Private | Method | Get Storage object for leaf and equals restrictions | 20041208 |
12 | MAP_TREX_EXCEPTION | Static method | Public | Method | Create a TREX exception for message handler | 20041216 |
13 | READ | Instance method | Public | Method | 20040625 | |
14 | REMOVE_DUPL_FEMS_REST | Static method | Private | Method | Build all logical TREX views needed | 20050210 |
15 | RETURN_TREX_MSG | Static method | Private | Method | Raise an exception from the sy-msg fields set by trex | 20040802 |
16 | SHOW_RESOLVED_RESTRICTIONS | Static method | Public | Method | Show resolved hierarchy restrictions | 20050810 |
17 | WRITE | Instance method | Public | Method | 20040625 | |
18 | WRITE_EQUALS | Instance method | Private | Method | Write equals to hierarchy storage | 20041208 |
Events
Class CL_RSDRH_TREX_STORAGE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TN_SX_VIEW_ENTRY | Public | See coding | 20050208 | BEGIN OF tn_sx_view_entry,
viewnm TYPE rsd_tablnm,
first_tablnm TYPE rsd_tablnm,
th_tables TYPE rsd_th_tablnm,
END OF tn_sx_view_entry
|
||
2 | TN_S_FEMS_REST | Public | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_S_FEMS_REST | 20050810 |
|
|
3 | TN_TH_SELT | Public | See coding | 20050209 | tn_th_selt TYPE HASHED TABLE OF rsdrc_s_selt
WITH UNIQUE KEY chanm tabtp tabnm joinfieldnm selectfieldnm
is_key hier_unique seq_nr
|
||
4 | TN_TH_TABLNM | Public | See coding | 20050810 | tn_th_tablnm type hashed table of rsd_tablnm with unique key table_line
initial size 0
|
||
5 | TN_TH_UNION_VIEW | Public | Type reference (TYPE) | RSD_TH_TABLNM | UNION View definition | 20040805 |
|
6 | TN_TSL_FEMS_REST | Public | See coding | 20050810 | tn_tsl_fems_rest TYPE SORTED TABLE OF tn_s_fems_rest WITH NON-UNIQUE KEY
fems chanm tabnm fieldnm value
|
||
7 | TN_TS_FEMS_REST | Public | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_TS_FEMS_REST | 20050810 |
|
|
8 | TN_TS_VIEW_ENTRY | Public | See coding | 20050208 | tn_ts_view_entry TYPE SORTED TABLE OF tn_sx_view_entry
WITH NON-UNIQUE KEY first_tablnm
|
Method Signatures
Method ADD_EQUALS_TO_NODEREST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_TH_CHARET | Call by reference | Type reference (TYPE) | RSDR0_TH_CHARET | Tabelle selektierter Merkmale | 20050810 | ||
2 | Changing | C_TSX_SEL | Call by reference | Type reference (TYPE) | RSDD_TSX_SELDR | Selektion an den Datamanager | 20050810 | ||
3 | Changing | C_TS_FEMS_REST | Call by reference | Type reference (TYPE) | TN_TS_FEMS_REST | 20050810 | |||
4 | Changing | C_T_TABLNM | Call by reference | Type reference (TYPE) | RSDRH_T_TABLNM | Table Name | 20050810 | ||
5 | Exporting | E_TABLNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | Table with sequence number <> 0 | 20050810 | ||
6 | Importing | I_SX_HIER | Call by reference | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_SX_HIER | Hierarchy Meta Information | 20050810 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSR_HIER_MEMBER_NOT_FOUND | Hierarchie-Objekt (Knoten/Blatt) nicht gefunden | 20050810 | |
2 | CX_RSR_HIER_NOT_FOUND | Hierarchie nicht gefunden | 20050810 |
Method ADD_TABLE_RESTRICTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_TH_SELT | Call by reference | Type reference (TYPE) | TN_TH_SELT | SELT table restrictions | 20050210 | ||
2 | Changing | C_TS_FEMS_REST | Call by reference | Type reference (TYPE) | TN_TS_FEMS_REST | 20050210 | |||
3 | Importing | I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20050210 | |||
4 | Importing | I_FEMS | Call by reference | Type reference (TYPE) | RSIDN4 | RSDD_C_FEMS0 | BW: Allgemeines Bezugsfeld für interne IDs | 20050210 | |
5 | Importing | I_HIER_UNIQUE | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | Boolean | 20050210 | |
6 | Importing | I_SEQ_NR | Call by reference | Type reference (TYPE) | I | 0 | Seqence Number of Query | 20050210 | |
7 | Importing | I_TH_CHANM | Call by reference | Type reference (TYPE) | RSD_TH_CHANM | chanms where pred is needed in groupby (or SFC) | 20121017 | ||
8 | Importing | I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Tabelle der benötigten Merkmale usw. | 20050210 | ||
9 | Importing | I_VIEWNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | 20050210 |
Method ADD_TABLE_RESTRICTION on class CL_RSDRH_TREX_STORAGE has no exception.
Method BUILD_FEMS_REST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20050810 | |||
2 | Importing | I_FEMS | Call by reference | Type reference (TYPE) | RSDD_SX_SELDR-FEMS | 20050810 | |||
3 | Importing | I_NODE_SID | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20070314 | ||
4 | Returning | R_S_FEMS_REST | Value transfer | Type reference (TYPE) | TN_S_FEMS_REST | 20050810 |
Method BUILD_FEMS_REST on class CL_RSDRH_TREX_STORAGE has no exception.
Method BUILD_FEMS_TABLDR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_FEMS | Call by reference | Type reference (TYPE) | RSIDN4 | BW: Allgemeines Bezugsfeld für interne IDs | 20050210 | ||
2 | Changing | C_TH_SELT | Call by reference | Type reference (TYPE) | TN_TH_SELT | 20050210 | |||
3 | Changing | C_TS_FEMS_REST | Call by reference | Type reference (TYPE) | TN_TS_FEMS_REST | 20050210 | |||
4 | Changing | C_T_TABLNM | Call by reference | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_T_TABLNM | 20050210 | |||
5 | Importing | I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20050210 |
Method BUILD_FEMS_TABLDR on class CL_RSDRH_TREX_STORAGE has no exception.
Method BUILD_SINGLE_VIEW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_T_TABLNM | Call by reference | Type reference (TYPE) | CL_RSDRH_HIER_REST=>TN_T_TABLNM | Table with hier restrictions | 20041215 | ||
2 | Returning | R_VIEWNM | Value transfer | Type reference (TYPE) | RSD_TABLNM | 20041215 |
Method BUILD_SINGLE_VIEW on class CL_RSDRH_TREX_STORAGE has no exception.
Method BUILD_VIEW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_TS_FEMS_REST | Call by reference | Type reference (TYPE) | TN_TS_FEMS_REST | 20041215 | |||
2 | Changing | C_T_SELT | Call by reference | Type reference (TYPE) | RSDRC_T_SELT | 20041215 | |||
3 | Importing | I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20041215 | |||
4 | Importing | I_TABLNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | Table with eqauls restrictions | 20040629 | ||
5 | Importing | I_TH_CHANM | Call by reference | Type reference (TYPE) | RSD_TH_CHANM | chanms where pred is needed in groupby | 20121017 | ||
6 | Importing | I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Tabelle der benötigten Merkmale usw. | 20041215 | ||
7 | Importing | I_TH_TABLNM | Call by reference | Type reference (TYPE) | TN_TH_TABLNM | Table with hier restrictions | 20050429 |
Method BUILD_VIEW on class CL_RSDRH_TREX_STORAGE has no exception.
Method CLEANUP Signature
Method CLEANUP on class CL_RSDRH_TREX_STORAGE has no parameter.
Method CLEANUP on class CL_RSDRH_TREX_STORAGE has no exception.
Method CREATE Signature
Method CREATE on class CL_RSDRH_TREX_STORAGE has no parameter.
Method CREATE on class CL_RSDRH_TREX_STORAGE has no exception.
Method CREATE_REF Signature
Method CREATE_REF on class CL_RSDRH_TREX_STORAGE has no parameter.
Method CREATE_REF on class CL_RSDRH_TREX_STORAGE has no exception.
Method DROP Signature
Method DROP on class CL_RSDRH_TREX_STORAGE has no parameter.
Method DROP on class CL_RSDRH_TREX_STORAGE has no exception.
Method GET_STORAGE_FOR_LEAFS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_TABLNM | Call by reference | Type reference (TYPE) | RSDRH_T_TABLNM | Cleanup information | 20041208 | ||
2 | Exporting | E_R_STORAGE | Call by reference | Object reference (TYPE REF TO) | CL_RSDRH_TREX_STORAGE | Storage for a resolved hierachy restriction | 20041208 |
Method GET_STORAGE_FOR_LEAFS on class CL_RSDRH_TREX_STORAGE has no exception.
Method MAP_TREX_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CODE | Call by reference | Type reference (TYPE) | I | 20041216 | |||
2 | Importing | I_SUBRC | Call by reference | Attribute reference (LIKE) | SY-SUBRC | Rückgabewert, Rückgabewert nach ABAP-Anweisungen | 20041216 | ||
3 | Importing | I_TEXT | Call by reference | Type reference (TYPE) | CHAR200 | Textfeld Laenge 200 | 20041216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSDR_TREX_ERROR | Error occured inside TREX | 20041216 |
Method READ Signature
Method READ on class CL_RSDRH_TREX_STORAGE has no parameter.
Method READ on class CL_RSDRH_TREX_STORAGE has no exception.
Method REMOVE_DUPL_FEMS_REST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_TS_FEMS_REST | Call by reference | Type reference (TYPE) | TN_TS_FEMS_REST | 20050210 |
Method REMOVE_DUPL_FEMS_REST on class CL_RSDRH_TREX_STORAGE has no exception.
Method RETURN_TREX_MSG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_R_MSG | Value transfer | Object reference (TYPE REF TO) | CX_RS_MSG | BW Exception mit generischer Nachricht (keine spez. Attrib.) | 20040802 |
Method RETURN_TREX_MSG on class CL_RSDRH_TREX_STORAGE has no exception.
Method SHOW_RESOLVED_RESTRICTIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_SHOW_TABLES | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20050810 | ||
2 | Importing | I_T_TABLNM | Call by reference | Type reference (TYPE) | RSDRH_T_TABLNM | 20050810 |
Method SHOW_RESOLVED_RESTRICTIONS on class CL_RSDRH_TREX_STORAGE has no exception.
Method WRITE Signature
Method WRITE on class CL_RSDRH_TREX_STORAGE has no parameter.
Method WRITE on class CL_RSDRH_TREX_STORAGE has no exception.
Method WRITE_EQUALS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_TS_FEMS_REST | Call by reference | Type reference (TYPE) | TN_TS_FEMS_REST | Restr. on Hier. Table to be included into FEMS selc restr. | 20041208 | ||
2 | Importing | I_CHANM | Call by reference | Type reference (TYPE) | RSD_CHANM | 20041208 | |||
3 | Importing | I_TH_HIER_FEMS | Call by reference | Type reference (TYPE) | IF_RSDRH_HIER_STORAGE=>TN_TH_HIER_FEMS | Gekürzte / aufgelöste Hierarchiebeschreibung | 20041208 |
Method WRITE_EQUALS on class CL_RSDRH_TREX_STORAGE has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 700 |