SAP ABAP Class CL_RSR_SQL_COMMAND (Execution of SQL (XML/A))
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSR_SQL (Package) SQL Execution in XML for Analysis
⤷
⤷
Properties
| Class | CL_RSR_SQL_COMMAND | |
| Short Description | Execution of SQL (XML/A) | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSR_SQL | SQL Execution in XML for Analysis |
| Created | 20060321 | SAP |
| Last change | 20130531 | 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_RSR_SQL_COMMAND has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_RSR_SQL_CONDITION | 20060328 | SQL Condition (WHERE / HAVING) |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 20060328 | |||||
| 2 | Static Attribute | Public | Type reference (TYPE) | RFCDEST | 'MDX PARSER' | Logical destination (specified when calling function) | 20060322 | ||
| 3 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_RSR_SQL_META_DATA | Metadata for SQL (XML/A) | 20060321 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | STRING | 20060321 | ||||
| 5 | Instance attribute | Public | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20060321 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | BAPI6115TAB-CAT_NAM | CATALOG to which the CUBE belongs | 20060321 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | STRING | 20060328 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | BAPI6111GEN-OBJ_HANDLE | BW: General Reference Field for Internal IDs | 20060321 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | BAPI6111GEN-OBJ_HANDLE | BW: General Reference Field for Internal IDs | 20060321 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | I | 20060321 | ||||
| 11 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSR_SQL_META_DATA_DTA | 20060404 | ||||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSR_SQL_CONDITION | SQL Condition (WHERE / HAVING) | 20060328 | |||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSR_SQL_CONDITION | SQL Condition (WHERE / HAVING) | 20060328 | |||
| 14 | Static Attribute | Private | See coding | 20060321 | |||||
| 15 | Instance attribute | Private | Type reference (TYPE) | RRT1_T_CMD | 20060321 | ||||
| 16 | Instance attribute | Private | See coding | 20060328 | |||||
| 17 | Instance attribute | Private | Type reference (TYPE) | TN_T_ITEM | 20060328 | ||||
| 18 | Instance attribute | Private | Type reference (TYPE) | TN_T_ITEM | 20060328 | ||||
| 19 | Instance attribute | Private | Type reference (TYPE) | TN_T_ITEM | 20060328 | ||||
| 20 | Instance attribute | Private | Type reference (TYPE) | RRT1_T_CMD_PARAMS | 20060321 | ||||
| 21 | Instance attribute | Private | Type reference (TYPE) | TN_T_ITEM | 20060328 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | 20070403 | ||
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20060321 | |
| 3 | Static method | Public | Method | 20060321 | ||
| 4 | Instance method | Public | Method | 20060404 | ||
| 5 | Instance method | Public | Method | 20060321 | ||
| 6 | Static method | Public | Method | 20060321 | ||
| 7 | Instance method | Public | Method | 20060321 | ||
| 8 | Instance method | Public | Method | 20060328 | ||
| 9 | Instance method | Public | Method | 20060321 | ||
| 10 | Instance method | Private | Method | 20060328 | ||
| 11 | Instance method | Private | Method | 20060328 | ||
| 12 | Instance method | Private | Method | 20060327 | ||
| 13 | Instance method | Private | Method | 20060328 | ||
| 14 | Instance method | Private | Method | 20060328 | ||
| 15 | Static method | Public | Method | 20060327 | ||
| 16 | Instance method | Public | Method | 20060404 | ||
| 17 | Instance method | Private | Method | 20060328 |
Events
Class CL_RSR_SQL_COMMAND has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_S_ITEM | Public | See coding | 20060328 | BEGIN OF tn_s_item,
tp TYPE char1,
val TYPE rrt1_s_cmd_params-cmd_param1,
aggr TYPE rrtcmdid,
dsc TYPE rs_bool,
alias TYPE rsalias,
END OF tn_s_item
|
||
| 2 | TN_S_SELECT | Public | See coding | 20060328 | BEGIN OF tn_s_select,
iobjnm TYPE rsiobjnm,
position TYPE i,
END OF tn_s_select
|
||
| 3 | TN_TH_SELECT | Public | See coding | 20060404 | tn_th_select TYPE HASHED TABLE OF tn_s_item-val
WITH UNIQUE KEY table_line
INITIAL SIZE 0
|
||
| 4 | TN_T_ITEM | Public | See coding | 20060328 | tn_t_item TYPE STANDARD TABLE OF tn_s_item
WITH NON-UNIQUE KEY table_line
INITIAL SIZE 0
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_RSR_SQL_COMMAND has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RSR_SQL_COMMAND has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CAT_NAM | Call by reference | Type reference (TYPE) | BAPI6115TAB-CAT_NAM | CATALOG zu dem der CUBE gehört | 20060321 |
Method CONSTRUCTOR on class CL_RSR_SQL_COMMAND has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CAT_NAM | Call by reference | Type reference (TYPE) | BAPI6115TAB-CAT_NAM | CATALOG zu dem der CUBE gehört | 20060321 | |||
| 2 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20060327 | ||||
| 3 | I_T_SQL | Call by reference | Type reference (TYPE) | RRT1_T_CMD_TXT | 20060321 | ||||
| 4 | R_R_SQL | Value transfer | Object reference (TYPE REF TO) | CL_RSR_SQL_COMMAND | Ausführung eines SQLs (XML/A) | 20060321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW: Allgemeine Fehlerklasse | 20060321 | ||
| 2 | System-Exception bei Datenerzeugung | 20060321 |
Method FETCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_COLUMNS | Call by reference | Type reference (TYPE) | RRTDP_T_COLUMNS | 20060404 | ||||
| 2 | E_T_DATA | Call by reference | Type reference (TYPE) | RRTDP_T_DATA | 20060404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20060404 | |||
| 2 | BW: Allgemeine Fehlerklasse | 20060404 |
Method FREE Signature
Method FREE on class CL_RSR_SQL_COMMAND has no parameter.
Method FREE on class CL_RSR_SQL_COMMAND has no exception.
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | BAPI6111GEN-OBJ_HANDLE | BW: Allgemeines Bezugsfeld für interne IDs | 20060321 | |||
| 2 | R_R_SQL | Value transfer | Object reference (TYPE REF TO) | CL_RSR_SQL_COMMAND | Ausführung eines SQLs (XML/A) | 20060321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Objekt nicht gefunden | 20060321 |
Method GET_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_ID | Value transfer | Type reference (TYPE) | BAPI6111GEN-OBJ_HANDLE | BW: Allgemeines Bezugsfeld für interne IDs | 20060321 |
Method GET_ID on class CL_RSR_SQL_COMMAND has no exception.
Method OPEN_CURSOR Signature
Method OPEN_CURSOR on class CL_RSR_SQL_COMMAND has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW: Allgemeine Fehlerklasse | 20060328 |
Method PARSE Signature
Method PARSE on class CL_RSR_SQL_COMMAND has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW: Allgemeine Fehlerklasse | 20060321 |
Method POP_COND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TEST_ONLY | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20060328 | ||
| 2 | R_R_COND | Value transfer | Object reference (TYPE REF TO) | CL_RSR_SQL_CONDITION | SQL Begindung (WHERE / HAVING) | 20060328 |
Method POP_COND on class CL_RSR_SQL_COMMAND has no exception.
Method POP_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TEST_ONLY | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20060328 | ||
| 2 | R_S_ITEM | Value transfer | Type reference (TYPE) | TN_S_ITEM | 20060328 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW: Allgemeine Fehlerklasse | 20060328 |
Method POP_PARAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_PARAM | Call by reference | Type reference (TYPE) | SIMPLE | 20060327 | ||||
| 2 | I_TEST_ONLY | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20060327 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW: Allgemeine Fehlerklasse | 20060327 |
Method PUSH_COND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_COND | Call by reference | Object reference (TYPE REF TO) | CL_RSR_SQL_CONDITION | SQL Begindung (WHERE / HAVING) | 20060328 |
Method PUSH_COND on class CL_RSR_SQL_COMMAND has no exception.
Method PUSH_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AGGR | Value transfer | Type reference (TYPE) | RRTCMDID | id of a tensor processor command | 20060328 | |||
| 2 | I_ALIAS | Value transfer | Type reference (TYPE) | RSALIAS | BW-DM Feldalias (darf nicht länger als 18 werden ! ) | 20060410 | |||
| 3 | I_DSC | Value transfer | Type reference (TYPE) | RS_BOOL | Boolean | 20060328 | |||
| 4 | I_TP | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20060328 | |||
| 5 | I_VAL | Call by reference | Type reference (TYPE) | RRT1_S_CMD_PARAMS-CMD_PARAM1 | 20060328 |
Method PUSH_ITEM on class CL_RSR_SQL_COMMAND has no exception.
Method REMOVE_DELIMITERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_PARAM | Call by reference | Type reference (TYPE) | C | 20060327 |
Method REMOVE_DELIMITERS on class CL_RSR_SQL_COMMAND has no exception.
Method SET_SQL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20060404 | ||||
| 2 | I_T_SQL | Call by reference | Type reference (TYPE) | RRT1_T_CMD_TXT | 20060404 |
Method SET_SQL on class CL_RSR_SQL_COMMAND has no exception.
Method TRANSFORM Signature
Method TRANSFORM on class CL_RSR_SQL_COMMAND has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BW: Allgemeine Fehlerklasse | 20060328 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 710 |