SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Release-Specific Changes → Changes for Release 7.0 →
Switch Framework for Release 7.0
1. Connection of dynpros to the Switch Framework
2. Connection of the syntax check to the Switch Framework
As of release 7.0, a Switch Framework is available for the external control of the visibility of
Repository objects or their components using
switches in the
ABAP Workbench. The following changes have been made to dynpro and ABAP statements to enable this function:
Connection of dynpros to the Switch Framework
The new addition SWITCH to the statement MODULE of the dynpro flow logic can be used to make the call of a dialog module dependent on the state of a switch.
The statement FIELD and the activation
of functions in the GUI status are controlled by connecting switches to dynpro fields and status elements in the Screen Painter or the Menu Painter.
Connection of the syntax check to the Switch Framework
In every implicit or explicit compilation of an ABAP program, the
syntax check uses the switch configuration of the Switch Framework that is available when the statement is executed.
When the statement GENERATE SUBROUTINE POOL is executed, the syntax check uses the switch configuration that was available at the time the current transaction was called.
As a standard setting, a syntax check performed using the statement SYNTAX-CHECK uses the switch configuration available at the time the statement is executed. To achieve the same behavior as with the statement GENERATE SUBROUTINE POOL, the addition WITH CURRENT SWITCHSTATES has been introduced.