GET_STATUS SAP Method Get execution status of Tasklist









Below is documentation, parameters and attributes of ABAP Method GET_STATUS within SAP class CL_STCTM_TASKLIST. 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_TASKLIST 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_STATUS can also be found below:

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


Parameters of Method GET_STATUS

.

NameTypeData TypeDescriptionDefault Value
ESX_TASKExportingTYPE
TS_TASK
Worst Task defining the Status
E_FINISHEDExportingTYPE
SAP_BOOL
'X' = Task list run completed
E_PROGRESSExportingTYPE
I
Progress as percentage value
E_SKIPPED_TASKSExportingTYPE
I
Number of skipped tasks
E_STATUSExportingTYPE
STC_SESSION_STATUS
Task List Run Status
E_DONE_TASKSExportingTYPE
I
Number of executed tasks
E_FAILED_TASKSExportingTYPE
I
Number of failed tasks
E_OPEN_TASKSExportingTYPE
I
Number of remaining tasks to be processed
E_PROGRESSExportingTYPE
STC_SESSION_PROGRESS
Progress as percentage value
E_SKIPPED_TASKSExportingTYPE
I
Number of skipped or needless tasks



Exceptions of Method GET_STATUS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_STCTM_TASKLIST.
DATA: lv_ESX_TASK TYPE 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_E_SKIPPED_TASKS TYPE I,
lv_other TYPE c.

CALL METHOD lo_class=>GET_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
E_SKIPPED_TASKS = lv_E_SKIPPED_TASKS ).

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



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!