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
.| Name | Type | Data Type | Description | Default Value |
| IV_BO_KEY | Importing | TYPE /BOBF/CONF_KEY | Activity Key | |
| ET_ACT_DESC | Exporting | TYPE TT_ACT_DESC | ||
| ET_ACT_ROOT | Exporting | TYPE TT_ACT_ROOT | ||
| ET_ACT_ROOT_PDF | Exporting | TYPE TT_ACT_ROOT_PDF | PDF specific root structure | |
| ET_ADDR_EMAIL | Exporting | TYPE TT_ADDR_EMAIL | ||
| ET_ADDR_FORM_ADDR | Exporting | TYPE TT_ADDR_FORM_ADDR | ||
| ET_ADDR_PHONE | Exporting | TYPE TT_ADDR_PHONE | ||
| ET_ADDR_ROOT | Exporting | TYPE TT_ADDR_ROOT | ||
| ET_BUPA | Exporting | TYPE TT_BUPA | ||
| ET_BUPA_ADDR_INFO | Exporting | TYPE TT_BUPA_ADDR_INFO | ||
| ET_DATES | Exporting | TYPE TT_DATES | ||
| ET_PARTY | Exporting | TYPE TT_PARTY |
Exceptions of Method GET_SUB_ACTIVITIES
This method does not have any exceptionsExample 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