Definition
The Selection Exit category is one of four categories used to classify a selection rule according to the type of selection.
Use
The selection exits for the employment period calculation are defined by SAP. If you use a standard calculation process, it is not usually necessary to make additional Customizing settings for the selection exit.
You use a selection rule in the Selection Exit category to cover different requirements of a selection rule. One of the following selections can be programmed with the selection exit:
Selection exit without weighting factor
When an employment period is calculated, the employment periods for an employee within the validity period of a fixed-term contract are not taken into account. If the employee has a fixed-term contract, the employment period for this time period should be zero. To do this, create a selection exit to evaluate the table T547V (Contract Types) according to the Fixed-term contract indicator (field CTLTD). If the indicator is set, the selected periods are not taken into account. The selection class to which this selection rule belongs receives a zero weighting.
Selection exit with weighting factor
The employment periods for an employee should be weighted using the capacity utilization level from the Basic Pay infotype (0008) for the duration of a part-time employment contract. A selection exit is required to select and transfer the periods with the accompanying capacity utilization level as the weighting factor. The standard system contains the selection exit 0008 (Weighting CUL from Infotype 0008).
If a selection exit returns weighted periods, you should set the With weighting factor indicator when the selection exit is defined.
Structure
To create the selection exit, choose Customizing for Personnel Administration under Evaluation Bases ® Calculation of Employment Period ® Valuation Model ® Selection Rule ® Define Selection Exit. You must maintain the following values:
Each selection exit contains a function module for the evaluation of the selection exit. This function module returns the found periods, weighted periods, or date-based durations.
The With weighting factor indicator defines whether the numerator and denominator are taken into account in further processing. If the indicator is set, the existing values are used. If any fields are not filled (as in the third line of the following period table), the evaluation takes place as if the employee was inactive in this period.
To restrict the selection by the function module performing the evaluation, you can enter a selection value. You can make the selection exit dependent on a criterion. This selection value is determined by a function module for value help.
Example
Return Value of Function Module for Evaluation
Start date |
End date |
Numerator |
Denominator |
01/01/1997 |
02/15/1998 |
50 |
100 |
02/16/1998 |
12/31/1998 |
100 |
100 |
01/01/1999 |
06/30/1999 |