ENABLE_CHANGE_MODE SAP Method Switch from display to change mode
Below is documentation, parameters and attributes of ABAP Method ENABLE_CHANGE_MODE within SAP class CL_STCTM_PREPROCESSOR. 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_PREPROCESSOR 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 ENABLE_CHANGE_MODE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ENABLE_CHANGE_MODE
.| Name | Type | Data Type | Description | Default Value |
| I_DIALOG_MODE | Importing | TYPE SAP_BOOL | Dialog mode (X) or no gui | |
| I_IGNORE_LANGU_DIFF | Importing | TYPE SAP_BOOL | Ignore different language | |
| I_IGNORE_SCENARIO_DIFF | Importing | TYPE SAP_BOOL | Ignore Task List changes | |
| I_IGNORE_SCENARIO_OBSOLETE | Importing | TYPE SAP_BOOL | Ignore obsolete task list | |
| I_LOG_CONFIRMATIONS | Importing | TYPE SAP_BOOL | Log IGNORE confirmations | |
| I_RELOAD | Importing | TYPE SAP_BOOL | Reload Run/Variant |
Exceptions of Method ENABLE_CHANGE_MODE
USER_ABORT - Cancelled by userExample ABAP coding
DATA: lo_class TYPE REF TO CL_STCTM_PREPROCESSOR.
DATA: lv_I_DIALOG_MODE TYPE SAP_BOOL,
lv_I_IGNORE_LANGU_DIFF TYPE SAP_BOOL,
lv_I_IGNORE_SCENARIO_DIFF TYPE SAP_BOOL,
lv_I_IGNORE_SCENARIO_OBSOLETE TYPE SAP_BOOL,
lv_I_LOG_CONFIRMATIONS TYPE SAP_BOOL,
lv_I_RELOAD TYPE SAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>ENABLE_CHANGE_MODE(
EXPORTING
I_DIALOG_MODE = lv_I_DIALOG_MODE
I_IGNORE_LANGU_DIFF = lv_I_IGNORE_LANGU_DIFF
I_IGNORE_SCENARIO_DIFF = lv_I_IGNORE_SCENARIO_DIFF
I_IGNORE_SCENARIO_OBSOLETE = lv_I_IGNORE_SCENARIO_OBSOLETE
I_LOG_CONFIRMATIONS = lv_I_LOG_CONFIRMATIONS
I_RELOAD = lv_I_RELOAD ).
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