SAP ABAP IMG Activity OHTX2012 (Accrue Leave Entitlement)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PT (Application Component) Personnel Time Management
     PTIC (Package) HR Time Data: Customizing
IMG Activity
ID OHTX2012 Accrue Leave Entitlement  
Transaction Code S_AHR_61009861   IMG Activity: OHTX2012 
Created on 19981221    
Customizing Attributes OHTX2012   Accrue leave entitlement 
Customizing Activity OHTX2012   Accrue Leave Entitlement 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHTX2012    

Leave entitlement for infotype 0005 can be adjusted automatically in time evaluation. It is possible to add a value to the existing entitlement, or to reset the entitlement each time the time evaluation
program is run.

The leave entitlement is adjusted in a personnel calculation rule, using operation UPDLE.

The automatic adjustment of leave entitlement in time evaluation is of particular use if the entitlement depends on the employee's actual working time.

Example

The standard annual leave is 30 days. The employee's current leave entitlement is calculated at the end of each payroll period by comparing the number of productive hours worked in the current year to the number of annual planned hours specified in the work schedule, and multiplying the difference by 30.

Requirements

Standard settings

Leave entitlement is not adjusted automatically in the standard system. You can refer to personnel calculation rules TS15, TS11 or TS14 to see how to implement automatic leave adjustment.

Personnel calculation rule TS15 functions as described in the above example.

Recommendation

Activities

  1. Decide whether you want leave entitlement to be adjusted automatically.
  2. If you do, set rules for calculating leave entitlement. It is important to decide whether the value calculated should be added to or replace the previous entitlement.
  3. Specify the leave types for which you want entitlement to be adjusted automatically. In the standard system, an automatic update is permitted for leave types 06 and 07, for example. If required, you can define new leave types and indicate that they should be adjusted automatically in time evaluation.
  4. Use personnel calculation rules TS11, TS15 or TS14 as examples to define your own rules. The exact procedure is explained in the system documentation on these rules. There are two steps to the rules: the new entitlement is calculated in the first step and stored in time type 0090 or 0091. The leave entitlement is then updated in personnel calculation rule TS12 or TS13 using operation UPDLE. The parameter set for the operation determines which leave type is to be updated.
    Rule TS11 is for final processing, and rule TS15 for day processing.
  5. Whereas the rules for determining leave entitlement will generally be very customer-specific, you only have to make settings regarding which leave types should be updated in rules TS12 and TS13.
  6. Copy TS11, TS14 or TS15 to your own personnel calculation rule and make your changes in the copied version.
  7. Insert the name of your personnel calculation rule in the schema, using function ACTIO.

Further notes

Absence quotas (infotype 2006) are calculated in time evaluation using operation UPDTQ.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHTX2012 0 HLA0003735 Time Evaluation with Clock Times 
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
PCYC L - Logical transport object PE00 TS14 Modify Personnel Calculation Rule TS14 
PSCC L - Logical transport object PE00 TM00 31 Modify Schema: Function ACTIO TS14 
VV_511K_B_LVACR_AL0 V - View SM30 Specify Level of Leave Accrual per Payroll Period 
History
Last changed by/on SAP  19981221 
SAP Release Created in