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 | 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 | Static Attribute | Private | See coding | composites of a hierarchy, which have been checked | 20131008 | ||||
| 2 | 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 | Instance method | Private | Method | Internal method for checking spot hierarchy | 20131008 | |
| 2 | Instance method | Public | Method | return true if the child is a sub-composite of the parent | 20100712 | |
| 3 | Static method | Public | Method | factory method | 20100712 | |
| 4 | Instance method | Public | Method | assign the child from one parent to another | 20100712 | |
| 5 | Instance method | Public | Method | assign the spot from one parent to another | 20100712 | |
| 6 | Instance method | Private | Method | 20100712 | ||
| 7 | 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 | I_CHILD | Call by reference | Type reference (TYPE) | ENHNAME | ID of an Enhancement | 20131008 | |||
| 2 | I_CHILD_IS_SPOT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20131008 | ||||
| 3 | I_PARENT | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | Composite Enhancement Spot | 20131008 | |||
| 4 | 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 | I_CHILD | Call by reference | Type reference (TYPE) | ENHNAME | 20100712 | ||||
| 2 | I_CHILD_IS_SPOT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100712 | ||||
| 3 | I_PARENT | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | 20100712 | ||||
| 4 | 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 | 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 | I_CHILD_COMPOSITE | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | 20100712 | ||||
| 2 | I_CURR_PARENT_NAME | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | 20100712 | ||||
| 3 | I_NEW_PARENT_NAME | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | 20100712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100712 | |||
| 2 | 20100712 | |||
| 3 | 20100712 | |||
| 4 | 20100712 | |||
| 5 | 20100712 | |||
| 6 | 20100712 | |||
| 7 | 20100712 |
Method REASSIGN_SPOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHILD_SPOT | Call by reference | Type reference (TYPE) | ENHSPOTNAME | 20100712 | ||||
| 2 | I_CURR_PARENT_NAME | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | 20100712 | ||||
| 3 | I_NEW_PARENT_NAME | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | 20100712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100712 | |||
| 2 | 20100712 | |||
| 3 | 20100712 | |||
| 4 | 20100712 | |||
| 5 | 20100712 | |||
| 6 | 20100712 | |||
| 7 | 20100712 |
Method REASSIGN_SPOT_OR_COMPOSITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHILD | Call by reference | Type reference (TYPE) | ENHNAME | 20100712 | ||||
| 2 | I_CHILD_IS_SPOT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100712 | ||||
| 3 | I_CURR_PARENT_NAME | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | 20100712 | ||||
| 4 | I_NEW_PARENT_NAME | Call by reference | Type reference (TYPE) | ENHSPOTCOMPOSITENAME | 20100712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100712 | |||
| 2 | 20100712 | |||
| 3 | 20100712 | |||
| 4 | 20100712 | |||
| 5 | 20100712 | |||
| 6 | 20100712 | |||
| 7 | 20100712 |
Method UNLOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 |