cancel
Showing results for 
Search instead for 
Did you mean: 

Question: Settings for Absence Quota Generation using T-Code PT_QTA00

Former Member
0 Kudos

Dear forum members,<br>

<br>

I would like to post question(s) regarding settings for absence quota generation by using the t-code PT_QTA00. I'm currently trying to use the said t-code to generate absence quota. The business conditions are as follow:<br>

<br>

- Employee is not entitled to absence quota in his/her first year<br>

- Absence quota is given on employee's first year service anniversary (12 months after joining the company). The date is stored in a date type in infotype 0041. The absence entitlement is 12 days, given right at the beginning of employee's second year (at the date of the service anniversary) meaning that starting in employee's second year he or she is entitled to use up to the full amount of 12 days if he or she so choose.<br>

- Deduction period is 18 months. So at the beginning of employee's third year, his or her remaining quota from the second year is still valid for deduction while at the same time a new quota is created. This means that the start and end date of infotype 2006 has a 12 month-interval while the deduction period has an 18-month-interval.<br>

<br>

I made these settings in SPRO (the settings I mentioned below relate only to absence quota generation, all others such as quota type, assignments, etc have already been configured):<br>

1. In Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/Absence Quotas > Calculating Absence Entitlements > Rules for generating absence quotas > Set Base Entitlements, I've made the following configurations:<br>

a. seniority: 1 - 999 years (because only employees who have been working for at least 1 year are eligible for absence quota<br>

b. constant: 12 days (the number of quota days)<br>

c. rel. to date type: set to the date type I use in infotype 0041 with length 12 months (because I assume the quota is created every 12 months)<br>

<br>

2. Configurations in Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/Absence Quotas > Calculating Absence Entitlements > Rules for generating absence quotas > Determine Validity and Deduction Periods:<br>

a. Valid from: Date type (the one I used in infotype 0041)<br>

b. Valid to: Date type<br>

c. Deduction from: start of validity interval<br>

d. Deduction to: end of validity interval, with relative position of 6 months (since the quota could be deducted up to 6 months after the end date, as previously mentioned).<br>

<br>

3. Configurations in Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/Absence Quotas > Calculating Absence Entitlements > Rules for generating absence quotas > Define Generation Rules for Quota Type Selection:<br>

a. tab 'applicability': no changes made from default settings<br>

b. tab 'accrual period': set to 'rel.to date type' using the date type I use in infotype 0041 with lengths of 12 months. (This sounds familiar with point 1c above, but apparently it's a different setting/table)<br>

c. tab 'base entitlement': I set the 'key date for determining seniority' to 'date type' because seniority is calculated based on the date type I use in infotype 0041.<br>

d. tab 'accrual entitlement': set to 'no pro rata calculation' (because I'm not using any pro rate) and 'no multiplication' (no multiplication applies).<br>

e. tab 'transfer time': set to 'upon accrual'<br>

f. tab 'total entil.': no further settings made<br>

<br>

I have tested the above settings by using t-code PT_QTA00 with the following test data:<br>

<br>

- Employee hired in 01.01.2009 with date type in infotype 0041 set to that date as well. When the t-code is run (the data selection period is today), the quota is generated with start date of 01.01.2010 and end date 01.01.2011. Deduction period is from 01.01.2010 to 01.07.2011. This is correct, since as of now the employee should have been working for 1 year.<br>

<br>

However,<br>

<br>

- When I changed the date type in infotype 0041 to 01.01.2010 and run the t-code, the quota is still generated with the same information above. This is correct in terms of validity and deduction period (which follows the date maintained in infotype 0041) however the employee should not be eligible because supposedly he or she hasn't been working for 1 year according to the date in infotype 0041.<br>

<br>

Based on my explanation of my configuration above, is there some settings that I might have missed in order to satisfy the business condition? Or perhaps my understanding of how to configure some of the settings is wrong?<br>

<br>

Thank you before in advance.<br>

Edited by: arieandika on Mar 29, 2010 1:28 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Arieandika;

Can you help me solve an issue some how near to the example that u have given

According to the Labor law of the country that I'm doing the implementation at, any employee with any position is entitled to get 21 days as an annual leave, after 10 years s/he is entitled to get 30 days.

And if a company hired an employee and his age is 50, then the first year he'll get 21 days then starting from the second year he'll get 30 days.

If a company hired an employee with experience 10 years or more then also the first year he'll get 21 then starting from the socond year he'll get 30 days.

I want to know how to make this on the system, how can i make the system after 10 years from the hiring date change teh quota for teh employee from 21, to 30, and how can I make the system change his quota from 21 to 30 if his age is more than 50 or if he has 10 years experience with another companies.

kindly tell me do i have to make 2 types of annual leave one with 21 days and another with 30 days as to make in the base entitelment annual leave with constant entitelment 2.5 days for the 30 days quota, and 1.75 for the 21 days quota?

Former Member
0 Kudos

Hi Sikindar,<br>

<br>

My apologies, I guess I went overboard in trying to explain the conditions.<br>

<br>

In short, what settings I must do in SPRO to use t-code PT_QTA00 to generate a certain amount of absence quota for an employee starting from only the second year of employee's service anniversary (the employee must have been working for a year).<br>

<br>

I hope this is simpler. Thanks again

sikindar_a
Active Contributor
0 Kudos

for this you have to write the Dynamic action which includes the Call Rountines

When ever an employee joins two date types shd get defaulted in IT00041

one day type is his date of joining which we will fetch from PA0000-Begdda Feild and the Day type two is service completion of one year

the call routine in the dyanamic actiion will caluculate the exact date of the completion of one year of serivce wih the help of dynamic action

both the day types will get default iin IT0041 and give Day Type 02 in Quota Accural Period as day type

this will suffice ur reqirment

sikindar_a
Active Contributor
0 Kudos

Frankly speaking this is just like reading Physics or Chemistry to me

Can you just breif wht exactly you want in one or two senteces in short so that all the people can look into it