You use this function to maintain program attributes for screen elements in the Screen Painter.
To change the program attributes for screen elements, in the Layout Editor of the Screen Painter, choose the Attributes pushbutton. In the Program group box, you can set the following attributes:
Attribute | Description |
---|---|
Input field |
This attribute defines an element as an input field. If the output field attribute is not set, the data in this element is processed during the transaction but it is not displayed. By default, both the input and the output attributes are set. |
Input |
This attribute defines the way a program handles input/output fields. It can have the following values:
The selected value can be modified at runtime with LOOP AT SCREEN, field SCREEN-REQUIRED:
|
Output field |
Identifies an element as an output field. You cannot insert data in that element unless the input field attribute has been set. |
Output field only |
Use this attribute to protect read-only elements from being changed into input elements at runtime. This attribute is useful when a program attempts to set all input elements back to ready for input. Note
Use this attribute for dynamically generated field labels. In this way they are displayed two-dimensionally and proportionally to the static field labels. |
PossEntry /Value list |
This attribute is relevant only for dropdown lists. It determines when and how the system retrieves the values that are displayed in the list:
The help processor completes the value list automatically before sending it to the Value Request Manager. The main sources are domain fixed values, value tables, and search helps. Note
If the PROCESS ON VALUE-REQUEST event of the flow logic contains a statement linking a module to an input/output field, this takes priority over the automatic value retrieval by the help processor. In the module, you pass the value list to the help processor using function modules.
You determine the values yourself in a module of the PBO event, and pass them to the Value Request Manager using the VRM_SET_VALUES function module. |
Poss. Entries /Possible entries key |
You can assign this attribute only to input/output fields. The attribute can have the following values:
|
Right-justified |
This attribute aligns numerical fields in an element to the right. You can also display text fields in that way (for example, when defining headers). |
With leading zeros |
This attribute aligns to the left numeric field values with leading zeroes. |
*-entry |
Allows the user to enter an * (asterisk) at the first position of an element. The system ignores the asterisk and transports input starting from the second position. Transport is determined by the conversion guidelines in the field format. The first-character asterisk triggers a flow logic module, which you declare by: FIELD... MODULE... ON *-INPUT . |
Without reset |
Prevents the reset character (!) from being used to delete input from an input/output field. |
Without template |
If the user enters special characters as part of the input, they are transferred to the screen as regular text. If you set this attribute, you cannot set the Req.entry attribute. |
For more information about attributes of screen elements, see General Attributes .