Entering content frameProcedure documentation Support Package Manager: ABAP/Screen Generation Locate the document in its SAP Library structure

Use

The Support Package Manager is set as standard so that no ABAP programs or screens are generated during the import (see Support Package Manager: Settings). The relevant programs are generated only when they are called. However, you can set up the Support Package Manager so that the objects are generated when a Support Package is imported. Alternatively, you can start the generation of all the imported objects after the import by using the Structure linkSAP Load Generator.

The Support Package Manager may return error messages during generation, for example, because a program written by the customer or a modification of an existing program contains syntax errors, and refers to an object that is imported as part of the queue.

It is usually best to ignore the generation error at first and then correct it after the Support Package has been imported.

Prerequisites

You are importing a Support Package.

Influencing ABAP/Screen Generation

To make settings for the generation of ABAP programs and screens, choose Extras on the initial screen of the Support Package Manager, and then the following:

Function

Menu Option

Switch generation on and off

Settings

Ignore generation errors during import

Ignoring Generation Errors

Using the SAP Load Generator for ABAP/Screen Generation

If you deactivated generation in the settings of the Support Package Manager, you can use the Structure linkSAP Load Generator to perform generation after the Support Package queue has been imported.

Recommendation

We recommend that you use this method for the ABAP/screen generation of large numbers of objects after you have imported Support Package queues. The SAP Load Generator saves you time since the generation set is processed on multiple application servers simultaneously.

When you import Support Packages, this invalidates the loads of the ABAP objects that are contained in the Support Packages. The DDIC import invalidates the loads of the ABAP objects that reference imported DDIC objects. This means that the loads have to be generated again. You can use the SAP Load Generator to generate the ABAP objects of exactly this object set.

To start the ABAP/screen generation for all invalidated loads, proceed as follows:

  1. Call the SAP Load Generator (transaction SGEN).
  2. Choose Regenerate Existing Loads and then choose Continue.
  3. Choose Generate Objects with Invalidated Loads Only.

This ensures that the objects are regenerated whose load was invalidated by the import of a Support Package queue.

If you want to generate invalidated loads at regular intervals, you can periodically schedule the RSGENINVLAS program to run. (See: Structure linkAutomatic Regeneration of Invalidated Loads)

See also:

Structure linkSAP Load Generator

Leaving content frame