GET_SUB_ACTIVITIES SAP Method Get activities based on activity tree view









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

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


Parameters of Method GET_SUB_ACTIVITIES

.

NameTypeData TypeDescriptionDefault Value
IV_BO_KEYImportingTYPE
/BOBF/CONF_KEY
Activity Key
ET_ACT_DESCExportingTYPE
TT_ACT_DESC
ET_ACT_ROOTExportingTYPE
TT_ACT_ROOT
ET_ACT_ROOT_PDFExportingTYPE
TT_ACT_ROOT_PDF
PDF specific root structure
ET_ADDR_EMAILExportingTYPE
TT_ADDR_EMAIL
ET_ADDR_FORM_ADDRExportingTYPE
TT_ADDR_FORM_ADDR
ET_ADDR_PHONEExportingTYPE
TT_ADDR_PHONE
ET_ADDR_ROOTExportingTYPE
TT_ADDR_ROOT
ET_BUPAExportingTYPE
TT_BUPA
ET_BUPA_ADDR_INFOExportingTYPE
TT_BUPA_ADDR_INFO
ET_DATESExportingTYPE
TT_DATES
ET_PARTYExportingTYPE
TT_PARTY



Exceptions of Method GET_SUB_ACTIVITIES

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /MOC/CL_ACTIVITY_DATA.
DATA: lv_ET_ACT_DESC TYPE TT_ACT_DESC,
lv_ET_ACT_ROOT TYPE TT_ACT_ROOT,
lv_ET_ACT_ROOT_PDF TYPE TT_ACT_ROOT_PDF,
lv_ET_ADDR_EMAIL TYPE TT_ADDR_EMAIL,
lv_ET_ADDR_FORM_ADDR TYPE TT_ADDR_FORM_ADDR,
lv_ET_ADDR_PHONE TYPE TT_ADDR_PHONE,
lv_ET_ADDR_ROOT TYPE TT_ADDR_ROOT,
lv_ET_BUPA TYPE TT_BUPA,
lv_ET_BUPA_ADDR_INFO TYPE TT_BUPA_ADDR_INFO,
lv_ET_DATES TYPE TT_DATES,
lv_ET_PARTY TYPE TT_PARTY,
lv_IV_BO_KEY TYPE /BOBF/CONF_KEY,
lv_other TYPE c.

CALL METHOD lo_class=>GET_SUB_ACTIVITIES(
EXPORTING
IV_BO_KEY = lv_IV_BO_KEY
IMPORTING
ET_ACT_DESC = lv_ET_ACT_DESC
ET_ACT_ROOT = lv_ET_ACT_ROOT
ET_ACT_ROOT_PDF = lv_ET_ACT_ROOT_PDF
ET_ADDR_EMAIL = lv_ET_ADDR_EMAIL
ET_ADDR_FORM_ADDR = lv_ET_ADDR_FORM_ADDR
ET_ADDR_PHONE = lv_ET_ADDR_PHONE
ET_ADDR_ROOT = lv_ET_ADDR_ROOT
ET_BUPA = lv_ET_BUPA
ET_BUPA_ADDR_INFO = lv_ET_BUPA_ADDR_INFO
ET_DATES = lv_ET_DATES
ET_PARTY = lv_ET_PARTY ).

Links to Related Class(s)

/MOC/CL_...
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!