DO_ADOPT_EXTERNAL_IDS SAP Method DO Nodes: Adopt External IDs: Call on Main BO









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

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOFU/IF_CDO_CREATION into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method DO_ADOPT_EXTERNAL_IDS can also be found below:

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


Parameters of Method DO_ADOPT_EXTERNAL_IDS

.

NameTypeData TypeDescriptionDefault Value
IO_CONF_OF_MAIN_BOImportingTYPE REF TO
/BOBF/IF_FRW_CONFIGURATION
Interface for Configuration
IO_READ_OF_MAIN_BOImportingTYPE REF TO
/BOFU/IF_CDO_INT_ACCESS
Interface for Access in Change Document Layer
IT_KEYImportingTYPE
/BOBF/T_FRW_KEY
IT_NODE_DATAImportingTYPE
INDEX TABLE
Don't rely on PARENT_KEY of data. It was image from DO
IV_DELETED_KEYSImportingTYPE
ABAP_BOOL
Deleted keys. use before image
IV_NODE_KEY_OF_DOImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_NODE_KEY_OF_MAIN_BOImportingTYPE
/BOBF/OBM_NODE_KEY
Node
CT_EXTERNAL_IDSChangingTYPE
TT_EXTERNAL_IDS
External IDs for given KEYs



Exceptions of Method DO_ADOPT_EXTERNAL_IDS

/BOBF/CX_FRW - BOPF Exception Class

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/IF_CDO_CREATION.
DATA: lv_CT_EXTERNAL_IDS TYPE TT_EXTERNAL_IDS,
lv_IO_CONF_OF_MAIN_BO TYPE /BOBF/IF_FRW_CONFIGURATION,
lv_IO_READ_OF_MAIN_BO TYPE /BOFU/IF_CDO_INT_ACCESS,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_NODE_DATA TYPE INDEX TABLE,
lv_IV_DELETED_KEYS TYPE ABAP_BOOL,
lv_IV_NODE_KEY_OF_DO TYPE /BOBF/OBM_NODE_KEY,
lv_IV_NODE_KEY_OF_MAIN_BO TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.

CALL METHOD lo_class=>DO_ADOPT_EXTERNAL_IDS(
EXPORTING
IO_CONF_OF_MAIN_BO = lv_IO_CONF_OF_MAIN_BO
IO_READ_OF_MAIN_BO = lv_IO_READ_OF_MAIN_BO
IT_KEY = lv_IT_KEY
IT_NODE_DATA = lv_IT_NODE_DATA
IV_DELETED_KEYS = lv_IV_DELETED_KEYS
IV_NODE_KEY_OF_DO = lv_IV_NODE_KEY_OF_DO
IV_NODE_KEY_OF_MAIN_BO = lv_IV_NODE_KEY_OF_MAIN_BO
CHANGING
CT_EXTERNAL_IDS = lv_CT_EXTERNAL_IDS ).

Links to Related Class(s)

/BOFU/IF...
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!