CHECK_SOURCE_DATA SAP Method Merge or copy data to target









Below is documentation, parameters and attributes of ABAP Method CHECK_SOURCE_DATA within SAP class /SCMTMS/CL_COPY_CONTROL. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMTMS/CL_COPY_CONTROL 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 CHECK_SOURCE_DATA can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CHECK_SOURCE_DATA

.

NameTypeData TypeDescriptionDefault Value
IT_EXCL_NODE_INSTImportingTYPE
/BOBF/T_FRW_KEY
Node instances that shall not be copied
IT_FAILED_SRC_KEYImportingTYPE
/BOBF/T_FRW_KEY
Failed source keys
IT_KEY_LINKImportingTYPE
/BOBF/T_FRW_KEY_LINK
Key Link
IV_PROCESSImportingTYPE
/SCMTMS/COCO_PROCESS_ID
Copy Process
EO_MESSAGEExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
ET_FAILED_KEYExportingTYPE
/BOBF/T_FRW_KEY
Failed keys
ET_TRG_KEYExportingTYPE
/BOBF/T_FRW_KEY
target keys
EV_NO_COPYExportingTYPE
FLAG
no copy necessary
CT_DC_DATAChangingTYPE
/SCMTMS/CL_DATA_CRAWLER=>TT_DATA
DC output: source object
CT_NODE_SRC_TARGET_KEYChangingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT
Node instance to be copied
CT_SRC_KEYChangingTYPE
/BOBF/T_FRW_KEY
Source keys



Exceptions of Method CHECK_SOURCE_DATA

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_CT_DC_DATA TYPE /SCMTMS/CL_DATA_CRAWLER=>TT_DATA,
lv_CT_NODE_SRC_TARGET_KEY TYPE /SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT,
lv_CT_SRC_KEY TYPE /BOBF/T_FRW_KEY,
lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_ET_FAILED_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_TRG_KEY TYPE /BOBF/T_FRW_KEY,
lv_EV_NO_COPY TYPE FLAG,
lv_IT_EXCL_NODE_INST TYPE /BOBF/T_FRW_KEY,
lv_IT_FAILED_SRC_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_KEY_LINK TYPE /BOBF/T_FRW_KEY_LINK,
lv_IV_PROCESS TYPE /SCMTMS/COCO_PROCESS_ID,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COPY_CONTROL=>CHECK_SOURCE_DATA(
EXPORTING
IT_EXCL_NODE_INST = lv_IT_EXCL_NODE_INST
IT_FAILED_SRC_KEY = lv_IT_FAILED_SRC_KEY
IT_KEY_LINK = lv_IT_KEY_LINK
IV_PROCESS = lv_IV_PROCESS
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
ET_FAILED_KEY = lv_ET_FAILED_KEY
ET_TRG_KEY = lv_ET_TRG_KEY
EV_NO_COPY = lv_EV_NO_COPY
CHANGING
CT_DC_DATA = lv_CT_DC_DATA
CT_NODE_SRC_TARGET_KEY = lv_CT_NODE_SRC_TARGET_KEY
CT_SRC_KEY = lv_CT_SRC_KEY ).

Links to Related Class(s)

/SCMTMS/...
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!