You can create a screen from the Screen Painter initial screen or from the object list in the Object Navigator.
Procedure
You create screens from the
initial screen of the Screen Painter as followsThe program you specify should be an executable program (type 1), a module pool (type M), or a function group (type F) and must already exist.
A screen number must be unique and up to 4 numbers long. All screen numbers above 9000 are reserved for SAP's customers. The number 1000 is reserved for table screens and report selection screens. Initial screens of transactions are often given a number whose last three digits are 100 (for example, 3100).
To display a list of a program's screens, use the possible entries button.
The system displays the Change Screen Attributes screen.
Screen attributes
Screen attributes enable the system to assign and process a screen. You can set the following screen attributes:
Attribute |
Description and Ergonomic Guidelines |
|
Program |
Name of the module pool to which the screen belongs. |
|
Screen number |
Identifies a unique name up to 4 numbers long. |
|
Short description |
Describes a screen's purpose. |
|
Original Language |
Identifies a screen's maintenance language. When you create a screen, the system sets this value to the module pool's maintenance language. |
|
Package |
Identifies the package the screen belongs to. |
|
Last changed or Last generated |
Date and time when the screen was last changed or generated. |
|
Screen type |
||
Normal |
If you set this option, the screen is flagged as a normal screen. This is the default setting. |
|
Subscreen |
Identifies the screen as a subscreen. |
|
Modal dialog box |
Identifies a specialized interface for display of lists in a dialog box. See Using Modal Dialog Boxes for more details. |
|
Selection screen |
Identifies an automatically created screen. Selection screens request values for database selection criteria before a report is started. The system sets this attribute automatically. |
|
Settings |
||
Hold data |
The system only supports the Hold data, Set data, and Delete data functions (under System Õ User profile) on the screen if this option is selected. The system can hold entries made on the screen at runtime in this way. The system automatically displays this data if the user calls the particular screen again. |
|
Switch off runtime compression |
If you set this option, the screen is not compressed at runtime. Ergonomic guideline: You should not use this option, since empty lines may appear on the screen if you hide fields dynamically at runtime. When gaps occur, users typically need longer to process the screen. |
|
Hold scroll position |
Use this option to specify whether the vertical and horizontal scroll positions should be retained for a screen. If you set the attribute, the scroll position is retained when the user returns to the screen after processing another screen. This also applies if the length or width of the screen changes, if other subscreens are used, or if the cursor is placed outside the visible area. This setting is intended for large screens on which the scroll position has previously been lost as a result of certain actions. |
|
Without application toolbar |
With this attribute you can suppress the display of the application toolbar belonging to the current program status. This is particularly important if the application does not need its own toolbar since it is included in the toolbar for the controls. If the Without application toolbar option is set, the toolbar belonging to the current program status is not displayed , whether or not it contains pushbuttons. The corresponding place that was reserved for the toolbar is then free. Note that the functions of the current program status are only available on the menu bar or context menu (right mouse key). |
|
Other attributes |
||
Next screen |
Number of the next screen to be displayed, assuming that the screen sequence is processed statically. |
|
Cursor position |
Identifies the screen element that contains the cursor when a screen is first displayed. If you leave this field blank, the system uses the first screen field that can accept input. |
|
Screen group |
Specifies a four-character identifier of a group of associated screens. |
|
Lines/columns Used |
Specifies the size of the screen area currently occupied with screen elements. |
|
Lines/columns Maint. |
Size of the screen in rows/columns. The size is measured in characters starting with the upper left corner. |