SET_REMOTE_TASK_STATE SAP Method Set status of a rtask on remote system









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

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


Parameters of Method SET_REMOTE_TASK_STATE

.

NameTypeData TypeDescriptionDefault Value
IT_TASK_DATAImportingTYPE
DTINF_TT_TASKS_DATA
Table of task data
IV_ALREADY_LOCKEDImportingTYPE
BOOLEAN
Boolean Variable (X=True, -=False, Space=Unknown)
IV_CREATEImportingTYPE
BOOLEAN
Boolean Variable (X=True, -=False, Space=Unknown)
IV_DELETEImportingTYPE
BOOLEAN
Boolean Variable (X=True, -=False, Space=Unknown)
IV_TASK_IDImportingTYPE
DTINF_TASK_ID
16 Byte UUID in 32 Characters (Hexadecimal Encoded)
IV_TASK_TYPEImportingTYPE
DTINF_TASK_TYPE
Task type
IV_UPDATEImportingTYPE
BOOLEAN
Boolean Variable (X=True, -=False, Space=Unknown)
IV_UPDATE_STATEImportingTYPE
DTINF_MON_STATE
State for DTINF_COLL_MON
EV_TASK_IDExportingTYPE
DTINF_TASK_ID
16 Byte UUID in 32 Characters (Hexadecimal Encoded)



Exceptions of Method SET_REMOTE_TASK_STATE

EV_TASK_IDExportingTYPE
DTINF_TASK_ID16 Byte UUID in 32 Characters (Hexadecimal Encoded)LOCK_FAILURE - Lock could not be acquired

Example ABAP coding


DATA: lo_class TYPE REF TO DTINF_IF_INFORMATION.
DATA: lv_EV_TASK_ID TYPE DTINF_TASK_ID,
lv_IT_TASK_DATA TYPE DTINF_TT_TASKS_DATA,
lv_IV_ALREADY_LOCKED TYPE BOOLEAN,
lv_IV_CREATE TYPE BOOLEAN,
lv_IV_DELETE TYPE BOOLEAN,
lv_IV_TASK_ID TYPE DTINF_TASK_ID,
lv_IV_TASK_TYPE TYPE DTINF_TASK_TYPE,
lv_IV_UPDATE TYPE BOOLEAN,
lv_IV_UPDATE_STATE TYPE DTINF_MON_STATE,
lv_other TYPE c.

CALL METHOD lo_class=>SET_REMOTE_TASK_STATE(
EXPORTING
IT_TASK_DATA = lv_IT_TASK_DATA
IV_ALREADY_LOCKED = lv_IV_ALREADY_LOCKED
IV_CREATE = lv_IV_CREATE
IV_DELETE = lv_IV_DELETE
IV_TASK_ID = lv_IV_TASK_ID
IV_TASK_TYPE = lv_IV_TASK_TYPE
IV_UPDATE = lv_IV_UPDATE
IV_UPDATE_STATE = lv_IV_UPDATE_STATE
IMPORTING
EV_TASK_ID = lv_EV_TASK_ID ).

Links to Related Class(s)

DTINF_IF...
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!