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. |
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. |
Short description |
Describes a screen's purpose. |
Original language |
Maintenance language for the screen. The system sets this attribute to the same original language as the module pool when you create the screen. |
Development class |
Identifies the development class the screen belongs to. |
Last changed/ Last generated |
Date and time that 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 information. |
Selection screen |
Automatically-created screen. Selection screens are used to get values from the user at the beginning of a program. This data is used to restrict database selections. 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 automatically redisplays the user's last entries from the screen when the user displays the screen a second or subsequent time. |
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. |
Other attributes |
|
Next screens |
Number of the next screen to be displayed, assuming that the screen sequence is processed statically. |
Cursor position |
Element on which the cursor is positioned when the screen is first displayed. If you leave this field blank, the system positions the cursor on the first input field. |
Screen group |
Four-character ID for a group of logically-related screens |
Lines/columns occupied |
Size of the area occupied by screen elements. |
Maintenance lines/columns |
Screen size in lines and columns. The size of a screen is measured relative to the position of its top left-hand corner. |