Hierarchy
⤷ PA-PA-XX-TL-SEN (Application Component) Calculation of Employment Period
⤷ PSEN (Package) Service Calculation
IMG Activity
ID | SEN_XX_VP_150 | Define Selection Rule |
Transaction Code | S_AHR_61011779 | (empty) |
Created on | 19990127 | |
Customizing Attributes | SEN_XX_2_2_204 | Empl. Period Calc., International, Opt. Activities, Uncritical, VGM no.204 |
Customizing Activity | SEN_XX_VP_150 | Define Selection Rule |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | OHIX0578 |
In this step, you define the selection rules for your valuation model. The selection rule determines which employee data is selected for the employment period calculation by the system. Each selection rule is assigned to a selection class.
You use the selection rule to determine which infotype is used to generate the interval and how the intervals that are generated from this infotype are processed. To do this, you create of the following four categories for each selection rule:
- Start date
If you use a selection rule with the Start date category, the system generates a period using the start date with the highest priority and a defined end date.
- Status
If you use a selection rule with the Status category, the system generates a period using the Actions infotype (0000) when the specified criterion matches the data in the Status. The interval consists of the start date and end date for the infotype record.
- Infotype existence
- If a record exists for the specified infotype or subtype, the system generates a period from the validity period of the individual infotype records.
- Infotype content
- You can use a selection condition to make the selection of an interval dependent on the value of particular infotype fields.
- Selection exit
If you use a selection rule in the Selection exit category, the system generates a period using a function module.
Example
You want to determine how long an employee has worked at your company. The periods when the employee's employment status is flagged as active are taken from the Actions (0000) infotype.
Since the data in the Actions (0000) infotype may not cover the complete history of the employee, a technical entry date is to be evaluated from the Date Specifications infotype (0041). If such a technical entry date exists for the employee, the time interval from the technical entry date to the first personnel action entered in the sytem should also be included in the length of service.
Two selection rules would be necessary for these examples:
- A selection rule with the Status to determine the periods in the Actions infotype.
- A selection rule with the Start date category to determine the period using the date type from the Date Specifications infotype and the first personnel action in the system.
Requirements
You can only define permitted infotypes in the Infotype category. Before you create a selection rule with the Infotype category, work through the step Check Permitted Infotypes for Selection Rule.
Before you specify a selection condition in the Infotype category, work through the step Define Selection Criteria for Infotypes.
Before you create a selection rule in the Selection exit category, work through the step Define Selection Exit.
Recommendation
See the documentation in the SAP Library on selection rules, their categories, and their functions in section Calculation of Employment Period.
- Check the selection rules in the standard system.
- If required, create additional selection rules.
To do this, choose New entries.
- Specify a category for each selection rule and enter the required data.
- If you want to use upper and lower thresholds for individual periods, enter a threshold value or a maximum value.
You usually define the upper and lower thresholds using the selection class whereby the maximum value or threshold value is applied to the total of cumulated periods.
- You can specify whether the start or end date for a selected period should be moved to a particular day.
- Save your entries.
Business Attributes
ASAP Roadmap ID | 204 | Establish Functions and Processes |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | C | Customizing Object |
Assigned objects | ||||||
---|---|---|---|---|---|---|
Customizing Object | Object Type | Transaction Code | Sub-object | Do not Summarize | Skip Subset Dialog Box | Description for multiple selections |
V_T525A_A | V - View | SM30 |
History
Last changed by/on | SAP | 19991117 |
SAP Release Created in |