SAP ABAP Class /BOBF/CL_TRA_TRANSACTION_MGR (Transaction Manager)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   AP-RC-BOF-RNT (Application Component) Business Object Processing Framework Runtime
     /BOBF/TRANSACTION (Package) Business Object Processing Framework Transaction Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /BOBF/IF_TRA_SLAVE_TRANS_MGR Interface of the slave transaction manager 20090130
2 Interface implementation (CLASS c. INTERFACES i_ref)  /BOBF/IF_TRA_TRANSACTION_MGR Interface of the standalone transaction manager 20090130
3 Interface implementation (CLASS c. INTERFACES i_ref)  /BOBF/IF_TRA_TRANS_MGR_COMPL Collective interface of the transaction manager 20090223
Properties
Class /BOBF/CL_TRA_TRANSACTION_MGR  
Short Description Transaction Manager    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /BOBF/TRANSACTION   Business Object Processing Framework Transaction Management 
Created 20090129   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /BOBF/CL_BUF_SIMPLE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 /BOBF/IF_TRA_C Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 /BOBF/IF_TRA_SLAVE_TRANS_MGR Interface of the slave transaction manager 20090130
2 /BOBF/IF_TRA_TRANSACTION_MGR Interface of the standalone transaction manager 20090130
3 /BOBF/IF_TRA_TRANS_MGR_COMPL Collective interface of the transaction manager 20090223
Friends
# Friend Modeled only Created on Description
1 /BOBF/CL_FRW 20130120 Framework Main Class
2 /BOBF/CL_TOOL_TEST_MANAGER 20130215 Test Manager: TM, SM, ... double injection
3 /BOBF/CL_TRA_SERVICE_MGR 20090224 Service Manager
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_PLUGIN_IF_SERVICE Constant Private Type reference (TYPE) SEOCLSNAME '/BOBF/IF_TRA_PLUGIN_SERV_MGR' Service Manager Plugin Interface 20100714
2 GC_PLUGIN_IF_SM_TRANSACTION Constant Private Type reference (TYPE) SEOCLSNAME '/BOBF/IF_TRA_PLUGIN_SM_TRANS' Service Manager Transactional Plugins 20100714
3 GC_PLUGIN_IF_TRANSACTION Constant Private Type reference (TYPE) SEOCLSNAME '/BOBF/IF_TRA_PLUGIN' Transaction Manager Plugin Interface 20100714
4 GC_STATE_ADJUST_NUMBERS Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 4 Transaction state 20090202
5 GC_STATE_AFTER_FAILED_SAVE Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 3 Transaction state 20090202
6 GC_STATE_AFTER_SUCCESSFUL_SAVE Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 8 Transaction state 20090202
7 GC_STATE_CHECK_BEFORE_SAVE Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 2 Transaction state 20090202
8 GC_STATE_CLEANUP Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 7 Transaction state 20090202
9 GC_STATE_DO_SAVE Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 6 Transaction state 20090202
10 GC_STATE_FINALIZE Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 1 Transaction state 20090202
11 GC_STATE_FINISHED Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 9 Transaction state 20090204
12 GC_STATE_INTERACTION Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 0 Transaction state 20090202
13 GC_STATE_ON_NUMBERS_ADJUSTED Constant Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE 5 Transaction state 20090202
14 GV_APPLICATION_ERROR Static Attribute Private Type reference (TYPE) BOOLE_D Indicates if a fatal exception has been raised 20100304
15 GV_TP_ASYNCHRONOUS_SAVE Static Attribute Public Type reference (TYPE) BOOLE_D Indicates if transaction is saved with asynchronous save & c 20121008
16 MO_TRANSACTION_CHANGE Instance attribute Private Object reference (TYPE REF TO) /BOBF/IF_TRA_CHANGE Interface for Transaction Change Objects 20090226
17 MO_TRANSACTION_CHANGE_CLONE Instance attribute Private Object reference (TYPE REF TO) /BOBF/IF_TRA_CHANGE Interface for transaction change objects 20120426
18 MT_BUFFER_INSTANCE Instance attribute Private Type reference (TYPE) /BOBF/CL_BUF_SIMPLE=>TT_INSTANCE 20121119
19 MT_CALLSTACK Instance attribute Private Type reference (TYPE) TT_CALLSTACK Callstack 20090130
20 MT_FINALIZE_ORDER Instance attribute Private Type reference (TYPE) /BOBF/T_FRW_KEY2 Key table 20090225
21 MT_SERVICE_MANAGER_REGISTER Instance attribute Private Type reference (TYPE) TT_SERVICE_MANAGER_REGISTER Register containing all service manager instances 20090223
22 MT_SERVICE_PLUGIN Instance attribute Private Attribute reference (LIKE) 20100714
23 MT_SM_TRANSACTION_PLUGIN Instance attribute Private Attribute reference (LIKE) 20100714
24 MT_SUBSCRIPTION Instance attribute Private Type reference (TYPE) /BOBF/T_CONFRO_SUBSCRIPTION Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090224
25 MT_TRANSACTION_PLUGIN Instance attribute Protected Type reference (TYPE) /BOBF/IF_TRA_TRANS_MGR_COMPL=>TT_PLUGIN Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100714
26 MV_CALLSTACK_STATE Instance attribute Private Type reference (TYPE) /BOBF/TRA_CALLSTACK_STATE /BOBF/IF_TRA_C=>GC_STATE_EMPTY Current callstack state 20090202
27 MV_CLEANUP_MODE Instance attribute Private Type reference (TYPE) /BOBF/CONF_CLEANUP_MODE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130120
28 MV_CLEANUP_MODE_SET Instance attribute Private Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130120
29 MV_ENQUEUE_SCOPE Instance attribute Private Type reference (TYPE) /BOBF/CONF_ENQUEUE_SCOPE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130120
30 MV_ENQUEUE_SCOPE_SET Instance attribute Private Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130120
31 MV_TRANSACTION_STATE Instance attribute Private Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE GC_STATE_INTERACTION Current transaction state 20090202
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_NUMBERS Instance method Private Method Adjust numbers from number range intervals 20090129
2 AFTER_FAILED_SAVE Instance method Private Method After Failed Save attempt 20090129
3 AFTER_SUCCESSFUL_SAVE Instance method Private Method After Successful Save attempt 20090129
4 CHECK_BEFORE_SAVE Instance method Private Method Check wether affected Objects can be saved 20090129
5 CLEAR_TRANSACTION Instance method Private Method Cleanup the current trans. at the end of the trans. phase 20090303
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090131
7 DO_CLEANUP Instance method Private Method Rollback the changes of the current Transaction 20090129
8 DO_SAVE Instance method Private Method Save Changes of the current Transaction 20090129
9 FINALIZE Instance method Private Method Prepare Objects for Saving 20090129
10 GET_SHARED_TRANSACTION Instance method Private Method Get the instance of the shared CL_CONF_TRANSACTION 20090226
11 GET_TRANSACTION_CLEANUP_MODE Instance method Private Method Returns the cleanup mode of the transaction 20130120
12 GET_TRANSACTION_ENQUEUE_SCOPE Instance method Private Method Returns the enqueue mode of the transaction 20130120
13 ON_NUMBERS_ADJUSTED Instance method Private Method On number adjusted 20090129
14 PROCESS_EVENTS Instance method Private Method Trigger cross business object events 20090202
15 SET_APPLICATION_ERROR Instance method Private Method Terminate with application error 20090202
16 SET_CONFIGURATION_ERROR Instance method Private Method Terminate with configuration error 20090202
17 SWITCH_CALLSTACK_STATE Instance method Private Method Check restrictions and switch the callstack state 20090202
18 SWITCH_TRANSACTION_STATE Instance method Private Method Check restrictions and switch the transaction state 20090202
Events
Class /BOBF/CL_TRA_TRANSACTION_MGR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_CALLSTACK Private See coding Describes a callstack 20090130 tt_callstack TYPE STANDARD TABLE OF ty_callstack_entry
2 TT_PLUGIN Private Attribute reference (LIKE) 20090209
3 TT_SERVICE_MANAGER_REGISTER Private See coding Describes a set of service manager instances 20090130 tt_service_manager_register TYPE SORTED TABLE OF ty_service_manager_register WITH UNIQUE KEY bo_key
4 TY_CALLSTACK_ENTRY Private See coding Describes a callstack entry 20090130 BEGIN OF ty_callstack_entry, bo_key TYPE /bobf/obm_bo_key, call TYPE /bobf/tra_callstack_state, change TYPE REF TO /bobf/if_tra_change, message TYPE REF TO /bobf/if_frw_message, END OF ty_callstack_entry
5 TY_PLUGIN Private Attribute reference (LIKE) 20090209
6 TY_SERVICE_MANAGER_REGISTER Private See coding Describes a service manager instance 20090130 BEGIN OF ty_service_manager_register, bo_key TYPE /bobf/obm_bo_key, service_manager TYPE REF TO /bobf/if_tra_serv_mgr_transact, is_finalized TYPE boole_d, is_changed TYPE boole_d, END OF ty_service_manager_register
Method Signatures

Method ADJUST_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_TRA_CHANGE Interface for Transaction Change Objects 20090130
2 Exporting EO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface for Transaction Message Objects 20090130

Method ADJUST_NUMBERS on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method AFTER_FAILED_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_TRA_CHANGE Interface for Transaction Change Objects 20090130
2 Exporting EO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface for Transaction Message Objects 20090130

Method AFTER_FAILED_SAVE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method AFTER_SUCCESSFUL_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_TRA_CHANGE Interface for Transaction Change Objects 20090130
2 Exporting EO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface for Transaction Message Objects 20090130

Method AFTER_SUCCESSFUL_SAVE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method CHECK_BEFORE_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface for Transaction Message Objects 20090130
2 Exporting ET_REJECTING_BO_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY2 Key table 20090226
3 Exporting EV_REJECTED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090130

Method CHECK_BEFORE_SAVE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method CLEAR_TRANSACTION Signature

Method CLEAR_TRANSACTION on class /BOBF/CL_TRA_TRANSACTION_MGR has no parameter.
Method CLEAR_TRANSACTION on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class /BOBF/CL_TRA_TRANSACTION_MGR has no parameter.
Method CONSTRUCTOR on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method DO_CLEANUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface for Transaction Message Objects 20090130
2 Importing IV_CLEANUP_MODE Call by reference Type reference (TYPE) /BOBF/CONF_CLEANUP_MODE Transaction Behavior During Save (Transaction Mode) 20090224
3 Importing IV_EXECUTE_ROLLBACK_WORK Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20111104

Method DO_CLEANUP on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method DO_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface for Transaction Message Objects 20090130
2 Exporting ET_REJECTING_BO_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY2 Key table 20090226
3 Exporting EV_REJECTED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090130
4 Importing IV_TRANSACTION_PATTERN Call by reference Type reference (TYPE) /BOBF/TRA_TRANSACTION_PATTERN Data element for a transaction pattern 20130206

Method DO_SAVE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method FINALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_TRA_CHANGE Interface for Transaction Change Objects 20090130
2 Exporting EO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface for Transaction Message Objects 20090130
3 Exporting ET_REJECTING_BO_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY2 Key table 20090226
4 Exporting EV_REJECTED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090130

Method FINALIZE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method GET_SHARED_TRANSACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_CONF_TRANSACTION_SH Value transfer Object reference (TYPE REF TO) /BOBF/CL_CONF_TRANSACTION Read access for transactional configuration 20090226

Method GET_SHARED_TRANSACTION on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method GET_TRANSACTION_CLEANUP_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CLEANUP_MODE Call by reference Type reference (TYPE) /BOBF/CONF_CLEANUP_MODE Transaction Behavior During Save (Transaction Mode) 20130120
2 Exporting EV_CLEANUP_MODE_IS_SET Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130120

Method GET_TRANSACTION_CLEANUP_MODE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method GET_TRANSACTION_ENQUEUE_SCOPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ENQUEUE_SCOPE Call by reference Type reference (TYPE) /BOBF/CONF_ENQUEUE_SCOPE Lock Behavior 20130120
2 Exporting EV_ENQUEUE_SCOPE_IS_SET Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130120

Method GET_TRANSACTION_ENQUEUE_SCOPE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method ON_NUMBERS_ADJUSTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_TRA_CHANGE Interface for Transaction Change Objects 20090130
2 Exporting EO_MESSAGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_MESSAGE Interface for Transaction Message Objects 20090130
3 Importing IO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_TRA_CHANGE Interface for transaction change objects 20090401

Method ON_NUMBERS_ADJUSTED on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method PROCESS_EVENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_CHANGE Interface of Change Object 20090224
2 Importing IV_PUBLISHING_BO_KEY Call by reference Type reference (TYPE) /BOBF/OBM_BO_KEY Business Object 20090225

Method PROCESS_EVENTS on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method SET_APPLICATION_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20090202
2 Importing IV_APPLICATION_INFORMATION Call by reference Type reference (TYPE) STRING 20121008

Method SET_APPLICATION_ERROR on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method SET_CONFIGURATION_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20090202

Method SET_CONFIGURATION_ERROR on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method SWITCH_CALLSTACK_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NEW_CALLSTACK_STATE Call by reference Type reference (TYPE) /BOBF/TRA_CALLSTACK_STATE Data element for callstack states 20090202

Method SWITCH_CALLSTACK_STATE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.

Method SWITCH_TRANSACTION_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NEW_TRANSACTION_STATE Call by reference Type reference (TYPE) /BOBF/TRA_TRANSACTION_STATE Data element for transaction state 20090202

Method SWITCH_TRANSACTION_STATE on class /BOBF/CL_TRA_TRANSACTION_MGR has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 702