SAP ABAP Class CL_RECOVERY_HANDLE_RL (Utility object for cl_recoverable_rl)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
PP-KAB (Application Component) KANBAN
⤷
MD05_GL (Package) Generic layer for kanban and returnable packaging logistics
⤷
⤷
Properties
| Class | CL_RECOVERY_HANDLE_RL | |
| Short Description | Utility object for cl_recoverable_rl | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MD05_GL | Generic layer for kanban and returnable packaging logistics |
| Created | 19991016 | SAP |
| Last change | 20041006 | 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
Class CL_RECOVERY_HANDLE_RL has no interface implemented.
Friends
Class CL_RECOVERY_HANDLE_RL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | VHURL_LUW_LEVEL | Level of associated LUW | 19991016 | |||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_RECOVERABLE_RL | Object to which handler is assigned | 19991016 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_RECOVERY_RECORD_RL | Recovery Information | 19991016 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | VHURL_RECOVERY_HANDLE_STATUS | Status (existing, deleted) | 19991021 | |||
| 5 | Constant | Public | Type reference (TYPE) | VHURL_RECOVERY_HANDLE_STATUS | 'D' | Status: deleted | 19991021 | ||
| 6 | Constant | Public | Type reference (TYPE) | VHURL_RECOVERY_HANDLE_STATUS | '1' | Status: existing | 19991021 | ||
| 7 | Constant | Public | Type reference (TYPE) | VHURL_RECOVERY_HANDLE_STATUS | 'I' | Status: invalid | 19991118 | ||
| 8 | Constant | Public | Type reference (TYPE) | VHURL_RECOVERY_HANDLE_STATUS | '' | Undefined status (original state) | 19991118 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 19991016 | |
| 2 | Instance method | Public | Method | Complete invalidation (reset + restore) | 19991120 | |
| 3 | Instance method | Private | Event handling method | Handler for commit | 19991016 | |
| 4 | Instance method | Private | Event handling method | Handler for rollback | 19991016 | |
| 5 | Instance method | Public | Method | Initiate change of associated object | 19991016 | |
| 6 | Instance method | Private | Method | Internal: Initiate change to associate object | 19991018 | |
| 7 | Instance method | Public | Method | Initiate deletion of associated object | 19991016 | |
| 8 | Instance method | Public | Method | Initiate creation of new object | 19991016 | |
| 9 | Instance method | Public | Method | Initiate initial assignment of an object from DB | 19991118 | |
| 10 | Instance method | Private | Method | Register event handler with LUW | 19991016 | |
| 11 | Instance method | Public | Method | Hard reset to level 0 | 19991021 | |
| 12 | Instance method | Private | Method | Retrieve or invalidate last saved status | 19991021 |
Events
Class CL_RECOVERY_HANDLE_RL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | VHURL_LUW_LEVEL | Public | Type reference (TYPE) | I | 20041001 | |
|
| 2 | VHURL_RECOVERY_HANDLE_STATUS | Public | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20041001 | |
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INITIAL_STATUS | Value transfer | Type reference (TYPE) | VHURL_RECOVERY_HANDLE_STATUS | CL_RECOVERY_HANDLE_RL=>STATUS_UNDEFINED | Initial-Status | 19991121 | ||
| 2 | LEVEL | Value transfer | Type reference (TYPE) | VHURL_LUW_LEVEL | 0 | Commit-Level, für den Recov.-Aktionen vorgem. werden sollen | 19991018 | ||
| 3 | OBJ | Value transfer | Object reference (TYPE REF TO) | IF_RECOVERABLE_RL | Objekt, dem Handle zugeordnet werden soll | 19991016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | illegaler Aufruf | 19991016 |
Method INVALIDATE Signature
Method INVALIDATE on class CL_RECOVERY_HANDLE_RL has no parameter.
Method INVALIDATE on class CL_RECOVERY_HANDLE_RL has no exception.
Method ON_COMMIT Signature
Method ON_COMMIT on class CL_RECOVERY_HANDLE_RL has no parameter.
Method ON_COMMIT on class CL_RECOVERY_HANDLE_RL has no exception.
Method ON_ROLLBACK Signature
Method ON_ROLLBACK on class CL_RECOVERY_HANDLE_RL has no parameter.
Method ON_ROLLBACK on class CL_RECOVERY_HANDLE_RL has no exception.
Method PREPARE_CHANGE Signature
Method PREPARE_CHANGE on class CL_RECOVERY_HANDLE_RL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Objekt wurde nicht korrekt initialisiert | 19991118 | ||
| 2 | Änderung ausserhalb LUW nicht erlaubt | 19991118 |
Method PREPARE_CHANGE_GEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_STATUS | Value transfer | Type reference (TYPE) | VHURL_RECOVERY_HANDLE_STATUS | Status, der bei neuem Recov.-Hdl. ges. werden soll | 19991121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Änderung ausserhalb LUW nicht erlaubt | 19991118 |
Method PREPARE_DELETE Signature
Method PREPARE_DELETE on class CL_RECOVERY_HANDLE_RL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | unzulässiger Status | 19991121 | ||
| 2 | Änderung ausserhalb LUW nicht erlaubt | 19991118 |
Method PREPARE_NEW Signature
Method PREPARE_NEW on class CL_RECOVERY_HANDLE_RL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung nur innerhalb einer LUW erlaubt | 19991118 | ||
| 2 | Objekte existierte bereits | 19991118 |
Method PREPARE_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AS_NONEXISTENT | Value transfer | Type reference (TYPE) | RM_FLAG | RM_NOFLAG | setzen, wenn Leseversuch gescheitert ist | 19991120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unzulässiger Objektzustand (invalidiert) | 19991121 | ||
| 2 | Nachlesen nach Änderung nicht erlaubt | 19991123 |
Method REGISTER_HANDLERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVE | Value transfer | Type reference (TYPE) | RM_FLAG | rm_xflag | für 'set handler ... activation' | 19991121 | ||
| 2 | LUW | Value transfer | Object reference (TYPE REF TO) | CL_LUW_RL | LUW, für die Handler registriert werden sollen | 19991017 |
Method REGISTER_HANDLERS on class CL_RECOVERY_HANDLE_RL has no exception.
Method RESET Signature
Method RESET on class CL_RECOVERY_HANDLE_RL has no parameter.
Method RESET on class CL_RECOVERY_HANDLE_RL has no exception.
Method RESTORE Signature
Method RESTORE on class CL_RECOVERY_HANDLE_RL has no parameter.
Method RESTORE on class CL_RECOVERY_HANDLE_RL has no exception.
History
| Last changed by/on | SAP | 20041006 |
| SAP Release Created in |