GET_NEIGHBOR_ELEMENTS SAP Method Get neighboor elements









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

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


Parameters of Method GET_NEIGHBOR_ELEMENTS

.

NameTypeData TypeDescriptionDefault Value
IV_ENTRY_ELEMENT_GUIDImportingTYPE
DPR_TV_GUID_BAPI
Unique Object Key (CHAR32)
ES_LEFT_ELEMENTExportingTYPE
DPR_TS_UI_TREE_DATA
Tree: Project Element Data
ES_PARENT_ELEMENTExportingTYPE
DPR_TS_UI_TREE_DATA
Tree: Project Element Data
ES_RIGHT_ELEMENTExportingTYPE
DPR_TS_UI_TREE_DATA
Tree: Project Element Data



Exceptions of Method GET_NEIGHBOR_ELEMENTS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_DPR_UI_LOG_TREE.
DATA: lv_ES_LEFT_ELEMENT TYPE DPR_TS_UI_TREE_DATA,
lv_ES_PARENT_ELEMENT TYPE DPR_TS_UI_TREE_DATA,
lv_ES_RIGHT_ELEMENT TYPE DPR_TS_UI_TREE_DATA,
lv_IV_ENTRY_ELEMENT_GUID TYPE DPR_TV_GUID_BAPI,
lv_other TYPE c.

CALL METHOD lo_class=>GET_NEIGHBOR_ELEMENTS(
EXPORTING
IV_ENTRY_ELEMENT_GUID = lv_IV_ENTRY_ELEMENT_GUID
IMPORTING
ES_LEFT_ELEMENT = lv_ES_LEFT_ELEMENT
ES_PARENT_ELEMENT = lv_ES_PARENT_ELEMENT
ES_RIGHT_ELEMENT = lv_ES_RIGHT_ELEMENT ).

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!