SAP ABAP Class CL_ODQ_TSN (TSN Service)
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
⤷ BC-BW-SRV (Application Component) BW Generation Tool and Set Object
⤷ SODQS (Package) Operational Delta Queue Services
Properties
Class | CL_ODQ_TSN | |
Short Description | TSN Service | |
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 | 20090922 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | CL_ODQ_UTILITIES | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_ODQ_TSN has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_ODQ_CORE_SERVICE | 20091001 | Core Services for Operational Delta Queue |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | C_BASE_TIMESTAMP | Constant | Public | Type reference (TYPE) | TIMESTAMPL | 19700101000000 | 20090922 | ||
2 | C_CONNECTION | Constant | Public | Type reference (TYPE) | DBCON_NAME | 'R/3*ODQTSN' | Database Connection for TSN Status | 20091124 | |
3 | C_ENQMODE | Constant | Public | See coding | 20090922 | ||||
4 | C_ENQSCOPE | Constant | Public | See coding | 20090922 | ||||
5 | C_MAXIMUM_LATENCY | Constant | Public | Type reference (TYPE) | TIMESTAMPL | 1 | 20090922 | ||
6 | C_MAX_RETRIES | Constant | Private | See coding | 20090922 | ||||
7 | C_SECONDS_PER_DAY | Constant | Public | Type reference (TYPE) | I | 86400 | 20091124 | ||
8 | C_TIMEZONE_UTC | Constant | Public | Type reference (TYPE) | TIMEZONE | 'UTC' | 20090922 | ||
9 | C_TSNTYPE | Constant | Public | See coding | 20090922 | ||||
10 | C_WAITTIME | Constant | Private | See coding | 20090922 | ||||
11 | P_ENQMODE_R | Static Attribute | Private | Type reference (TYPE) | T_ENQMODE | 20090922 | |||
12 | P_ENQMODE_S | Static Attribute | Private | Type reference (TYPE) | T_ENQMODE | 20090922 | |||
13 | P_ENQTSN_S | Static Attribute | Private | Type reference (TYPE) | ODQ_TSN | 20090922 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | GET_EXCLUSIVE_LOCK | Static method | Private | Method | 20090922 | |
2 | GET_SHARED_LOCK | Static method | Private | Method | 20090922 | |
3 | GET_TIME_DEVIATION | Static method | Public | Method | 20110114 | |
4 | GET_TSN | Static method | Public | Method | 20090922 | |
5 | GET_TSN_EXCLUSIVE | Static method | Public | Method | 20090922 | |
6 | GET_TSN_SHARED | Static method | Private | Method | 20090922 | |
7 | RELEASE_EXCLUSIVE_LOCK | Static method | Private | Method | 20090922 | |
8 | RELEASE_SHARED_LOCK | Static method | Private | Method | 20090922 | |
9 | RELEASE_SHARED_TSN | Static method | Public | Method | 20090922 | |
10 | SUBTRACT | Static method | Public | Method | 20091124 |
Events
Class CL_ODQ_TSN has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TS_TSN_RANGE | Public | See coding | 20090922 | ts_tsn_range TYPE LINE OF tt_tsn_ranges
|
||
2 | TT_TSN_RANGES | Public | See coding | 20090922 | tt_tsn_ranges TYPE RANGE OF odq_tsn
|
||
3 | T_ENQMODE | Public | Type reference (TYPE) | ENQMODE | 20090922 |
|
|
4 | T_ENQSCOPE | Public | Type reference (TYPE) | DDENQSCOPE | 20090922 |
|
|
5 | T_TSNTYPE | Public | Type reference (TYPE) | ODQ_TSNTYPE | 20090922 |
|
Method Signatures
Method GET_EXCLUSIVE_LOCK Signature
Method GET_EXCLUSIVE_LOCK on class CL_ODQ_TSN has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ODQ_TIMEOUT | 20090922 |
Method GET_SHARED_LOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_TSN | Call by reference | Type reference (TYPE) | ODQ_TSN | 20090922 | |||
2 | Importing | I_TSNTYPE | Call by reference | Type reference (TYPE) | T_TSNTYPE | 20090922 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ODQ_TIMEOUT | 20090922 |
Method GET_TIME_DEVIATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_SERVER | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110114 | |||
2 | Returning | R_TIME_DEVIATION | Value transfer | Type reference (TYPE) | TZNTSTMPS | Referenzfelder für ABAP-Zeitstempel | 20110114 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ODQ_ACCESS_ERROR | Fehler beim Zugriff auf Daten | 20110114 |
Method GET_TSN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_TSN | Value transfer | Type reference (TYPE) | ODQ_TSN | 20090922 |
Method GET_TSN on class CL_ODQ_TSN has no exception.
Method GET_TSN_EXCLUSIVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_TSN | Value transfer | Type reference (TYPE) | ODQ_TSN | 20090922 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ODQ_TIMEOUT | 20090922 |
Method GET_TSN_SHARED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_TSNTYPE | Call by reference | Type reference (TYPE) | T_TSNTYPE | 20090922 | |||
2 | Returning | R_TSN | Value transfer | Type reference (TYPE) | ODQ_TSN | 20090922 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_ODQ_INPUT_INVALID | 20090922 | ||
2 | CX_ODQ_TIMEOUT | 20090922 |
Method RELEASE_EXCLUSIVE_LOCK Signature
Method RELEASE_EXCLUSIVE_LOCK on class CL_ODQ_TSN has no parameter.
Method RELEASE_EXCLUSIVE_LOCK on class CL_ODQ_TSN has no exception.
Method RELEASE_SHARED_LOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_NO_FLUSH | Call by reference | Type reference (TYPE) | ODQ_BOOLEAN | Boolsches Kennzeichen | 20101209 |
Method RELEASE_SHARED_LOCK on class CL_ODQ_TSN has no exception.
Method RELEASE_SHARED_TSN Signature
Method RELEASE_SHARED_TSN on class CL_ODQ_TSN has no parameter.
Method RELEASE_SHARED_TSN on class CL_ODQ_TSN has no exception.
Method SUBTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_TSN_1 | Call by reference | Type reference (TYPE) | ODQ_TSN | Fortlaufende Transaktionsnummer (TSN) | 20091124 | ||
2 | Importing | I_TSN_2 | Call by reference | Type reference (TYPE) | ODQ_TSN | Fortlaufende Transaktionsnummer (TSN) | 20091124 | ||
3 | Returning | R_SECONDS | Value transfer | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20091124 |
Method SUBTRACT on class CL_ODQ_TSN has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 702 |