SAP ABAP IMG Activity OHAKR_AB004 (Define day rules)
Hierarchy
SAP_HRCKR (Software Component) Sub component SAP_HRCKR of SAP_HR
   PY-KR (Application Component) South Korea
     P41C (Package) HR Customizing: Korea
IMG Activity
ID OHAKR_AB004 Define day rules  
Transaction Code S_KPH_31000342   IMG activity: OHAKR_AB004 
Created on 20000830    
Customizing Attributes OHAKR_AB004   Define day rules 
Customizing Activity OHAKR_AB004   Define day rules 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHAKR_AB004    

In this IMG activity, you define the day rules that you can use when forming counting classes when valuating an absence using averages or constants.

Day rules allow you to form counting classes or wage types based on the following conditions set for the day of an absence:

  • Public holiday class or day type of current day or previous day?
  • Weekday?
  • Does the employee's personal work schedule for the current or previous day show planned hours?

You can specify several different conditions for a day rule, and assign them sequential numbers. The R/3 System runs through the numbers in consecutive order until it finds a condition that is fulfilled.

Example

  1. If your employees are absent due to illness on a public holiday, you do not want to pay them the usual rate for public holidays, but the standard rate for a normal workday.

    In the IMG activity Valuate absences by constants/averages, you store two wage types for the absence valuation rule Sickness/Cure. You then assign the wage types the appropriate day rules.
    The R/3 System then chooses the appropriate wage type according to the day of the absence.

  2. You want to group absences on non-working days in counting class 11, and absences on workdays in counting class 12.
    You create the day rules AT (workday) and AF (day off) to determine the conditions set for the day:

    AT - On workdays
    So that the counting class is only formed on workdays, two conditions must be fulfilled. You store these conditions in a rule without a sequential number:
    1. The day assigned is day type BLANK
    2. There are planned hours stipulated for the employee for this day, either:

  • A valid daily work schedule with planned hours > 0, or
  • A time substitution

    Remember: Making specifications for just one of these conditions is not sufficient to determine a workday. If a day is assigned the day type BLANK, the decision as to whether or not the employee must work is made on the basis of the planned hours in the work schedule (are there planned hours specified for the employee on the day in question or is the daily work schedule OFF). Therefore, the planned hours in the daily work schedule must be queried as well as the day type.

    AF - On days off
    Days off can be characterized by two different conditions that you represent by assigning the sequential numbers 01 and 02 to day rule AF:

  1. Sequential number 01: The day is assigned day type 1
  2. Sequential number 02: There are no planned hours specified for the employee on the relevant day

Requirements

Standard settings

There are already day rules defined in the standard system. The name range reserved for customers is A-Z.

Recommendation

Activities

  1. Check whether the standard day rules cater to your requirements.
  2. Define new day rules if required.
  3. To define a new day rule, choose New entries and enter the name of the new rule. Enter an identifier from the customer name range A-Z as the first character.
    If you cannot represent the required conditions in one subrule, enter a subsequent number for the rule.
    In order to keep performance times to a minimum, you should number the subrules such that the rules that most often apply are the ones that the System runs through first.
  4. Specify the conditions under which the day rule should apply.
    Under Condition set for public holiday class, day type, weekday, and planned hours, deselect those conditions under which you do not want the day rule to apply.
  5. If necessary, define an additional subrule.

Further notes


Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHAKR_AB004 KR South Korea
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHAKR_AB004 0 JD1000006 Gross 
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_T554R V - View SM30 0000000A Define Day Rules 
History
Last changed by/on SAP  20000830 
SAP Release Created in 46C