AbstractInputField Properties
Properties in View Designer
-
activateAccessKey
Activation of access keys .
This property can be personalized both by a user and by an administrator.
-
alignment
Horizontal alignment of the text within the input field.
This property can be personalized by an administrator.
Value
Description
Can be set using personalization
auto
Standard value
Automatic alignment of the text content. The alignment is specified by the usage of the UI element - for example, by the data type of the value to be represented.
Yes
center
Centered alignment
Yes
forcedLeft
The text content is always left-justified, regardless of whether property textDirection is set to ltr or rtl.
Yes
endOfLine
The text is always displayed at the end of the line. Therefore, if property textDirection is set to ltr, the text content is right-justified. The text content for value rtl is left-justified.
Yes
forcedRight
The text content is always right-justified, regardless of whether the value of the textDirection property is ltr or rtl.
Yes
beginOfLine
The text is always displayed at the beginning of the line. Therefore, the text content for value ltr of property textDirection is left-justified. The text content for value rtl is right-justified.
Yes
-
explanation
Help text that is displayed when help mode is activated. See also Explanation Property .
This property can be personalized by an administrator.
-
length
Width of the InputField in number of characters. This property is overruled by the width property.
The default value for InputField.length is 0 characters. This causes the adoption of the length from the ABAP Dictionary at runtime. If nothing is maintained or if the length is not restricted, the field is 20 characters long.
See also 12-Hour Time Format .

When proportional font is used where characters are not all of equal width, an average value is used for the character width. For this reason, despite a sufficient length specification, not all the characters may be able to fit in the input field. In this case you can scroll through the text in the input field by moving the input cursor.
This property can be personalized by an administrator.
-
passwordField
Boolean value that controls the display of entered characters on the screen. If the value is true, the entered characters on screen are echoed with an asterisk (*). This attribute is usually used for password input fields.
-
readOnly
Determines whether the input field can be edited or read only.
This property can be personalized by an administrator. In personalization, this property can be assigned the value ' true'.
-
state
Error status of the interface element.
This property can be personalized by an administrator.
Value
Visual Display
Description
Can be set using personalization
normal

Normal status of the interface element
No
required

The value must be entered. The InputField is displayed with a star. Note that this value of the property state is not checked by the Web Dynpro Framework. Service functions are however available for checking required entries, see also SAP Note 948753.
Yes
-
textDirection
Text or writing direction.
This enables labels of interface elements to be read in languages that have an RTL writing direction, such as Arabic or Hebrew, as opposed to LTR for languages like English.
This property can be personalized by an administrator.
Value
Description
Can be set using personalization
INHERIT
The text direction is inherited from the parent element. Therefore, the text direction is identical to that of the parent element.
Yes
LTR
Left to right text direction
Yes
RTL
Right to left text direction
Yes
-
value
Character string displayed within the input field frame. This property must be bound to a context attribute (see Data Binding of User Interface Element Properties ).
This property can be personalized both by a user and by an administrator. You can also predefine values; refer to Methods and Properties of UI Elements .
-
width
Width of the interface element, specified in CSS sizes, such as em, ex, pixel, or percent. See also Methods and Properties of UI Elements .
This property can be personalized by an administrator.