Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  SAP GUI User Dialogs →  General Dynpros →  Field Help, Input Help, and Dropdown List Boxes →  Input Help 

Input Help in Dialog Modules

To define input helps in dialog modules, dialog modules can be called at POV time:

PROCESS ON VALUE-REQUEST.
  ...
  FIELD field MODULE mod.
  ...

After PROCESS ON VALUE-REQUEST, the MODULE statement can only be used in combination with the FIELD statement. When F4 is selected, the dialog module mod of the FIELD statement whose field field has the cursor. If multiple FIELD statements are specified for the same field field, only the first statement is executed. The dialog module mod does not provide the content of the dynpro field field, since this content is not transported by the FIELD statement at PROCESS ON HELP-REQUEST time. If the recommended search helps and search help exits do not meet requirements, proposal lists for the input help can be programmed in this dialog module.

Function modules are available here that support both search helps and all other types of input help, and which also transport data between the dynpro and the ABAP program. These function modules are prefixed with F4IF_. The most important are:

  • F4IF_FIELD_VALUE_REQUEST
Calls the input help in ABAP Dictionary dynamically. The import parameters TABNAME and FIELDNAME can be used to pass the name of the component of a structure or database in ABAP Dictionary to the function module. The ABAP Dictionary input help defined for this component is called. All of the relevant dynpro fields are read. Any fields selected from the proposal list are either passed to the relevant input-enabled screen fields, if the import parameters DYNPPROG, DYNPNR, and DYNPROFIELD are specified, or passed back in the table parameter RETURN_TAB.
  • F4IF_INT_TABLE_VALUE_REQUEST
This function module displays a proposal list created in the ABAP program. This list is passed to the function module in the table parameter VALUE_TAB. The selection of the user is either passed to the relevant input-enabled screen fields, if the import parameters DYNPPROG, DYNPNR, and DYNPROFIELD are specified, or passed back in the table parameter RETURN_TAB.

The additional function modules DYNP_VALUES_READ and DYNP_VALUES_UPDATE read and return dynpro fields at POV time. For further information, refer to the relevant function module documentation.

Other versions: 7.31 | 7.40 | 7.54

Executable Example

Input Helps in Dialog Modules