ABAP/Screen Generation 
In the default setting in Support Package Manager, no ABAP programs or screens are generated during import (see Settings for Support Package Manager). The relevant programs are generated only when they are called. However, you can configure Support Package Manager in such a way that these objects are generated when a Support Package is imported. Alternatively, you can start generation of all imported objects after the import process, using the SAP Load Generator.
Support Package Manager may return error messages during generation. This could be 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 correct it after the Support Package has been imported.
You are importing a Support Package.
To make settings for the generation of ABAP programs and screens, choose on the initial screen in Support Package Manager, followed by one of the following menu options.
Function |
Menu Option |
|---|---|
Switch generation on and off |
Settings |
Ignore generation errors during import |
Ignore Generation Errors |
If you have deactivated generation in the Support Package Manager settings, you can use the SAP Load Generator to perform generation after the Support Package queue has been imported.
Recommendation
We recommend using this method for 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 in parallel on multiple application servers.
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 for exactly this object set.
To start ABAP/screen generation for all invalidated loads, proceed as follows:
Call the SAP Load Generator (transaction SGEN).
Choose Regenerate Existing Loads and then choose Continue.
Choose Generate Objects with Invalidated Loads Only.
By doing this, you can ensure that objects whose load was invalidated when a Support Package queue was imported are regenerated .
If you want to generate invalidated loads at regular intervals, you can periodically schedule program RSGENINVLAS. You can find more information in the online documentation for the SAP Load Generator, under Automatic Regeneration of Invalidated Loads.