Exercise 2: Placing an Element on a Screen
In this exercise, you use the Screen Painter fullscreen editor to add an element to your screen. Ensure that you are in the object list for your program and proceed as follows:
The browser displays the Flow Logic Display screen.
You can set the mode by choosing Settings
The system opens the Screen Painter fullscreen editor .
The Screen Painter displays the Dict./program fields dialog. You use this dialog to copy existing fields from a table or program into your screen.
The system retrieves the list of fields from your table and lists them for you.
The Screen Painter window moves into the foreground.
The flight ID appears with a label and an entry field in the work area. Once an element is placed, you can reposition it by selecting it again and dragging it to a new location .
Add the Remaining Fields
Try some new techniques to add the rest of the elements to your dialog. You should have the following elements remaining:
Add several elements at once by selecting them in the Dict./program fields dialog. Add the departure city, date, and time using this method. Select the fields as a group
and choose Copy to add them as a group .Add the remaining fields to your dialog. Group the arriving city, date, and time in the same manner as you grouped the departure elements. Add the regular and charter fields as a group. Finally, add the meal, snack, and movie fields as a block.
If you need to, you can position several elements by using a "rubber-band" to select a whole group of elements. Then, drag the group to another place in the screen
.Check Your Work
You have created a simple interface using the Screen Painter. Try looking at your interface as it will appear to your users. While still in the fullscreen editor, choose Screen
® Test. The system prompts you for the window coordinates.Your new screen appears in the SAP application window. Experiment with your interface. Try to enter values for each of your fields. You will find that, for some fields, the domain helped determine interface behavior. For example, try entering a departure time using the possible entries button.