GET_CHECKRUN_STATUS SAP Method Get checkrun status of Task List Run
Below is documentation, parameters and attributes of ABAP Method GET_CHECKRUN_STATUS within SAP class CL_STCTM_SESSION. 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_STCTM_SESSION 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_CHECKRUN_STATUS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_CHECKRUN_STATUS
.| Name | Type | Data Type | Description | Default Value |
| ESX_TASK | Exporting | TYPE CL_STCTM_TASKLIST=>TS_TASK | Worst Task defining the Status | |
| E_FINISHED | Exporting | TYPE SAP_BOOL | Task list ceckrun completed | |
| E_PROGRESS | Exporting | TYPE I | Progress as percentage value | |
| E_SKIPPED_TASKS | Exporting | TYPE I | Number of skipped tasks | |
| E_STATUS | Exporting | TYPE STC_SESSION_STATUS | Task List Run Status | |
| E_DONE_TASKS | Exporting | TYPE I | Number of checked tasks | |
| E_FAILED_TASKS | Exporting | TYPE I | Number of failed tasks | |
| E_OPEN_TASKS | Exporting | TYPE I | Number of remaining tasks to be checked | |
| E_PROGRESS | Exporting | TYPE STC_SESSION_PROGRESS | Progress as percentage value |
Exceptions of Method GET_CHECKRUN_STATUS
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_STCTM_SESSION.
DATA: lv_ESX_TASK TYPE CL_STCTM_TASKLIST=>TS_TASK,
lv_E_FINISHED TYPE SAP_BOOL,
lv_E_PROGRESS TYPE I,
lv_E_SKIPPED_TASKS TYPE I,
lv_E_STATUS TYPE STC_SESSION_STATUS,
lv_E_DONE_TASKS TYPE I,
lv_E_FAILED_TASKS TYPE I,
lv_E_OPEN_TASKS TYPE I,
lv_E_PROGRESS TYPE STC_SESSION_PROGRESS,
lv_other TYPE c.
CALL METHOD lo_class=>GET_CHECKRUN_STATUS(
IMPORTING
ESX_TASK = lv_ESX_TASK
E_FINISHED = lv_E_FINISHED
E_PROGRESS = lv_E_PROGRESS
E_SKIPPED_TASKS = lv_E_SKIPPED_TASKS
E_STATUS = lv_E_STATUS
E_DONE_TASKS = lv_E_DONE_TASKS
E_FAILED_TASKS = lv_E_FAILED_TASKS
E_OPEN_TASKS = lv_E_OPEN_TASKS
E_PROGRESS = lv_E_PROGRESS ).
Links to Related Class(s)
CL_STCTM...Full list of available SAP object classes
Search for further information about these or an SAP related objects