PREPARE_KEYS SAP Method Prepare source instance keys









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

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


Parameters of Method PREPARE_KEYS

.

NameTypeData TypeDescriptionDefault Value
IT_NODE_SRC_TARGET_KEYImportingTYPE
TT_KEY_LINK_EXT
IT_SRC_TARGET_KEYImportingTYPE
/BOBF/T_FRW_KEY_LINK
Source Target Key Link
IV_PROCESS_IDImportingTYPE
/SCMTMS/COCO_PROCESS_ID
Copy Process
ET_KEY_LINKExportingTYPE
/BOBF/T_FRW_KEY_LINK
Key Link
ET_SRC_KEYExportingTYPE
/BOBF/T_FRW_KEY
Source Keys
ET_TRG_KEYExportingTYPE
/BOBF/T_FRW_KEY
Target Keys



Exceptions of Method PREPARE_KEYS

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_ET_KEY_LINK TYPE /BOBF/T_FRW_KEY_LINK,
lv_ET_SRC_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_TRG_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_NODE_SRC_TARGET_KEY TYPE TT_KEY_LINK_EXT,
lv_IT_SRC_TARGET_KEY TYPE /BOBF/T_FRW_KEY_LINK,
lv_IV_PROCESS_ID TYPE /SCMTMS/COCO_PROCESS_ID,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COPY_CONTROL=>PREPARE_KEYS(
EXPORTING
IT_NODE_SRC_TARGET_KEY = lv_IT_NODE_SRC_TARGET_KEY
IT_SRC_TARGET_KEY = lv_IT_SRC_TARGET_KEY
IV_PROCESS_ID = lv_IV_PROCESS_ID
IMPORTING
ET_KEY_LINK = lv_ET_KEY_LINK
ET_SRC_KEY = lv_ET_SRC_KEY
ET_TRG_KEY = lv_ET_TRG_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!