ABAP Keyword Documentation → ABAP − Reference → SAP GUI User Dialogs → General Dynpros → Field Help, Input Help, and Dropdown List Boxes → Input Help
Input Helps from ABAP Dictionary
The primary input helps used in ABAP Dictionary are search helps. A search help is a standalone repository object used specifically to provide input helps on screen fields. Search helps can be associated with table fields and data elements. The content of check tables, fixed values, or calendar helps and clock helps can be used instead of search helps.
Other versions:
7.31 | 7.40 | 7.54
Overview of ABAP Dictionary Input Helps
- Search helps
- Check tables
- Fixed values
- Calendar helps and clock helps
Hierarchy of the Input Helps
Search helps can be bound in various ways to fields of database tables or components of ABAP Dictionary structures. The input help available to a user depends on the way a search help is bound. The following list shows, in ascending order of priority, the input help used:
- Calendar helps and clock helps
- Fixed values
- Search help of the data element
- Check table
- Check table with text table
- Check table with search help
- Search help of the field
If necessary, the input help is modified using methods of flagging obsolete data in check tables.
Data Transport of Search Helps
Search helps have an interface (a search help parameter) that defines which input is respected by the screen and which screen fields can be filled with data from the row chosen in the proposal list. Parameters of a search help can be defined as import and export parameters. A parameter can be both an input and an export parameter at the same time.
When the input help is called, data is transported between the dynpro fields and the import parameters of the search help. If a search help is bound to a data element or directly to a screen of the dynpro, only a single search help parameter is associated with the field. In this case, data is transported only between the field and this parameter. If the search help is bound to the table field or structure field or to the check table of the field, it may be necessary to fill multiple search help parameters. When the input help is called, an attempt is made to find an identically named field for each import parameter of the search help that is associated with a table field or structure field. If an appropriate field is found, its content is passed to the search help parameter.
When a row in the proposal list of the search help is selected, data is transported between the export parameters of the search help and the associated dynpro fields. The values of the proposal list are passed only to input-enabled fields and to fields that are associated with only a single export parameter of the search help.
Search Help Exits
A search help exit can be used to modify the standard way an input help for a field works. A search help exit is a function module with a predefined interface and can be called at defined points within the input help process. A search help exit can be programmed to modify the program flow of the search help or replace certain steps.
The function module can modify data such as the properties of the search helps, the selection options that apply when selecting from the proposal list, the proposal list itself, or the next step in the program flow.
Each search help exit must have the same interface as the function module F4IF_SHLP_EXIT_EXAMPLE, which is used as a pattern for any new search exits. Further optional parameters can also be defined, such as any number of export parameters. For more information, see the documentation for this function module.
If a search help exit is associated with a search help, it is called by the help processor at the following events. These events are points where user actions are permitted and it makes sense for the user to respond:
- Before the dialog box with a search path selection is displayed.
- After an elementary search help is selected.
- Before the dialog box for entering conditions is displayed.
- Before the data selection.
- Before displaying the proposal list.
- Before the values chosen by the user are passed to the screen.
Some requirements made on search helps occur repeatedly. One example is the option of specifying a search help dynamically at POH time. Cases like this are covered by default function modules that are used either directly as search help exits or that can be called in search help exits. These function modules are prefixed with F4UT_.