Entering content frameDefining Field Groups Locate the document in its SAP Library structure

A field group combines related fields together into a meaningful unit. It provides you with a pre-selection, so that you do not have to search through all fields of a data source just to produce a simple list.

This means that the user only has access to precisely those fields assigned to a field group. Fields must be assigned to a field group before they can be used in queries.

Preassigning Field Groups

If you made the entries in the dialog box Title and Database, then the field groups are prepared.

Once you have created the InfoSet using a single table or using a table join, the following dialog box appears:

This graphic is explained in the accompanying text

You can choose here which fields are to be assigned to field groups.

If the InfoSet is created using a logical database then the following applies:

Where the logical database contains a maximum of four nodes, exactly one field group is created for each node. If the logical database contains more than four nodes then you can specify in a dialog box, for which nodes a field group is to be prepared. For this, the structure tree of the logical database is displayed in a dialog box. Each node that is to have a field group prepared for it can be selected here in a checkbox.

The prepared field groups have the same long texts as the corresponding nodes. They are empty, meaning that no fields have been assigned to them.

Example

The logical database F1S consists of three hierarchically arranged tables Three field groups are generated in advance accordingly:

This graphic is explained in the accompanying text

You can change the predefined and perhaps preassigned field groups in any way you like. You can change long texts. You can delete field groups or take them up afresh. You are recommended, however, to use and keep the preset 1:1 relationship between field groups and tables, or nodes.

Note

The InfoSet generator for HR InfoSets (logical databases PNP, PCH and PAP) provides the technology for and has already retrieved the predefined contents within the context of InfoSet maintenance. The existing generation shows a generalization of this technology. The InfoSet generator for HR InfoSets, however, remains active; meaning that if InfoSets are created using logical databases PNP, PCH, or PAP, then this generator is used for retrieving the predefined content.

There are two different generators for InfoSets with this. You can also use additional generators, some can either be used generally for all InfoSets and others just for certain data sources. You can find information on connecting additional generators in the section Application-specific Enhancements

For an InfoSet with a data retrieval program, a field group is created with all fields of the data structure.

Creating a New Field Group

To create a field group, proceed as follows:

  1. Choose the symbol Create from the function toolbar (or Edit ® Field Group ® Create Field Group). A window appears where you can define single or multiple new field groups.
  2. Enter an abbreviation and a long text for each field group.
  3. The abbreviation for a field group can consist of any character that you want. The abbreviation only serves a technical purpose within an InfoSet when fields are being assigned to field groups.

  4. Choose Continue.

For more information, refer to the following sections.

Leaving content frame