SAP ABAP Class CL_RSDR_AT_QUERY (Definition of an abstract Query Object)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSDRP (Package) Data Manager Query Handler
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDR_AT_OBJ | Definition of an abstract Object with Result Data | 20020910 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDR_AT_QUERY_SQL | Definition of an SQL Query Object | 20020910 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_RSDR_AT_QUERY_VIRTUAL | Definition of an Virtual Query Object | 20020910 |
Properties
| Class | CL_RSDR_AT_QUERY | |
| Short Description | Definition of an abstract Query Object | |
| Super Class | CL_RSDR_AT_OBJ | Definition of an abstract Object with Result Data |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSDRP | Data Manager Query Handler |
| Created | 20020910 | 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) | |
| 5 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDR_AT_QUERY has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_RSDRP_AT_QUERY_RFC | 20031021 | Class extension of RSDRP function group | |
| 2 | CL_RSDR_AT_POSTPROC | 20020910 | Generic Postprocessing Object | |
| 3 | CL_RSDR_AT_QUERY_HANDLER | 20040513 | Query Handler for Atomic Queries |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | RS_BOOL | No result set for query available | 20020910 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | I | Number of Slot | 20060327 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | RS_T_MSG | Error Messages occurred during execution | 20040319 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | I | Estimate for Execution effort | 20040510 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | RS_BOOL | Called via RFC | 20030424 | |||
| 6 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_RSDD_STATDM | Data Manager Statistics Object | 20040504 | |||
| 7 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_RSDD_STATDM_ACCESS | Single Data Manager Statistics Access Record | 20040506 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TN_T_XDATA | t_data table in packed compressed form | 20030314 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Execution Messages in packed form | 20020910 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Create query object | 20020910 | |
| 2 | Static method | Protected | Method | Generate component description of s_data type | 20031016 | |
| 3 | Instance method | Protected | Method | Execute a query packaged and store packages in packed form | 20030314 | |
| 4 | Instance method | Protected | Method | Generate component description of s_data type | 20031016 | |
| 5 | Instance method | Public | Method | Returns the query result; Result is per default clear in obj | 20030314 | |
| 6 | Instance method | Protected | Method | Get an abstract estimate for the execution effort | 20040510 | |
| 7 | Instance method | Protected | Method | packs the attributes for sending via RFC | 20020910 | |
| 8 | Instance method | Protected | Method | Exports the data for sending via RFC | 20020910 | |
| 9 | Instance method | Protected | Method | packs the splitpack for sending via RFC | 20020910 | |
| 10 | Instance method | Protected | Method | packs the splitpack for sending via RFC | 20040506 | |
| 11 | Instance method | Public | Method | Set Usage of Enhanced db optimizer features (before execute) | 20050127 | |
| 12 | Static method | Private | Method | Set data for serial exec, compression and packaged read | 20031008 | |
| 13 | Instance method | Protected | Method | Set data for serial exec, compression and packaged read | 20031008 | |
| 14 | Instance method | Protected | Method | Set Slotnr for Statistics During Parallel Execution | 20060327 | |
| 15 | Instance method | Private | Method | unpacks xdata ... | 20020911 | |
| 16 | Instance method | Protected | Method | updates attributes with results from an rfc query execution | 20020910 | |
| 17 | Instance method | Protected | Method | updates statistics with results from quer execution | 20040506 | |
| 18 | Instance method | Protected | Method | unpacks the msgs created during RFC execution and writes the | 20020910 | |
| 19 | Instance method | Protected | Method | unpacks the msgs created during RFC execution and writes the | 20050221 |
Events
Class CL_RSDR_AT_QUERY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_T_QUERY | Public | See coding | Table of query objects | 20030926 | tn_t_query type standard table of ref to
CL_RSDR_AT_QUERY
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | Infocube of the query | 20020910 | |||
| 2 | I_NO_RESULT | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | If true, no result table needed | 20020910 | ||
| 3 | I_RFC_UID | Call by reference | Type reference (TYPE) | RSDRP_UID | UID if object copied | 20020910 | |||
| 4 | I_RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to Query result table | 20020910 | |||
| 5 | I_R_STAT | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_STATDM | DM Statistik -Erfassung | 20040504 | |||
| 6 | I_SERIAL_ONLY | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Serial Execution only ? | 20031007 | ||
| 7 | I_SX_SPLITPACK | Call by reference | Type reference (TYPE) | RSDR0_SX_SPLITPACK | Splitpack for Query | 20020910 | |||
| 8 | I_T_SAMPLE_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Query Result Table Type | 20031008 | |||
| 9 | I_USE_TDATA | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | If true, use i_t_data as type reference | 20030314 | ||
| 10 | I_XCODE | Call by reference | Type reference (TYPE) | XSTRING | Code that contains form get_ref_t_data | 20021001 |
Method CONSTRUCTOR on class CL_RSDR_AT_QUERY has no exception.
Method CREATE_RT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to t_data structure | 20031016 | |||
| 2 | I_XCODE | Call by reference | Type reference (TYPE) | XSTRING | Xstring with s_data description | 20031016 |
Method CREATE_RT_DATA on class CL_RSDR_AT_QUERY has no exception.
Method EXECUTE_RFC_PACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_STATUS | Call by reference | Type reference (TYPE) | TN_QUERY_STATUS | Status of Query | 20030314 | |||
| 2 | E_XDATA | Call by reference | Type reference (TYPE) | XSTRING | Double packed t_xdata structure | 20030314 | |||
| 3 | I_PKGSIZE | Value transfer | Type reference (TYPE) | I | 1000 | Package Size for packaged read | 20030314 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Access to not yet assigned query result data | 20030314 | ||
| 2 | Cube is locked (due to condensing, ...) | 20030925 | ||
| 3 | Cube is locked (due to condensing, ...) | 20030925 | ||
| 4 | Fehler beim Zugriff | 20030314 | ||
| 5 | Objekt existiert bereits | 20030314 | ||
| 6 | Objekt nicht gefunden | 20030314 | ||
| 7 | Fehler beim Lesen aus einem Virtuellen Cube | 20030314 | ||
| 8 | Ausnahmen mit statischer und dynamischer Prüfung von RAISING | 20030314 |
Method GET_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_XCODE | Call by reference | Type reference (TYPE) | XSTRING | xstring with s_data description | 20031016 | |||
| 2 | I_RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Sample data to get description for | 20031021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Access to not yet assigned query result data | 20031016 |
Method GET_DATA_PACKAGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_END_OF_DATA | Call by reference | Type reference (TYPE) | RS_BOOL | End of Data reached ? | 20030314 | |||
| 2 | E_RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | reference to result data inside object | 20030314 | |||
| 3 | E_SX_SPLITPACK | Call by reference | Type reference (TYPE) | RSDR0_SX_SPLITPACK | splitpack | 20030314 | |||
| 4 | E_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | query result table | 20030314 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Cube is locked (due to condensing, ...) | 20040426 | ||
| 2 | Query does not have any result data | 20030314 | ||
| 3 | BW: Allgemeine Fehlerklasse | 20050125 |
Method GET_EXEC_ESTIMATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_ESTIMATE | Value transfer | Type reference (TYPE) | I | Estimate for execution effort | 20040510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Aktion ist an dieser Stelle nicht erlaubt | 20040511 |
Method PACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | Infoprovider | 20020910 | |||
| 2 | E_TYPE | Call by reference | Type reference (TYPE) | RSDRP_QUERY_TYPE | Type of Query | 20020910 | |||
| 3 | E_UID | Call by reference | Type reference (TYPE) | RSDRP_UID | UID | 20020910 | |||
| 4 | E_XDEFINITION | Call by reference | Type reference (TYPE) | XSTRING | packed query definition | 20020910 |
Method PACK on class CL_RSDR_AT_QUERY has no exception.
Method PACK_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_XDATA | Call by reference | Type reference (TYPE) | XSTRING | packed query result table | 20030314 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Result data area not assigned inside object | 20020920 | ||
| 2 | Query does not have any result data | 20020913 |
Method PACK_SPLITPACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_XSPLITPACK | Call by reference | Type reference (TYPE) | XSTRING | packed splitpack | 20020910 |
Method PACK_SPLITPACK on class CL_RSDR_AT_QUERY has no exception.
Method PACK_STATS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_XSTATS | Call by reference | Type reference (TYPE) | XSTRING | packed dm access statistics | 20040506 |
Method PACK_STATS on class CL_RSDR_AT_QUERY has no exception.
Method SET_ENH_DB_OPT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ENH_DB_OPT | Call by reference | Type reference (TYPE) | RS_BOOL | Use enhanced db optimizer features | 20050127 |
Method SET_ENH_DB_OPT on class CL_RSDR_AT_QUERY has no exception.
Method SET_RFC_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to Data (if set) | 20031008 | |||
| 2 | I_RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to Query result table | 20031008 | |||
| 3 | I_XCODE | Call by reference | Type reference (TYPE) | XSTRING | Code that contains form get_ref_t_data | 20031008 |
Method SET_RFC_DATA on class CL_RSDR_AT_QUERY has no exception.
Method SET_RFC_DATA_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_XCODE | Call by reference | Type reference (TYPE) | XSTRING | Code that contains form get_ref_t_data | 20031008 |
Method SET_RFC_DATA_EXT on class CL_RSDR_AT_QUERY has no exception.
Method SET_SLOTNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SLOTNR | Call by reference | Type reference (TYPE) | I | 20060327 |
Method SET_SLOTNR on class CL_RSDR_AT_QUERY has no exception.
Method UNPACK_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Result data (if it has not been provided earlier) | 20030314 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Access to not yet assigned query result data | 20020913 |
Method UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ROWS_FETCHED | Call by reference | Type reference (TYPE) | I | Number of Rows fetched | 20030317 | |||
| 2 | I_SUBRC | Call by reference | Type reference (TYPE) | RSDRP_RC | Return Code of RFC execution | 20020910 | |||
| 3 | I_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Query Result Table | 20020910 | |||
| 4 | I_XDATA | Call by reference | Type reference (TYPE) | XSTRING | Result data in packed form | 20030314 | |||
| 5 | I_XMSG | Call by reference | Type reference (TYPE) | XSTRING | Messages in packed form | 20020910 | |||
| 6 | I_XSPLITPACK | Call by reference | Type reference (TYPE) | XSTRING | Packed splitpack for Query | 20020910 | |||
| 7 | I_XSTATS | Call by reference | Type reference (TYPE) | XSTRING | Statistics Data | 20040506 |
Method UPDATE on class CL_RSDR_AT_QUERY has no exception.
Method UPDATE_STATS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_XSTATS | Call by reference | Type reference (TYPE) | XSTRING | Flattened DMSTAT_ACCESS object | 20040506 |
Method UPDATE_STATS on class CL_RSDR_AT_QUERY has no exception.
Method WRITE_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Message to append to last message | 20040921 | |||
| 2 | I_WITH_QUERY_MSG | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Add msg describing query uid ? | 20040921 | ||
| 3 | R_R_MSG | Value transfer | Object reference (TYPE REF TO) | CX_ROOT | BW Exception mit generischer Nachricht (keine spez. Attrib.) | 20040921 |
Method WRITE_MESSAGES on class CL_RSDR_AT_QUERY has no exception.
Method WRITE_MESSAGES_TO_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WITH_QUERY_MSG | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Add msg describing query uid ? | 20050221 |
Method WRITE_MESSAGES_TO_HANDLER on class CL_RSDR_AT_QUERY has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 400 |