Entering content frameProcedure documentation Generating InfoSets Locate the document in its SAP Library structure

Use

The generated version of an InfoSet is needed in the following functions:

Procedure

Generating a single InfoSet

  1. You are in the InfoSet: Initial Screen. Select the InfoSet that you want to generate.
  2. Choose This graphic is explained in the accompanying text Generate.

If the InfoSet has been generated successfully, a message to this effect appears in the status toolbar.

Before it generates the InfoSet, the system checks for inconsistencies or errors, and records any that it finds as warnings or error messages in a log.

The generation process consists of the following basic steps:

If, for example, when you maintain an InfoSet, you add a new field to a field group, the technical properties of this field are transferred from the data dictionary and into the InfoSet.

The system does not adjust the InfoSet automatically if it finds any relevant changes that have been made to the structure of a table defined in the data dictionary.

When the system generates the InfoSet it compares the field properties with the current status of the field in the data dictionary. Any inconsistencies are recorded in the log.

For more information see Adjusting InfoSets.

If an InfoSet has text fields, the system checks all the fields in the InfoSet for the following:

Any inconsistencies are recorded in the log.

A number of sections of ABAP code can belong to an InfoSet. If you want to create a query for an InfoSet containing ABAP coding, the system arranges the sections of code in the query report according to fixed rules (for example, according to the hierarchy level of a table in the logical database).

The global syntax check makes sure that none of the InfoSet components contain syntax errors in any of the query reports that you might want to create. This check must be carried out before you are able to create query reports for the InfoSet.

Note

The global syntax check is fundamentally different to the automatic syntax check that is carried out when you maintain an InfoSet component that has an ABAP code section (for example, an additional field). This check only makes sure that the code section in the component is free of syntax errors within its own environment at the point when it is maintained.

If the global syntax check finds errors, the parts of the InfoSet containing ABAP code sections that would lead to syntax errors in query reports are displayed in the log as errors (This graphic is explained in the accompanying text).

You must remove these errors before you are able to generate the InfoSet successfully.

Generating several InfoSets

  1. If you want to check and generate several InfoSets in a single step, choose in the InfoSet: Initial Screen the menu path Goto -> More Functions -> Check and Generate.
  2. This takes you to the SAP Query: Object Check dialog box.

Specify which InfoSets you want to check or generate.

Decide whether you want to just check these InfoSets, or if you want to generate them as well.

  1. Choose This graphic is explained in the accompanying text Execute.

The system generates a log telling you whether the InfoSets have been checked or generated successfully, and detailing any errors that have occurred.

Result

The generated version is derived from the revised version. If the InfoSet has been generated successfully, the system deletes the revised version from the database.

 

 

Leaving content frame