CLEAR_REF_CHECK_CUT SAP Method Check if Reassignment is Possible (Incl. Deletion of Orig.)
Below is documentation, parameters and attributes of ABAP Method CLEAR_REF_CHECK_CUT within SAP class IF_CLEARING_REFERRING_OBJECT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_CLEARING_REFERRING_OBJECT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CLEAR_REF_CHECK_CUT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CLEAR_REF_CHECK_CUT
.| Name | Type | Data Type | Description | Default Value |
| IS_REF_OBJECT_KEY | Importing | TYPE COMT_CLEAR_OBJ_KEY_RET | Key of Referencing Object | |
| IS_SOURCE_ROOT | Importing | TYPE COMT_CLEAR_OBJ_KEY_EXT | Cleansing: Source Object Key and Indicator Deleted | |
| IS_SUPERIOR_OBJECT | Importing | TYPE COMT_CLEAR_OBJ_KEY_EXT | Key of Referenced Object | |
| ET_MESSAGES | Exporting | TYPE BAPIRET2_T | Return Parameter (Messages) |
Exceptions of Method CLEAR_REF_CHECK_CUT
BAPIRET2_T
Example ABAP coding
DATA: lv_ET_MESSAGES TYPE BAPIRET2_T,
lv_IS_REF_OBJECT_KEY TYPE COMT_CLEAR_OBJ_KEY_RET,
lv_IS_SOURCE_ROOT TYPE COMT_CLEAR_OBJ_KEY_EXT,
lv_IS_SUPERIOR_OBJECT TYPE COMT_CLEAR_OBJ_KEY_EXT,
lv_other TYPE c.
CALL METHOD IF_CLEARING_REFERRING_OBJECT=>CLEAR_REF_CHECK_CUT(
EXPORTING
IS_REF_OBJECT_KEY = lv_IS_REF_OBJECT_KEY
IS_SOURCE_ROOT = lv_IS_SOURCE_ROOT
IS_SUPERIOR_OBJECT = lv_IS_SUPERIOR_OBJECT
IMPORTING
ET_MESSAGES = lv_ET_MESSAGES ).
Links to Related Class(s)
IF_CLEAR...Full list of available SAP object classes
Search for further information about these or an SAP related objects