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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | 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 | Instance attribute | Private | Type reference (TYPE) | RSD_TABLNM | Table Name | 20110728 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | RSINFOCUBE | Technical Name of DSO | 20110728 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_RSD_INFOPROV | InfoProvider Runtime Metadata | 20130115 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | TP_TH_ALIAS_CNT | Alias Counter Table | 20110728 | |||
| 5 | 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 | Static method | Public | Method | Return SX_QUERY for DSO with simple IMPORTINGS | 20110728 | |
| 2 | Instance method | Private | Method | Create Join Entry for Specified Characteristic | 20110728 | |
| 3 | Instance method | Private | Method | Creates Attribute Entry for T_SFC | 20110728 | |
| 4 | Instance method | Private | Method | Creates KEY Attribute from Specified T_SFC | 20110728 | |
| 5 | Instance method | Private | Method | Build SID Attribute from T_SFC | 20110728 | |
| 6 | Instance method | Private | Method | 20110728 | ||
| 7 | Instance method | Private | Method | Returns Fact Table for DSO | 20110728 | |
| 8 | Instance method | Private | Method | Returns Alias for Specified Table | 20110728 | |
| 9 | Instance method | Private | Method | Helper: Use X or Y Table Instead of S Table | 20110728 | |
| 10 | Instance method | Private | Method | Set initial values for further processing | 20110728 | |
| 11 | Instance method | Private | Method | Processing of SFC Parameters | 20110728 | |
| 12 | 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 | E_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20110728 | ||||
| 2 | I_CALLER | Call by reference | Type reference (TYPE) | RSDRS_CALLER | RSDRS_C_CALLER-MISC | 20110728 | |||
| 3 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSD_INFOCUBE | 20110728 | ||||
| 4 | I_RETURNTP | Call by reference | Type reference (TYPE) | RSDRS_RETURNTP | RSDRS_C_RETURNTP-DEF | 20110728 | |||
| 5 | I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Tabelle der benötigten Merkmale usw. | 20110728 | |||
| 6 | 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 | BW Basis Exception mit T100 Meldung (statisch geprüft) | 20110728 | ||
| 2 | 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 | C_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | SX_QUERY | 20110728 | |||
| 2 | E_CHA_ALIASNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | Alias Name of Characteristic | 20110728 | |||
| 3 | E_CHA_TABLNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | Table Name of Characteristic | 20110728 | |||
| 4 | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDCOBPRO-ATRTIMFL | Attributes time dependent ? | 20110728 | |||
| 5 | I_CHANM | Call by reference | Type reference (TYPE) | RSD_IOBJNM | Name of Infoobject to add join for | 20110728 | |||
| 6 | I_S_DTA_PRO | Call by reference | Type reference (TYPE) | RSD_S_DTA_PRO | DTA_PRO entry for Characteristic | 20110728 | |||
| 7 | 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 | C_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20110728 | ||||
| 2 | I_IS_SID | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20110728 | |||
| 3 | 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 | C_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20110728 | ||||
| 2 | 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 | C_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20110728 | ||||
| 2 | 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 | E_ALIASNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | 20110728 | ||||
| 2 | E_TABLNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | 20110728 | ||||
| 3 | E_TABTP | Call by reference | Type reference (TYPE) | RSDRS_TABTP | 20110728 | ||||
| 4 | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSD_S_DTA_PRO-ATRTIMFL | Kennzeichen ob das Attribut zeitabhängig ist | 20110728 | |||
| 5 | I_CHABASNM | Call by reference | Type reference (TYPE) | RSD_IOBJNM | 20110728 | ||||
| 6 | I_CHANM | Call by reference | Type reference (TYPE) | RSD_IOBJNM | 20110728 | ||||
| 7 | 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 | 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 | I_CHANM | Call by reference | Type reference (TYPE) | RSD_IOBJNM | 20110728 | ||||
| 2 | I_TABNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | 20110728 | ||||
| 3 | I_TABTP | Call by reference | Type reference (TYPE) | RSDRS_TABTP | 20110728 | ||||
| 4 | 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 | E_TABALIAS | Call by reference | Type reference (TYPE) | RSD_TABLNM | 20110728 | ||||
| 2 | E_TABLNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | 20110728 | ||||
| 3 | I_CHANM | Call by reference | Type reference (TYPE) | RSD_IOBJNM | 20110728 | ||||
| 4 | I_TH_TABLE | Call by reference | Type reference (TYPE) | RSDRS_TH_TABLE | 20110728 | ||||
| 5 | 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 | C_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20110728 | ||||
| 2 | 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 | C_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20110728 | ||||
| 2 | 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 | C_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20110728 | ||||
| 2 | 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 |