Selecting Fields 

You add an element to a screen by using an existing ABAP Dictionary or program field.

Except for text elements, every element on your screen must have a corresponding Dictionary or program field. When you select fields defined in the ABAP Dictionary, your elements come equipped with the information already in the Dictionary, such as labels and formats. Additionally, if you use Dictionary fields, the fields are automatically updated whenever their definition in the ABAP Dictionary changes.

Using the Dict./program fields Dialog Box

You can list fields from the ABAP Dictionary or your program in the Dict./Program Fields dialog box. You can open the Dict/Program fields dialog from the initial screen of the Screen Painter or using the Goto menu on any other screen in the Screen Painter.

 

Using Dictionary and Program Fields on a Screen

  1. Open the Dict.program fields dialog box.
  2. Specify a table or field name.
  3. You can enter field names generically, but you must always specify table names in full.

  4. Transfer the program or table fields onto the screen.
  5. To search for a table or field in the ABAP Dictionary, choose Get from Dict. To search for a table or field in the ABAP program, choose Get from program. The system displays the fields.

  6. Select one or more fields.
  7. Choose Continue.
  8. The system displays the cursor and an outline of the field block in the work area.

  9. Single-click to position the field block on the screen.
  10. Single-click outside the field block to deselect the block.

 

If you copied several fields, they are copied as a group. After copying, you can move each field individually. If you have included blank fields or invalid fields in your selection, the system displays a message and deletes the fields. These fields are not copied.

Canceling a Copy

If you discover before placing a field on the screen that your selection is incorrect, you can cancel the copy. To do this, choose Reset in the element palette.