Copyright 2021 - BV TallVision IT

... step by step. This will cover creating a screen in a series of steps.

 Step 1: Creating a screen The user interface with an ABAP is a screen with a status (menu). Using a screen with status, end users can e.g. enter data in accordance with the SAP standards. A screen is called DYNPRO in ABAP/4.

When creating a DYNPRO the program name has to be filled in always. Choose via the menu: R/3 => CASE => Development => Screen painter. Fill in a screen number and on the next screen a title. The other way to create a screen is from the ABAP editor, type e.g. CALL SCREEN 900.and simply double click on the screen number.

Step 2: adding fields

There are several ways to complete the data fields used on the screen:

  • Directly from the database tables to the screen: Screen-painter: Jump=> Dict-fields. Steps to take:
    1. select table
    2. select field
    3. select completion (text of a field or value of a field)
    4. position field
    5. next field (step 1.)
  • Filling in ABAP data fields on the screen: from the full screen editor a line is edited with underline characters "_____". Underline characters form the screen masks for the input field. The name of the ABAP variable has to be entered in the field attributes. The exact length of the field can be entered in the field attributes as well, thus no need to worry about the length of your initial underline.

Step 3: Texts on the screen

Texts can be put on a screen like fields. If multi lingual screens are not a customer demand, texts can be positioned in the screen 'hard-coded'. It is advised to connect words belonging together with an underscore, the screenpainter then deals with the text as one (text)field. You have to bear in mind the font the screen is being built up with. When texts have to placed above a column (not part of the list) they should not be connected via underscores, as texts will not keep their position when a proportional font is used.

To indicate that a text belongs to an input field, the field name of the input field has to be used as the field name of the text field as well (in the attribute screen of the text field). When a text field belongs to an input field, the text itself is (like the input field) connected the the help (F1) system. Text fields that are used as headers for a loop cannot refer to fields in a loop.

Step 4: Activate the screen

From the screen painter and your dynpro has it's initial settings ready. The next thing that needs to be done is Flow Logic..