Controlling Input History for InputFields
Use
The history contains Suggested Values, which are based on information that a user entered previously in an InputField.
Prerequisites
The history is available if the following conditions are met:
-
The WDENABLEFIELDHISTORY application parameter is set for your system or application.
-
The Accessibility mode is deactivated.
Process
There are two settings for controlling the history for InputFields:
-
If you set the noHistory property of an InputField to the value true, you can deactivate the history for this InputField. Users can then no longer activate the history for this InputField from the context menu of the InputField.
If noHistory is not set, the entry History of Input Field "<Label>" is available to users in the context menu of this InputField under User Settings. Users can then activate or deactivate the history for this InputField.
-
With application parameter WDENABLEFIELDHISTORY you can deactivate the history for InputFields system-wide or for individual Web Dynpro ABAP applications. Users can then no longer activate the history for all InputFields of this application from the context menu.
By default the history is activated. The entry Delete Input History for User <User> is then available to users in the context menu of the application.
Example
Component WDR_TEST_FIELD_HISTORY is provided for testing.