LOG_PARAMS_FOR_TASK SAP Method Log the parameters for a task
Below is documentation, parameters and attributes of ABAP Method LOG_PARAMS_FOR_TASK 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 LOG_PARAMS_FOR_TASK can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method LOG_PARAMS_FOR_TASK
.| Name | Type | Data Type | Description | Default Value |
| IR_PROTOCOL | Importing | TYPE REF TO CL_STCTM_PROTOCOL | Task Manager: Application Protocol | |
| IT_PARAM | Importing | TYPE STCTM_T_PARAMETER | Fieldnames and Values | |
| IT_PARAM_DEF | Importing | TYPE IF_STCTM_UI_TASK=>TT_EXT_PARAM | Definition of External Parameters | |
| IV_TASKLNR | Importing | TYPE STC_TASK_LNR | Task Occurrence in Task List | |
| IV_TASKNAME | Importing | TYPE IF_STCTM_TASK=>T_TASKNAME | Task Name | |
| IV_TASK_SEMANTIC_ID | Importing | TYPE STC_TASK_SEMANTIC_ID | Task Semantic Identifier |
Exceptions of Method LOG_PARAMS_FOR_TASK
This method does not have any exceptionsExample 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_IR_PROTOCOL TYPE CL_STCTM_PROTOCOL,
lv_IT_PARAM TYPE STCTM_T_PARAMETER,
lv_IT_PARAM_DEF TYPE IF_STCTM_UI_TASK=>TT_EXT_PARAM,
lv_IV_TASKLNR TYPE STC_TASK_LNR,
lv_IV_TASKNAME TYPE IF_STCTM_TASK=>T_TASKNAME,
lv_IV_TASK_SEMANTIC_ID TYPE STC_TASK_SEMANTIC_ID,
lv_other TYPE c.
CALL METHOD lo_class=>LOG_PARAMS_FOR_TASK(
EXPORTING
IR_PROTOCOL = lv_IR_PROTOCOL
IT_PARAM = lv_IT_PARAM
IT_PARAM_DEF = lv_IT_PARAM_DEF
IV_TASKLNR = lv_IV_TASKLNR
IV_TASKNAME = lv_IV_TASKNAME
IV_TASK_SEMANTIC_ID = lv_IV_TASK_SEMANTIC_ID ).
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