
Data input is an important activity in interactive business applications. In a large number of dialog variants valid input represents one value from a limited set of values. Users can select a value from a table containing possible values.
Input help is also known as value help, search help, and F4 help.
A simple example of an input help can be illustrated using the airline carrier ID:
To select an airline, the user enters the two letter ID of the airline into a search field. The list of unique and valid letter combinations is limited to the number of available airlines. To facilitate data input, a list of IDs can be provided for the user. The user can then select the required airline from the input help list.
Input Help for Web Dynpro ABAP
Web Dynpro ABAP provides you with different types of input help. Which type of input help you choose depends on the application.
The Web Dynpro ABAP framework provides you with the following predefined types of input help:
This input help is based on the search help function in the ABAP Dictionary in the SAP system. You use search helps for data elements and structures defined in the ABAP Dictionary, provided these are supported by Web Dynpro.
You can use the object value selection input help if it is not possible to use the ABAP Dictionary for the search, for example if the value set is to be calculated in the Web Dynpro application.
If implemented appropriately both these predefined input help types have the advantage that you can fill multiple fields at a time (for example, two fields for the name of a town and its country).
In addition, you can program your own input help.
You can add further restrictions to your input help by using Select Options.
Permitted values can also be displayed while the user is entering a value in the input field. For more information, see Suggested Values for Input Fields.
You can combine the available input help with various UI elements (e.g. InputField, DropDownByKey). You can define an input help for an InputField in a context attribute that is bound to the value property of the InputField. Once an input help has been integrated, Web Dynpro Framework automatically generates and implements the correct icon for the user to choose to call the input help at runtime. In the same way, the F4 key is also available for calling input help.
Examples of UI Element Display
InputField with input help:
InputField with input help for date values:
Depending on which date format the user has set on the Fixed Values tab, either the Gregorian or Islamic calendar is displayed as input help. For more information, see DateNavigator.
You can also use a dropdown list - either UI element DropDownByIndex or DropDownByKey. When you use these UI elements you should keep the value set relatively small. Too many dropdown list boxes in one view may lead to performance bottlenecks.