Show TOC

 Creating Flow LogicLocate this document in the navigation structure

Use

Flow logic is the procedural part of a screen. You create it by using its own programming language, which is similar to ABAP. The flow logic is executed on the application layer of AS ABAP (ABAP Runtime Environment).

Features

To display the flow logic of a screen, in the Repository Browser, double-click on the name of a screen. The system starts the Flow Logic Editor of the Screen Painter. The tool is similar to the ABAP Editor and provides functions for editing the screen flow logic. You can use any of the available ABAP source code editors to define the flow logic.

Note

Choose Utilities → Settings → ABAP Editor to define your settings. All settings of ABAP Editor are supported, but the line length is always restricted to 72.

Keywords

You use specific keywords to create the screen flow logic. For more information, see Flow Logic Keywords .

Note

To get help on each individual keyword, position the mouse pointer on the corresponding keyword and choose F1 .

Navigation

The Screen Painter supports navigation features similar to those of all ABAP Workbench tools. The following navigation features are specific to the Screen Painter:

Action Result

Double-click (F2) on a field name in the element list or in the flow logic

You reach the point in the program or in the dictionary where the field is defined

Double-click (F2) on the number of the next screen

You reach the screen attributes of the next screen

Double-click (F2) on a screen number in the flow logic

You reach the flow logic of that screen

Double-click (F2) on a name of a module in the flow logic

You reach the point in the program where the module is defined

Note

In the flow logic and the element lists, you can use the global Find and Replace functions (including generic searches). Each search generates a hit list, which you can use navigate to the corresponding object.

See also:

Flow Logic Keywords