Definition
The selection rule defines which employee data is selected for the
employment period calculation by the SAP System.Use
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 Evaluation Bases ® Calculation of Employment Period. 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.
Example
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 |
Time Specifications/ |
Training in company |
07/01/1983 |
12/31/1983 |
Education (0022) |
Active |
Start on |
System start on |
Date Specifications (0041) |
Active |
System start on |
End of evaluation period |
Actions (0000) |
Unpaid leave |
10/01/1991 |
03/30/1992 |
Absences (2001) |
Part-time (50%) |
04/01/1992 |
11/30/1996 |
Basic Pay (0008) |
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.
Structure
There are four different categories of selection rule. You only define one category for each selection rule.
Categories for Selection Rules
Category |
Meaning |
Start date |
Generates one interval from a date specification, example, an entry date and a defined end date. |
Status |
Generates periods from the Actions infotype (0000), provided the specified criteria correspond to the data in the Status group box in the Actions infotype. The intervals consist of the start date and end date for each infotype record. |
Infotype |
Generates periods from each existing record for the specified infotype and subtype. Records can be generated if the infotype (or specific infotype data) exists. |
Selection exit |
Generated periods from a programmed selection exit. |
In addition to the category, you can also change time conditions for the selection rule:
This means that the SAP System compares individual selection periods with an upper or lower limit. For more information, see
You define the category and time constraints for the selection rule in Customizing for Personnel Administration under Evaluation Bases ® Calculation of Employment Period ® Valuation Model ® Selection Rule ® Define Selection Rule.
Integration
The selection rules are then grouped together in
selection classes. For more information, see Customizing for Personnel Administration under Evaluation Bases ® Calculation of Employment Period ® Valuation Model ® Define Selection Class.The selection classes are then assigned to a
valuation model, together with the selection rules.