LOG_MESSAGES_FROM_TASK SAP Method Log messages returned by task to protocol









Below is documentation, parameters and attributes of ABAP Method LOG_MESSAGES_FROM_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_MESSAGES_FROM_TASK can also be found below:

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


Parameters of Method LOG_MESSAGES_FROM_TASK

.

NameTypeData TypeDescriptionDefault Value
IR_MESSAGESImportingTYPE REF TO
CL_STCTM_MESSAGES
Task Manager Messages
IR_PROTOCOLImportingTYPE REF TO
CL_STCTM_PROTOCOL
Task Manager: Application Protocol
IV_TASKLNRImportingTYPE
STC_TASK_LNR
Task Occurrence in Task List
IV_TASKNAMEImportingTYPE
IF_STCTM_TASK=>T_TASKNAME
Task Name
IV_TASK_SEMANTIC_IDImportingTYPE
STC_TASK_SEMANTIC_ID
Task Semantic Identifier



Exceptions of Method LOG_MESSAGES_FROM_TASK

This method does not have any exceptions

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_IR_MESSAGES TYPE CL_STCTM_MESSAGES,
lv_IR_PROTOCOL TYPE CL_STCTM_PROTOCOL,
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_MESSAGES_FROM_TASK(
EXPORTING
IR_MESSAGES = lv_IR_MESSAGES
IR_PROTOCOL = lv_IR_PROTOCOL
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



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!