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:

  1. Select Screen 100 and choose Change.
  2. The browser displays the Flow Logic Display screen.

  3. Ensure that you have the set the fullscreen editor to graphical mode.
  4. You can set the mode by choosing Settings ® Graph. Fullscreen.

  5. Choose Fullscreen.
  6. The system opens the Screen Painter fullscreen editor .

  7. Choose Dict/Prog Fields.
  8. 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.

  9. Enter your table name in the Table/field name field.
  10. Choose Get from Dict.
  11. The system retrieves the list of fields from your table and lists them for you.

  12. Select the flight ID field.
  13. Set Template and set Key word to Average.
  14. Choose Copy.
  15. The Screen Painter window moves into the foreground.

  16. Place the table field by positioning your cursor in the work area and pressing the left mouse button.
  17. 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 .

  18. Save your changes.

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.