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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IS_REF_OBJECT_KEYImportingTYPE
COMT_CLEAR_OBJ_KEY_RET
Key of Referencing Object
IS_SOURCE_ROOTImportingTYPE
COMT_CLEAR_OBJ_KEY_EXT
Cleansing: Source Object Key and Indicator Deleted
IS_SUPERIOR_OBJECTImportingTYPE
COMT_CLEAR_OBJ_KEY_EXT
Key of Referenced Object
ET_MESSAGESExportingTYPE
BAPIRET2_T
Return Parameter (Messages)



Exceptions of Method CLEAR_REF_CHECK_CUT

ET_MESSAGESExportingTYPE
BAPIRET2_TReturn Parameter (Messages)SUP_OBJ_MUST_NOT_BE_DELETED - Higher-Level Object May Not be Deleted

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!