Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Screens →  Statements in the Screen Flow Logic 

FIELD

Other versions: 7.31 | 7.40 | 7.54

Syntax


FIELD dynp_field { [ MODULE mod [] ]
                 | [ [MODULE mod]
WITH hlp ] }.

Effect

The FIELD statement of the screen flow logic controls the data transport from the dynpro to the ABAP program during the event PAI. It can be combined with the MODULE statement to conditionally call dialog modules, to allow you to check any input, and to allow self-programmed field and input helps at the events POH and POV.

FIELD can be used in the event blocks at PBO, PAI, POH and POV, but it has no effect in the event block at PBO. For dynp_field, you must specify a screen field of the current dynpro. The statement has the following effect:

  • In the event block at PAI, FIELD controls the time when the data transport from screen field dynp_field to the global data object with the same name of the ABAP program takes place.
  • In the event block at PAI, FIELD can be combined with a MODULE statement to call a module mod according to the conditions cond for screen field dynp_field and to allow input checks with error handling.
  • In the event blocks at POH and POV, FIELD can either be combined with a MODULE statement (without cond condition) to call a module mod with self-programmed field or input help or, with the addition WITH of POH, a data element additional documentation can be called.

If a switch is assigned to the screen field dynp_field in the Screen Painter, the statement FIELD is considered only if the screen field has been switched on by the switch.


Note

The statement FIELD has two further additions VALUES and SELECT for executing an obsolete value check in the flow logic.

Continue

Data transport at point of time PAI

FIELD - MODULE

Handling of messages at event PAI

Field and Input Help