SAP ABAP Class CL_RSDRV_DSO_SX_QUERY_BUILDER (Builds SX_QUERY for DSO)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-DBA (Application Component) Data Basis
     RSDRV_DBA (Package) Data Manager Virtual InfoProviders: DBA Share
Properties
Class CL_RSDRV_DSO_SX_QUERY_BUILDER  
Short Description Builds SX_QUERY for DSO    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSDRV_DBA   Data Manager Virtual InfoProviders: DBA Share 
Created 20110718   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RSDD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RSDRC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RSDRS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSDRV_DSO_SX_QUERY_BUILDER has no interface implemented.
Friends
Class CL_RSDRV_DSO_SX_QUERY_BUILDER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_FACTTABLNM Instance attribute Private Type reference (TYPE) RSD_TABLNM Table Name 20110728
2 P_INFOPROV Instance attribute Private Type reference (TYPE) RSINFOCUBE Technical Name of DSO 20110728
3 P_R_IPRO Instance attribute Private Object reference (TYPE REF TO) IF_RSD_INFOPROV InfoProvider Runtime Metadata 20130115
4 P_TH_ALIAS_CNT Instance attribute Private Type reference (TYPE) TP_TH_ALIAS_CNT Alias Counter Table 20110728
5 P_TS_ALIAS Instance attribute Private Type reference (TYPE) TP_TS_ALIAS Table with Used Alias Entries 20110728
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_SX_QUERY_SIMPLE Static method Public Method Return SX_QUERY for DSO with simple IMPORTINGS 20110728
2 _ADD_JOIN_ENTRY Instance method Private Method Create Join Entry for Specified Characteristic 20110728
3 _BUILD_ATTR_ENTRY Instance method Private Method Creates Attribute Entry for T_SFC 20110728
4 _BUILD_CHA_KEY Instance method Private Method Creates KEY Attribute from Specified T_SFC 20110728
5 _BUILD_CHA_SID Instance method Private Method Build SID Attribute from T_SFC 20110728
6 _FIND_ALIAS Instance method Private Method 20110728
7 _GET_FACTTABLE Instance method Private Method Returns Fact Table for DSO 20110728
8 _GET_TABLE_ALIAS Instance method Private Method Returns Alias for Specified Table 20110728
9 _GET_XYTAB_FOR_STAB Instance method Private Method Helper: Use X or Y Table Instead of S Table 20110728
10 _INIT_SX_QUERY_BUILDER_SIMPLE Instance method Private Method Set initial values for further processing 20110728
11 _PROCESS_SFC Instance method Private Method Processing of SFC Parameters 20110728
12 _PROCESS_SFK Instance method Private Method Creates SX_QUERY Entries for T_SFK 20110728
Events
Class CL_RSDRV_DSO_SX_QUERY_BUILDER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TP_S_ALIAS Private See coding 20110728 BEGIN OF tp_s_alias, tablnm TYPE rsd_tablnm, "Tablename chanm TYPE rsd_iobjnm, "Characteristic Name aliasnm TYPE rsd_tablnm, "Alias Name END OF tp_s_alias
2 TP_S_ALIAS_CNT Private See coding 20110728 BEGIN OF TP_S_ALIAS_CNT, tabtp TYPE rsd_tablnm, "Table Type cnt TYPE i, "Alias counter END OF tp_s_alias_cnt
3 TP_TH_ALIAS_CNT Private See coding 20110728 tp_th_alias_cnt TYPE HASHED TABLE OF tp_s_alias_cnt WITH UNIQUE KEY tabtp initial size 0
4 TP_TS_ALIAS Private See coding 20110728 tp_ts_alias TYPE SORTED TABLE OF tp_s_alias WITH UNIQUE KEY tablnm chanm INITIAL SIZE 0
Method Signatures

Method BUILD_SX_QUERY_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SX_QUERY Call by reference Type reference (TYPE) RSDRS_SX_QUERY 20110728
2 Importing I_CALLER Call by reference Type reference (TYPE) RSDRS_CALLER RSDRS_C_CALLER-MISC 20110728
3 Importing I_INFOPROV Call by reference Type reference (TYPE) RSD_INFOCUBE 20110728
4 Importing I_RETURNTP Call by reference Type reference (TYPE) RSDRS_RETURNTP RSDRS_C_RETURNTP-DEF 20110728
5 Importing I_TH_SFC Call by reference Type reference (TYPE) RSDD_TH_SFC Tabelle der benötigten Merkmale usw. 20110728
6 Importing I_TH_SFK Call by reference Type reference (TYPE) RSDD_TH_SFK Tabelle der benötigten Merkmale usw. 20110728
# Exception Resumable Description Created on
1 CX_RS_STATIC_CHECK BW Basis Exception mit T100 Meldung (statisch geprüft) 20110728
2 CX_STATIC_CHECK Ausnahmen mit statischer und dynamischer Prüfung von RAISING 20110728

Method _ADD_JOIN_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SX_QUERY Call by reference Type reference (TYPE) RSDRS_SX_QUERY SX_QUERY 20110728
2 Exporting E_CHA_ALIASNM Call by reference Type reference (TYPE) RSD_TABLNM Alias Name of Characteristic 20110728
3 Exporting E_CHA_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM Table Name of Characteristic 20110728
4 Importing I_ATRTIMFL Call by reference Type reference (TYPE) RSDCOBPRO-ATRTIMFL Attributes time dependent ? 20110728
5 Importing I_CHANM Call by reference Type reference (TYPE) RSD_IOBJNM Name of Infoobject to add join for 20110728
6 Importing I_S_DTA_PRO Call by reference Type reference (TYPE) RSD_S_DTA_PRO DTA_PRO entry for Characteristic 20110728
7 Importing I_TABTP Call by reference Type reference (TYPE) RSDRS_TABTP Table Type of Master Data Table 20110728

Method _ADD_JOIN_ENTRY on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _BUILD_ATTR_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SX_QUERY Call by reference Type reference (TYPE) RSDRS_SX_QUERY 20110728
2 Importing I_IS_SID Call by reference Type reference (TYPE) RS_BOOL Boolean 20110728
3 Importing I_S_SFC Call by reference Type reference (TYPE) RSDD_S_SFC 20110728

Method _BUILD_ATTR_ENTRY on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _BUILD_CHA_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SX_QUERY Call by reference Type reference (TYPE) RSDRS_SX_QUERY 20110728
2 Importing I_S_SFC Call by reference Type reference (TYPE) RSDD_S_SFC 20110728

Method _BUILD_CHA_KEY on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _BUILD_CHA_SID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SX_QUERY Call by reference Type reference (TYPE) RSDRS_SX_QUERY 20110728
2 Importing I_S_SFC Call by reference Type reference (TYPE) RSDD_S_SFC 20110728

Method _BUILD_CHA_SID on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _FIND_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ALIASNM Call by reference Type reference (TYPE) RSD_TABLNM 20110728
2 Exporting E_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20110728
3 Exporting E_TABTP Call by reference Type reference (TYPE) RSDRS_TABTP 20110728
4 Importing I_ATRTIMFL Call by reference Type reference (TYPE) RSD_S_DTA_PRO-ATRTIMFL Kennzeichen ob das Attribut zeitabhängig ist 20110728
5 Importing I_CHABASNM Call by reference Type reference (TYPE) RSD_IOBJNM 20110728
6 Importing I_CHANM Call by reference Type reference (TYPE) RSD_IOBJNM 20110728
7 Importing I_IS_SID Call by reference Type reference (TYPE) RS_BOOL Boolean 20110728

Method _FIND_ALIAS on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _GET_FACTTABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_FACTTABLNM Value transfer Type reference (TYPE) RSD_TABLNM 20110728

Method _GET_FACTTABLE on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _GET_TABLE_ALIAS 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 20110728
2 Importing I_TABNM Call by reference Type reference (TYPE) RSD_TABLNM 20110728
3 Importing I_TABTP Call by reference Type reference (TYPE) RSDRS_TABTP 20110728
4 Returning R_ALIAS Value transfer Type reference (TYPE) RSD_TABLNM 20110728

Method _GET_TABLE_ALIAS on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _GET_XYTAB_FOR_STAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TABALIAS Call by reference Type reference (TYPE) RSD_TABLNM 20110728
2 Exporting E_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20110728
3 Importing I_CHANM Call by reference Type reference (TYPE) RSD_IOBJNM 20110728
4 Importing I_TH_TABLE Call by reference Type reference (TYPE) RSDRS_TH_TABLE 20110728
5 Importing I_XYTABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20110728

Method _GET_XYTAB_FOR_STAB on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _INIT_SX_QUERY_BUILDER_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SX_QUERY Call by reference Type reference (TYPE) RSDRS_SX_QUERY 20110728
2 Importing I_INFOPROV Call by reference Type reference (TYPE) RSD_INFOCUBE 20110728

Method _INIT_SX_QUERY_BUILDER_SIMPLE on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _PROCESS_SFC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SX_QUERY Call by reference Type reference (TYPE) RSDRS_SX_QUERY 20110728
2 Importing I_TH_SFC Call by reference Type reference (TYPE) RSDD_TH_SFC Tabelle der benötigten Merkmale usw. 20110728

Method _PROCESS_SFC on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.

Method _PROCESS_SFK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SX_QUERY Call by reference Type reference (TYPE) RSDRS_SX_QUERY 20110728
2 Importing I_TH_SFK Call by reference Type reference (TYPE) RSDD_TH_SFK Tabelle der benötigten Basiskennzahlen 20110728

Method _PROCESS_SFK on class CL_RSDRV_DSO_SX_QUERY_BUILDER has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 732