cancel
Showing results for 
Search instead for 
Did you mean: 

Leave Counting rule

Former Member
0 Kudos

Dear consultants,

My requirement is,

whenever employee applied leave other than saturday, if sunday is within that period we need to calculate sunday as absence day. If the employee applied leave from Saturday at that time only dont include sunday as absence day

is this possible through configuration?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member181966
Active Contributor
0 Kudos

Look at table "V_T550X" via SM30

FYI

Define Rules for Variants

In this step, you can define rules for daily work schedules. The rules allow you to stipulate that a variant of the daily work schedule should apply on certain days. Taking the following parameters into account, you can set up rules for daily work schedule variants:

The public holiday class of the current day

The public holiday class of the next day

weekday

Example

A number of employees in your enterprise work Monday through Thursday from 8 a.m. to 4.45 p.m., and from 8 a.m. to 2 p.m. on Fridays. The daily work schedule for Fridays is derived using the daily work schedule selection rule 01 with variant A.

Requirements

Check whether there are exceptions to the normal daily working times on certain days, and how these exceptions can be depicted in rules.

Standard settings

The standard SAP system contains several examples of daily work schedule selection rules which use specific daily work schedule variants depending on public holidays and the weekday.

Recommendation

SAP recommends that you create daily work schedule selection rules if there are exceptions to the normal daily work schedule on public holidays, on days which follow a public holiday, or on certain days of the week.

Activities

1. Check the existing daily work schedule selection rules.

2. Create additional rules if necessary.

a) Enter an identifier (numeric or alphanumeric) in the Daily work schedule selection rule field.

The rules are assigned to a daily work schedule via the Daily work schedule selection rule field. You can use the same rules for a number of different daily work schedules.

b) You can use the sequential number to assign several conditions for different daily work schedule variants to a selection rule.

c) In the Holiday class and Holiday class subsequent day fields, enter an X under the relevant item for the public holiday class to indicate whether a certain variant is to apply on these days. Note the information in the field help.

d) If your variant should only be valid on certain days of the week, indicate this by entering an X in the Weekday field. The positions 1 through 7 stand for Monday through Sunday.

e) Enter the name of the variant to which the rule applies (e.g. A) in the Variant field.

Further notes

If you have defined rules for the variants A and B, for example, you must create daily work schedules with variants A and B. The variants define working times which are not the same as in the normal daily work schedule.

Former Member
0 Kudos

HI ,

I have an issue related to time management public holidays, whenever an employee takes leave and if public holiday (say New Year day) is falling in between the leave period. Current system is considering those public holiday days are treated as leaves and quota is deducting from leave quota (2006), but it not should be the case.

My country version is 99. I have done all setting but not able to crack it.

Request you to please suggest how to handle the same and correct it.

Regards,

Former Member
0 Kudos

Hai,

It is possible through configuration with counting rules.

regards