SAP ABAP Class CL_COMPOSITE_UTIL (Util methods for composites of enhancements and spots)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-ENH (Application Component) Enhancement Tools
     SEEF_BASE (Package) Enhancement Base Functionality
Properties
Class CL_COMPOSITE_UTIL  
Short Description Util methods for composites of enhancements and spots    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEEF_BASE   Enhancement Base Functionality 
Created 20100712   SAP 
Last change 20110908   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)
Interfaces
Class CL_COMPOSITE_UTIL has no interface implemented.
Friends
Class CL_COMPOSITE_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CHECKED_COMPOSITES Static Attribute Private See coding composites of a hierarchy, which have been checked 20131008
2 M_SINGLETON Static Attribute Private Object reference (TYPE REF TO) CL_COMPOSITE_UTIL Util methods for composites of enhancements and spots 20100712
Methods
# Method Level Visibility Method type Description Created on
1 CHECK Instance method Private Method Internal method for checking spot hierarchy 20131008
2 CHECK_SPOT_HIERARCHY Instance method Public Method return true if the child is a sub-composite of the parent 20100712
3 GET_INSTANCE Static method Public Method factory method 20100712
4 REASSIGN_COMPOSITE Instance method Public Method assign the child from one parent to another 20100712
5 REASSIGN_SPOT Instance method Public Method assign the spot from one parent to another 20100712
6 REASSIGN_SPOT_OR_COMPOSITE Instance method Private Method 20100712
7 UNLOCK Instance method Private Method unlock the if_enh_object specified 20100712
Events
Class CL_COMPOSITE_UTIL has no event.
Types
Class CL_COMPOSITE_UTIL has no local type.
Method Signatures

Method CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHILD Call by reference Type reference (TYPE) ENHNAME ID of an Enhancement 20131008
2 Importing I_CHILD_IS_SPOT Call by reference Type reference (TYPE) ABAP_BOOL 20131008
3 Importing I_PARENT Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME Composite Enhancement Spot 20131008
4 Returning R_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20131008

Method CHECK on class CL_COMPOSITE_UTIL has no exception.

Method CHECK_SPOT_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHILD Call by reference Type reference (TYPE) ENHNAME 20100712
2 Importing I_CHILD_IS_SPOT Call by reference Type reference (TYPE) ABAP_BOOL 20100712
3 Importing I_PARENT Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME 20100712
4 Returning R_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20100712

Method CHECK_SPOT_HIERARCHY on class CL_COMPOSITE_UTIL has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_REF Value transfer Object reference (TYPE REF TO) CL_COMPOSITE_UTIL Util methods for composites of enhancements and spots 20100712

Method GET_INSTANCE on class CL_COMPOSITE_UTIL has no exception.

Method REASSIGN_COMPOSITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHILD_COMPOSITE Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME 20100712
2 Importing I_CURR_PARENT_NAME Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME 20100712
3 Importing I_NEW_PARENT_NAME Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME 20100712
# Exception Resumable Description Created on
1 CX_ENH_CANCELED 20100712
2 CX_ENH_INTERNAL_ERROR 20100712
3 CX_ENH_IO_ERROR 20100712
4 CX_ENH_IS_LOCKED 20100712
5 CX_ENH_MOD_NOT_ALLOWED 20100712
6 CX_ENH_PERMISSION_DENIED 20100712
7 CX_ENH_ROOT 20100712

Method REASSIGN_SPOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHILD_SPOT Call by reference Type reference (TYPE) ENHSPOTNAME 20100712
2 Importing I_CURR_PARENT_NAME Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME 20100712
3 Importing I_NEW_PARENT_NAME Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME 20100712
# Exception Resumable Description Created on
1 CX_ENH_CANCELED 20100712
2 CX_ENH_INTERNAL_ERROR 20100712
3 CX_ENH_IO_ERROR 20100712
4 CX_ENH_IS_LOCKED 20100712
5 CX_ENH_MOD_NOT_ALLOWED 20100712
6 CX_ENH_PERMISSION_DENIED 20100712
7 CX_ENH_ROOT 20100712

Method REASSIGN_SPOT_OR_COMPOSITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHILD Call by reference Type reference (TYPE) ENHNAME 20100712
2 Importing I_CHILD_IS_SPOT Call by reference Type reference (TYPE) ABAP_BOOL 20100712
3 Importing I_CURR_PARENT_NAME Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME 20100712
4 Importing I_NEW_PARENT_NAME Call by reference Type reference (TYPE) ENHSPOTCOMPOSITENAME 20100712
# Exception Resumable Description Created on
1 CX_ENH_CANCELED 20100712
2 CX_ENH_INTERNAL_ERROR 20100712
3 CX_ENH_IO_ERROR 20100712
4 CX_ENH_IS_LOCKED 20100712
5 CX_ENH_MOD_NOT_ALLOWED 20100712
6 CX_ENH_PERMISSION_DENIED 20100712
7 CX_ENH_ROOT 20100712

Method UNLOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJ Call by reference Object reference (TYPE REF TO) IF_ENH_OBJECT 20100712

Method UNLOCK on class CL_COMPOSITE_UTIL has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 740