Creating Queries 

To create a new query, proceed as follows:

  1. Call the component Maintain Queries.
  2. Choose the user group to which you want to assign the new query.
  3. Enter the desired query name.
  4. Query names can be up to 14 characters long and should not already exist in the user group.

  5. Choose Create.
  6. You then see a list of the InfoSets assigned to your current user group.

  7. To select the InfoSet you require, place the cursor on the InfoSet and choose Select.

For further information about creating InfoSets, refer to Creating and Changing InfoSets.

If many InfoSets with multiple fields are assigned to one user group, you can use the search function to find the right InfoSet. Within the specified InfoSets it is possible to perform any number of searches. The result is a displayed list of all InfoSets and fields, which satisfy the search criterion.

All the examples in this chapter are based on a flight reservation system and evaluate flight bookings. You should therefore choose the InfoSet FLBU.

You may now begin to define your report. The system takes you through several screens. Four different screen sequences are possible:

Within each of these screen sequences, you have the following navigation options:

If you want to switch from one screen sequence to another (for example, go from one of the basic list screens to the field selection), you can use the appropriate function in the Goto menu. The following screen shows the most important navigation options.

 

Within a query, you can define one basic list, up to 9 statistics and up to 9 ranked lists. These different list types may be combined in any permutation you like. You can also extend existing queries by adding more sub-lists. Unless you have specified otherwise, you see the basic list first, followed by the statistics and finally the ranked lists when you execute a query.