Show TOC

InputField PropertiesLocate this document in the navigation structure

Use

Properties in View Designer

  • datePickerReferenceId

    This property enables two date-type InputFields to be linked so that the selected value in the referenced InputField is taken from the linked, referenced InputField, provided its value is initial.

    Note

    The type of the InputField is not checked automatically. If the type of the linked InputField is not date, the function has no effect.

  • imeMode

    Controls the frontend IMS mode.

    IME (Input Method Editor) is a basic component for writing Chinese, Japanese, and Korean characters. This system of writing has more characters than could be keyed in using a normal (restricted) keyboard. IME enables users to key in and edit Chinese, Japanese, and Korean characters using a normal (restricted) keyboard.

    The following values are possible:

    Value

    Description

    active

    IME mode is active but can be deactivated

    auto

    IME mode setting is disregarded

    disabled

    IME mode is inactive but cannot be activated

    inactive

    IME mode is inactive but can be activated

  • inputHelp

    Use this property to define the input help icon for the input field.

    Table 1:

    Value

    Example of the Visual Display

    Description

    auto The input help icon is assigned using the bound context attribute. Depending on the type of the bound context attribute, a back-end input help icon or a date picker icon is displayed. If no input help is available, no input help icon is displayed.
    calculator A calculator icon is displayed in the input field. Cclick on this icon or press F4 to open a simple calculator below the input field.
    search A search icon is displayed in the input field. Click on this icon or press F4 to trigger the onEnter action in the ABAP backend.
    none No input help icon is displayed and no input help function is available with F4.

    Suggested values can still be displayed using the suggestValues property.

  • noHistory

    Activates and deactivates the history for the input field.

    Note

    If the nohistory property is set for the data element from the ABAP dictionary, this cannot be reset in the InputField.

    Both users and administrators can personalize this property. In personalization, this property can be assigned the value: true
  • suggestFilterMethod

    Displays values in the suggested values list that either start with the characters entered (suggestFilterMethod: prefixSearch) or contain (suggestFilterMethod: containsSearch).

    Note

    If you select containsSearch, this slows down the speed at which the the suggested values are selected.

  • suggestValues

    Activation and deactivation of proposals that are displayed when the user enters data. If the linked InputField is not of type date, the function has no effect.

    Suggested Values for Input Fields

    This property can be personalized by administrators.

  • suppressValueHelp

    This property is deprecated and should not be used.

    Instead, set the inputHelp property to the value "none".
  • displayOnly

    Specifies whether the user can edit the UI element or only display it.

    This property has almost the same function as readOnly. The differences are that the background of UI elements is white instead of gray, and any required asterisk is no longer displayed on the label after activation.

    The following figure shows this difference, using the RadioButton UI element as an example:

    This property can be personalized by administrators. In personalization, this property can be assigned the value: true

Caution

If you use displayOnly with the following UI elements, not all properties are supported.

The supported properties are listed below:

  • displayOnly for the UI element InputField:

    If you use displayOnly for the UI element InputField, only the following properties are supported:

  • displayOnly for the UI element DropDownByIndex or DropDownByIndex:

    If you use displayOnly for UI elements DropDownByIndex and DropDownByIndex, only the following properties are supported:

Note
  • If both displayOnly = true and readOnly = true are used, the UI element is displayed in displayOnly- style.

  • A TextView is rendered for UI elements InputField, DropDownByKey, DropDownByIndex, and DropDownListBox if displayOnly = true.

  • Property displayOnly does not function in ToolBar elements.

  • If displayOnly = true is set for UI elements DropDownByIndex, DropDownByKey, DropDownListBox, and InputField, multiple neighboring blank characters may be compressed to one single blank character when you run the application in Internet Explorer. The problem occurs in quirks mode with all IE versions and in standard mode with IE8 and smaller.