cancel
Showing results for 
Search instead for 
Did you mean: 

need to restrict quota accumulation to 40

AmitCSoman
Participant
0 Kudos

Hi,

My employee joins on 01.04.2015. Leave cycle is from April to March. During first year 30 days are generated in quota. No leave is taken in that leave cycle. During next cycle manual quota generation of only 10 days should be allowed as total accumulation allowed is max 40 days. 2.50 days is generated every month.

So  for next cycle manual quota generation in IT 2006 if I put dates as 01.04.2016 to 31.07.2016 then 10 days should be generated. Nothing more than 10 days should be generated even if end date is after 31.07.2016.

Is there any solution? Putting max entitlement as 40 days in generation rules for quota type selection does not work.

basically need to restrict quota accumulation to 40. is therw any solution?

regards

amit soman

Accepted Solutions (0)

Answers (5)

Answers (5)

AmitCSoman
Participant
0 Kudos

Hi,

Can anybody help me with how to achieve it with user exit?

I have done for R & D as below:

EXIT_SAPLHRLV_009 of HRPTIM03

You can use this SAP enhancement to change the results of quota generation. You can only influence results that were generated by means of default values or using report RPTQTA00, and not results that were calculated by time evaluation.

The system transfers:

  • The personnel number
  • The valid-from date

  • The valid-to date
  • The table of the generated quota records

I think we have to use this but I do not know how to use it.

regards

amit

venkateshorusu
Active Contributor
0 Kudos

Check with technical consultant he helps you out to sort out the issue.

Regards

Venkatesh

Sanky
Active Contributor
0 Kudos

Based on your logic consult with the technical consultant and they will put the logic in suystem by using this exit.

Regards,

Sankarsan

AmitCSoman
Participant
0 Kudos

Hi,

I need to limit quota accumulation as I manually create one record per year for quota generation.

Please advise me with a solution. i use 'No generation' as I am using negative time management and manually generating quotas in IT 2006.

I have checked max entitlement field. It does not work.

Any solutions for manual generation in IT 2006?

regards

amit soman


Sanky
Active Contributor
0 Kudos

Hi,

If manually you are doing then you can restrict it at IT2006 level through User Exit.

Check with your Technical Consultant.

Regards,

Sankarsan

venkateshorusu
Active Contributor
0 Kudos

Go through below links it helps you to resolve the issue.

Regards

Venkatesh

Former Member
0 Kudos

Hi Amit,

As per your description, my assumption is what ever leaves are remaining in the year are carry-forward to the next year and in the next year quota is 30 days (2.50 days per month), at the time of quota generation system has to check the carry-forward quota and it has to generate up to 40 leaves only. (40 leaves is ceiling)

i think you are not using positive time and using the program PT_QTA00 right or using TM04 schema.

if you give some clarity how you are carry forwarding your remaining leaves and how you are generating leave quotas.

Regards,

Praneeth kumar

AmitCSoman
Participant
0 Kudos

Hi,

I am a beginner using negative time mangement. I am generating quotas manually in IT 2006.

I just want to restrict accumulation to 40.

Say I create a record in IT 2006 of 30 days Quota for first cycle April to march.

As I create another record for next cycle it should not allow me to generate 11 or more days. Max 10 days must be allowed .

No other carry forward concept other than creating 2 records is applied

regards

amit soman


Former Member
0 Kudos

Ok, then the quota deduction up to is 31.03.2016 or 31.12.9999 ? for the leaves you generated manually for the period 01.04.2015 to 31.03.2016.

AmitCSoman
Participant
0 Kudos

Hi,

I have Start ded as 01.04.2015 and end ded as 31.03.2016

regards

amit

Former Member
0 Kudos

Hi,

Then change the deduction to date to 31.12.9999 and in the table V_T559L - Selection rules --> tab Total Entitlement give as max. 40 and try.

AmitCSoman
Participant
0 Kudos

Hi,

It does not work. I begin fresh. max 40 was already mentioned as mentioned earlier.

first record in IT 2006

start to and end  : 01.04.2015    31.03.2016

create

default 30 days appeared

defalut deduction is : 01.04.2015  31.03.2016

I chaged deduction to 31.12.999 overwriting 31.03.2013

I saved record 1 of 30 days from 01.04.2015 to 31.03.2016 with deduction priod from 01.04.2015 to 31.12.9999

to create record 2

I put start to and end dates as : 01.04.2016 to 31.03.2017

create

again default 30 days appears

and system asking for save your entries which means 30 is acceptable to system.

reagrds


Former Member
0 Kudos

Hi Amit,

First delete the quota generated to the 2014-2015 in the IT 2006.

Now generate for this period and then again generate to the next period also and save. then check how may leaves generated for the 2016-2017 period.

AmitCSoman
Participant
0 Kudos

Hi,

No quota exists for 2014-2015 as I generate quotas for the first time for 2015-2016.

regards

amit

former_member194940
Active Participant
0 Kudos

Dear Amit,

Are you in Positive or Negative time management? Also, Could you please explain in the first year 2.5 quota is generated every month or the quota is given at the end of the leave cycle?

Regards,

Bhabagrahi

AmitCSoman
Participant
0 Kudos

Hi Bhabagrahi,

i am using negative time management. It is generated at the start of cycle ie Apr to March. if employee joins on April 1 30 days are generated whereas if he joins on Oct 1 15 days of quota are generated.

Lets take the second example and lets assume no quota is reduced from Oct to Marc.  So during next manual quota generation cycle beginning max 25 days should be generated irrespective of what dates we put in IT 2006.

regards

amit soman