Entering content frameProcedure documentation Setting Output Positions of Fields Locate the document in its SAP Library structure

Use

You can set the positions of fields in the screen display. You can also add texts to your lists.

Prerequisites

You have created the query G1 as shown in the section Define Single-Line Basic List .

Procedure

The purpose of the following example is to adjust the flight connections list from query G1 to match the following:

This graphic is explained in the accompanying text

  1. Copy query G1 and give the copy the name G8.
  2. Highlight the G8 query and click on the Change function.
  3. Adjust the title and the comments.
  4. Click on Basic List.
  5. The Basic List Line Structure screen is displayed.

  6. To sort the display list by individual flight connections, adjust the field sequence and output lines as in the following graphic:
  7. This graphic is explained in the accompanying text

  8. To display the Control Levels screen, click on Next Screen This graphic is explained in the accompanying text.
  9. In the Control Levels screen, set a box to be placed around each group level.
  10. No column headers are necessary in the new list. We can therefore delete the option Header in the Output Options List Line screen.

  11. To display the Field Display Options screen, click on Next Screen This graphic is explained in the accompanying text.
  12. Specify a fixed output position for the fields From city, Departure time and Arrival time.
  13. This means they are always displayed from this position.

  14. In the ID, Departure Time and Arrival Time fields, highlight the Template (Tmpl.)option. These texts are then displayed with text or pre-formatted.
  15. This graphic is explained in the accompanying text

    The Tmpl. option allows you to include formatting characters in a field.

  16. To display the Field Templates screen, click on Next Screen This graphic is explained in the accompanying text.
  17. In the Field Templates screen, you can enter the template- entering a text or a separator, for example.
  18. This graphic is explained in the accompanying text

    The system replaces each underscore by the contents of the relevant field.

    The output length of the field is increased by the number of formatting characters. When you return to the Field Output Options screen after entering a template, you see the new output length in the New column.

    Caution

    When you change the output length of a field, whether directly by defining a length in the Field Output Options screen or indirectly by defining a template, ensure that the line length defined in the Title, Format screen is not exceeded. If a field is too long for the line, it is displayed on a new line. When calculating the line length, do not forget the blank characters between the fields assigned by the program.

  19. Use the Test This graphic is explained in the accompanying text function to test the query.

The list shown above appears.

 

 

Leaving content frame