Payroll Schemas and Personnel Calculation Rules (PCR's)
Transaction Code: PE01
Menu Path: Human Resources --> Payroll --> Europe --> Great Britain --> Tools --> Maintenance Tools --> Schemas
Double-clicking on a sub-schema will take you to the maintenance screen for that schema.
Double-clicking on any of the rules (PCR's) will take you to the rule editor. You can tell the difference between sub-schemas a rules by looking at the parameters. The name of the sub-schema can be found in the Par 1 column. The main schema generally calls all the different sub-schemas. The sub-schemas will then call the payroll rules. In most cases, when a rule is called, there will be parameters in the Par 2 or Par 3 columns.
In the main, most sub-schemas are called by the "copy" command.
Schemas, rules and features in SAP use the following line editor commands. This allows you to move, delete, copy and insert lines. All the commands are entered in the area used for the line numbers. Overwrite any of the numbers with the commands shown below. For the commands using 1 letter - hit the return key once you have entered the letter. For the commands using 2 letters - hit the return key after the first 2 letters have been entered or after both sets have been entered.
The most commonly used commands are:
D | Deletes a line |
I | Inserts a line |
M | Moves a line |
C | Copies a line |
DD | Indicates the start of a block to be deleted |
DD | Indicates the end of a block to be deleted |
CC | Indicates the start of a block to be copied |
CC | Indicates the end of a block to be copied |
MM | Indicates the start of a block to be moved |
MM | Indicates the end of a block to be moved |
Once you have chosen the block to move or copy, you need to show where to move or copy it to in the schema. The following commands indicate where you can copy or move the lines to.
A | Places the block after the chosen line |
B | Places the block before the chosen line |
Remember when calling the PCR from the schema: GEN means that the wagetype is **** i.e. you haven't specified one and NOAB means that it will look at any EE Sub-Grouping. If you want the rule to use specific wage types or groupings, then leave either blank.
Use the print option and VAR (PAR 2) in the schema to output the variable table during processing.
Position is very important for schemas. Look to see where a similar piece of processing has taken place. If in doubt, place the rule after the similar data has been read and processed.
Commonly used Functions
PIT | Process Input Table |
PRT | Process Results Table |
COPY | Calls a schema placed in PAR1. |
BLOCK | Defines the start and end of a nested node |
IF/ELSE/ENDIF | The schema is processed if the condition is fulfilled |
Pxxx | Processes the information held in infotype xxxx. |
ACTIO | Actio calls a PCR. It is processed, irrespective of whether the wage type exists or not. |
Commonly used Parameters
GEN | Process any wage type |
9000 | Processes only wage type 9000 |
NOAB | Process for any EE sub-group groupings |
1 | Processes the rule only for EE sub-group grouping of 1 |