GET_POSSIBLE_ACTIONS SAP Method Get possible Task List Run actions









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

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


Parameters of Method GET_POSSIBLE_ACTIONS

.

NameTypeData TypeDescriptionDefault Value
I_DISPLAY_MODEImportingTYPE
SAP_BOOL
'X' if display mode, ' ' if change mode
E_CHECKRUNExportingTYPE
SAP_BOOL
'X' if checkrun can be performed
E_EXECUTEExportingTYPE
SAP_BOOL
'X' if task list run is initial and can be executed
E_MAINTAINExportingTYPE
SAP_BOOL
'X' if task list run can be maintained
E_RESUMEExportingTYPE
SAP_BOOL
'X' if task list can be resumed
E_STOPExportingTYPE
SAP_BOOL
'X' if stop signal can be sent to task list run



Exceptions of Method GET_POSSIBLE_ACTIONS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_STCTM_SESSION.
DATA: lv_E_CHECKRUN TYPE SAP_BOOL,
lv_E_EXECUTE TYPE SAP_BOOL,
lv_E_MAINTAIN TYPE SAP_BOOL,
lv_E_RESUME TYPE SAP_BOOL,
lv_E_STOP TYPE SAP_BOOL,
lv_I_DISPLAY_MODE TYPE SAP_BOOL,
lv_other TYPE c.

CALL METHOD lo_class=>GET_POSSIBLE_ACTIONS(
EXPORTING
I_DISPLAY_MODE = lv_I_DISPLAY_MODE
IMPORTING
E_CHECKRUN = lv_E_CHECKRUN
E_EXECUTE = lv_E_EXECUTE
E_MAINTAIN = lv_E_MAINTAIN
E_RESUME = lv_E_RESUME
E_STOP = lv_E_STOP ).

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!