SAP ABAP Class CL_RSDRV_TREX_QUERY_SRVS_SB (TREX Query Services for SID-Based Providers)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSDRV (Package) Data Manager Virtual InfoProvider
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSDRV_TREX_QUERY_SRVS Services for TREX Query 20081017
Properties
Class CL_RSDRV_TREX_QUERY_SRVS_SB  
Short Description TREX Query Services for SID-Based Providers    
Super Class CL_RSDRV_TREX_QUERY_SRVS Services for TREX Query 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSDRV   Data Manager Virtual InfoProvider 
Created 20081017   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_STMT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_RSD_INFOPROV Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RSDRC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RSDRS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
7 RSR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSDRV_TREX_QUERY_SRVS_SB has no interface implemented.
Friends
Class CL_RSDRV_TREX_QUERY_SRVS_SB has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_ALIAS_CNT Instance attribute Private Type reference (TYPE) NUMC3 Alias Counter for Hierarchy Tables 20081017
2 P_R_NAME_MAPPER Instance attribute Private Object reference (TYPE REF TO) IF_RSDRV_TREX_NAME_MAPPER Name Mapping Service 20081017
3 P_SIDPREFERRED Instance attribute Private Type reference (TYPE) RSD_S_DTA-SIDPREFERRED Is sid preferred over key? 20090327
4 P_SIDX4DATA Instance attribute Private Type reference (TYPE) RSD_S_DTA-SVSIDX4DATA Do SIDs exist for all data? 20090327
5 P_TH_ALIAS Instance attribute Private Type reference (TYPE) TN_TH_ALIAS Hierarchy View/Table Aliases 20081017
6 P_TH_SFC Instance attribute Private Type reference (TYPE) RSDD_TH_SFC sfc in case of layer access 20121105
7 P_TH_TMP_INDEX Instance attribute Private Type reference (TYPE) TN_TH_TMP_INDEX Temporary TREX Index Tables 20081017
8 P_TS_DTA_PRO Instance attribute Private Type reference (TYPE) IF_RSD_INFOPROV=>NT_TS_DTA_PRO DTA needed for rawfl, sidconvert 20130116
9 P_T_JOIN Instance attribute Private Type reference (TYPE) TREXT_STATIC_JOIN_CONDITION 20121102
10 P_T_UNION Instance attribute Private Type reference (TYPE) TREXT_INDEX_ALIAS_OPERATION 20121102
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_COND_FROM_SELC Instance method Private Method Build query entries (conditions) for TREX 20081017
2 BUILD_COND_FROM_SELT Instance method Private Method Build query entries (conditions) for TREX 20081017
3 BUILD_DUMMY_REST Instance method Private Method Build query entries (conditions) for TREX 20081017
4 BUILD_NODES_AND_LEVELS Static method Public Method Build query entries (conditions) for TREX 20100129
5 BUILD_TABLDR Instance method Private Method Build table restriction 20081017
6 BUILD_TABLDR_TREX_SIDCONV Instance method Private Method build TREX table restriction SIDCONVERT 20121030
7 BUILD_TABLDR_TREX_SIDCONV_BWA Instance method Private Method build TREX table restriction SIDCONVERT (BWA-case) 20121030
8 CONVERT_SELC_SELT_WHERE Static method Public Method Build query entries (conditions) for TREX 20081017
9 COPY_IDX_BWA Instance method Private Method copies index via materialize of logical index 20121030
10 FILL_TABLDR_INDEX_CHAVL Instance method Private Method Build table restriction 20090327
11 FILL_TABLDR_INDEX_SID Instance method Private Method Build table restriction 20090327
12 FREE_HIER_UNION Static method Public Method free memory id of hier union 20100330
13 GET_SIDKEY_ATTR_TYPE Static method Public Method Return type (sid/key) of the attribute (consider sidconvert) 20100726
14 GET_TREX_ATTR_NAME Static method Public Method Return the name of the TREX attribute considering sid conv. 20081017
15 GET_TREX_ATTR_NAME_LQ Instance method Private Method ReturnTREX attribute name considering sid conv and SFC 20121105
16 PROCESS_SINGLE_SELT Instance method Private Method Build query entries (conditions) for TREX 20081017
17 PROCESS_SINGLE_TREX_SELT Instance method Private Method Build query entries (conditions) for TREX 20081017
18 RESOLVE_HIER_SELT2UNION Static method Public Method resolve a hier selt to a union of single indexes 20091222
19 _CHANGE_ATTRDEF_IDX_TO_INT Instance method Private Method changes datatyp of specified column to INTEGER ('I') 20121030
20 _GET_TREX_ATTRDEF Instance method Private Method returns attribute definition for specified index 20121030
Events
Class CL_RSDRV_TREX_QUERY_SRVS_SB has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_S_ALIAS Public See coding 20081017 BEGIN OF tn_s_alias, alias TYPE rsdrs_alias, tabnm TYPE rsd_tablnm, chanm TYPE rsd_chanm, trex_index TYPE rs_bool, END OF tn_s_alias
2 TN_TH_ALIAS Public See coding 20081017 tn_th_alias TYPE HASHED TABLE OF tn_s_alias WITH UNIQUE KEY tabnm chanm INITIAL SIZE 0
Method Signatures

Method BUILD_COND_FROM_SELC 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 Exporting E_T_WHERE Call by reference Type reference (TYPE) CL_RSDRV_TREX_STMT=>TN_T_WHERE 20121108
3 Importing I_T_SELC Call by reference Type reference (TYPE) RSDRC_T_SELC Simple Conditions 20081017
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20081017

Method BUILD_COND_FROM_SELT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_SELC Call by reference Type reference (TYPE) RSDRC_T_SELC Simple restrictions 20081017
2 Importing I_T_SELT Call by reference Type reference (TYPE) RSDRC_T_SELT Table Restrictions 20081017
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20081017

Method BUILD_DUMMY_REST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_SELC Call by reference Type reference (TYPE) RSDRC_T_SELC Simple restrictions 20081017
2 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20081017
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20081017

Method BUILD_NODES_AND_LEVELS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NEW_HIER Call by reference Type reference (TYPE) RSR_S_DEBUGFLAGS-NEWBIAHIER Neue BWA Hierarchieimplementierung verwenden 20100129
2 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20100129
3 Importing I_TSX_SELDR Call by reference Type reference (TYPE) RSDD_TSX_SELDR Selektion an den Datamanager 20100129
4 Returning R_NODES_AND_LEVELS Value transfer Type reference (TYPE) STRING 20100129

Method BUILD_NODES_AND_LEVELS on class CL_RSDRV_TREX_QUERY_SRVS_SB has no exception.

Method BUILD_TABLDR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RESOLVE_TO_SID Call by reference Type reference (TYPE) RS_BOOL Resolve TABLDR to SID-based ? 20090327
2 Importing I_S_DTA_PRO Value transfer Type reference (TYPE) RSD_S_DTA_PRO Eigenschaften eines InfoObjects im Datenziel 20081017
3 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20081017
4 Returning R_INDEX_ID Value transfer Type reference (TYPE) TREXD_INDEX_ID Name of created tmp index 20081017
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20081017

Method BUILD_TABLDR_TREX_SIDCONV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20121030
2 Returning R_INDEX_ID Value transfer Type reference (TYPE) TREXD_INDEX_ID Name of created tmp index 20121030
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20121030

Method BUILD_TABLDR_TREX_SIDCONV_BWA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEXID_NEW Call by reference Type reference (TYPE) TREXD_INDEX_ID Name of created tmp index 20121030
2 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20121030
3 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20121030
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20121030

Method CONVERT_SELC_SELT_WHERE 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 Stores EQSID table restrictions in case of multiproviders 20121108
2 Changing C_TH_ALIAS Call by reference Type reference (TYPE) TN_TH_ALIAS Index aliases used 20121105
3 Changing C_TH_TMP_INDEX Call by reference Type reference (TYPE) TN_TH_TMP_INDEX Collection of TREX tmp indexes 20081017
4 Exporting E_T_JOIN Call by reference Type reference (TYPE) TREXT_STATIC_JOIN_CONDITION static join condition 20121102
5 Exporting E_T_UNION Call by reference Type reference (TYPE) TREXT_INDEX_ALIAS_OPERATION index Alias Operation 20121102
6 Exporting E_T_WHERE Call by reference Type reference (TYPE) CL_RSDRV_TREX_STMT=>TN_T_WHERE 20081017
7 Importing I_R_NAME_MAPPER Call by reference Object reference (TYPE REF TO) IF_RSDRV_TREX_NAME_MAPPER Name Mapper BI <-> Trex View attributes 20081017
8 Importing I_SIDPREFERRED Call by reference Type reference (TYPE) RSD_S_DTA-SIDPREFERRED RS_C_TRUE SID Darstellung bevorzugt 20090327
9 Importing I_SIDX4DATA Call by reference Type reference (TYPE) RSD_S_DTA-SVSIDX4DATA RS_C_TRUE SIDs existieren für alle Daten des Providers 20090327
10 Importing I_TH_SFC Call by reference Type reference (TYPE) RSDD_TH_SFC SFC in case of OLAP layer access 20121105
11 Importing I_TS_DTA_PRO Call by reference Type reference (TYPE) IF_RSD_INFOPROV=>NT_TS_DTA_PRO 20130116
12 Importing I_T_SELC Call by reference Type reference (TYPE) RSDRC_T_SELC Simple restrictions 20081017
13 Importing I_T_SELT Call by reference Type reference (TYPE) RSDRC_T_SELT Table Restrictions 20081017
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20081017

Method COPY_IDX_BWA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEXID_SRC Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20121030
2 Importing I_INDEXID_TGT Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20121030
3 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20121030
4 Importing I_T_ATTRDEF Call by reference Type reference (TYPE) TREXT_ATTR_DEF Attributdfinitionen 20121030
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20121030

Method FILL_TABLDR_INDEX_CHAVL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEXID Call by reference Type reference (TYPE) TREX_RFC-INDEX_ID Indexid Name 20090327
2 Importing I_S_DTA_PRO Call by reference Type reference (TYPE) RSD_S_DTA_PRO Eigenschaften eines InfoObjects im Datenziel 20090327
3 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20090327
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20090327

Method FILL_TABLDR_INDEX_SID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEXID Call by reference Type reference (TYPE) TREX_RFC-INDEX_ID Indexid Name 20090327
2 Importing I_KEYCONVERT Call by reference Type reference (TYPE) RS_BOOL Convert CHAVL into SID 20090327
3 Importing I_S_DTA_PRO Call by reference Type reference (TYPE) RSD_S_DTA_PRO Eigenschaften eines InfoObjects im Datenziel 20090327
4 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20090327
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20090327

Method FREE_HIER_UNION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20100330

Method FREE_HIER_UNION on class CL_RSDRV_TREX_QUERY_SRVS_SB has no exception.

Method GET_SIDKEY_ATTR_TYPE 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_IOBJNM 20100726
2 Importing I_IGNORE_NAME_MAPPER Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20110620
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 20100726
4 Importing I_SID Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20100726
5 Importing I_S_DTA_PRO Value transfer Type reference (TYPE) RSD_S_DTA_PRO Correct DTA_PRO entry 20100726
6 Importing I_TS_DTA_PRO Call by reference Type reference (TYPE) IF_RSD_INFOPROV=>NT_TS_DTA_PRO DTA_PRO of provider 20130116
7 Returning R_SID Value transfer Type reference (TYPE) RS_BOOL Use SID ? 20100726

Method GET_SIDKEY_ATTR_TYPE on class CL_RSDRV_TREX_QUERY_SRVS_SB has no exception.

Method GET_TREX_ATTR_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ATTR_NAME Call by reference Type reference (TYPE) TREXD_ATTR_NAME 20110609
2 Exporting E_HAS_SIDCONV Call by reference Type reference (TYPE) RS_BOOL Boolean 20110609
3 Importing I_CALLER Call by reference Type reference (TYPE) RSDRS_CALLER 20110620
4 Importing I_CHANM Call by reference Type reference (TYPE) RSD_IOBJNM 20081017
5 Importing I_R_IPRO Call by reference Object reference (TYPE REF TO) IF_RSD_INFOPROV InfoProvider Runtime Metadata 20130115
6 Importing I_R_NAME_MAPPER Call by reference Object reference (TYPE REF TO) IF_RSDRV_TREX_NAME_MAPPER Name Mapper BI <-> Trex View attributes 20081215
7 Importing I_SID Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20081017
8 Importing I_S_DTA_PRO Call by reference Type reference (TYPE) RSD_S_DTA_PRO Eigenschaften eines InfoObjects im Datenziel 20120629
9 Importing I_TS_DTA_PRO Call by reference Type reference (TYPE) IF_RSD_INFOPROV=>NT_TS_DTA_PRO 20130116

Method GET_TREX_ATTR_NAME on class CL_RSDRV_TREX_QUERY_SRVS_SB has no exception.

Method GET_TREX_ATTR_NAME_LQ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ATTR_NAME Call by reference Type reference (TYPE) TREXD_ATTR_NAME 20121105
2 Exporting E_HAS_SIDCONV Call by reference Type reference (TYPE) RS_BOOL Boolean 20121105
3 Importing I_CHANM Call by reference Type reference (TYPE) RSD_IOBJNM 20121105
4 Importing I_SID Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20121105

Method GET_TREX_ATTR_NAME_LQ on class CL_RSDRV_TREX_QUERY_SRVS_SB has no exception.

Method PROCESS_SINGLE_SELT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_SELC Call by reference Type reference (TYPE) RSDRC_T_SELC Simple restrictions 20081017
2 Importing I_S_ALIAS Call by reference Type reference (TYPE) TN_S_ALIAS 20081017
3 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20081017
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20081017

Method PROCESS_SINGLE_TREX_SELT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_SELC Call by reference Type reference (TYPE) RSDRC_T_SELC Simple restrictions 20081017
2 Importing I_S_ALIAS Call by reference Type reference (TYPE) TN_S_ALIAS 20081017
3 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20081017
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20081017

Method RESOLVE_HIER_SELT2UNION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FREE Value transfer Type reference (TYPE) RS_BOOL RS_C_TRUE Free union definition in memory 20100330
2 Importing I_S_SELT Call by reference Type reference (TYPE) RSDRC_S_SELT Table Restriction 20091222
3 Returning R_T_UNION Value transfer Type reference (TYPE) CL_RSDRV_TREX_STMT=>TN_T_INDEX 20091222

Method RESOLVE_HIER_SELT2UNION on class CL_RSDRV_TREX_QUERY_SRVS_SB has no exception.

Method _CHANGE_ATTRDEF_IDX_TO_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELDNM Call by reference Type reference (TYPE) RSD_FIELDNM field that has to be changed to INT 20121030
2 Importing I_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20121030
3 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20121030
4 Importing I_T_ATTRDEF Call by reference Type reference (TYPE) TREXT_ATTR_DEF Attributdfinitionen 20121030
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20121030

Method _GET_TREX_ATTRDEF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_ATTRDEF Call by reference Type reference (TYPE) TREXT_ATTR_DEF Attributdfinitionen 20121030
2 Importing I_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20121030
3 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20121030
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20121030
History
Last changed by/on SAP  20140121 
SAP Release Created in 720