Skip to content

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

Field and Input Help

In the event blocks on POH and POV, only FIELD statements are possible. The statement MODULE can only be used as addition of the statement FIELD. At these events, no automatic data transport takes place from the screen to the ABAP program and the statement FIELD has no effect. The statement FIELD can either be linked with the statement MODULE or specified with the addition WITH on POH.

If the statement FIELD is listed multiple times for the same screen field, only the first statement is executed. If the event blocks on POH and POV are not implemented, then field or input help fields are displayed which are defined in the system or the ABAP Dictionary . If no help is defined, this is displayed in a message in the task bar.

Other versions: 7.31 | 7.40 | 7.54

Calling a Dialog Module

Syntax


FIELD dynp_field MODULE mod.

Effect

If the statement FIELD is linked to a statement MODULE in the event block on POH or POV, then, if you select the function keys F1 resp. F4 on the assigned screen element, the specified dialog module mod is called. After processing of the dialog module, the system returns to display the current screen without triggering the event PBO and without automatically transporting data from the ABAP program to the screen. After calling the dialog module, you are not allowed to specify a condition AT or ON.


Note

You want to program a field help or input help in the called dialog module. If data is to be transported between the screen and the ABAP program, this transport must be programmed there as well. For both tasks, you can use function modules like, for example, DYNP_VALUES_READ or DYNP_VALUES_UPDATE. Function module DYNP_VALUES_UPDATE is intended for the event POV and only functions there and only for the current dynpro. If you want copy data from the ABAP program to the dynpro outside of the POV, the function module DYNP_UPDATE_FIELDS can also be used.

Calling the data element supplement documentation

Syntax


FIELD dynp_field [MODULE mod] WITH hlp.

Effect

If you use the addition WITH in the event block on POH, then the data element supplement documentation, specified in hlp, is displayed when you select the function key F1 on the corresponding screen element. The precondition is, that the screen field dynp_field was defined with reference to a data element of the ABAP dictionary and that an additional data element documentation for the current screen and the current program was created there.

For hlp, you have to specify a global, numeric data object of the ABAP program which contains the number of the additional data element documentation. The name of hlp must not simultaneously be the name of a data element in ABAP Dictionary, because this will cause a program termination when the screen is used during the program execution. You can use MODULE to call a dialog module mod to fill the data objekt hlp.


Note

The data element supplement documentation replaces the data element documentation which is displayed by default for screen fields that are defined with reference to a data element. The data element supplement documentation has to be specifically designed for the current screen and the current program. Links between the data element supplement documentation and screens of programs are stored in the database table THLPF. This link is created if the data element supplement documentation for a screen field was created using forward navigation in the Screen Painter. The link is not created if the data element supplement documentation was created directly in ABAP Dictionary.

Continue

Field and Input Helps - Examples