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 CL_LUW_RL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 RM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 VHURL 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 COMMIT_LEVEL Instance attribute Public Type reference (TYPE) VHURL_LUW_LEVEL Level of associated LUW 19991016
2 MYOBJ Instance attribute Public Object reference (TYPE REF TO) IF_RECOVERABLE_RL Object to which handler is assigned 19991016
3 RECOVERY_RECORD Instance attribute Private Object reference (TYPE REF TO) IF_RECOVERY_RECORD_RL Recovery Information 19991016
4 STATUS Instance attribute Public Type reference (TYPE) VHURL_RECOVERY_HANDLE_STATUS Status (existing, deleted) 19991021
5 STATUS_DELETED Constant Public Type reference (TYPE) VHURL_RECOVERY_HANDLE_STATUS 'D' Status: deleted 19991021
6 STATUS_EXISTENT Constant Public Type reference (TYPE) VHURL_RECOVERY_HANDLE_STATUS '1' Status: existing 19991021
7 STATUS_INVALIDATED Constant Public Type reference (TYPE) VHURL_RECOVERY_HANDLE_STATUS 'I' Status: invalid 19991118
8 STATUS_UNDEFINED Constant Public Type reference (TYPE) VHURL_RECOVERY_HANDLE_STATUS '' Undefined status (original state) 19991118
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 19991016
2 INVALIDATE Instance method Public Method Complete invalidation (reset + restore) 19991120
3 ON_COMMIT Instance method Private Event handling method Handler for commit 19991016
4 ON_ROLLBACK Instance method Private Event handling method Handler for rollback 19991016
5 PREPARE_CHANGE Instance method Public Method Initiate change of associated object 19991016
6 PREPARE_CHANGE_GEN Instance method Private Method Internal: Initiate change to associate object 19991018
7 PREPARE_DELETE Instance method Public Method Initiate deletion of associated object 19991016
8 PREPARE_NEW Instance method Public Method Initiate creation of new object 19991016
9 PREPARE_READ Instance method Public Method Initiate initial assignment of an object from DB 19991118
10 REGISTER_HANDLERS Instance method Private Method Register event handler with LUW 19991016
11 RESET Instance method Public Method Hard reset to level 0 19991021
12 RESTORE 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 Importing INITIAL_STATUS Value transfer Type reference (TYPE) VHURL_RECOVERY_HANDLE_STATUS CL_RECOVERY_HANDLE_RL=>STATUS_UNDEFINED Initial-Status 19991121
2 Importing LEVEL Value transfer Type reference (TYPE) VHURL_LUW_LEVEL 0 Commit-Level, für den Recov.-Aktionen vorgem. werden sollen 19991018
3 Importing OBJ Value transfer Object reference (TYPE REF TO) IF_RECOVERABLE_RL Objekt, dem Handle zugeordnet werden soll 19991016
# Exception Resumable Description Created on
1 X_INTERFACE_MISMATCH 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 X_INVALID_STATE Objekt wurde nicht korrekt initialisiert 19991118
2 X_NOT_IN_LUW Ä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 Importing 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 X_NOT_IN_LUW Ä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 X_INVALID_STATUS unzulässiger Status 19991121
2 X_NOT_IN_LUW Ä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 X_NOT_IN_LUW Erzeugung nur innerhalb einer LUW erlaubt 19991118
2 X_NOT_NEW Objekte existierte bereits 19991118

Method PREPARE_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing AS_NONEXISTENT Value transfer Type reference (TYPE) RM_FLAG RM_NOFLAG setzen, wenn Leseversuch gescheitert ist 19991120
# Exception Resumable Description Created on
1 X_ILLEGAL_STATUS Unzulässiger Objektzustand (invalidiert) 19991121
2 X_IN_PROCESS 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 Importing ACTIVE Value transfer Type reference (TYPE) RM_FLAG rm_xflag für 'set handler ... activation' 19991121
2 Importing 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