Use
The payroll driver and time evaluation driver must be able to interpret the main schema. It must also be possible to use the main schema in evaluations. Generating schemas means that the schema is changed with regard to the payroll run. The clarity of the schema is increased and performance is improved. A syntax check is automatically carried out when the schema is generated.
These aims are achieved in different steps carried out automatically by the system when the schema is generated.

The system only makes these changes to the generated form of the schema. This form is only created with regard to the payroll run. The actual source text of the schema is not changed when it is generated.
The system also checks which infotypes are used by the functions. A list of these infotypes is also stored on the database.
As soon as you perform a payroll or time evaluation run, the current main schema is generated automatically.
Prerequisites
You can only generate schemas if you have maintained the Schema can be executed attribute for them.
Procedure
You access the Generate/Check Schemas screen. You can
It is useful to inset the PRINT function if you have a single personnel number for which your want to run payroll. You can then display the tables in the log. To improve performance, deactivate the PRINT function if you are running payroll for several personnel numbers.
The result of the generation is not saved.
The schema is always generated. Syntax errors are ignored.
Result
The selected schema is generated.

If you change the source text for a schema, you must regenerate the schema. This also applies to changes to subschemas.
With the Generate/Check Schemas program (report RPUSCG00), you can check whether a schema must be regenerated and, if required, generate the schema again.
With the Display Generated Schemas (Cluster PS) program (report RPCLSTPS), you can display the generated schemas.