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 directlyThe 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
.| Name | Type | Data Type | Description | Default Value |
| IT_NODE_SRC_TARGET_KEY | Importing | TYPE TT_KEY_LINK_EXT | ||
| IT_SRC_TARGET_KEY | Importing | TYPE /BOBF/T_FRW_KEY_LINK | Source Target Key Link | |
| IV_PROCESS_ID | Importing | TYPE /SCMTMS/COCO_PROCESS_ID | Copy Process | |
| ET_KEY_LINK | Exporting | TYPE /BOBF/T_FRW_KEY_LINK | Key Link | |
| ET_SRC_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | Source Keys | |
| ET_TRG_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | Target Keys |
Exceptions of Method PREPARE_KEYS
This method does not have any exceptionsExample 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