Show TOC

 Selection Rule

Definition

The selection rule defines which employee data is selected for the employment period calculation by the SAP System.

Use

Note 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 Start of the navigation path Evaluation Bases Next navigation step Calculation of Employment Period. End of the navigation path We recommend that you work through the steps in the defined sequence.

End of the note.

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/

Employment Period (0552)

Training in company

07/01/1983

12/31/1983

Education (0022)

Active

Start on

05/15/1983

System start on

01/01/1990

Date Specifications (0041)

Active

System start on

01/01/1990

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:

  • 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 Start of the navigation path Evaluation Bases Next navigation step Calculation of Employment Period Next navigation step Valuation Model Next navigation step Selection Rule Next navigation step Define Selection Rule End of the navigation path .

Integration

The selection rules are then grouped together in selection classes . For more information, see Customizing for Personnel Administration under Start of the navigation path Evaluation Bases Next navigation step Calculation of Employment Period Next navigation step Valuation Model Next navigation step Define Selection Class. End of the navigation path

The selection classes are then assigned to a valuation model , together with the selection rules.