This document attempts to make the readers understand how half day public holiday can be configured in the system.

It is a well-known fact that Holiday Class 2 is generally used for creating a half day public holiday. However, many times consultants tend to think that assigning holiday class 2 to a day is sufficient to make the day as half day. Below document would explain what all other configurations need to be made additionally to achieve the half day public holiday.

Before beginning with the same, we firstly need to understand what each of the fields of IT2001 actually convey so that later on it will be easier to understand how our configuration affects the absence hours calculation.

Lets try understanding this with a normal example and help from standard SAP documentation.

Example 1: Full day leave booked on a rostered day.

On the absence screen you would see a Full day checkbox for this leave. This checkbox gets selected automatically when you don’t specify any start time and end time for the leave.

/wp-content/uploads/2014/06/q_485494.png

Absence Days and Absence Hours are calculated by the system itself based on the work schedule. When system finds the full day checkbox selected, it adds up the number of rostered days and its hours. The Calendar days are added up for each full day absence. The Payroll Days and Payroll hours are calculated based on our customizing configuration. This comes from our counting rule which has 100% as quota multiplier most of the times thereby giving the same values as absence days and absence hours.

 

Example 2: Partial Day absence on a rostered day.

To book a partial day absence we need to specify the start and end time of the absence. When you do this, you would observe that the full day checkbox does not get selected on the absence screen.

/wp-content/uploads/2014/06/q_485494.png

Here, since we had specified the start and end time and our counting rule allows partial day absence to be booked, the system calculates all the fields based on the absence hours we have booked.

Example 3: Absence booked on a FREE day (Planned Working hours = 0)

/wp-content/uploads/2014/06/q_485494.png

Here, since the system finds the day as non-rostered, the absence days and hours are calculated as 0 by the system.

Now lets understand how the system behaves if the only configuration I do for making a day as half day public holiday is to set the Holiday Class as 2.

Consider the below WSR where 24th December and 31st December are assigned Holiday Class 2. Please note that the day type for these days is blank.

/wp-content/uploads/2014/06/q_485494.png

/wp-content/uploads/2014/06/q_485494.png

Now if I book leave from 24th to 31st, the system takes absence days as 4 which are 24th, 29th, 30th and 31st. Thus the quota used is 30.40hrs (7.6 * 4).

/wp-content/uploads/2014/06/q_485494.png

The reason that our system does not consider 24th and 31st as half day by itself is because of the counting rule which is set as shown below.

/wp-content/uploads/2014/06/q_485494.png

Now let’s see what all configurations need to be done to achieve our requirement.

First is to create the Counting Rule to deduct 50% of absence quota when the Holiday Class is 2. For this I need to create 2 sequence numbers for the same counting rule.
One would be for the normal cases when full day absence is to be recorded. Second would be for Holiday Class 2 when the quota multiplier should be 50%.

/wp-content/uploads/2014/06/q_485494.png

Assign this counting rule to the appropriate absence. While doing so you would see two sequence numbers. You can assign the first one. The system automatically checks all sequence numbers for a counting rule during processing.

/wp-content/uploads/2014/06/q_485494.png

Now when you book the absence, it would look like below:

/wp-content/uploads/2014/06/q_485494.png

The absence hours and absence days show the same as earlier, the reason being that these are directly calculated based on the rostered days by the system itself. Since start and end time hasn’t been provided while booking absence, the full day checkbox is selected for this and system calculates the number of days with day type blank as absence days. Corresponding to these absence days the system calculates absence hours. 

Now you see the difference in payroll days and payroll hours based on the configuration we have done.

Payroll Days = Half Day of 24th + Full day of 29th + Full day of 30th + Half Day of 31st = 3 days

Payroll Hours = 3.8hrs (for 24th half day) + 7.6hrs (for 29th) + 7.6hrs (for 30th) + 3.8hrs (for 31st half day) = 22.8hrs

These 22.8 hours are deducted from the absence quota of the employee thereby completing our requirement of half day absence deduction.

Thanks

Shruti

To report this post you need to login first.

18 Comments

You must be Logged on to comment or reply to a post.

      1. Giri k

        Hi Sruthi

        This is wonderfull document appreciate u a lot.  i have a small doubt when we give two sequential number how does the system understand which sequential number to be considered to meet the half day or full day  ….Practically pls let me know  …Request you share such kind of docu  pls

        Regards

        Giri

        (0) 
  1. Vivek Barnwal

    Hi Shruti,

    Thanks for coming up with this document. This will help to clear all doubts regarding half day public holiday requirement. Keep it up…

    Thanks and regards,

    Vivek Barnwal

    (0) 
  2. anisha gupta

    When we get payroll hours as 22.8, it is picking up seq. no.002 of counting rule, right?? How does it pick a particular seq no. by itself??

    (0) 

Leave a Reply