Show TOC

Generating InfoSetsLocate this document in the navigation structure

Use

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

Procedure

Assigning InfoSets to Roles/User Groups

  1. You are in the InfoSet: Initial Screen. Select the InfoSet that you want to generate.

  2. Choose 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:

    • Comparing with the Data Dictionary

      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.

    • Checking text fields

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

      Does the field have text fields?

      Have the texts in the text fields changed?

      Any inconsistencies are recorded in the log.

    • Global syntax check

      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 ().

      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 multiple infosets in one step, choose Start of the navigation path GoTo Next navigation step Additional Functions Next navigation step Check and Generate End of the navigation path on the InfoSet: Initial Screen screen.

  2. The SAP Query: Checking Objects dialog box appears.

    Specify which InfoSet or InfoSets you want to check or generate.

    Define if they are only to be checked or if you want to generate them as well.

  3. Choose Execute.

    The system creates a log about the errors or the success of the check or generation.

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.