SAP ABAP Class CL_CTS_TEST_LOCK_HELPER (Helper class for testing of cts locks)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CTS-TMS-CTR (Application Component) Central CTS # Transport Management
     SCTS_DIST_CTL_IMEX_LOCK (Package) Central CTS: Import and Export Locks
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CTS_BOOLEAN IF CTS Boolean Wrapper 20100709
Properties
Class CL_CTS_TEST_LOCK_HELPER  
Short Description Helper class for testing of cts locks    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SCTS_DIST_CTL_IMEX_LOCK   Central CTS: Import and Export Locks 
Created 20100309   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_CTS_TR_LOCK Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 TRWBO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_CTS_BOOLEAN IF CTS Boolean Wrapper 20100709
Friends
Class CL_CTS_TEST_LOCK_HELPER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 FALSE Instance attribute Private Attribute reference (LIKE) 20100709
2 LOCK Instance attribute Private Object reference (TYPE REF TO) CL_CTS_TR_LOCK Transport lock 20100312
3 LOCK_FACTORY Instance attribute Private Object reference (TYPE REF TO) CL_CTS_TR_LOCK_FACTORY Manager of import and export locks 20100316
4 TRUE Instance attribute Private Attribute reference (LIKE) 20100709
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_LOCK_EXISTENCE Instance method Public Method 20100312
2 CREATE Static method Public Method 20100316
3 CREATE_TEST_LOCK Instance method Public Method 20100309
4 CREATE_TEST_PROJECT Instance method Public Method 20100316
5 CREATE_TEST_REQUESTS Instance method Public Method 20100316
6 EXPORT_TEST_REQUEST Instance method Public Method 20100316
7 IMPORT_TEST_REQUEST Instance method Public Method 20100316
8 IS_LOCK_USED Instance method Public Method 20100517
9 REMOVE_TEST_LOCK Instance method Public Method 20100316
10 REMOVE_TEST_REQUEST Instance method Public Method 20100518
Events
Class CL_CTS_TEST_LOCK_HELPER has no event.
Types
Class CL_CTS_TEST_LOCK_HELPER has no local type.
Method Signatures

Method CHECK_LOCK_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EXISTS Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100312

Method CHECK_LOCK_EXISTENCE on class CL_CTS_TEST_LOCK_HELPER has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning HELPER Value transfer Object reference (TYPE REF TO) CL_CTS_TEST_LOCK_HELPER Helper class for testing of cts locks 20100316

Method CREATE on class CL_CTS_TEST_LOCK_HELPER has no exception.

Method CREATE_TEST_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LOCK Value transfer Object reference (TYPE REF TO) CL_CTS_TR_LOCK Contains all locks for transport of collections 20100309
2 Importing LOCK_TYPE Call by reference Type reference (TYPE) CL_CTS_TR_LOCK=>LOCK_TYPE The type of a lock, i.e. import or export lock 20100309
3 Importing SYSTEM Call by reference Type reference (TYPE) CL_CTS_TR_LOCK=>SYSTEM_TYPE Name of the SAP System 20100309
# Exception Resumable Description Created on
1 CX_CTS_TR_LOCKING cCTS: Exception Class for transport locks 20100630

Method CREATE_TEST_PROJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUEST Call by reference Type reference (TYPE) TRWBO_REQUEST 20100316

Method CREATE_TEST_PROJECT on class CL_CTS_TEST_LOCK_HELPER has no exception.

Method CREATE_TEST_REQUESTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NUM_OF_REQUESTS Call by reference Type reference (TYPE) I 20100316
2 Returning REQUESTS Value transfer Type reference (TYPE) TRWBO_REQUESTS 20100316
3 Importing SYSTEM Call by reference Type reference (TYPE) CL_CTS_TR_LOCK=>SYSTEM_TYPE Name of the SAP System 20100316
# Exception Resumable Description Created on
1 CX_CTS_CHANGES_LOCKED Changes locked for given system 20100316
2 CX_TMS_INVALID_EXTERNAL_SYSTEM System cannot be managed externally in TMS 20100316
3 CX_TMS_UNKNOWN_DOMAIN Domain unknown in TMS 20100316
4 CX_TMS_UNKNOWN_SYSTEM System unknown in TMS 20100316

Method EXPORT_TEST_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RC Value transfer Type reference (TYPE) I 20100316
2 Importing REQUEST Call by reference Type reference (TYPE) TRWBO_REQUEST 20100316
3 Importing SYSTEM Call by reference Type reference (TYPE) CL_CTS_TR_LOCK=>SYSTEM_TYPE Transport Target of Request 20100316

Method EXPORT_TEST_REQUEST on class CL_CTS_TEST_LOCK_HELPER has no exception.

Method IMPORT_TEST_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RC Value transfer Type reference (TYPE) I 20100316
2 Importing REQUEST Call by reference Type reference (TYPE) TRWBO_REQUEST 20100316
3 Importing SYSTEM Call by reference Type reference (TYPE) CL_CTS_TR_LOCK=>SYSTEM_TYPE Transport Target of Request 20100316

Method IMPORT_TEST_REQUEST on class CL_CTS_TEST_LOCK_HELPER has no exception.

Method IS_LOCK_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_USED Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100517
# Exception Resumable Description Created on
1 CX_CTS_TR_LOCKING cCTS: Exception Class for transport locks 20100630

Method REMOVE_TEST_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNLOCK_REQUESTS Call by reference Type reference (TYPE) BOOLEAN IF_CTS_BOOLEAN~TRUE Boolean Variable (X=True, -=False, Space=Unknown) 20100520
2 Returning RV_WAS_REMOVED Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100520
# Exception Resumable Description Created on
1 CX_CTS_TR_LOCKING No authorization for this action 20100630

Method REMOVE_TEST_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUESTS Call by reference Type reference (TYPE) TRWBO_REQUESTS 20100518
2 Importing SYSTEM Call by reference Type reference (TYPE) CL_CTS_TR_LOCK=>SYSTEM_TYPE 20100518
# Exception Resumable Description Created on
1 CX_CTS_CHANGES_LOCKED 20100518
2 CX_TMS_INVALID_EXTERNAL_SYSTEM 20100518
3 CX_TMS_UNKNOWN_DOMAIN 20100518
4 CX_TMS_UNKNOWN_SYSTEM 20100518
History
Last changed by/on SAP  20140121 
SAP Release Created in 702