CHECK_FOR_NEW_SIBLINGS SAP Method of class CL_DPR_UI_LOG_TREE
Below is documentation, parameters and attributes of ABAP Method CHECK_FOR_NEW_SIBLINGS 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 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_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 CHECK_FOR_NEW_SIBLINGS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_FOR_NEW_SIBLINGS
.| Name | Type | Data Type | Description | Default Value |
| IT_MOVED_SIBLINGS | Importing | TYPE DPR_TT_GUIDC | Table Type for GUIDs (char32) | |
| IT_TREE_DATA | Importing | TYPE DPR_TT_UI_TREE_DATA | Tree: Table of Project Elements | |
| IV_MOVED_GUID | Importing | TYPE DPR_TV_GUID_BAPI | Unique Object Key (CHAR32) | |
| IV_NEW_PARENT_GUID | Importing | TYPE DPR_TV_GUID_BAPI | Application Object GUID | |
| IV_NEW_POSITION | Importing | TYPE SYTABIX | Row Index of Internal Tables | |
| ES_LEFT_SIBLING | Exporting | TYPE DPR_TS_UI_TREE_DATA | Tree: Project Element Data | |
| ES_RIGHT_SIBLING | Exporting | TYPE DPR_TS_UI_TREE_DATA | Tree: Project Element Data | |
| RT_GETS_NEW_SIBLINGS | Returning | TYPE ABAP_BOOL |
Exceptions of Method CHECK_FOR_NEW_SIBLINGS
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: lo_class TYPE REF TO CL_DPR_UI_LOG_TREE.
DATA: lv_ES_LEFT_SIBLING TYPE DPR_TS_UI_TREE_DATA,
lv_ES_RIGHT_SIBLING TYPE DPR_TS_UI_TREE_DATA,
lv_IT_MOVED_SIBLINGS TYPE DPR_TT_GUIDC,
lv_IT_TREE_DATA TYPE DPR_TT_UI_TREE_DATA,
lv_IV_MOVED_GUID TYPE DPR_TV_GUID_BAPI,
lv_IV_NEW_PARENT_GUID TYPE DPR_TV_GUID_BAPI,
lv_IV_NEW_POSITION TYPE SYTABIX,
lv_RT_GETS_NEW_SIBLINGS TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_FOR_NEW_SIBLINGS(
EXPORTING
IT_MOVED_SIBLINGS = lv_IT_MOVED_SIBLINGS
IT_TREE_DATA = lv_IT_TREE_DATA
IV_MOVED_GUID = lv_IV_MOVED_GUID
IV_NEW_PARENT_GUID = lv_IV_NEW_PARENT_GUID
IV_NEW_POSITION = lv_IV_NEW_POSITION
IMPORTING
ES_LEFT_SIBLING = lv_ES_LEFT_SIBLING
ES_RIGHT_SIBLING = lv_ES_RIGHT_SIBLING
RECEIVING
RT_GETS_NEW_SIBLINGS = lv_RT_GETS_NEW_SIBLINGS )
"Alternate coding for Method Call with returning parameter
lv_RT_GETS_NEW_SIBLINGS = lo_class=>CHECK_FOR_NEW_SIBLINGS(
EXPORTING
IT_MOVED_SIBLINGS = lv_IT_MOVED_SIBLINGS
IT_TREE_DATA = lv_IT_TREE_DATA
IV_MOVED_GUID = lv_IV_MOVED_GUID
IV_NEW_PARENT_GUID = lv_IV_NEW_PARENT_GUID
IV_NEW_POSITION = lv_IV_NEW_POSITION
IMPORTING
ES_LEFT_SIBLING = lv_ES_LEFT_SIBLING
ES_RIGHT_SIBLING = lv_ES_RIGHT_SIBLING ).
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