Entering content frame

Background documentation AbstractInputField Properties Locate the document in its SAP Library structure

Properties in the View Designer

·        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

Default 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 the value is ltr or rtl for the textDirection property.

yes

endOfLine

The text content is always displayed at the end of the line. Therefore, the text content for the value ltr of the textDirection property is right-justified. The text content for the value rtl is left-justified.

yes

forcedRight

The text content is always right-justified, regardless of whether the value is ltr or rtl for the textDirection property.

yes

beginOfLine

The text content is always displayed at the beginning of line. Therefore, the text content for the value ltr of the textDirection property is left-justified. The text content for the value rtl is right-justified.

yes

·        length

Width of theInputField in number of characters. This property is overruled by the width property.

Note 

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.
This property can be assigned the value, true, through personalization.

·        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

This graphic is explained in the accompanying text

Normal status of the interface element

no

required

This graphic is explained in the accompanying text

The value must be entered

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 Hebrew and Arabic, as opposed to LTR such as 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 the one 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 UI Element Properties).

Primary Property

This property can be personalized by an administrator.

·        width

Width of the interface element, specified in CSS sizes, such as em, ex, pixel, or percent. See also Legend.

This property can be personalized by an administrator.

 

 

Leaving content frame