MOVE_TO_TARGET SAP Method Merge or copy data to target









Below is documentation, parameters and attributes of ABAP Method MOVE_TO_TARGET 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 MOVE_TO_TARGET can also be found below:

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


Parameters of Method MOVE_TO_TARGET

.

NameTypeData TypeDescriptionDefault Value
IO_CONF_SOURCEImportingTYPE REF TO
/BOBF/IF_FRW_CONFIGURATION
Interface for Configuration
IS_BO_COPYImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TY_BO_COPY
IT_ATTRIBUTE_FILTERImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_ATTRIBUTE_FILTER
IT_ATTRIBUTE_VALUEImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_ATTRIBUTE_VALUE
IT_ATTR_MAPImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_ATTR_MAP
IT_DATATImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_DATA
target object
IT_DC_DATAImportingTYPE
/SCMTMS/CL_DATA_CRAWLER=>TT_DATA
DC output: source object
IT_KEYSImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_KEYS
IT_KEY_LINKImportingTYPE
/BOBF/T_FRW_KEY_LINK
Key Link
IT_NODE_MAPImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_NODE_MAP
IT_SEL_NODESImportingTYPE
/BOBF/T_FRW_KEY_SORTED
selected source nodes (mandatory + scope - forbidden)
IT_SEM_KEYSImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_SEM_KEY
IV_COPY_NUMBERImportingTYPE
INT2
Number of Copies
ET_FAILED_KEYExportingTYPE
/BOBF/T_FRW_KEY
Failed source BO instance key table
ET_KEY_LINK_ADDRExportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_ADDR
ET_KEY_LINK_EXTExportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT
ET_MODExportingTYPE
/BOBF/T_FRW_MODIFICATION
Changes
CT_KEY_LINKChangingTYPE
/BOBF/T_FRW_KEY_LINK
Key Link
CT_NODE_SRC_TARGET_KEYChangingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT



Exceptions of Method MOVE_TO_TARGET

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_KEY_LINK TYPE /BOBF/T_FRW_KEY_LINK,
lv_CT_NODE_SRC_TARGET_KEY TYPE /SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT,
lv_ET_FAILED_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_KEY_LINK_ADDR TYPE /SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_ADDR,
lv_ET_KEY_LINK_EXT TYPE /SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT,
lv_ET_MOD TYPE /BOBF/T_FRW_MODIFICATION,
lv_IO_CONF_SOURCE TYPE /BOBF/IF_FRW_CONFIGURATION,
lv_IS_BO_COPY TYPE /SCMTMS/CL_COCO_REQUEST=>TY_BO_COPY,
lv_IT_ATTRIBUTE_FILTER TYPE /SCMTMS/CL_COCO_REQUEST=>TT_ATTRIBUTE_FILTER,
lv_IT_ATTRIBUTE_VALUE TYPE /SCMTMS/CL_COCO_REQUEST=>TT_ATTRIBUTE_VALUE,
lv_IT_ATTR_MAP TYPE /SCMTMS/CL_COCO_REQUEST=>TT_ATTR_MAP,
lv_IT_DATAT TYPE /SCMTMS/CL_COCO_REQUEST=>TT_DATA,
lv_IT_DC_DATA TYPE /SCMTMS/CL_DATA_CRAWLER=>TT_DATA,
lv_IT_KEYS TYPE /SCMTMS/CL_COCO_REQUEST=>TT_KEYS,
lv_IT_KEY_LINK TYPE /BOBF/T_FRW_KEY_LINK,
lv_IT_NODE_MAP TYPE /SCMTMS/CL_COCO_REQUEST=>TT_NODE_MAP,
lv_IT_SEL_NODES TYPE /BOBF/T_FRW_KEY_SORTED,
lv_IT_SEM_KEYS TYPE /SCMTMS/CL_COCO_REQUEST=>TT_SEM_KEY,
lv_IV_COPY_NUMBER TYPE INT2,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COPY_CONTROL=>MOVE_TO_TARGET(
EXPORTING
IO_CONF_SOURCE = lv_IO_CONF_SOURCE
IS_BO_COPY = lv_IS_BO_COPY
IT_ATTRIBUTE_FILTER = lv_IT_ATTRIBUTE_FILTER
IT_ATTRIBUTE_VALUE = lv_IT_ATTRIBUTE_VALUE
IT_ATTR_MAP = lv_IT_ATTR_MAP
IT_DATAT = lv_IT_DATAT
IT_DC_DATA = lv_IT_DC_DATA
IT_KEYS = lv_IT_KEYS
IT_KEY_LINK = lv_IT_KEY_LINK
IT_NODE_MAP = lv_IT_NODE_MAP
IT_SEL_NODES = lv_IT_SEL_NODES
IT_SEM_KEYS = lv_IT_SEM_KEYS
IV_COPY_NUMBER = lv_IV_COPY_NUMBER
IMPORTING
ET_FAILED_KEY = lv_ET_FAILED_KEY
ET_KEY_LINK_ADDR = lv_ET_KEY_LINK_ADDR
ET_KEY_LINK_EXT = lv_ET_KEY_LINK_EXT
ET_MOD = lv_ET_MOD
CHANGING
CT_KEY_LINK = lv_CT_KEY_LINK
CT_NODE_SRC_TARGET_KEY = lv_CT_NODE_SRC_TARGET_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!