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 dynpro 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 dynpro 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 via a message in the task bar.
FIELD dynp_field MODULE mod.
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 dynpro. After calling the dialog module, you are not allowed to specify a condition AT resp. ON.
A field- or input help should be programmed in the called dialog module. If data are to be transported between dynpro and ABAP-program, this must be programmed there as well. For both tasks, you can use function modules like, for example, DYNP_VALUES_READ or DYNP_VALUES_UPDATE.
FIELD dynp_field [MODULE mod] WITH hlp.
If you use the addition WITH in the event block on POH, then the additional data element documentation, specified in hlp, is displayed when you select the function key F1 on the corresponding screen element. The precondition is, that the dynpro-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 dynpro 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. With MODULE, you can call a dialog module mod to fill the data objekt hlp.
The aditional data element documentation replaces the data element documentation which is displayed by default for dynpro fields that are defined with reference to a data element. The additional data element documentation has to be specifically designed for the current dynpro and the current program. Links between the additional data element documentationen and dynpros of programs are stored in the database table THLPF. This link is created if the additional data element documentation for a dynpro field was created via forward navigation in the Screen Painter. The link is not created if the additional data element documentation was created directly in the ABAP Dictionary.