SAP ABAP Class CL_RSDR_AT_QUERY_HANDLER (Query Handler for Atomic Queries)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSDRP (Package) Data Manager Query Handler

⤷

⤷

Properties
Class | CL_RSDR_AT_QUERY_HANDLER | |
Short Description | Query Handler for Atomic Queries | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | RSDRP | Data Manager Query Handler |
Created | 20020829 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
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_HANDLER has no interface implemented.
Friends
Class CL_RSDR_AT_QUERY_HANDLER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | See coding | 20030926 | ||||
2 | ![]() |
Constant | Public | Type reference (TYPE) | I | 6 | Maximum Degree of Parallelism | 20040319 | |
3 | ![]() |
Instance attribute | Public | Type reference (TYPE) | TN_EXEC_MODE | serial/parallel execution | 20030319 | ||
4 | ![]() |
Instance attribute | Public | Type reference (TYPE) | RS_BOOL | Explain Data Manager | 20060717 | ||
5 | ![]() |
Instance attribute | Public | Type reference (TYPE) | CL_RSDR_AT_OBJ=>TN_QUERY_STATUS | Status of query handler | 20020910 | ||
6 | ![]() |
Instance attribute | Public | Type reference (TYPE) | CL_RSDR_AT_OBJ=>TN_T_OBJ | List of Queries AND postprocessing objects | 20040319 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RSDRP_UID | UID of actually running query if executed serially | 20020910 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RS_BOOL | Commit on default connection allowed | 20060825 | ||
9 | ![]() |
Constant | Private | Type reference (TYPE) | RSDR0_TASKNAME_LONG | 'BI_RSDR_' | BW Data Manager: Task Name - 32 Characters | 20091026 | |
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RSDRP_UID | UID of failing query | 20081201 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | queries already finished | 20081201 | ||
12 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | N_C_MAX_DEGREE | Maximum Used Degree of Parallelism | 20040319 | |
13 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | Final max degree of parallelism | 20051107 | ||
14 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CHAR50 | Error Message | 20081201 | ||
15 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RS_BOOL | Are there any queries with no result flag set ? | 20020911 | ||
16 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RS_BOOL | Other queries also have errors. | 20081201 | ||
17 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RS_BOOL | Allow Parallel mode in batch process | 20041207 | ||
18 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RSDRP_RC | error code of failing query | 20081201 | ||
19 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RS_BOOL | 20081201 | |||
20 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CL_RSDR_AT_OBJ=>TN_QUERY_STATUS | CL_RSDR_AT_OBJ=>N_C_QUERY_STATUS-NEW | Has result been fetched already ? | 20030314 | |
21 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RSDRP_RC | code if rfc mechanism errors occur | 20081201 | ||
22 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | queries currently running | 20081201 | ||
23 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSDRC_EQSID_TABL_CACHE | Eqsid Tabl Cache Object | 20040707 | ||
24 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CHAR50 | max. parallelity queryprocessing | 20081201 | ||
25 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RSDRH_TH_TABLNM | 20020906 | |||
26 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TP_T_REPNM | NCUM Report Names to be cleaned up | 20050825 | ||
27 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CL_RSDR_AT_POSTPROC=>TN_T_POSTPROC | List of postprocessing objects | 20020906 | ||
28 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CL_RSDR_AT_QUERY=>TN_T_QUERY | 20081201 | |||
29 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | queries waiting to run | 20081201 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Add EQSID Cache Object for cleaning up the tmpobjs | 20040707 |
2 | ![]() |
Instance method | Public | Method | Register an ncum report name to be dropped afterwards | 20050825 |
3 | ![]() |
Instance method | Public | Method | Add a query to the handler's query list | 20020829 |
4 | ![]() |
Instance method | Public | Method | Add a temporary object to the handler's list of tmp objects | 20020829 |
5 | ![]() |
Instance method | Public | Method | Add a table with temporary object to the handler | 20030923 |
6 | ![]() |
Instance method | Public | Method | Allow parallel mode in batch process | 20041207 |
7 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20020910 |
8 | ![]() |
Instance method | Private | Method | dispatch parallel accesses | 20081201 |
9 | ![]() |
Instance method | Public | Method | receive method for dispatcher | 20081201 |
10 | ![]() |
Instance method | Public | Method | Drop all temporary objects | 20020829 |
11 | ![]() |
Instance method | Public | Method | Execute all queries with parallelism | 20020829 |
12 | ![]() |
Instance method | Public | Method | Execute all queries one by one in packaged mode | 20020829 |
13 | ![]() |
Instance method | Private | Method | Determines the parallel degree used for execution | 20020829 |
14 | ![]() |
Instance method | Public | Method | return result if parallel execution | 20020911 |
15 | ![]() |
Instance method | Public | Method | Retrieve result after parallel run in pkg mode | 20030314 |
16 | ![]() |
Instance method | Public | Method | parl. exec: get result size to decide on packaged get_result | 20030317 |
17 | ![]() |
Instance method | Private | Method | Records the execution estimates for the queries ... | 20040511 |
18 | ![]() |
Instance method | Private | Method | Run the ncum post-processing | 20020910 |
19 | ![]() |
Instance method | Public | Method | Set Usage of Enhanced db optimizer features (before execute) | 20050127 |
20 | ![]() |
Instance method | Private | Method | Set the maximum degree of parallelism to be used | 20040319 |
21 | ![]() |
Instance method | Private | Method | Execute all queries with parallelism | 20050221 |
Events
Class CL_RSDR_AT_QUERY_HANDLER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TN_EXEC_MODE | Public | Type reference (TYPE) | CHAR01 | Execution mode of Query Handler | 20030926 |
|
2 | TP_T_REPNM | Private | See coding | 20050825 | tp_t_repnm TYPE STANDARD TABLE OF programm WITH DEFAULT KEY INITIAL SIZE 0
|
Method Signatures
Method ADD_EQSID_CACHE_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_R_EQSID_TABL_CACHE | Call by reference | Object reference (TYPE REF TO) | CL_RSDRC_EQSID_TABL_CACHE | Stores EQSID table restrictions in case of multiproviders | 20040707 |
Method ADD_EQSID_CACHE_OBJ on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method ADD_NCUM_REPNM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_PROGRAM | Call by reference | Type reference (TYPE) | PROGRAMM | ABAP-Programmname | 20050825 |
Method ADD_NCUM_REPNM on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method ADD_QUERY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_SUBRC | Value transfer | Attribute reference (LIKE) | SY-SUBRC | 4 if query already exists | 20020829 | ||
2 | ![]() |
I_R_AT_QUERY | Call by reference | Object reference (TYPE REF TO) | CL_RSDR_AT_QUERY | Query to be added | 20020829 |
Method ADD_QUERY on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method ADD_TMPOBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_SUBRC | Value transfer | Attribute reference (LIKE) | SY-SUBRC | 4 = already exists, 8 = illegal type | 20020829 | ||
2 | ![]() |
I_NAME | Call by reference | Type reference (TYPE) | RSD_TABLNM | Name of temporary object | 20020829 | ||
3 | ![]() |
I_SEQ_NR | Call by reference | Type reference (TYPE) | I | 0 | seq-nr if hierarchy result table | 20030923 | |
4 | ![]() |
I_TYPE | Call by reference | Type reference (TYPE) | RSDRH_TABTYP | RSDRH_C_TABTYP-TMP | Type of temporary object | 20020829 |
Method ADD_TMPOBJ on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method ADD_TMPOBJS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_SUBRC | Value transfer | Attribute reference (LIKE) | SY-SUBRC | 4 = already exists, 8 = illegal type | 20030923 | ||
2 | ![]() |
I_T_TMPOBJ | Call by reference | Type reference (TYPE) | RSDRH_T_TABLNM | Table with temporary objects | 20030923 |
Method ADD_TMPOBJS on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method ALLOW_PARALLEL_IN_BATCH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_ALLOW | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20041207 |
Method ALLOW_PARALLEL_IN_BATCH on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_COMMIT_ALLOWED | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | Commit Allowed on default connection | 20060825 | |
2 | ![]() |
I_EXPLAIN_DM | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Explain DM access | 20060717 |
Method CONSTRUCTOR on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method DISPATCH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_PARALLEL | Call by reference | Type reference (TYPE) | I | 20081201 | |||
2 | ![]() |
I_XCODE | Call by reference | Type reference (TYPE) | XSTRING | 20081201 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei Paralleler Query-Ausführung | 20081201 | |
2 | ![]() |
Die Aktion ist an dieser Stelle nicht erlaubt | 20081201 |
Method DISPATCHER_RECEIVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
P_TASK | Call by reference | Type reference (TYPE) | CLIKE | 20081201 |
Method DISPATCHER_RECEIVE on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method DROP_TMPOBJS Signature
Method DROP_TMPOBJS on class CL_RSDR_AT_QUERY_HANDLER has no parameter.
Method DROP_TMPOBJS on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method EXECUTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_NO_RESULT | Call by reference | Type reference (TYPE) | RS_BOOL | If true, only materialized queries ... | 20020923 | ||
2 | ![]() |
E_PARALLEL_EXECUTION | Call by reference | Type reference (TYPE) | RS_BOOL | If false, cannot be executed in parallel | 20020910 | ||
3 | ![]() |
I_MAX_DEGREE | Value transfer | Type reference (TYPE) | I | Max Degree. Has to be <= n_c_max_degree | 20040319 | ||
4 | ![]() |
I_RT_SAMPLE_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Example Target Data Structure | 20031021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Access to not yet assigned query result data | 20020913 | |
2 | ![]() |
Kommunikationsfehler (MDX Parser) | 20020913 | |
3 | ![]() |
Generated Stmt is too long ... | 20030925 | |
4 | ![]() |
Cube is locked (due to condensing, ...) | 20030925 | |
5 | ![]() |
Die Aktion ist an dieser Stelle nicht erlaubt | 20030319 | |
6 | ![]() |
Objekt existiert bereits | 20020913 | |
7 | ![]() |
Objekt nicht gefunden | 20020913 | |
8 | ![]() |
Fehler beim Lesen aus einem Virtuellen Cube | 20020913 | |
9 | ![]() |
Ausnahmen mit statischer und dynamischer Prüfung von RAISING | 20020913 |
Method EXECUTE_SERIALLY 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 ? | 20030922 | ||
2 | ![]() |
E_SX_SPLITPACK | Call by reference | Type reference (TYPE) | RSDR0_SX_SPLITPACK | splitpack for result | 20020910 | ||
3 | ![]() |
E_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Result Table Area | 20020910 | ||
4 | ![]() |
I_MPROV_MAPPING | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | Multiprovider Charet mapping | 20040913 | |
5 | ![]() |
I_PKGSIZE | Value transfer | Type reference (TYPE) | I | 1000 | Size of Result Data Packages | 20020906 | |
6 | ![]() |
I_SHOW_REPORT | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Show generated Statement | 20020923 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler beim Zugriff | 20020910 | |
2 | ![]() |
Die Aktion ist an dieser Stelle nicht erlaubt | 20030319 | |
3 | ![]() |
Fehler beim Lesen aus einem Virtuellen Cube | 20020910 | |
4 | ![]() |
Ausnahmen mit statischer und dynamischer Prüfung von RAISING | 20020910 |
Method GET_PARALLEL_DEGREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_PARALLEL_DEGREE | Value transfer | Type reference (TYPE) | I | Degree of parallelism | 20020829 |
Method GET_PARALLEL_DEGREE on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method GET_RESULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_TX_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Result data | 20020911 | ||
2 | ![]() |
E_TX_SPLITPACK | Call by reference | Type reference (TYPE) | RSDR0_TX_SPLITPACK | Splitpack for Result | 20020912 | ||
3 | ![]() |
I_MPROV_MAPPING | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | Multiprovider Charet Mapping | 20040913 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler beim Zugriff | 20020912 | |
2 | ![]() |
Die Aktion ist an dieser Stelle nicht erlaubt | 20030314 | |
3 | ![]() |
BW: Allgemeine Fehlerklasse | 20050125 |
Method GET_RESULT_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_SX_SPLITPACK | Call by reference | Type reference (TYPE) | RSDR0_SX_SPLITPACK | splitpack for result | 20030314 | ||
3 | ![]() |
E_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Result Table Area | 20030314 | ||
4 | ![]() |
I_MPROV_MAPPING | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | Multiprovider Charet Mapping | 20040913 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler beim Zugriff | 20030314 | |
2 | ![]() |
Die Aktion ist an dieser Stelle nicht erlaubt | 20030317 | |
3 | ![]() |
Fehler beim Lesen aus einem Virtuellen Cube | 20030314 | |
4 | ![]() |
Ausnahmen mit statischer und dynamischer Prüfung von RAISING | 20030314 |
Method GET_RESULT_SIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_SIZE | Value transfer | Type reference (TYPE) | I | Size of result | 20030317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Die Aktion ist an dieser Stelle nicht erlaubt | 20030317 |
Method RECORD_ESTIMATES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_T_QUERY | Call by reference | Type reference (TYPE) | CL_RSDR_AT_QUERY=>TN_T_QUERY | Query object list | 20040511 |
Method RECORD_ESTIMATES on class CL_RSDR_AT_QUERY_HANDLER has no exception.
Method RUN_POSTPROC Signature
Method RUN_POSTPROC on class CL_RSDR_AT_QUERY_HANDLER has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Access to not yet assigned query result data | 20020913 | |
2 | ![]() |
Generated Stmt is too long ... | 20030925 | |
3 | ![]() |
Cube is locked (due to condensing, ...) | 20030925 | |
4 | ![]() |
Objekt existiert bereits | 20020913 | |
5 | ![]() |
Objekt nicht gefunden | 20020913 | |
6 | ![]() |
Fehler beim Lesen aus einem Virtuellen Cube | 20020911 | |
7 | ![]() |
Ausnahmen mit statischer und dynamischer Prüfung von RAISING | 20020913 |
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_HANDLER has no exception.
Method SET_MAX_DEGREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_MAX_DEGREE | Value transfer | Type reference (TYPE) | I | Max Degree | 20040319 |
Method SET_MAX_DEGREE on class CL_RSDR_AT_QUERY_HANDLER 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_T_QUERY | Call by reference | Type reference (TYPE) | CL_RSDR_AT_QUERY=>TN_T_QUERY | 20050221 |
Method WRITE_MESSAGES_TO_HANDLER on class CL_RSDR_AT_QUERY_HANDLER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 400 |