CHECK SAP Method Check Tasklist for predecessor and successor consistence
Below is documentation, parameters and attributes of ABAP Method CHECK 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 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_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 CHECK can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK
.| Name | Type | Data Type | Description | Default Value |
| I_CHK_TASK_MULTI_USAGE | Importing | TYPE SAP_BOOL | Check Task for Multiple Usage | |
| I_CHK_TASK_OBSOLETE | Importing | TYPE SAP_BOOL | Check if Task is obsolete | |
| I_CHK_TASK_PARM_MAINT | Importing | TYPE SAP_BOOL | Check Task for Obligatory Parameters | |
| I_CHK_TASK_PREDECESSORS | Importing | TYPE SAP_BOOL | Check Task for Predecessor | |
| I_CHK_TASK_SUCCESSORS | Importing | TYPE SAP_BOOL | Check Task for Successor | |
| I_CHK_TASK_SYNTAX | Importing | TYPE SAP_BOOL | Check Task for Errors | |
| ER_MESSAGES | Exporting | TYPE REF TO CL_STCTM_MESSAGES | Task List Messages |
Exceptions of Method CHECK
CL_STCTM_MESSAGES
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_STCTM_TASKLIST.
DATA: lv_ER_MESSAGES TYPE CL_STCTM_MESSAGES,
lv_I_CHK_TASK_MULTI_USAGE TYPE SAP_BOOL,
lv_I_CHK_TASK_OBSOLETE TYPE SAP_BOOL,
lv_I_CHK_TASK_PARM_MAINT TYPE SAP_BOOL,
lv_I_CHK_TASK_PREDECESSORS TYPE SAP_BOOL,
lv_I_CHK_TASK_SUCCESSORS TYPE SAP_BOOL,
lv_I_CHK_TASK_SYNTAX TYPE SAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK(
EXPORTING
I_CHK_TASK_MULTI_USAGE = lv_I_CHK_TASK_MULTI_USAGE
I_CHK_TASK_OBSOLETE = lv_I_CHK_TASK_OBSOLETE
I_CHK_TASK_PARM_MAINT = lv_I_CHK_TASK_PARM_MAINT
I_CHK_TASK_PREDECESSORS = lv_I_CHK_TASK_PREDECESSORS
I_CHK_TASK_SUCCESSORS = lv_I_CHK_TASK_SUCCESSORS
I_CHK_TASK_SYNTAX = lv_I_CHK_TASK_SYNTAX
IMPORTING
ER_MESSAGES = lv_ER_MESSAGES ).
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