SAP ABAP IMG Activity OHIX0171 (Set Default Values for Leave Control)
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 OHIX0171 Set Default Values for Leave Control  
Transaction Code S_AHR_61010584   IMG Activity: OHIX0171 
Created on 19981221    
Customizing Attributes OHIX0171   Set default values for leave control 
Customizing Activity OHIX0171   Set Default Values for Leave Control 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHIX0171    

In this step you define default values for the Leave Entitlement infotype (0005).

When you create a record, you can let the system propose several leave types, the validity periods of the leave record and the deduction periods of the individual leave types.

The default value for the validity period of a leave record can be determined in two ways:

  1. For one particular person, using the Date Specifications infotype (0041).
    If values exist in this infotype for an employee, they have priority.
  2. For all selected employees, using feature VACxx.

You also have the option of using feature VACxx to make employees' leave entitlement dependent on their age or seniority, for example. The standard system uses the end date of the leave record and the employee's entry date to calculate seniority. You can also determine regulations for individual employees in the Date Specifiations infotype. The standard system uses date type 01 = technical entry date to determine the start date for calculating seniority, and date type 26 to determine the key date for calculating seniority. You can change these standard settings by customizing switch RP_SW_P0005 in table TRMAC to conform to your desired date types.

Example

You want 01 to be the default leave type when a new record is created for infotype 0005, Leave Entitlement.

Requirements

You should know how to maintain features.

Standard settings

You can use the following features to control the default values for infotype 0005, Leave Entitlement.

  • LVTYP, LVNUM
    Feature LVTYP is used to propose the leave type, and LVNUM the leave entitlement. According to the country grouping, the system calls the same subfeature, VACxx, for both features. The return codes are &LVTYP for the leave type and &LVNUM for the leave entitlement. xx stands for the country grouping.
  • VACBE
    Feature VACBE proposes the date as of which the infotype record is valid.
    The day and month in feature VACBE and the year to which the leave entitlement is assigned make up the date proposed as the valid from date of the infotype record. The valid to date is the same day of the following year.
    Both default values are adjusted automatically, according to the date on which the employee joined or left the company.
  • UABEG, UAEND
    Features UABEG and UAEND propose the start and end dates for deduction. The system calls the subfeature BEGxx or ENDxx according to the country grouping. xx stands for the country grouping.
  • I0005
    You can define a number of control paramters for the default values
    for leave entitlement in feature I0005.

Recommendation

  • Set default values in the country-specific subfeatures.
  • If there are no subfeatures for your country grouping, copy those of another country grouping and make any necessary changes in the copied versions.

Activities

  1. Check whether features LVTYP, LVNUM, UABEG and UEND allow you to call the appropriate subfeatures according to your country grouping. Enhance this facility, if necessary.
  2. Determine the default leave type in feature VACxx using &LVTYP and the default leave entitlement using &LVNUM.
  3. Maintain feature VACBE. Use feature &VACBE to determine the day and month as of which the record is valid.
  4. Determine the start of deduction in feature BEGxx. Specify how many months before or after the valid from date deduction should start.
  5. Determine the end of deduction in feature ENDxx. Specify how many months before or after the valid to date deduction should end.
  6. In feature I0005, specify control parameters for creating
    Leave Entitlement infotype records online.

Further notes

  • If the validity period of the infotype record is reduced by a manual change, the default leave entitlements are also reduced automatically.
  • If the default values are maintained in such a way that manual corrections are not necessary, leave entitlements can be generated automatically before the start of a new leave year using report RPTLEA30.

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
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 OHIX0171 0 HLA0100350 Quotas 
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
PMKC L - Logical transport object PE00 LVNUM Check Feature LVNUM - Country Grouping 
PMKC L - Logical transport object PE00 LVTYP 01 Check Feature LVTYP - Country Grouping 
PMKC L - Logical transport object PE00 UABEG Check Feature UABEG - Country Grouping 
PMKC L - Logical transport object PE00 UAEND Check Feature UAEND - Country Grouping 
OG04 T - Individual transaction object OG04 VAC Feature VAC - Default Values for Leave Type/Entitlement 
PMKC L - Logical transport object PE00 VACBE Feature VACBE - Default Value for Valid From Date 
OG04 T - Individual transaction object OG04 BEG Feature BEG - Default Value for Start of Deduction 
OG04 T - Individual transaction object OG04 END Feature END - Default Value for End of Deduction 
PMKC L - Logical transport object PE00 I0005 Feature I0005: Control parameters for Leave Entitlement IT 
History
Last changed by/on SAP  19990616 
SAP Release Created in