To minimize queue times for end users or developers by regenerating invalidated loads, you can periodically plan the RSGENINVLAS report - for example, every night. RSGENINVLAS performs the automatic regeneration of all invalidated ABAP loads for all machine types for your system.
An object load is invalidated if changes activated on the object since the time the load was created or on objects used by the object, such as, Includes or tables, for example, were carried out.
Furthermore, the load format depends on the machine type.
ABAP loads can be invalidated for several reasons. Typical causes while the system is running:
- Activating a changed DDIC object invalidates the loads for all ABAP objects that use the DDIC object.
- After an ABAP object is changed and activated, only the load is generated for the machine type of the current server.The load for other machine types remains invalidated in a heterogeneous system.
- Importing Support Packages invalidates the loads of the ABAP objects contained in the Support Packages.In addition, importing the DDIC leads to the load for the user of the imported DDIC objects having to be generated again.
- By importing transports, the load of the imported ABAP objects and the users of the transported DDIC objects is also validated.
- Using kernel patches can invalidate all loads.
How the RSGENINVLAS report works.
To use the functions of RSGENINVLAS, you must schedule the report with job name RSGENINVLAS to run periodically in the background (for example, transaction SE38 ->Execute -> Background ->Schedule -> Schedule Periodically). It is recommended to schedule the report for times when the system load is low, such as every night.
At runtime, RSGENINVLAS automatically determines the invalidated loads of the potentially different machine types in your system. It then starts the parallel generation (report RSPARAGENER8 of the SGEN transaction) whereby it includes the available servers of your system in the parallel processing for each machine type.
If you start the SGEN transaction at the runtime of the RSGENINVLAS report, information appears about the progress of the generation on the job monitor screen.There you can also cancel the current generation, if necessary.More information is available in the job logs of the RSGENINVLAS and RSPARAGENER8 jobs (accessible through the job overview on the job monitor screen or transaction SM37).
The RSGENINVLAS report enhances the functions of the SAP Load Generator (transaction SGEN) with the automatic regeneration of all invalidated loads.The advantages here are:
- The generation resources of the end user/developer are minimized.
- The generation runs for example at night,, or at other times when the system workload is low.
- To use the RSGENINVLAS functions, you only need to periodically schedule the report.
- Memory space problems in the database that would require intervention by the system administrator cannot occur because exclusively invalidated loads are regenerated.
Detailed information about the SAP Load Generator is available in the information buttons on the start and job monitor screen of transaction SGEN.