Show TOC

Assigning Fields to a Field GroupLocate this document in the navigation structure

Use

You can assign fields of different tables to one field group. In this way, you can treat fields of linked additional tables, additional structures and additional fields in the same way as true logical database fields.

Procedure

To assign a field to a field group, proceed as follows:

  1. Click on the field you want to select in the data source.

  2. Use drag and drop to move the field into the field group of your choice.

    or:

  1. Click on the field and on the field group of your choice.

  2. Choose the function Add fields to field groups or the relevant function from the context menu.

If you want to change the assignment of a field to a field group, click on the field to be changed and move it into the field group you want by using drag and drop, or double-click on the field and use the value help to change the field group in the screen in the bottom right-hand corner.

A double-click on a field in the data source or in a field group displays all the technical information for this field in the lower right part of the screen. You can change long texts and headers if you need to here.

Note

The assignment between the field and the long text is not always unique, for example when several fields refer to the same data element. Therefore, you can overwrite all the field texts and should in any case always do this in the interests of the end-user.

There is a field header for every field. With fields defined in the ABAP Dictionary, the header text is used. The field headers are needed to determine the column headers for queries (more information: Headers and Footers). With fields defined in the ABAP Dictionary, you may want to replace the field header with a different text.

Headers can contain up to 30 characters. But they should not contain more characters the field's output length, seeing as these will then be cut off during subsequent display of the query. A ruler is displayed above the header input fields allowing you to see how long your header can be. The output length of the field is also displayed.

If you have currency amount fields or quantity fields in an InfoSet, it is not necessary to include the associated currency or unit fields. The query takes care of the assignment between currency amount and currency fields, or quantity and unit fields itself.

You can use the functions Find or Find next to search for a text or technical name in both trees.

Note

Client fields of client-specific tables are not included in the selection offered in the field groups, since cross-client reading is not supported by the query. If the value of the client field is required in special cases, an additional field has to be used. The client field can be accessed in the coding of an additional field, even if the client field is not part of the selection offered.