SAP ABAP Class CL_LOCK_MANAGER_TRL (Treasury Ledger Position Lock Manager)
Hierarchy
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
   FIN-FSCM-TRM-TM-AC (Application Component) Transfer to Financial Accounting
     FTR_TREASURY_LEDGER (Package) Treasury Ledger
Properties
Class CL_LOCK_MANAGER_TRL  
Short Description Treasury Ledger Position Lock Manager    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FTR_TREASURY_LEDGER   Treasury Ledger 
Created 19991115   SAP 
Last change 20091125   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_LOCK_MANAGER_TRL has no forward declaration.
Interfaces
Class CL_LOCK_MANAGER_TRL has no interface implemented.
Friends
Class CL_LOCK_MANAGER_TRL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CHECKED_NEGATIV Constant Private Type reference (TYPE) I '2' Status = Checked Negative 19991118
2 CHECKED_POSITIV Constant Private Type reference (TYPE) I '1' Status = Checked Positive 19991118
3 CLS_TRL_LOCK_MANAGER Static Attribute Private Object reference (TYPE REF TO) CL_LOCK_MANAGER_TRL Singleton TRL Lock 20020109
4 DELETED_LOCKS Instance attribute Private Type reference (TYPE) TPMY_GUID Table of GUIDs 20011211
5 QUERY_SERVICE Instance attribute Private Object reference (TYPE REF TO) CL_QUERY_SERVICE_TRL Treasury Ledger Query Service 20011210
6 REPOSTED Constant Private Type reference (TYPE) I '4' Status = Reposted 19991118
7 STATE Instance attribute Private Type reference (TYPE) CHAR1 State 19991118
8 UNLOCKED Constant Private Type reference (TYPE) I '3' Status = Unlocked 19991118
9 WORKING_STOCK Instance attribute Private Type reference (TYPE) TYPE_WORKING_STOCK Working Stock 19991118
10 WORKING_STOCK_DELAYED Instance attribute Private Type reference (TYPE) TYPE_WORKING_STOCK Working Stock Delayed 20011212
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_FOR_TRANSACTION Instance method Public Method Checks the Locks Affected by a Business Transaction 19991115
2 CLASS_CONSTRUCTOR Static method Public Constructor Class Constructor 20011210
3 CLS_GET_TRL_LOCK_MANAGER Static method Public Method Gets the Singleton 20020109
4 CONSTRUCTOR Instance method Public Constructor Constructor 20011210
5 GET_LOCKS_BY_OWNER Instance method Public Method Gets all TRL Locks for a Lock Owner 19991115
6 LOCK_POSITION Instance method Public Method Locks TRL Position 19991119
7 REPOST_FOR_TRANSACTION Instance method Public Method Calls Lock Owner Again After Locks Have Been Deleted 19991115
8 SORT_LOCKS Instance method Public Method Sorts Locks Based on the TRL Transaction 20020118
9 TAKE_BACK_LOCK Instance method Public Method Removes the Lock Again 19991119
10 UNLOCK_FOR_TRANSACTION Instance method Public Method Asks Lock Owner to Remove the Lock 19991118
Events
Class CL_LOCK_MANAGER_TRL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYPE_STR_WORKING_STOCK Private See coding TYPE_STR_WORKING_STOCK 19991118
2 TYPE_WORKING_STOCK Private See coding 19991118
Method Signatures

Method CHECK_FOR_TRANSACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PROTOCOL_HANDLER Value transfer Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Lock Protocol 20000508
2 Importing IM_TAB_TRANSACTION Call by reference Type reference (TYPE) TRLY_TRANSACTION Table of TRL Transaction 19991118
# Exception Resumable Description Created on
1 LOCK_CONFLICT Lock Conflict 19991123

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_LOCK_MANAGER_TRL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_LOCK_MANAGER_TRL has no exception.

Method CLS_GET_TRL_LOCK_MANAGER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_TRL_LOCK_MANAGER Value transfer Object reference (TYPE REF TO) CL_LOCK_MANAGER_TRL Singleton TRL Lock Manager 20020109

Method CLS_GET_TRL_LOCK_MANAGER on class CL_LOCK_MANAGER_TRL has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_LOCK_MANAGER_TRL has no parameter.
Method CONSTRUCTOR on class CL_LOCK_MANAGER_TRL has no exception.

Method GET_LOCKS_BY_OWNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OWNER Call by reference Object reference (TYPE REF TO) IF_LOCK_OWNER_TRL Lock Owner 19991115
2 Returning RE_TAB_LOCK Value transfer Type reference (TYPE) TRLY_LOCK Locks 19991115

Method GET_LOCKS_BY_OWNER on class CL_LOCK_MANAGER_TRL has no exception.

Method LOCK_POSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DELETE_ONLY Call by reference Type reference (TYPE) XFELD Feld zum Ankreuzen 20081209
2 Importing IM_OWNER Call by reference Object reference (TYPE REF TO) IF_LOCK_OWNER_TRL Owner 19991119
3 Importing IM_POSITION Call by reference Object reference (TYPE REF TO) CL_POSITION_TRL Position 19991119
4 Importing IM_TRANSACTION Call by reference Object reference (TYPE REF TO) CL_TRANSACTION_TRL Transaction 19991119
# Exception Resumable Description Created on
1 PARAMETER_ERROR Parameter not imported 19991202

Method REPOST_FOR_TRANSACTION Signature

Method REPOST_FOR_TRANSACTION on class CL_LOCK_MANAGER_TRL has no parameter.
Method REPOST_FOR_TRANSACTION on class CL_LOCK_MANAGER_TRL has no exception.

Method SORT_LOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TAB_LOCK Call by reference Type reference (TYPE) TRLY_LOCK Treasury Ledger Position Locks 20020118
2 Returning RE_TAB_LOCK Value transfer Type reference (TYPE) TRLY_LOCK Treasury Ledger Position Locks 20020118

Method SORT_LOCKS on class CL_LOCK_MANAGER_TRL has no exception.

Method TAKE_BACK_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LOCK Call by reference Object reference (TYPE REF TO) CL_LOCK_TRL Tables of Locks to delete 19991119

Method TAKE_BACK_LOCK on class CL_LOCK_MANAGER_TRL has no exception.

Method UNLOCK_FOR_TRANSACTION Signature

Method UNLOCK_FOR_TRANSACTION on class CL_LOCK_MANAGER_TRL has no parameter.
# Exception Resumable Description Created on
1 STATUS_ERROR Method was called in wrong state of Manager 19991118
2 UNLOCK_ERROR Lock was not taken back as requested 19991118
History
Last changed by/on SAP  20091125 
SAP Release Created in