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 CL_RSDRV_TREX_QUERY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_RSDRV_TREX_QUERY_SRVS_SB Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_RSDRV_TREX_STMT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 IF_RSDRV_VPROV_TREX_QUERY Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_RSD_INFOPROV Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
7 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
8 RSDD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
9 RSDRC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
10 RSDRH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
11 RSR 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 N_C_TREX_ACTION Constant Public See coding 20121109
2 N_C_TREX_AGGR Constant Public See coding 20121109
3 N_C_TREX_ALIAS_OP Constant Public See coding 20121109
4 N_C_TREX_CASE_SENSITIV Constant Public See coding 20121109
5 N_C_TREX_ROWTYPE Constant Public See coding 20121109
Methods
# Method Level Visibility Method type Description Created on
1 CLEANUP Static method Public Method Drop Temporary Tables Again 20121105
2 CONVERT_RANGE_TO_WHERE Static method Public Method Build query entries (conditions) for TREX 20081008
3 CONVERT_SELDR_TO_QUERY_ENTRIES Static method Public Method Converts DM-SELDR into TREX-QUERY_ENTRIES 20111004
4 GET_AGGR_FOR_ROWCOUNT Static method Public Method Returns Aggregation for 1ROWCOUNT 20111213
5 GET_ATTRNM_WITH_AGGR Static method Public Method Returns attribute name with aggregation concatenated 20111103
6 GET_FEMS_ALL_CONDITION Static method Public Method return TREX_WHERE conform FEMS_ALL condition (QueryEntry) 20121109
7 HANDLE_FEMS_WITH_INIT_CHANM Static method Public Method Handles FEMS in SELDR which do have initial CHANM 20121107
8 PROCESS_SFK Static method Public Method Convert key figures into TREX format 20081008
9 _CHANGE_CHA_SELECT_FOR_HIER Static method Private Method Build query entries (conditions) for TREX 20111213
10 _CONVERT_SELDR Static method Private Method Build WHERE Conditions from SELDR 20111004
11 _CONVERT_WHERE_2_QENTRIES Static method Private Method Add filter for TREX query 20111004
12 _IS_FLDEXT_ALLOWED 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 Importing I_S_DEBUGFLAGS Call by reference Type reference (TYPE) RSR_S_DEBUGFLAGS Flags for Debugging a Query 20121105
2 Importing I_TH_TMP_INDEX Call by reference Type reference (TYPE) TN_TH_TMP_INDEX 20121105
3 Importing 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 Changing C_T_TREX_WHERE Call by reference Type reference (TYPE) CL_RSDRV_TREX_STMT=>TN_T_WHERE 20081008
2 Importing I_FEMS Call by reference Type reference (TYPE) RSDD_SX_SELDR-FEMS RSDD_C_FEMS0 BW: Allgemeines Bezugsfeld für interne IDs 20081008
3 Importing 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 Importing I_T_RANGE Call by reference Type reference (TYPE) RSDRI_T_RANGE Simple Conditions 20081008
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK 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 Changing 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 Changing C_TH_ALIAS Call by reference Type reference (TYPE) CL_RSDRV_TREX_QUERY_SRVS_SB=>TN_TH_ALIAS 20121105
3 Changing C_TH_SFC Call by reference Type reference (TYPE) RSDD_TH_SFC Tabelle der benötigten Merkmale usw. 20111004
4 Changing C_TSX_SELDR Call by reference Type reference (TYPE) RSDD_TSX_SELDR Selektion an den Datamanager 20111004
5 Exporting E_EMPTY_RESULT Call by reference Type reference (TYPE) RS_BOOL is result empty? 20111004
6 Exporting E_TH_TMP_INDEX Call by reference Type reference (TYPE) TN_TH_TMP_INDEX TREX Temporaray indexes 20111004
7 Exporting E_T_HIETABLNM Call by reference Type reference (TYPE) RSDRH_T_TABLNM temporary tables (hierarchies) 20121102
8 Exporting E_T_JOIN Call by reference Type reference (TYPE) TREXT_STATIC_JOIN_CONDITION static join condition 20121102
9 Exporting E_T_SELT Call by reference Type reference (TYPE) RSDRC_T_SELT SELT (needed for nodes_and_levels, selectfieldnm...) 20121102
10 Exporting E_T_TREX_WHERE Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES TREX-QueryEntries 20111004
11 Exporting E_T_UNION Call by reference Type reference (TYPE) TREXT_INDEX_ALIAS_OPERATION index Alias Operation 20121102
12 Importing I_ALLOW_FLDEXT Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE allow field extension? 20111004
13 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20111004
14 Importing I_KEEP_0INFOPROV Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Keep 0INFOPROV in selection? 20111004
15 Importing I_NEWBWAHIER Call by reference Type reference (TYPE) RSR_S_DEBUGFLAGS-NEWBIAHIER old vs. new BWA-Hierarchies 20111213
16 Importing 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 Importing I_R_STATDM_ACCESS Call by reference Object reference (TYPE REF TO) CL_RSDD_STATDM_ACCESS Dm Statistics Recording, Single Access 20121105
18 Importing I_SX_SPLITPACK Call by reference Type reference (TYPE) RSDR0_SX_SPLITPACK Beschreibung eines Datenpakets, das durch Split entstanden i 20111004
19 Importing I_S_DTA Call by reference Type reference (TYPE) RSD_S_DTA Eigenschaften InfoProvider 20111004
20 Importing I_S_MBIA_PARAMETERS Call by reference Type reference (TYPE) IF_RSDRV_VPROV_TREX_QUERY=>NSX_MBIA_PARAMETERS MPRO parameters 20111004
21 Importing I_TH_TIMEDEP_CHANM Call by reference Type reference (TYPE) RSD_TH_CHANM Zeitabhängige Merkmale 20111004
# Exception Resumable Description Created on
1 CX_RS_MSG BW Exception mit generischer Nachricht (keine spez. Attrib.) 20111004
2 CX_RS_STATIC_CHECK 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 Importing I_AGGRGEN Call by reference Type reference (TYPE) RSAGGRGEN Gewöhnliche Aggregation 20111213
2 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20111213
3 Importing 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 Returning 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 Importing I_AGGR Call by reference Type reference (TYPE) RSAGGRGEN Gewöhnliche Aggregation 20111103
2 Importing I_ATTRNM Call by reference Type reference (TYPE) TREXD_ATTR_NAME Attributname 20111103
3 Importing I_TREXAGGR Call by reference Type reference (TYPE) TREXD_AGGREGATION_TYPE Aggregationstyp TREX 20111109
4 Returning 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 Changing 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 Changing C_TH_SFC Call by reference Type reference (TYPE) RSDD_TH_SFC Table of required characteristics 20121107
2 Changing C_TSX_SELDR Call by reference Type reference (TYPE) RSDD_TSX_SELDR Selection to the Data Manager 20121107
3 Exporting E_TSX_SELDR_HIERNEW Call by reference Type reference (TYPE) RSDD_TSX_SELDR Hierarchy seldr entries of FEMS0 (new hier) 20130516
4 Importing I_ALL_FILTER_CHANM Call by reference Type reference (TYPE) RSCHANM Characteristic 20130111
5 Importing I_ALL_FILTER_KEY Call by reference Type reference (TYPE) RS_BOOL Boolean 20130111
6 Importing 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 Changing C_R_STMT Call by reference Object reference (TYPE REF TO) CL_RSDRV_TREX_STMT Internal TREX Query 20120223
2 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20111213
3 Importing 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 Importing I_TH_SFK Call by reference Type reference (TYPE) RSDD_TH_SFK Tabelle der benötigten Basiskennzahlen 20081008
5 Importing 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 Importing I_NEWBWAHIER Call by reference Type reference (TYPE) RS_BOOL new vs. old BWA-Hierarchies 20111213
2 Importing 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 Importing I_TH_ALIAS Call by reference Type reference (TYPE) CL_RSDRV_TREX_QUERY_SRVS_SB=>TN_TH_ALIAS 20111213
4 Importing I_TSX_SELDR_HIER Call by reference Type reference (TYPE) RSDD_TSX_SELDR Selektion an den Datamanager 20111213
5 Importing I_TS_DTA_PRO Call by reference Type reference (TYPE) IF_RSD_INFOPROV=>NT_TS_DTA_PRO 20130116
6 Importing I_T_SELT Call by reference Type reference (TYPE) RSDRC_T_SELT Table Restriction 20111213
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK 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 Changing C_TSX_SELDR Call by reference Type reference (TYPE) RSDD_TSX_SELDR Selektion an den Datamanager 20111004
2 Exporting E_EMPTY_RESULT Call by reference Type reference (TYPE) RS_BOOL Result is empty 20111004
3 Exporting E_T_HIETABLNM Call by reference Type reference (TYPE) RSDRH_T_TABLNM 20111004
4 Exporting E_T_SELC Call by reference Type reference (TYPE) RSDRC_T_SELC Simple restrictions 20111004
5 Exporting E_T_SELT Call by reference Type reference (TYPE) RSDRC_T_SELT Table restrictions 20111004
6 Importing I_KEEP_0INFOPROV Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20111004
7 Importing I_NEWBIAHIER Call by reference Type reference (TYPE) RSR_S_DEBUGFLAGS-NEWBIAHIER Use New BWA Hierarchy Implementation 20121105
8 Importing I_R_STATDM_ACCESS Call by reference Object reference (TYPE REF TO) CL_RSDD_STATDM_ACCESS Dm Statistics Recording, Single Access 20121105
9 Importing I_SX_SPLITPACK Call by reference Type reference (TYPE) RSDR0_SX_SPLITPACK Beschreibung eines Datenpakets, das durch Split entstanden i 20111004
10 Importing I_S_DTA Call by reference Type reference (TYPE) RSD_S_DTA Eigenschaften InfoProvider 20111004
11 Importing I_S_MBIA_PARAMETERS Call by reference Type reference (TYPE) IF_RSDRV_VPROV_TREX_QUERY=>NSX_MBIA_PARAMETERS MPRO parameters 20111004
12 Importing 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 CX_RSDRC_NO_COMMIT Kein Commit bei Query-Bearbeitung erlaubt 20111004
2 CX_RSDRC_NO_TREX_TABLDR Trex-Index TABLDR, aber Query wird nicht auf TREX ausgeführt 20111004
3 CX_RSR_HIERARCHY_EXCEPTIONS Basis Exception für Fehler bei Hierarchien im OLAP 20111004
4 CX_RS_INVALID_NAME Ungültiger technischer Name 20111004
5 CX_RS_MSG 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 Changing C_T_TREX_WHERE Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES TREX Query Entries 20111004
2 Importing 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 Importing I_S_DTA Call by reference Type reference (TYPE) RSD_S_DTA Eigenschaften InfoProvider 20111004
2 Returning 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