GET_POSSIBLE_TASK_ACTIONS SAP Method Get possible task actions









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

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


Parameters of Method GET_POSSIBLE_TASK_ACTIONS

.

NameTypeData TypeDescriptionDefault Value
IR_TASKImportingTYPE REF TO
IF_STCTM_TASK
Technical Configuration Task
I_DISPLAY_MODEImportingTYPE
SAP_BOOL
'X' if display mode, ' ' if change mode
E_CONFIRMExportingTYPE
SAP_BOOL
'X' if (manual activity) task can be confirmed
E_MAINTAINExportingTYPE
SAP_BOOL
'X' if parameter of (user interface) task can be maintained
E_SKIPExportingTYPE
SAP_BOOL
'X' if task can be skipped
E_UNSKIPExportingTYPE
SAP_BOOL
'X' if task can be set in scope



Exceptions of Method GET_POSSIBLE_TASK_ACTIONS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_STCTM_SESSION.
DATA: lv_E_CONFIRM TYPE SAP_BOOL,
lv_E_MAINTAIN TYPE SAP_BOOL,
lv_E_SKIP TYPE SAP_BOOL,
lv_E_UNSKIP TYPE SAP_BOOL,
lv_IR_TASK TYPE IF_STCTM_TASK,
lv_I_DISPLAY_MODE TYPE SAP_BOOL,
lv_other TYPE c.

CALL METHOD lo_class=>GET_POSSIBLE_TASK_ACTIONS(
EXPORTING
IR_TASK = lv_IR_TASK
I_DISPLAY_MODE = lv_I_DISPLAY_MODE
IMPORTING
E_CONFIRM = lv_E_CONFIRM
E_MAINTAIN = lv_E_MAINTAIN
E_SKIP = lv_E_SKIP
E_UNSKIP = lv_E_UNSKIP ).

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!