General Process of Employment Period Calculation 
Purpose
With this process, you calculate an employment period within a HR application component in the SAP System. The required employment period can be a particular duration (for example, length of service on company, duration of all absences in the calendar year), or a particular key date (for example, date of 25th anniversary).
Prerequisites
To
calculate the employment period, the SAP System requires a calculation process with the necessary process steps. A valuation model must be assigned to the calculation process or to its process steps. The valuation model must contain selection classes and rules, which are used by the SAP System to generate the required periods from the employee data. To make the necessary settings, see Customizing for Personnel Administration under Evaluation Bases ® Employment Period Calculation.
If you have set up your system in Customizing, you can check it with report RPUSEN20 (Evaluation of IMG Settings for Employment Period Calculation).
To test the evaluation of a calculation process or valuation model for individual employees, run report RPUSEN10 (Test Utility for Employment Period Calculation).
You define the conversion rules in Customizing for Personnel Administration under Evaluation Bases ® Calculation of Employment Period ® Utilities.
Process Flow
Graphical Representation of Employment Period Calculation Process
The SAP System first checks the required objects for the calculation process, starting at the process step up to the selection rule.
The SAP System then processes the selected objects in reverse order, from the selection rule to the process step.
Description of a process
The subsequent processing is dependent on the calculation type that has been defined for the total employment period. One of the following values is determined for the employment period, based on the calculation type:
For more information on the calculation type, see Technical Process of Employment Period Calculation.
Processing Steps Within a Valuation Model That Are Dependent on the Calculation Type
Processing step |
Determine |
Determine |
Determine |
4.1. Import infotypes |
X |
X |
X |
4.2. Processing according to selection rules |
X
|
X |
X |
4.3. Process priority rules for selection classes |
X |
X |
X |
4.4. Determine interruption periods |
X |
X | |
4.5. Threshold value and maximum value for selection classes |
X |
X | |
4.6. Determine remaining periods |
X |
X |
X |
4.7. Assign weighting factors according to selection classes |
X |
X |
X |
4.8. Determine periods and date-based durations |
X |
X |
X |
4.9. Calculate duration |
X
|
X
|
X |
4.10. Weight duration |
X
|
X
|
X |
Result
The result of the employment period calculation is a period of time or a key date that can be used for further processing or, if required, for storage in the Calculation of Employment Period infotype (0553).