The selection rule defines which employee data is selected for the employment period calculation by the SAP System.
Note
The selection rule is a Customizing setting for the calculation of employment periods. To make the required settings, work through the
Valuation Model
section in Customizing for
Personnel Administration
under
We recommend that you work through the steps in the defined sequence.
You use the selection rule to determine which periods the SAP System generates from the infotypes and transfers for evaluation.
You want to determine the period of employment for your employees for the company pension scheme. The following time periods exist for the salaried employee Sarah Smith:
Time specification |
From |
To |
Infotype |
Study period |
10/01/1979 |
03/31/1983 |
|
Training in company |
07/01/1983 |
12/31/1983 |
|
Active |
Start on 05/15/1983 |
System start on 01/01/1990 |
|
Active |
System start on 01/01/1990 |
End of evaluation period |
|
Unpaid leave |
10/01/1991 |
03/30/1992 |
|
Part-time (50%) |
04/01/1992 |
11/30/1996 |
|
To ensure that these periods are evaluated when the employment period is calculated, you must create a separate selection rule for each type of time specification.
There are four different categories of selection rule. You only define one category for each selection rule.
Categories for Selection Rules
Category |
Meaning |
Generates one interval from a date specification, example, an entry date and a defined end date. |
|
Generates periods from the
|
|
Generates periods from each existing record for the specified infotype and subtype. Records can be generated if the infotype (or specific infotype data) exists. |
|
Generated periods from a programmed selection exit. |
In addition to the category, you can also change time conditions for the selection rule:
You can define a maximum value or a threshold value for single, generated periods.
This means that the SAP System compares individual selection periods with an upper or lower limit. For more information, see Maximum Value and Threshold Value for Periods .
You can specify that the start date is always moved to the first day and the end date is always moved to the last day of a month or year.
You define the category and time constraints for the selection rule in Customizing for
Personnel Administration
under
.
The selection rules are then grouped together in
selection classes
. For more information, see Customizing for
Personnel Administration
under
The selection classes are then assigned to a valuation model , together with the selection rules.