SAP ABAP Class CL_OS_TRANSACTION (Transaction Object (Represents an OO Transaction))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA-OBS (Application Component) Object Services
⤷
SOS_TRANSACTION (Package) Object Service Transaction
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_OS_TA_SERVICE | Objet Services Private: Internal Transaction Interface | 19990907 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_OS_TRANSACTION | Interface for Transaction Objects | 19981202 |
Properties
| Class | CL_OS_TRANSACTION | |
| Short Description | Transaction Object (Represents an OO Transaction) | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SOS_TRANSACTION | Object Service Transaction |
| Created | 19981202 | SAP |
| Last change | 20110908 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_OS_TA_SERVICE | Objet Services Private: Internal Transaction Interface | 19990907 | ||
| 2 | IF_OS_TRANSACTION | Interface for Transaction Objects | 19981202 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_OS_TRANSACTION_MANAGER | 20010509 | Factory and Manager for All Transaction Objects |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | OS_BOOLEAN | OSCON_FALSE | Start Transaction Chained? | 19990916 | ||
| 2 | Instance attribute | Private | Type reference (TYPE) | OSTYP_CHECK_AGENTS_TAB | List of Check Agents | 19981211 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | OS_SSTATUS | Top: Status of Save | 19981211 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | OS_BOOLEAN | Top: Commit Comes from Old Application | 19981211 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | OS_BOOLEAN | OSCON_FALSE | Has Update Mode Changed Already? | 20000216 | ||
| 6 | Static Attribute | Private | Type reference (TYPE) | OS_DMODE | Last Valid Update Mode | 19990921 | |||
| 7 | Static Attribute | Protected | Object reference (TYPE REF TO) | IF_OS_PM_SERVICE | Persistence Service | 19981211 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_OS_TRANSACTION | Current Child Transaction | 19990907 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_OS_TRANSACTION | Parent OO Transaction | 19990907 | |||
| 10 | Static Attribute | Protected | Object reference (TYPE REF TO) | IF_OS_TRANSACTION_MANAGER | Transaction Manager | 19981211 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | OS_TSTATUS | State of Transaction | 19981211 | |||
| 12 | Static Attribute | Protected | Object reference (TYPE REF TO) | IF_OS_UNDO_MANAGER | Undo Manager | 19981214 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | OS_BOOLEAN | Is This Transaction Relevant for Undo? | 19990112 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | OS_DMODE | OSCON_DMODE_DEFAULT | Update Mode of Top Transaction | 19990921 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Object Services Private: CONSTRUCTOR of a Transaction Object | 19981214 | |
| 2 | Instance method | Private | Method | Triggers an Exception to Force Termination | 19990225 | |
| 3 | Instance method | Private | Event handling method | Handler for Commit Finished | 19981214 | |
| 4 | Instance method | Private | Event handling method | Handler for Commit Requested | 19981214 | |
| 5 | Instance method | Private | Event handling method | Handler for Rollback Finished | 19981214 | |
| 6 | Instance method | Private | Method | Internal: Prepare END Transaction | 19990916 | |
| 7 | Instance method | Private | Method | Internal: Prepare SAVE | 19990916 | |
| 8 | Static method | Public | Method | Object Services Private: Initialization of Class Attributes | 19981221 |
Events
Class CL_OS_TRANSACTION has no event.
Types
Class CL_OS_TRANSACTION has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_OS_TRANSACTION has no parameter.
Method CONSTRUCTOR on class CL_OS_TRANSACTION has no exception.
Method EXCEPTION_RAISER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXCEPTION_TYPE | Value transfer | Type reference (TYPE) | INT4 | I_EXCEPTION_TYPE | 19990907 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 4. Abschluss der Top-Transaktion gescheitert | 19990907 | ||
| 2 | 1. COMMIT WORK bei OO-Anwendung unzulässig | 19990225 | ||
| 3 | 2. ROLLBACK WORK bei OO-Anwendung unzulässig | 19990907 | ||
| 4 | 3. Undo der Top-Transaktion bei externem Commit unzulässig | 19990907 |
Method HANDLER_COMMIT_FINISHED Signature
Method HANDLER_COMMIT_FINISHED on class CL_OS_TRANSACTION has no parameter.
Method HANDLER_COMMIT_FINISHED on class CL_OS_TRANSACTION has no exception.
Method HANDLER_COMMIT_REQUESTED Signature
Method HANDLER_COMMIT_REQUESTED on class CL_OS_TRANSACTION has no parameter.
Method HANDLER_COMMIT_REQUESTED on class CL_OS_TRANSACTION has no exception.
Method HANDLER_ROLLBACK_FINISHED Signature
Method HANDLER_ROLLBACK_FINISHED on class CL_OS_TRANSACTION has no parameter.
Method HANDLER_ROLLBACK_FINISHED on class CL_OS_TRANSACTION has no exception.
Method INTERNAL_PREPARE_END Signature
Method INTERNAL_PREPARE_END on class CL_OS_TRANSACTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Object Services: Konsistenzprüfung fehlgeschlagen | 20010111 | ||
| 2 | Object Services: Fehler im Transaktionsdienst | 20010113 |
Method INTERNAL_PREPARE_SAVE Signature
Method INTERNAL_PREPARE_SAVE on class CL_OS_TRANSACTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Object Services: Transaktionsstatus falsch | 20010113 |
Method OS_CLASS_INIT Signature
Method OS_CLASS_INIT on class CL_OS_TRANSACTION has no parameter.
Method OS_CLASS_INIT on class CL_OS_TRANSACTION has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in |