GET_SELECTED_ELEMENT SAP Method Gets GUID from External ID









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

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


Parameters of Method GET_SELECTED_ELEMENT

.

NameTypeData TypeDescriptionDefault Value
IV_CHECKLISTImportingTYPE
DPR_TV_CHECKLIST_ID
Checklist Number
IV_CPImportingTYPE
DPR_TV_CP_CGPL_EXTID
Control Plan: External ID
IV_CP_TEMPLATEImportingTYPE
DPR_TV_CP_TEMPLATE_NAME
Control Plan Tempate Description
IV_PROJECTImportingTYPE
DPR_TV_PROJECT_ID
Project Number
IV_USER_GROUPImportingTYPE
STRING
IV_USER_GROUP_IDImportingTYPE
STRING
User Group ID
IV_VERSIONImportingTYPE
CGPL_TV_VERSION
Version Number
IV_VERSION_TYPEImportingTYPE
CGPL_TV_VERSION_TYPE
Version Type
ES_SEL_ELEMENTExportingTYPE
DPR_TS_OBJ_EVENT
Table with Object Selection
EV_CHECK_INITIATIVEExportingTYPE
ABAP_BOOL
Check on Initiative
EV_FAILEDExportingTYPE
ABAP_BOOL
Error While Creating
EV_NOT_UNIQUEExportingTYPE
ABAP_BOOL
Not unique



Exceptions of Method GET_SELECTED_ELEMENT

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_ENTRY.
DATA: lv_ES_SEL_ELEMENT TYPE DPR_TS_OBJ_EVENT,
lv_EV_CHECK_INITIATIVE TYPE ABAP_BOOL,
lv_EV_FAILED TYPE ABAP_BOOL,
lv_EV_NOT_UNIQUE TYPE ABAP_BOOL,
lv_IV_CHECKLIST TYPE DPR_TV_CHECKLIST_ID,
lv_IV_CP TYPE DPR_TV_CP_CGPL_EXTID,
lv_IV_CP_TEMPLATE TYPE DPR_TV_CP_TEMPLATE_NAME,
lv_IV_PROJECT TYPE DPR_TV_PROJECT_ID,
lv_IV_USER_GROUP TYPE STRING,
lv_IV_USER_GROUP_ID TYPE STRING,
lv_IV_VERSION TYPE CGPL_TV_VERSION,
lv_IV_VERSION_TYPE TYPE CGPL_TV_VERSION_TYPE,
lv_other TYPE c.

CALL METHOD lo_class=>GET_SELECTED_ELEMENT(
EXPORTING
IV_CHECKLIST = lv_IV_CHECKLIST
IV_CP = lv_IV_CP
IV_CP_TEMPLATE = lv_IV_CP_TEMPLATE
IV_PROJECT = lv_IV_PROJECT
IV_USER_GROUP = lv_IV_USER_GROUP
IV_USER_GROUP_ID = lv_IV_USER_GROUP_ID
IV_VERSION = lv_IV_VERSION
IV_VERSION_TYPE = lv_IV_VERSION_TYPE
IMPORTING
ES_SEL_ELEMENT = lv_ES_SEL_ELEMENT
EV_CHECK_INITIATIVE = lv_EV_CHECK_INITIATIVE
EV_FAILED = lv_EV_FAILED
EV_NOT_UNIQUE = lv_EV_NOT_UNIQUE ).

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!