CONFIRM_TASK SAP Method Confirm a Task
Below is documentation, parameters and attributes of ABAP Method CONFIRM_TASK within SAP class CL_STCTM_PREPROCESSOR. 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_PREPROCESSOR 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 CONFIRM_TASK can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONFIRM_TASK
.| Name | Type | Data Type | Description | Default Value |
| IR_TASKLIST | Importing | TYPE REF TO CL_STCTM_TASKLIST | TC Configured Task List | |
| ISX_TASK | Importing | TYPE CL_STCTM_TASKLIST=>TS_TASK | ||
| I_DIALOG_MODE | Importing | TYPE SAP_BOOL | Dialog mode (X) or no gui | |
| I_EXEC_ID | Importing | TYPE STC_EXEC_ID | Execution Identifier | |
| ER_MESSAGES | Exporting | TYPE REF TO CL_STCTM_MESSAGES | Task Manager Messages | |
| E_CONFIRMED | Exporting | TYPE SAP_BOOL | 'X' task confirmed |
Exceptions of Method CONFIRM_TASK
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_STCTM_PREPROCESSOR.
DATA: lv_ER_MESSAGES TYPE CL_STCTM_MESSAGES,
lv_E_CONFIRMED TYPE SAP_BOOL,
lv_IR_TASKLIST TYPE CL_STCTM_TASKLIST,
lv_ISX_TASK TYPE CL_STCTM_TASKLIST=>TS_TASK,
lv_I_DIALOG_MODE TYPE SAP_BOOL,
lv_I_EXEC_ID TYPE STC_EXEC_ID,
lv_other TYPE c.
CALL METHOD lo_class=>CONFIRM_TASK(
EXPORTING
IR_TASKLIST = lv_IR_TASKLIST
ISX_TASK = lv_ISX_TASK
I_DIALOG_MODE = lv_I_DIALOG_MODE
I_EXEC_ID = lv_I_EXEC_ID
IMPORTING
ER_MESSAGES = lv_ER_MESSAGES
E_CONFIRMED = lv_E_CONFIRMED ).
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