SAP ABAP Class CL_RSR_MDX_STMT_GEN_CUBE (Generator for Mdx Cmd out of Bex Queries)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSR_MDX_BASE (Package) MDX: Basis
⤷
⤷
Properties
| Class | CL_RSR_MDX_STMT_GEN_CUBE | |
| Short Description | Generator for Mdx Cmd out of Bex Queries | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSR_MDX_BASE | MDX: Basis |
| Created | 20130617 | 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) |
Interfaces
Class CL_RSR_MDX_STMT_GEN_CUBE has no interface implemented.
Friends
Class CL_RSR_MDX_STMT_GEN_CUBE 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) | RRTCUBE | Cube name | 20130617 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | RSZCOMPID | Name (ID) of a reporting component | 20130617 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_RSR_OLAP | 20130617 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | RRO01_SX_REPORT | 20130617 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | RSZCOMPKEY | 20130702 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20130617 | |
| 2 | Instance method | Public | Method | Generate MDX Command | 20130617 | |
| 3 | Instance method | Private | Method | Get can be shown members | 20130627 | |
| 4 | Instance method | Private | Method | Get Conditions for keyfigures | 20130701 | |
| 5 | Instance method | Private | Method | Get set name and defintion for default filter | 20130627 | |
| 6 | Instance method | Private | Method | get dimensions on axes | 20130626 | |
| 7 | Instance method | Private | Method | build the complete statement | 20130627 | |
| 8 | Instance method | Private | Method | get dimenstion properties | 20130627 | |
| 9 | Instance method | Private | Method | Get hierarchy name and check sort settings | 20130626 | |
| 10 | Instance method | Private | Method | Reshape dim table | 20130627 |
Events
Class CL_RSR_MDX_STMT_GEN_CUBE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TP_S_CONSET | Private | See coding | 20130708 | BEGIN OF tp_s_conset,
set_name TYPE String,
set_def TYPE String,
axis TYPE RRXAXIS,
END OF tp_s_conset
|
||
| 2 | TP_S_DEFAULT_FILTER | Private | See coding | 20130702 | BEGIN OF tp_s_default_filter,
set_name TYPE String,
set_def TYPE String,
END OF tp_s_default_filter
|
||
| 3 | TP_S_HRY_MEMBER | Private | See coding | 20130703 | BEGIN OF tp_s_hry_member,
mem_name TYPE String,
mem_def TYPE String,
axis TYPE RRXAXIS,
END OF tp_s_hry_member
|
||
| 4 | TP_S_STRING_AXIS | Private | See coding | 20130702 | BEGIN OF tp_s_string_axis,
statement TYPE string,
axis TYPE RRXAXIS,
posit TYPE rrxswahl ,
eltuid TYPE sysuuid_25,
END OF tp_s_string_axis
|
||
| 5 | TP_T_CONSET | Private | See coding | 20130708 | tp_t_conset TYPE STANDARD TABLE OF tp_s_conset
WITH DEFAULT KEY
INITIAL SIZE 0
|
||
| 6 | TP_T_DEFAULT_FILTER | Private | See coding | 20130702 | tp_t_default_filter TYPE STANDARD TABLE OF tp_s_default_filter
WITH DEFAULT KEY
INITIAL SIZE 0
|
||
| 7 | TP_T_HRY_MEMBER | Private | See coding | 20130703 | tp_t_hry_member TYPE STANDARD TABLE OF tp_s_hry_member
WITH DEFAULT KEY
INITIAL SIZE 0
|
||
| 8 | TP_T_STRING_AXIS | Private | See coding | 20130702 | tp_t_string_axis TYPE STANDARD TABLE OF tp_s_string_axis
WITH DEFAULT KEY
INITIAL SIZE 0
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CUBE_NAME | Call by reference | Type reference (TYPE) | RRTCUBE | Cube name | 20130617 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Query exists | 20130627 |
Method GENERATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_MDX_COMMAND | Value transfer | Type reference (TYPE) | STRING | MDX Command | 20130617 |
Method GENERATE on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
Method GET_CAN_BE_SHOWN_MEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_CAN_BE_SHOWN_MEM | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130627 | ||||
| 2 | I_T_STARTLIST_DIM | Call by reference | Type reference (TYPE) | RRO01_T_DIM | 20130627 | ||||
| 3 | I_T_STARTLIST_MEM | Call by reference | Type reference (TYPE) | RRO01_T_MEM | 20130627 |
Method GET_CAN_BE_SHOWN_MEM on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
Method GET_CONDITIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_CONDITIONS | Call by reference | Type reference (TYPE) | TP_T_CONSET | String table | 20130701 | |||
| 2 | I_COLUMNS | Call by reference | Type reference (TYPE) | STRING | 20130708 | ||||
| 3 | I_ROWS | Call by reference | Type reference (TYPE) | STRING | 20130708 | ||||
| 4 | I_T_STARTLIST_CON | Call by reference | Type reference (TYPE) | RRO01_T_CON | 20130702 | ||||
| 5 | I_T_STARTLIST_DIM | Call by reference | Type reference (TYPE) | RRO01_T_DIM | 20130708 | ||||
| 6 | I_T_STARTLIST_FAC | Call by reference | Type reference (TYPE) | RRO01_T_FAC | 20130701 |
Method GET_CONDITIONS on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
Method GET_DEFAULT_FILTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_DEFAULT_FILTER | Call by reference | Type reference (TYPE) | TP_T_DEFAULT_FILTER | 20130627 | ||||
| 2 | I_T_STARTLIST_CON | Call by reference | Type reference (TYPE) | RRO01_T_CON | 20130701 | ||||
| 3 | I_T_STARTLIST_FAC | Call by reference | Type reference (TYPE) | RRO01_T_FAC | 20130627 |
Method GET_DEFAULT_FILTER on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
Method GET_DIMENSIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_DIM_X | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130626 | ||||
| 2 | E_T_DIM_Y | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130626 | ||||
| 3 | I_T_CAN_BE_SHOWN_MEM | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130627 | ||||
| 4 | I_T_SORTING | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130626 | ||||
| 5 | I_T_STARTLIST_DIM | Call by reference | Type reference (TYPE) | RRO01_T_DIM | 20130627 |
Method GET_DIMENSIONS on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
Method GET_MDX_STATEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_STMT | Call by reference | Type reference (TYPE) | STRING | 20130702 | ||||
| 2 | I_T_DEFAULT_FILTER | Call by reference | Type reference (TYPE) | TP_T_DEFAULT_FILTER | 20130627 | ||||
| 3 | I_T_DIM_X | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130627 | ||||
| 4 | I_T_DIM_Y | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130627 | ||||
| 5 | I_T_HIER_SUM | Call by reference | Type reference (TYPE) | TP_T_HRY_MEMBER | 20130703 | ||||
| 6 | I_T_PROPERTIES | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130627 |
Method GET_MDX_STATEMENT on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
Method GET_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_PROPERTIES | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130627 | ||||
| 2 | I_T_STARTLIST_ATR | Call by reference | Type reference (TYPE) | RRO01_T_ATR | 20130627 | ||||
| 3 | I_T_STARTLIST_DIM | Call by reference | Type reference (TYPE) | RRO01_T_DIM | 20130627 |
Method GET_PROPERTIES on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
Method GET_SORTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_HIER_SUM | Call by reference | Type reference (TYPE) | TP_T_HRY_MEMBER | 20130703 | ||||
| 2 | E_T_SORTING | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130626 | ||||
| 3 | I_T_STARTLIST_DIM | Call by reference | Type reference (TYPE) | RRO01_T_DIM | 20130626 |
Method GET_SORTING on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
Method RESHAPE_DIM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_DIM | Call by reference | Type reference (TYPE) | TP_T_STRING_AXIS | 20130627 | ||||
| 2 | I_T_STARTLIST_DIM | Call by reference | Type reference (TYPE) | RRO01_T_DIM | 20130627 |
Method RESHAPE_DIM_TABLE on class CL_RSR_MDX_STMT_GEN_CUBE has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |