SAP NEWS-70-SFW



Get Example source ABAP code based on a different SAP table
  



Switch Framework in ABAP Release 7.0
ITOC
From ABAP_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:

ABAP_MODIFICATION_NN 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.

ABAP_MODIFICATION_NN 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.