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
.| Name | Type | Data Type | Description | Default Value |
| I_DISPLAY_MODE | Importing | TYPE SAP_BOOL | 'X' if display mode, ' ' if change mode | |
| E_CHECKRUN | Exporting | TYPE SAP_BOOL | 'X' if checkrun can be performed | |
| E_EXECUTE | Exporting | TYPE SAP_BOOL | 'X' if task list run is initial and can be executed | |
| E_MAINTAIN | Exporting | TYPE SAP_BOOL | 'X' if task list run can be maintained | |
| E_RESUME | Exporting | TYPE SAP_BOOL | 'X' if task list can be resumed | |
| E_STOP | Exporting | TYPE 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 exceptionsExample 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