GENERATE_KEYS SAP Method Map nodes









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

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


Parameters of Method GENERATE_KEYS

.

NameTypeData TypeDescriptionDefault Value
IS_DC_DATAImportingTYPE
/SCMTMS/CL_DATA_CRAWLER=>TY_DATA
Internal data result table
IS_SRC_NODE_DATAImportingTYPE
ANY
IT_NODE_SRC_TARGET_KEYImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT
IV_FORCE_KEY_CLEAR_HIER_PARENTImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_FORCE_NODE_KEY_GENImportingTYPE
FLAG
Force node key generation
IV_HIER_PARENT_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_PARENT_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
ES_KEY_LINEExportingTYPE
ANY
ET_KEY_LINK_EXTExportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT
ET_PROTECT_ATTRExportingTYPE
/BOBF/T_FRW_NAME
List of Names (e.g. Fieldnames)
CS_MODChangingTYPE
/BOBF/S_FRW_MODIFICATION
Change
CT_KEY_LINKChangingTYPE
/BOBF/T_FRW_KEY_LINK
Key Link
CT_KEY_LINK_ADDRChangingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_ADDR



Exceptions of Method GENERATE_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_CS_MOD TYPE /BOBF/S_FRW_MODIFICATION,
lv_CT_KEY_LINK TYPE /BOBF/T_FRW_KEY_LINK,
lv_CT_KEY_LINK_ADDR TYPE /SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_ADDR,
lv_ES_KEY_LINE TYPE ANY,
lv_ET_KEY_LINK_EXT TYPE /SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT,
lv_ET_PROTECT_ATTR TYPE /BOBF/T_FRW_NAME,
lv_IS_DC_DATA TYPE /SCMTMS/CL_DATA_CRAWLER=>TY_DATA,
lv_IS_SRC_NODE_DATA TYPE ANY,
lv_IT_NODE_SRC_TARGET_KEY TYPE /SCMTMS/CL_COCO_REQUEST=>TT_KEY_LINK_EXT,
lv_IV_FORCE_KEY_CLEAR_HIER_PARENT TYPE /BOBF/OBM_NODE_KEY,
lv_IV_FORCE_NODE_KEY_GEN TYPE FLAG,
lv_IV_HIER_PARENT_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_PARENT_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COPY_CONTROL=>GENERATE_KEYS(
EXPORTING
IS_DC_DATA = lv_IS_DC_DATA
IS_SRC_NODE_DATA = lv_IS_SRC_NODE_DATA
IT_NODE_SRC_TARGET_KEY = lv_IT_NODE_SRC_TARGET_KEY
IV_FORCE_KEY_CLEAR_HIER_PARENT = lv_IV_FORCE_KEY_CLEAR_HIER_PARENT
IV_FORCE_NODE_KEY_GEN = lv_IV_FORCE_NODE_KEY_GEN
IV_HIER_PARENT_KEY = lv_IV_HIER_PARENT_KEY
IV_PARENT_KEY = lv_IV_PARENT_KEY
IMPORTING
ES_KEY_LINE = lv_ES_KEY_LINE
ET_KEY_LINK_EXT = lv_ET_KEY_LINK_EXT
ET_PROTECT_ATTR = lv_ET_PROTECT_ATTR
CHANGING
CS_MOD = lv_CS_MOD
CT_KEY_LINK = lv_CT_KEY_LINK
CT_KEY_LINK_ADDR = lv_CT_KEY_LINK_ADDR ).

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!