SAP ABAP Class CL_ODQ_CORE_SERVICE (Core Services for Operational Delta Queue)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BW-SRV (Application Component) BW Generation Tool and Set Object
⤷
SODQS (Package) Operational Delta Queue Services
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ODQ_BASE | Base Types and Base Constants for Operational Delta Queue | 20091001 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ODQ_CORE_WRITER | Write Handle for Core Service of Operational Delta Queue | 20091112 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ODQ_DELTA_CONSUMER | Recipient for Delta Information | 20091001 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ODQ_ON_COMMIT_HANDLER | Interface for ON COMMIT/ROLLBACK | 20091001 |
Properties
| Class | CL_ODQ_CORE_SERVICE | |
| Short Description | Core Services for Operational Delta Queue | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | SODQ | |
| Program status | ||
| Category | 0 | |
| Package | SODQS | Operational Delta Queue Services |
| Created | 20091001 | 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_ODQ_BASE | Base Types and Base Constants for Operational Delta Queue | 20091001 | ||
| 2 | IF_ODQ_CORE_WRITER | Write Handle for Core Service of Operational Delta Queue | 20091112 | ||
| 3 | IF_ODQ_DELTA_CONSUMER | Recipient for Delta Information | 20091001 | ||
| 4 | IF_ODQ_ON_COMMIT_HANDLER | Interface for ON COMMIT/ROLLBACK | 20091001 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_ODQ_DELTA_REQUEST_TASK | 20091124 | Delta Request |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 50 | 20100113 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | I | 50000000 | Maximum Unit Size in Bytes | 20120404 | ||
| 3 | Constant | Private | See coding | 20091001 | |||||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ODQ_CORE_SERVICE | 20091001 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | ODQTSNLOG | 20091001 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | TTH_QUEUES | 20091001 | ||||
| 7 | Instance attribute | Private | See coding | 20091001 | |||||
| 8 | Instance attribute | Private | Type reference (TYPE) | ODQ_T_DATA_STATISTICS | Statistics For Updated Data | 20110527 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TT_QUEUES | 20100112 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | TT_QUEUE_UNITS | 20091001 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | TT_QUEUE_UNITS | 20091001 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | TT_QUEUE_UNITS | 20091001 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | TT_QUEUE_UNITS | 20091001 | ||||
| 14 | Instance attribute | Private | Type reference (TYPE) | I | 20091001 | ||||
| 15 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20091001 | ||||
| 16 | Instance attribute | Private | Type reference (TYPE) | TS_QUEUE_UNIT-UNITNO | 20091001 | ||||
| 17 | Instance attribute | Private | Type reference (TYPE) | TIMESTAMPL | 20091208 |
Methods
Events
Class CL_ODQ_CORE_SERVICE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TSX_DELETE_UNIT | Public | See coding | 20091001 | BEGIN OF tsx_delete_unit,
tsn TYPE odq_tsn,
sum_lines TYPE i,
count_rows TYPE i,
thx_queue_tid_lists TYPE HASHED TABLE OF tsx_queue_tid_list
WITH UNIQUE KEY modelname queuename,
END OF tsx_delete_unit
|
||
| 2 | TSX_QUEUE_TID_LIST | Public | See coding | 20091001 | BEGIN OF tsx_queue_tid_list,
modelname TYPE odq_modelname,
queuename TYPE odq_queuename,
t_tids TYPE STANDARD TABLE OF odq_tid WITH KEY table_line,
END OF tsx_queue_tid_list
|
||
| 3 | TS_DATA_STATISTIC | Public | See coding | Statistics For Updated Data | 20110527 | ts_data_statistic TYPE LINE OF tt_data_statistics
|
|
| 4 | TS_QUEUE | Private | See coding | 20091001 | BEGIN OF ts_queue,
modelname TYPE odq_modelname,
queuename TYPE odq_queuename,
update_level TYPE i,
max_lines TYPE i,
r_data TYPE REF TO data,
END OF ts_queue
|
||
| 5 | TS_QUEUE_UNIT | Public | Type reference (TYPE) | ODQDATA | 20091001 | |
|
| 6 | TTH_QUEUES | Private | See coding | 20091001 | tth_queues TYPE HASHED TABLE OF ts_queue
WITH UNIQUE KEY modelname queuename
|
||
| 7 | TTX_DELETE_UNITS | Public | See coding | 20091001 | ttx_delete_units TYPE STANDARD TABLE OF tsx_delete_unit
WITH DEFAULT KEY
|
||
| 8 | TT_DATA_STATISTICS | Public | Type reference (TYPE) | ODQ_T_DATA_STATISTICS | Statistics For Updated Data | 20110527 | |
| 9 | TT_QUEUES | Private | See coding | 20100112 | tt_queues TYPE STANDARD TABLE OF ts_queue
WITH DEFAULT KEY
|
||
| 10 | TT_QUEUE_UNITS | Public | See coding | 20091001 | tt_queue_units TYPE STANDARD TABLE OF ts_queue_unit WITH DEFAULT KEY
|
||
| 11 | T_MODELNAME | Public | Type reference (TYPE) | ODQ_MODELNAME | 20091126 | |
|
| 12 | T_QUEUENAME | Public | Type reference (TYPE) | ODQ_QUEUENAME | 20091001 | |
Method Signatures
Method ACTIVATE_QUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MODELNAME | Call by reference | Type reference (TYPE) | ODQ_MODELNAME | Queue-Modell | 20091110 | |||
| 2 | I_QUEUENAME | Call by reference | Type reference (TYPE) | ODQ_QUEUENAME | Queue-Name | 20091001 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091001 | |||
| 2 | 20091001 |
Method ACTIVATE_QUEUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUEUEKEYS | Call by reference | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von gesperrten Queue-Schlüsseln | 20130114 | |||
| 2 | IR_LOG | Call by reference | Object reference (TYPE REF TO) | IF_ODQ_LOG | Protokoll-Handle für Operationale DeltaQueue | 20091211 | |||
| 3 | IT_QUEUEKEYS | Call by reference | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von Queue-Schlüsseln | 20091110 | |||
| 4 | I_ONLY_DEQUEUE | Call by reference | Type reference (TYPE) | ODQ_BOOLEAN | Queue-Schlüsseln nur entsperren | 20130114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091001 | |||
| 2 | 20091001 |
Method CLEANUP_DATA Signature
Method CLEANUP_DATA on class CL_ODQ_CORE_SERVICE has no parameter.
Method CLEANUP_DATA on class CL_ODQ_CORE_SERVICE has no exception.
Method CLEANUP_TSN Signature
Method CLEANUP_TSN on class CL_ODQ_CORE_SERVICE has no parameter.
Method CLEANUP_TSN on class CL_ODQ_CORE_SERVICE has no exception.
Method COLLECT_STATISTICS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_QUEUE_UNITS | Call by reference | Type reference (TYPE) | TT_QUEUE_UNITS | 20110527 | ||||
| 2 | I_UPDATE_LEVEL | Call by reference | Type reference (TYPE) | I | 20110527 |
Method COLLECT_STATISTICS on class CL_ODQ_CORE_SERVICE has no exception.
Method COMMIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA_STATISTICS | Call by reference | Type reference (TYPE) | CL_ODQ_CORE_SERVICE=>TT_DATA_STATISTICS | Statistik über fortgeschriebene Daten | 20110527 |
Method COMMIT on class CL_ODQ_CORE_SERVICE has no exception.
Method DEACTIVATE_QUEUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_LOG | Call by reference | Object reference (TYPE REF TO) | IF_ODQ_LOG | Protokoll-Handle für Operationale DeltaQueue | 20091211 | |||
| 2 | IT_QUEUEKEYS | Call by reference | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von Queue-Schlüsseln | 20091117 | |||
| 3 | I_ALL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091001 | ||||
| 4 | I_SKIP_ENQUEUE | Call by reference | Type reference (TYPE) | ODQ_BOOLEAN | Boolsches Kennzeichen | 20091117 |
Method DEACTIVATE_QUEUES on class CL_ODQ_CORE_SERVICE has no exception.
Method DELETE_BUCKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITX_DELETE_UNITS | Call by reference | Type reference (TYPE) | TTX_DELETE_UNITS | 20091001 | ||||
| 2 | I_SIMULATE | Call by reference | Type reference (TYPE) | ODQ_BOOLEAN | Löschen nur simulieren | 20100201 | |||
| 3 | RR_RESPONSE | Value transfer | Object reference (TYPE REF TO) | IF_ODQ_RESPONSE | Task zur (asynchronen Abarbeitung) | 20100202 |
Method DELETE_BUCKET on class CL_ODQ_CORE_SERVICE has no exception.
Method DELETE_FROM_TSNLOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TSN_RANGES | Call by reference | Type reference (TYPE) | CL_ODQ_TSN=>TT_TSN_RANGES | 20091001 | ||||
| 2 | I_NO_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091001 | ||||
| 3 | I_SIMULATE | Call by reference | Type reference (TYPE) | ODQ_BOOLEAN | Löschen nur simulieren | 20100201 | |||
| 4 | R_COUNT | Value transfer | Type reference (TYPE) | I | 20100202 |
Method DELETE_FROM_TSNLOG on class CL_ODQ_CORE_SERVICE has no exception.
Method DELETE_QUEUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_QUEUEKEYS | Call by reference | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von Queue-Schlüsseln | 20091117 | |||
| 2 | I_ALL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091001 | ||||
| 3 | I_ALSO_ACTIVE_QUEUES | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091001 | ||||
| 4 | I_DEGREE_OF_PARALLELISM | Call by reference | Type reference (TYPE) | I | 20091001 |
Method DELETE_QUEUES on class CL_ODQ_CORE_SERVICE has no exception.
Method DELETE_QUEUE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_UNIT_STATISTICS | Call by reference | Type reference (TYPE) | ODQ_T_UNIT_STATISTICS | Queue-Statistik (z.B. für Löschen) | 20100202 | |||
| 2 | E_COUNT_TSN | Call by reference | Type reference (TYPE) | ODQ_COUNT_TSN | Anzahl Transaktionen (TSNs) | 20100202 | |||
| 3 | IT_QUEUEKEYS | Call by reference | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von Queue-Schlüsseln | 20091117 | |||
| 4 | I_DEGREE_OF_PARALLELISM | Call by reference | Type reference (TYPE) | I | Boolsches Kennzeichen | 20091214 | |||
| 5 | I_SIMULATE | Call by reference | Type reference (TYPE) | ODQ_BOOLEAN | Löschen nur simulieren | 20100201 | |||
| 6 | I_TSN_HIGH | Call by reference | Type reference (TYPE) | ODQ_TSN | Fortlaufende Transaktionsnummer (TSN) | 20091001 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verarbeitungsfehler | 20091214 |
Method DEQUEUE_QUEUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_QUEUEKEYS | Call by reference | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von Queue-Schlüsseln | 20110401 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zeitlimit überschritten | 20110401 |
Method ENQUEUE_QUEUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_QUEUEKEYS | Call by reference | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von Queue-Schlüsseln | 20110401 | |||
| 2 | I_ENQMODE | Call by reference | Type reference (TYPE) | CL_ODQ_TSN=>T_ENQMODE | 20110712 | ||||
| 3 | I_NO_WAIT | Call by reference | Type reference (TYPE) | ODQ_BOOLEAN | Boolsches Kennzeichen | 20110405 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zeitlimit überschritten | 20110401 |
Method FLUSH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20091001 | ||||
| 2 | I_MODELNAME | Call by reference | Type reference (TYPE) | ODQ_MODELNAME | Queue-Modell | 20091110 | |||
| 3 | I_QUEUENAME | Call by reference | Type reference (TYPE) | ODQ_QUEUENAME | 20091001 | ||||
| 4 | I_UPDATE_LEVEL | Call by reference | Type reference (TYPE) | I | 20091001 |
Method FLUSH on class CL_ODQ_CORE_SERVICE has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_ODQ_CORE_SERVICE | 20091001 |
Method GET_INSTANCE on class CL_ODQ_CORE_SERVICE has no exception.
Method GET_QUEUEKEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_QUEUEKEYS | Call by reference | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von Queue-Schlüsseln | 20091117 | |||
| 2 | I_ALL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091117 | ||||
| 3 | I_QUEUESTATE | Call by reference | Type reference (TYPE) | IF_ODQ_BASE=>T_QUEUESTATE | 20091117 | ||||
| 4 | RT_QUEUEKEYS | Value transfer | Type reference (TYPE) | ODQ_T_QUEUEKEYS | Liste von Queue-Schlüsseln | 20091117 |
Method GET_QUEUEKEYS on class CL_ODQ_CORE_SERVICE has no exception.
Method GET_QUEUESTATE_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MODELNAME | Call by reference | Type reference (TYPE) | ODQ_MODELNAME | Queue-Modell | 20091130 | |||
| 2 | I_QUEUENAME | Call by reference | Type reference (TYPE) | ODQ_QUEUENAME | Queue-Name | 20091001 | |||
| 3 | RR_QUEUESTATE | Value transfer | Object reference (TYPE REF TO) | IF_ODQ_BASE=>TS_QUEUESTATE | 20091001 |
Method GET_QUEUESTATE_REF on class CL_ODQ_CORE_SERVICE has no exception.
Method GET_TID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TID | Value transfer | Type reference (TYPE) | ODQ_TID | 20091001 |
Method GET_TID on class CL_ODQ_CORE_SERVICE has no exception.
Method GET_TSN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TSN | Value transfer | Type reference (TYPE) | ODQ_TSN | Fortlaufende Transaktionsnummer (TSN) | 20091124 |
Method GET_TSN on class CL_ODQ_CORE_SERVICE has no exception.
Method NOP Signature
Method NOP on class CL_ODQ_CORE_SERVICE has no parameter.
Method NOP on class CL_ODQ_CORE_SERVICE has no exception.
Method ROLLBACK Signature
Method ROLLBACK on class CL_ODQ_CORE_SERVICE has no parameter.
Method ROLLBACK on class CL_ODQ_CORE_SERVICE has no exception.
Method WAIT_FOR_PENDING_TRANSACTIONS Signature
Method WAIT_FOR_PENDING_TRANSACTIONS on class CL_ODQ_CORE_SERVICE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091001 |
Method WRITE_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_QUEUE_UNITS | Call by reference | Type reference (TYPE) | TT_QUEUE_UNITS | 20091001 |
Method WRITE_INTERNAL on class CL_ODQ_CORE_SERVICE has no exception.
Method WRITE_UNIT_ON_COMMIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20100112 | ||||
| 2 | I_COMMIT_LEVEL | Call by reference | Type reference (TYPE) | I | 20100112 | ||||
| 3 | I_MODELNAME | Call by reference | Type reference (TYPE) | ODQ_MODELNAME | Queue-Modell | 20100112 | |||
| 4 | I_QUEUENAME | Call by reference | Type reference (TYPE) | ODQ_QUEUENAME | Queue-Name | 20100112 | |||
| 5 | I_UPDATE_LEVEL | Call by reference | Type reference (TYPE) | I | 20100112 | ||||
| 6 | R_TID | Value transfer | Type reference (TYPE) | ODQ_TID | Eindeutige Transaktions-Id | 20100113 |
Method WRITE_UNIT_ON_COMMIT on class CL_ODQ_CORE_SERVICE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 702 |