Skip to content

ABAP Keyword Documentation →  ABAP - Release-Specific Changes →  Changes in Release 7.0 and its EhPs →  Changes in Release 7.0 

Switch Framework in Release 7.0


1. Binding of dynpros to Switch Framework


2. Binding of the syntax check to Switch Framework

From Release 7.0, Switch Framework is available for the external control of the visibility of repository objects or their components using switches in ABAP Workbench. The following changes have been made to dynpro and ABAP statements to enable this function:

Other versions: 7.31 | 7.40 | 7.54

Modification 1

Binding of Dynpros to Switch Framework

The new addition SWITCH of the statement MODULE in 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 binding switches to dynpro fields and status elements in Screen Painter or Menu Painter.

Modification 2

Binding the Syntax Check to Switch Framework

In every implicit or explicit compilation of an ABAP program, the
syntax check uses the switch configuration of Switch Framework that is provided 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.