In the context of the Switch Framework, development objects can be of two types: switchable and non-switchable. Both types can be assigned to switches. The behavior of switchable objects in the system depends on the switch settings.
Below is the list of switchable units:
You can switch the following repository objects by assigning them to a package:
The switches affect only SI_ and CI_ includes. The normal dictionary includes are not affected by switches.
You can assign a switch to each screen fields when you define it in the Screen Painter. A screen field can be used only when the switch is switched on. By assigning a switch to a screen field, you also assign the corresponding FIELD statements of the screen flow logic. The FIELD statements are only taken into account if the switch is switched on.
When you define a screen field, you should specify whether the corresponding screen elements are to be hidden when the switch is switched on. In this way, you can replace existing screen fields with others.
The program SFW_FIND_SWITCHED_ELEMENTS can be used to search switched UI elements by business function. Its scope are the UI elements assigned in Screen Painter.
You can link the MODULE statement of the screen flow logic to a switch directly through the SWITCH addition. Such a MODULE statement is only taken into account if the switch is switched on.
You can assign a switch to a function code when defining the function code in the Menu Painter.
You can assign a switch to any field of a maintenance view when you define the view in the ABAP Dictionary. All fields that you want to switch need tobe part of the maintenance view. No appends are used for the switchable parts of a maintenance view.
The same applies to view clusters . You can specify one switch for each view to control its visibility. All views that you want to switch need to be part of the view cluster.
You can assign a switch to each node of an IMG structure in the IMG Structure Maintenance . An IMG structure node is displayed only when the switch is switched on.
You can assign a switch to each node of an area menu in the Area Menu Maintenance . An Area Menu node is displayed only when the switch is switched on.
See also: