UPDATE_PROGRESS_FROM_TASK SAP Method Save Task List Run triggered by task to update progress









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

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


Parameters of Method UPDATE_PROGRESS_FROM_TASK

.

NameTypeData TypeDescriptionDefault Value
I_MSGIDImportingTYPE
SYMSGID
Message ID (alternative for I_TEXT)
I_MSGNOImportingTYPE
SYMSGNO
Message Number (alternative for I_TEXT)
I_MSGV1ImportingTYPE
SYMSGV
Message Variable (alternative for I_TEXT)
I_MSGV2ImportingTYPE
SYMSGV
Message Variable (alternative for I_TEXT)
I_MSGV3ImportingTYPE
SYMSGV
Message Variable (alternative for I_TEXT)
I_MSGV4ImportingTYPE
SYMSGV
Message Variable (alternative for I_TEXT)
I_PROGRESSImportingTYPE
IF_STCTM_TASK=>T_PROGRESS
Progress in percent (0-100)
I_TEXTImportingTYPE
BAPI_MSG
Message Text (appears temporary in task log)



Exceptions of Method UPDATE_PROGRESS_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_SESSION.
DATA: lv_I_MSGID TYPE SYMSGID,
lv_I_MSGNO TYPE SYMSGNO,
lv_I_MSGV1 TYPE SYMSGV,
lv_I_MSGV2 TYPE SYMSGV,
lv_I_MSGV3 TYPE SYMSGV,
lv_I_MSGV4 TYPE SYMSGV,
lv_I_PROGRESS TYPE IF_STCTM_TASK=>T_PROGRESS,
lv_I_TEXT TYPE BAPI_MSG,
lv_other TYPE c.

CALL METHOD lo_class=>UPDATE_PROGRESS_FROM_TASK(
EXPORTING
I_MSGID = lv_I_MSGID
I_MSGNO = lv_I_MSGNO
I_MSGV1 = lv_I_MSGV1
I_MSGV2 = lv_I_MSGV2
I_MSGV3 = lv_I_MSGV3
I_MSGV4 = lv_I_MSGV4
I_PROGRESS = lv_I_PROGRESS
I_TEXT = lv_I_TEXT ).

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!