SAP ABAP Class CL_RSDRV_TREX_QUERY_SRVS (Services for TREX Query)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSDRV (Package) Data Manager Virtual InfoProvider
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDRV_TREX_QUERY_SRVS_SB | TREX Query Services for SID-Based Providers | 20081017 |
Properties
| Class | CL_RSDRV_TREX_QUERY_SRVS | |
| Short Description | Services for TREX Query | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSDRV | Data Manager Virtual InfoProvider |
| Created | 20081008 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 6 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 7 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 8 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 9 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 10 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 11 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDRV_TREX_QUERY_SRVS has no interface implemented.
Friends
Class CL_RSDRV_TREX_QUERY_SRVS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 20121109 | |||||
| 2 | Constant | Public | See coding | 20121109 | |||||
| 3 | Constant | Public | See coding | 20121109 | |||||
| 4 | Constant | Public | See coding | 20121109 | |||||
| 5 | Constant | Public | See coding | 20121109 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Drop Temporary Tables Again | 20121105 | |
| 2 | Static method | Public | Method | Build query entries (conditions) for TREX | 20081008 | |
| 3 | Static method | Public | Method | Converts DM-SELDR into TREX-QUERY_ENTRIES | 20111004 | |
| 4 | Static method | Public | Method | Returns Aggregation for 1ROWCOUNT | 20111213 | |
| 5 | Static method | Public | Method | Returns attribute name with aggregation concatenated | 20111103 | |
| 6 | Static method | Public | Method | return TREX_WHERE conform FEMS_ALL condition (QueryEntry) | 20121109 | |
| 7 | Static method | Public | Method | Handles FEMS in SELDR which do have initial CHANM | 20121107 | |
| 8 | Static method | Public | Method | Convert key figures into TREX format | 20081008 | |
| 9 | Static method | Private | Method | Build query entries (conditions) for TREX | 20111213 | |
| 10 | Static method | Private | Method | Build WHERE Conditions from SELDR | 20111004 | |
| 11 | Static method | Private | Method | Add filter for TREX query | 20111004 | |
| 12 | Static method | Private | Method | Returns TRUE if field extension is allowed from CONVERT_SEL | 20111004 |
Events
Class CL_RSDRV_TREX_QUERY_SRVS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_TH_TMP_INDEX | Public | See coding | 20121105 | tn_th_tmp_index TYPE HASHED TABLE OF trex_rfc-index_id
WITH UNIQUE KEY table_line INITIAL SIZE 0
|
Method Signatures
Method CLEANUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_S_DEBUGFLAGS | Call by reference | Type reference (TYPE) | RSR_S_DEBUGFLAGS | Flags for Debugging a Query | 20121105 | |||
| 2 | I_TH_TMP_INDEX | Call by reference | Type reference (TYPE) | TN_TH_TMP_INDEX | 20121105 | ||||
| 3 | I_T_HIETABLNM | Call by reference | Type reference (TYPE) | RSDRH_T_TABLNM | 20121105 |
Method CLEANUP on class CL_RSDRV_TREX_QUERY_SRVS has no exception.
Method CONVERT_RANGE_TO_WHERE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_TREX_WHERE | Call by reference | Type reference (TYPE) | CL_RSDRV_TREX_STMT=>TN_T_WHERE | 20081008 | ||||
| 2 | I_FEMS | Call by reference | Type reference (TYPE) | RSDD_SX_SELDR-FEMS | RSDD_C_FEMS0 | BW: Allgemeines Bezugsfeld für interne IDs | 20081008 | ||
| 3 | I_R_NAME_MAPPER | Call by reference | Object reference (TYPE REF TO) | IF_RSDRV_TREX_NAME_MAPPER | Name Mapper BI <-> Trex View attributes | 20081008 | |||
| 4 | I_T_RANGE | Call by reference | Type reference (TYPE) | RSDRI_T_RANGE | Simple Conditions | 20081008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW Basis Exception mit T100 Meldung (statisch geprüft) | 20081008 |
Method CONVERT_SELDR_TO_QUERY_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_R_TREX_EQSID_CACHE | Call by reference | Object reference (TYPE REF TO) | CL_RSDRV_TREX_EQSID_CACHE | EQSID Table Cache for TREX | 20121108 | |||
| 2 | C_TH_ALIAS | Call by reference | Type reference (TYPE) | CL_RSDRV_TREX_QUERY_SRVS_SB=>TN_TH_ALIAS | 20121105 | ||||
| 3 | C_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Tabelle der benötigten Merkmale usw. | 20111004 | |||
| 4 | C_TSX_SELDR | Call by reference | Type reference (TYPE) | RSDD_TSX_SELDR | Selektion an den Datamanager | 20111004 | |||
| 5 | E_EMPTY_RESULT | Call by reference | Type reference (TYPE) | RS_BOOL | is result empty? | 20111004 | |||
| 6 | E_TH_TMP_INDEX | Call by reference | Type reference (TYPE) | TN_TH_TMP_INDEX | TREX Temporaray indexes | 20111004 | |||
| 7 | E_T_HIETABLNM | Call by reference | Type reference (TYPE) | RSDRH_T_TABLNM | temporary tables (hierarchies) | 20121102 | |||
| 8 | E_T_JOIN | Call by reference | Type reference (TYPE) | TREXT_STATIC_JOIN_CONDITION | static join condition | 20121102 | |||
| 9 | E_T_SELT | Call by reference | Type reference (TYPE) | RSDRC_T_SELT | SELT (needed for nodes_and_levels, selectfieldnm...) | 20121102 | |||
| 10 | E_T_TREX_WHERE | Call by reference | Type reference (TYPE) | TREXT_QUERY_ENTRIES | TREX-QueryEntries | 20111004 | |||
| 11 | E_T_UNION | Call by reference | Type reference (TYPE) | TREXT_INDEX_ALIAS_OPERATION | index Alias Operation | 20121102 | |||
| 12 | I_ALLOW_FLDEXT | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | allow field extension? | 20111004 | ||
| 13 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20111004 | |||
| 14 | I_KEEP_0INFOPROV | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Keep 0INFOPROV in selection? | 20111004 | ||
| 15 | I_NEWBWAHIER | Call by reference | Type reference (TYPE) | RSR_S_DEBUGFLAGS-NEWBIAHIER | old vs. new BWA-Hierarchies | 20111213 | |||
| 16 | I_R_NAME_MAPPER | Call by reference | Object reference (TYPE REF TO) | IF_RSDRV_TREX_NAME_MAPPER | Name Mapper BI <-> Trex View attributes | 20111004 | |||
| 17 | I_R_STATDM_ACCESS | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_STATDM_ACCESS | Dm Statistics Recording, Single Access | 20121105 | |||
| 18 | I_SX_SPLITPACK | Call by reference | Type reference (TYPE) | RSDR0_SX_SPLITPACK | Beschreibung eines Datenpakets, das durch Split entstanden i | 20111004 | |||
| 19 | I_S_DTA | Call by reference | Type reference (TYPE) | RSD_S_DTA | Eigenschaften InfoProvider | 20111004 | |||
| 20 | I_S_MBIA_PARAMETERS | Call by reference | Type reference (TYPE) | IF_RSDRV_VPROV_TREX_QUERY=>NSX_MBIA_PARAMETERS | MPRO parameters | 20111004 | |||
| 21 | I_TH_TIMEDEP_CHANM | Call by reference | Type reference (TYPE) | RSD_TH_CHANM | Zeitabhängige Merkmale | 20111004 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW Exception mit generischer Nachricht (keine spez. Attrib.) | 20111004 | ||
| 2 | BW Basis Exception mit T100 Meldung (statisch geprüft) | 20111004 |
Method GET_AGGR_FOR_ROWCOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AGGRGEN | Call by reference | Type reference (TYPE) | RSAGGRGEN | Gewöhnliche Aggregation | 20111213 | |||
| 2 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20111213 | |||
| 3 | I_R_NAME_MAPPER | Call by reference | Object reference (TYPE REF TO) | IF_RSDRV_TREX_NAME_MAPPER | Name Mapper BI <-> Trex View attributes | 20111213 | |||
| 4 | R_AGGRGEN | Value transfer | Type reference (TYPE) | RSAGGRGEN | Gewöhnliche Aggregation | 20111213 |
Method GET_AGGR_FOR_ROWCOUNT on class CL_RSDRV_TREX_QUERY_SRVS has no exception.
Method GET_ATTRNM_WITH_AGGR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AGGR | Call by reference | Type reference (TYPE) | RSAGGRGEN | Gewöhnliche Aggregation | 20111103 | |||
| 2 | I_ATTRNM | Call by reference | Type reference (TYPE) | TREXD_ATTR_NAME | Attributname | 20111103 | |||
| 3 | I_TREXAGGR | Call by reference | Type reference (TYPE) | TREXD_AGGREGATION_TYPE | Aggregationstyp TREX | 20111109 | |||
| 4 | R_TREXKYFNM | Value transfer | Type reference (TYPE) | TREXD_ATTR_NAME | Attributname | 20111103 |
Method GET_ATTRNM_WITH_AGGR on class CL_RSDRV_TREX_QUERY_SRVS has no exception.
Method GET_FEMS_ALL_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_TREX_WHERE | Call by reference | Type reference (TYPE) | TREXS_QUERY_ENTRY | QueryEntry | 20121109 |
Method GET_FEMS_ALL_CONDITION on class CL_RSDRV_TREX_QUERY_SRVS has no exception.
Method HANDLE_FEMS_WITH_INIT_CHANM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Table of required characteristics | 20121107 | |||
| 2 | C_TSX_SELDR | Call by reference | Type reference (TYPE) | RSDD_TSX_SELDR | Selection to the Data Manager | 20121107 | |||
| 3 | E_TSX_SELDR_HIERNEW | Call by reference | Type reference (TYPE) | RSDD_TSX_SELDR | Hierarchy seldr entries of FEMS0 (new hier) | 20130516 | |||
| 4 | I_ALL_FILTER_CHANM | Call by reference | Type reference (TYPE) | RSCHANM | Characteristic | 20130111 | |||
| 5 | I_ALL_FILTER_KEY | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20130111 | |||
| 6 | I_TS_DTA_PRO | Call by reference | Type reference (TYPE) | IF_RSD_INFOPROV=>NT_TS_DTA_PRO | 20130116 |
Method HANDLE_FEMS_WITH_INIT_CHANM on class CL_RSDRV_TREX_QUERY_SRVS has no exception.
Method PROCESS_SFK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_R_STMT | Call by reference | Object reference (TYPE REF TO) | CL_RSDRV_TREX_STMT | Internal TREX Query | 20120223 | |||
| 2 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20111213 | |||
| 3 | I_R_NAME_MAPPER | Call by reference | Object reference (TYPE REF TO) | IF_RSDRV_TREX_NAME_MAPPER | Name Mapper BI <-> Trex View attributes | 20081008 | |||
| 4 | I_TH_SFK | Call by reference | Type reference (TYPE) | RSDD_TH_SFK | Tabelle der benötigten Basiskennzahlen | 20081008 | |||
| 5 | I_TS_DTA_PRO | Call by reference | Type reference (TYPE) | IF_RSD_INFOPROV=>NT_TS_DTA_PRO | 20130116 |
Method PROCESS_SFK on class CL_RSDRV_TREX_QUERY_SRVS has no exception.
Method _CHANGE_CHA_SELECT_FOR_HIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NEWBWAHIER | Call by reference | Type reference (TYPE) | RS_BOOL | new vs. old BWA-Hierarchies | 20111213 | |||
| 2 | I_R_NAME_MAPPER | Call by reference | Object reference (TYPE REF TO) | IF_RSDRV_TREX_NAME_MAPPER | Name Mapper BI <-> Trex View attributes | 20111213 | |||
| 3 | I_TH_ALIAS | Call by reference | Type reference (TYPE) | CL_RSDRV_TREX_QUERY_SRVS_SB=>TN_TH_ALIAS | 20111213 | ||||
| 4 | I_TSX_SELDR_HIER | Call by reference | Type reference (TYPE) | RSDD_TSX_SELDR | Selektion an den Datamanager | 20111213 | |||
| 5 | I_TS_DTA_PRO | Call by reference | Type reference (TYPE) | IF_RSD_INFOPROV=>NT_TS_DTA_PRO | 20130116 | ||||
| 6 | I_T_SELT | Call by reference | Type reference (TYPE) | RSDRC_T_SELT | Table Restriction | 20111213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW Basis Exception mit T100 Meldung (statisch geprüft) | 20111213 |
Method _CONVERT_SELDR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TSX_SELDR | Call by reference | Type reference (TYPE) | RSDD_TSX_SELDR | Selektion an den Datamanager | 20111004 | |||
| 2 | E_EMPTY_RESULT | Call by reference | Type reference (TYPE) | RS_BOOL | Result is empty | 20111004 | |||
| 3 | E_T_HIETABLNM | Call by reference | Type reference (TYPE) | RSDRH_T_TABLNM | 20111004 | ||||
| 4 | E_T_SELC | Call by reference | Type reference (TYPE) | RSDRC_T_SELC | Simple restrictions | 20111004 | |||
| 5 | E_T_SELT | Call by reference | Type reference (TYPE) | RSDRC_T_SELT | Table restrictions | 20111004 | |||
| 6 | I_KEEP_0INFOPROV | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20111004 | ||
| 7 | I_NEWBIAHIER | Call by reference | Type reference (TYPE) | RSR_S_DEBUGFLAGS-NEWBIAHIER | Use New BWA Hierarchy Implementation | 20121105 | |||
| 8 | I_R_STATDM_ACCESS | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_STATDM_ACCESS | Dm Statistics Recording, Single Access | 20121105 | |||
| 9 | I_SX_SPLITPACK | Call by reference | Type reference (TYPE) | RSDR0_SX_SPLITPACK | Beschreibung eines Datenpakets, das durch Split entstanden i | 20111004 | |||
| 10 | I_S_DTA | Call by reference | Type reference (TYPE) | RSD_S_DTA | Eigenschaften InfoProvider | 20111004 | |||
| 11 | I_S_MBIA_PARAMETERS | Call by reference | Type reference (TYPE) | IF_RSDRV_VPROV_TREX_QUERY=>NSX_MBIA_PARAMETERS | MPRO parameters | 20111004 | |||
| 12 | I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Tabelle der benötigten Merkmale usw. | 20111213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein Commit bei Query-Bearbeitung erlaubt | 20111004 | ||
| 2 | Trex-Index TABLDR, aber Query wird nicht auf TREX ausgeführt | 20111004 | ||
| 3 | Basis Exception für Fehler bei Hierarchien im OLAP | 20111004 | ||
| 4 | Ungültiger technischer Name | 20111004 | ||
| 5 | BW Exception mit generischer Nachricht (keine spez. Attrib.) | 20111004 |
Method _CONVERT_WHERE_2_QENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_TREX_WHERE | Call by reference | Type reference (TYPE) | TREXT_QUERY_ENTRIES | TREX Query Entries | 20111004 | |||
| 2 | I_T_WHERE | Call by reference | Type reference (TYPE) | CL_RSDRV_TREX_STMT=>TN_T_WHERE | where list | 20111004 |
Method _CONVERT_WHERE_2_QENTRIES on class CL_RSDRV_TREX_QUERY_SRVS has no exception.
Method _IS_FLDEXT_ALLOWED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_S_DTA | Call by reference | Type reference (TYPE) | RSD_S_DTA | Eigenschaften InfoProvider | 20111004 | |||
| 2 | R_ALLOW_FLDEXT | Value transfer | Type reference (TYPE) | RS_BOOL | Allow field extension? | 20111004 |
Method _IS_FLDEXT_ALLOWED on class CL_RSDRV_TREX_QUERY_SRVS has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 720 |