INSERT_ELEMENTS SAP Method Insert Elements from Target (Without Partner Source)









Below is documentation, parameters and attributes of ABAP Method INSERT_ELEMENTS within SAP class CL_DPR_UI_LOG_VRSN_COMPARE. 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 CL_DPR_UI_LOG_VRSN_COMPARE 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 INSERT_ELEMENTS can also be found below:

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


Parameters of Method INSERT_ELEMENTS

.

NameTypeData TypeDescriptionDefault Value
IT_TREE_DATA2ImportingTYPE
DPR_TT_UI_TREE_DATA
Tree: Table of Project Elements
IT_TREE_DATA_TARGETImportingTYPE
DPR_TT_UI_TREE_DATA
Tree: Table of Project Elements
CT_GUIDSChangingTYPE
DPR_TT_UI_VRSN_GUIDS
cProjects Version Comparison - Project GUIDs
CT_SOURCE_DATAChangingTYPE
DPR_TT_UI_VRSN
cProjects: Version Comparison Table: Differences
CT_TARGET_DATAChangingTYPE
DPR_TT_UI_TREE_DATA
Tree: Table of Project Elements



Exceptions of Method INSERT_ELEMENTS

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: lo_class TYPE REF TO CL_DPR_UI_LOG_VRSN_COMPARE.
DATA: lv_CT_GUIDS TYPE DPR_TT_UI_VRSN_GUIDS,
lv_CT_SOURCE_DATA TYPE DPR_TT_UI_VRSN,
lv_CT_TARGET_DATA TYPE DPR_TT_UI_TREE_DATA,
lv_IT_TREE_DATA2 TYPE DPR_TT_UI_TREE_DATA,
lv_IT_TREE_DATA_TARGET TYPE DPR_TT_UI_TREE_DATA,
lv_other TYPE c.

CALL METHOD lo_class=>INSERT_ELEMENTS(
EXPORTING
IT_TREE_DATA2 = lv_IT_TREE_DATA2
IT_TREE_DATA_TARGET = lv_IT_TREE_DATA_TARGET
CHANGING
CT_GUIDS = lv_CT_GUIDS
CT_SOURCE_DATA = lv_CT_SOURCE_DATA
CT_TARGET_DATA = lv_CT_TARGET_DATA ).

Links to Related Class(s)

CL_DPR_U...
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!