ABAP Keyword Documentation → ABAP - Reference → User Dialogs → Dynpros → 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,
FIELDcontrols the time when the data transport from screen fielddynp_fieldto the global data object with the same name of the ABAP program takes place. -
In the event block at PAI,
FIELDcan be combined with aMODULEstatement to call a modulemodaccording to the conditionscondfor screen fielddynp_fieldand to allow input checks with error handling. -
In the event blocks at POH and POV,
FIELDcan either be combined with a MODULE statement (withoutcondcondition) to call a modulemodwith self-programmed field or input help or, with the additionWITHof 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