Skip to Content
Author's profile photo Vivek Barnwal

Grant of Absence Quotas in Time Evaluation

Introduction


For the last few days, I came across many queries in SCN (SAP Community Network) regarding grant of absence quotas in time evaluation run. And consultants were facing issues in generation of the correct value of the quota.


Also, there are multiple ways things can be done and hence, I found that it was sometimes getting difficult to find out where the consultants were facing issues. Because of this, I thought of coming up with a knowledge artifact with step by step configuration details of absence quotas grant in time evaluation run.





Client Situation


The client was implementing positive time management and it had the below requirements regarding absence quotas:


Annual Leave


  • Base Entitlement for a year = 20 days
  • Validity Interval = calendar year
  • Annual Leave quota of 20 days to be granted at the start of calendar year.
  • If the employee is being hired in the middle of the calendar year, then the grant of annual leave quota should be prorated. Also, the prorated quota of annual leave should be rounded off to the nearest integer.

Sick Leave


  • Base Entitlement for a year = 7 days
  • Validity Interval = calendar year

  • Sick Leave quota of 7 days to be granted at the start of calendar year or at the time of hiring. There is no proration for sick leave quota if the employee gets hired in the middle of the calendar year.

Recreation Leave


  • Base Entitlement for a year = 5 days

  • Validity Interval:  01-Jul to 30-Jun
  • Recreation Leave quota of 5 days to be granted on 01-Jul or at the time of hiring between 01-Jul and 31-Dec. There is no proration of recreation leave quota if the employee gets hired in the middle of the calendar year.

Since the client was implementing positive time management, the positive time evaluation could run successfully in actual mode only till the day the actual data is available. Hence, for 01-Jan, the time evaluation will run after the shift has got over provided this was a day shift.



Solution Design


Let me give you step by step configuration of the solution design.


Step 1: SPRO > Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/ Absence Quotas > Setting Groupings for Time Quotas > Group Employee Subgroups for Time Quotas


/wp-content/uploads/2014/06/1_474514.png



Step 2: SPRO > Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/ Absence Quotas > Setting Groupings for Time Quotas > Group Personnel Subareas for Time Quotas

/wp-content/uploads/2014/06/2_474524.png

 

Step 3: SPRO > Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/ Absence Quotas > Time Quota Types > Define Absence Quota Types

/wp-content/uploads/2014/06/3_474525.png

/wp-content/uploads/2014/06/4_474526.png

/wp-content/uploads/2014/06/5_474527.png

Step 4: SPRO > Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/ Absence Quotas > Calculating Absence Entitlements > Automatic Accrual of Absence Quotas > Permit Generation of Quotas in Time Evaluation

/wp-content/uploads/2014/06/6_474528.png

Step 5: SPRO > Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/ Absence Quotas > Calculating Absence Entitlements > Rules for Generating Absence Quotas > Specify Rule Groups for Quota Type Selection > Modify Feature QUOMO

/wp-content/uploads/2014/06/7_474529.png

Step 6: SPRO > 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 > Base Entitlement for Absence Quota Generation

/wp-content/uploads/2014/06/8_474530.png

  /wp-content/uploads/2014/06/9_474531.png

/wp-content/uploads/2014/06/10_474532.png

Step 7: SPRO > 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

/wp-content/uploads/2014/06/11_474533.png

Annual leave starts at the start of calendar year and continues till the end of the calendar year.

/wp-content/uploads/2014/06/12_474534.png

Sick Leave start at the start of calendar year and continue till the end of calendar year.

/wp-content/uploads/2014/06/13_474535.png

Recreation Leave starts 6 months after the start of calendar year (July) and continues till 6 months after the end of calendar year (June).

Step 8: SPRO > Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/ Absence Quotas > Calculating Absence Entitlements > Rules for Generating Absence Quotas > Define Rules for Reducing Quota Entitlements > Reduction Rules


/wp-content/uploads/2014/06/14_474536.png

The above rule was copied from standard rule 05. The reference period for reduction rule for inactive days is as per base period (calendar year).

Step 9: SPRO > Time Management > Time Data Recording and Administration > Managing Time Accounts Using Attendance/ Absence Quotas > Calculating Absence Entitlements > Rules for Generating Absence Quotas > Define Rules for Rounding Quota Entitlements

/wp-content/uploads/2014/06/15_474537.png


We are using standard rule 01 which means that any value between X and X.5 (X.5 not included) gets rounded off to X and any value between X.5 (X.5 included) and X+1 gets rounded off to X+1 where X is an integer.

Step 10: SPRO > Time Management > Time Evaluation > Time Evaluation Settings > Define Time Types


We define three daily time types – one for each type of leave quota.

/wp-content/uploads/2014/06/16_474538.png

/wp-content/uploads/2014/06/17_474539.png

/wp-content/uploads/2014/06/18_474540.png

Step 11: SPRO > 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


We will define the selection rules for the three absence quotas.


Annual Leave

/wp-content/uploads/2014/06/19_474541.png


/wp-content/uploads/2014/06/20_474542.png

Please note that the accrual period is daily. This implies that every day 20 days of annual leave will accrue.

/wp-content/uploads/2014/06/21_474543.png

/wp-content/uploads/2014/06/22_474544.png

Please note that “No pro rata calculation” has been selected. It is also getting multiplied by daily time type ZAL1. The value of this time type will be 1 either on 01-Jan or on the hiring date. On other days, the value of the time type will be 0.


Hence, even though the accrual will happen every day for 20 days of quota, once it gets multiplied by the value of time type ZAL1, it will grant 20 days only for 01-Jan or hiring date (Time Type ZAL1 will have value 1). For the remaining days, the value of time type ZAL1 will be 0 and hence, the accrual for remaining days will get reduced to 0.


The reduction rule is Z1 so that the annual leave gets prorated if the employee gets hired in the middle of the year.


The rounding rule is 01 so that the quota can be rounded off to the nearest integer.



/wp-content/uploads/2014/06/23_474548.png

The accrued quota will get transferred upon accrual.

/wp-content/uploads/2014/06/24_474549.png

Sick Leave

/wp-content/uploads/2014/06/25_474550.png

/wp-content/uploads/2014/06/26_474551.png

Please note that the accrual period is daily. This implies that every day 7 days of sick leave will accrue.

/wp-content/uploads/2014/06/27_474552.png

/wp-content/uploads/2014/06/28_474553.png

Please note that “No pro rata calculation” has been selected. It is also getting multiplied by daily time type ZSL1. The value of this time type will be 1 either on 01-Jan or on the hiring date. On other days, the value of the time type will be 0.


Hence, even though the accrual will happen every day for 7 days of quota, once it gets multiplied by the value of time type ZSL1, it will grant 7 days only for 01-Jan or hiring date (Time Type ZSL1 will have value 1). For the remaining days, the value of time type ZSL1 will be 0 and hence, the accrual for remaining days will get reduced to 0.


The reduction rule is blank so that the sick leave doesn’t get prorated if the employee gets hired in the middle of the year.



/wp-content/uploads/2014/06/29_474554.png

The accrued quota will get transferred upon accrual.

/wp-content/uploads/2014/06/30_474563.png

Recreation Leave

/wp-content/uploads/2014/06/31_474564.png

/wp-content/uploads/2014/06/32_474565.png

Please note that the accrual period is daily. This implies that every day 5 days of recreation leave will accrue.

/wp-content/uploads/2014/06/33_474566.png

  /wp-content/uploads/2014/06/34_474567.png

Please note that “No pro rata calculation” has been selected. It is also getting multiplied by daily time type ZRL1. The value of this time type will be 1 either on 01-Jan or on the hiring date. On other days, the value of the time type will be 0.


Hence, even though the accrual will happen every day for 5 days of quota, once it gets multiplied by the value of time type ZRL1, it will grant 5 days only for 01-Jan or hiring date (Time Type ZRL1 will have value 1). For the remaining days, the value of time type ZRL1 will be 0 and hence, the accrual for remaining days will get reduced to 0.


The reduction rule is blank so that the recreation leave doesn’t get prorated if the employee gets hired in the middle of the year.

/wp-content/uploads/2014/06/35_474568.png

The accrued quota will get transferred upon accrual.

/wp-content/uploads/2014/06/36_474569.png

Step 11: Create PCRs for Absence Quotas Generation

/wp-content/uploads/2014/06/37_474571.png

In the above PCR, we find the difference between date of time evaluation day and hiring date using HRS=YDAA01 and compare it with 0 using HRS?0. If the difference is 0, it means that it is the hiring date and it should pass a value of 1 using HRS=1 and generate time type using ADDDDBZAL1Z.


If the difference is not 0, then we read the current month using VARSTCURMO. If the month is anything other than Jan (01), it should do nothing. If the month is Jan (01), it should read the current day using VARSTREDAY. If the current day is anything other than 01, then it should do nothing. If the current day is 01, then it should pass a value of 1 using HRS=1 and generate time type using ADDDDBZAL1Z.


/wp-content/uploads/2014/06/38_474572.png

In the above PCR, we find the difference between date of time evaluation day and hiring date using HRS=YDAA01 and compare it with 0 using HRS?0. If the difference is 0, it means that it is the hiring date and it should pass a value of 1 using HRS=1 and generate time type using ADDDDBZSL1Z.


If the difference is not 0, then we read the current month using VARSTCURMO. If the month is anything other than Jan (01), it should do nothing. If the month is Jan (01), it should read the current day using VARSTREDAY. If the current day is anything other than 01, then it should do nothing. If the current day is 01, then it should pass a value of 1 using HRS=1 and generate time type using ADDDDBZSL1Z.



/wp-content/uploads/2014/06/39_474573.png

In the above PCR, we find the difference between date of time evaluation day and hiring date using HRS=YDAA01 and compare it with 0 using HRS?0. If the difference is 0, it means that it is the hiring date and it should check the month using VARSTCURMO. If the month is 07, 08, 09, 10, 11 or 12, then it should pass a value of 1 using HRS=1 and generate time type using ADDDDBZRL1Z. If it is any other month, then it should do nothing.


If the difference is not 0, then we read the current month using VARSTCURMO. If the month is anything other than Jul (07), it should do nothing. If the month is Jul (07), it should read the current day using VARSTREDAY. If the current day is anything other than 01, then it should do nothing. If the current day is 01, then it should pass a value of 1 using HRS=1 and generate time type using ADDDDBZRL1Z.


Step 12: Modify Positive Time Schema ZPT1

/wp-content/uploads/2014/06/40_474574.png

The three PCRs ZAL1, ZSL1 and ZRL1 are placed in positive time schema ZPT1 (copy of standard schema TM00) after standard PCR TR30 and before function CUMBT. Please ensure that the PCRs are placed before function CUMBT so that the time types generated by the PCRs move from Table TES to Table ZES.


The function QUOTA will read the table ZES for these time types and generate the quotas if all the validations pass.


Let us proceed to test the solution.

Solution Testing


We will use the below scenarios of testing.


Scenario 1: Hire an employee on 01-Jan-2014 and run time evaluation on this date.


IT0000

/wp-content/uploads/2014/06/41_474575.png

IT0001


/wp-content/uploads/2014/06/42_474576.png

IT0007


/wp-content/uploads/2014/06/43_474577.png


IT0041


/wp-content/uploads/2014/06/44_474578.png

PT60

/wp-content/uploads/2014/06/45_474579.png

Time Evaluation Successful


/wp-content/uploads/2014/06/46_474580.png

PCR Processing

/wp-content/uploads/2014/06/47_474581.png

/wp-content/uploads/2014/06/48_474582.png

/wp-content/uploads/2014/06/49_474583.png

Quota Generation

/wp-content/uploads/2014/06/50_474584.png

/wp-content/uploads/2014/06/51_474585.png

/wp-content/uploads/2014/06/52_474586.png

Quota Tables


/wp-content/uploads/2014/06/53_474587.png

IT2006

/wp-content/uploads/2014/06/54_474588.png

Scenario 2: Hire an employee on 30-Jun-2013 and run time evaluation for 30-Jun-2013 and 01-Jul-2013.


IT0000

/wp-content/uploads/2014/06/55_474589.png

IT0001


/wp-content/uploads/2014/06/56_474596.png

IT0007


/wp-content/uploads/2014/06/57_474597.png

IT0041


/wp-content/uploads/2014/06/58_474598.png

PT60

/wp-content/uploads/2014/06/59_474599.png

Time Evaluation Successful


/wp-content/uploads/2014/06/60_474600.png

PCR Processing

/wp-content/uploads/2014/06/61_474601.png

/wp-content/uploads/2014/06/62_474602.png

/wp-content/uploads/2014/06/63_474603.png

Quota Generation


Annual Leave quota gets prorated.

/wp-content/uploads/2014/06/64_474604.png

No proration for Sick Leave.

/wp-content/uploads/2014/06/65_474605.png

Recreation Leave doesn’t get generated in Jun.

/wp-content/uploads/2014/06/66_474606.png


Quota Tables

/wp-content/uploads/2014/06/67_474608.png

IT2006

/wp-content/uploads/2014/06/68_474609.png

PT60 on 01-Jul-13

/wp-content/uploads/2014/06/69_474610.png

PT60 Successful

/wp-content/uploads/2014/06/70_474620.png

PCR Processing

/wp-content/uploads/2014/06/71_474621.png

/wp-content/uploads/2014/06/72_474623.png

/wp-content/uploads/2014/06/73_474624.png

Quota Generation

/wp-content/uploads/2014/06/74_474626.png


/wp-content/uploads/2014/06/75_474627.png


/wp-content/uploads/2014/06/76_474628.png

Quota Tables


/wp-content/uploads/2014/06/77_474636.png

IT2006

/wp-content/uploads/2014/06/78_474637.png

Here, I come to the end of this knowledge artifact. Thank you for your patience to go through this long document. I hope this has been useful for you.


Thanks and warm regards,

Vivek Barnwal.


*****************************************************************************************************


You can also refer to other knowledge artifacts created by me at the below link:


One Stop Shop of my Knowledge Artifacts in SAP HCM

Assigned Tags

      70 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Vivek,

      Once again good document regarding the Positive Time management.

      can we do this for fiscal year (for Indian payroll) ?

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Thanks Praneeth. Do you mean generate quotas for the period Apr - Mar?

      I have created a scenario where quotas are being generated for the period Jul to Jun which is the Australian Payroll Period. You can use similar logic for Apr- Mar.

      Regards,

      Vivek Barnwal

      Author's profile photo Former Member
      Former Member

      same like recreation leave right.

      thanks and i will do and come back if any help needed.

      Best Regards,

      Praneeth kumar

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Yes you are right.

      Regards,

      Vivek

      Author's profile photo Former Member
      Former Member

      Hi Praneeth ,

      We can generate the quota for the indian financial year also ,in the Quota Validity Screen Validity From -tick Other Period means 67 for india ,valid to is also other period and select 67 period parameter .then the quota validity will be the financial year ,in all the screens use the other period ,we have generated by using this for our clients,and this is working fine ,please try this .

      Regards

      anusha

      Author's profile photo Former Member
      Former Member

      Dear Vivek,

      Thanks for the document !! It was just like Story Telling !!!

      It acted as One stop solution and Check list to resolve my leave issues.

      Now more expectations from you !!!!

      Can you please share some document how to approach for writing a new Time schema

      (Both positive and Negative) with Do's and Don'ts.

      I am able to understand Time schemas in support issues but never written of my own .

      There are many documents/pdf available in google but not understandable .

      Regards,

      Nayak

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Thanks Niladri, Kindly rate the document quality for the benefits of all SCN users.

      I don't have any document regarding write a new Time Schema. It is actually requirements specific. May be once I have some idea I will do it.

      Regards,

      Vivek

      Author's profile photo Former Member
      Former Member

      Already gave 5 stars Vivek.....

      Regards,

      Nayak

      Author's profile photo Rajesh Kumar Burra
      Rajesh Kumar Burra

      1.JPG

      Author's profile photo Rajesh Kumar Burra
      Rajesh Kumar Burra

      Valuable Info!

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Thanks Rajesh

      Author's profile photo Former Member
      Former Member

      Your documents are simply beyond exceptional. I always keep some time at office hours to go through your documents or discussions everyday. Your documents have helped me immensely. 🙂

      I am very new to Time Management. I could not understand the below part:

      • Define Time Types - impact of fields chosen by you.
      • Accrual Entitlement - selection rule. Since I couldn't understand the Time Types for which I couldn't understand the significance of the rule in "Proration" or "No Proration" calculation.


      Can you please help me understand? If needed you can send me documents related to this.

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Thanks Susmita.

      There are 4 types of time types (that's my explanation which you won't find in books):

      • Daily Time Type (gets refreshed everyday and gets stored in Table ZES. First option is marked as 1)
      • Monthly Time Type (gets refreshed every month and gets stored in Table SALDO. First and second option are marked as 1)
      • Yearly Time Type (gets refreshed every year and gets stored in Table SALDO. First, Second and third option are marked as 1)
      • Eternally cumulative time type (never gets refreshed until you refresh it in PCR. Gets stored in Table SALDO. First, Second, Third and Fourth option are marked as 1)

      Time types don't have any significance related to pro-ration functionality. Pro-ration is with respect to base entitlement, period of base entitlement and accrual period.

      Let us say that the base entitlement is for 20 days for a calendar year. Your accrual period is daily. Hence, if you select pro-ration functionality, the no. of days accrued will be 20/365 days.

      In my case, I am not using pro-ration for annual leave. Hence, the no. of days accrued will be 20 days per day. But we don't need to give 20 days per day to the employee. Hence, we are generating time type on a particular date with a value of 1 and for the rest of the days, the value of the time type is 0.

      The value of time type gets multiplied with quota accrued every day. For the day, the value of time type is 1, the quota of 20 days is granted. For other days, the value is 0 and hence, nothing gets granted.

      I hope this explanation resolves your query.

      Regards,

      Vivek

      Author's profile photo Former Member
      Former Member

      Thank you Vivek.

      I still can't understand how you are generating time type on a particular date with a value of 1 and for the rest of the days, the value of the time type is 0?

      How on 01 Jan or Hiring date the Time Type ZAL1 will have a value 1 and remaining days 0?

      Also, please explain the statement you mentioned: "The reduction rule is Z1 so that the annual leave gets prorated if the employee gets hired in the middle of the year."

      Thanks for the post and constant help.

      Regards

      Susmita Mukherji

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Susmita,

      Please refer the below section for PCR ZAL1. You can refer the screenshot of the PCR.

      In the above PCR, we find the difference between date of time evaluation day and hiring date using HRS=YDAA01 and compare it with 0 using HRS?0. If the difference is 0, it means that it is the hiring date and it should pass a value of 1 using HRS=1 and generate time type using ADDDDBZAL1Z.


      If the difference is not 0, then we read the current month using VARSTCURMO. If the month is anything other than Jan (01), it should do nothing. If the month is Jan (01), it should read the current day using VARSTREDAY. If the current day is anything other than 01, then it should do nothing. If the current day is 01, then it should pass a value of 1 using HRS=1 and generate time type using ADDDDBZAL1Z.

      For annual leave, it is using the above logic.

      Thanks and regards,

      Vivek

      Author's profile photo Former Member
      Former Member

      Thank you Vivek for the explanation.

      One more eplanation needed: "The reduction rule is Z1 so that the annual leave gets prorated if the employee gets hired in the middle of the year."

      Please help.

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Check the screenshot of reduction rule Z1. I have mentioned it as proportionate reduction for inactive period. Hence, when an employee joins in the middle of the year...he has been inactive for the period before employment and the quota gets reduced proportionately.

      Regards,

      Vivek

      Author's profile photo Former Member
      Former Member

      An excellent document again by you Vivek...!!! Thanks a lot. Can you please prepare a document to understand PCR for basic? I always get stuck in writing a new PCR. It would be very helpful.

      Regards,

      Bhagyashree

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Bhagyashree,

      Thanks for your appreciation. Kindly do rate the document quality.

      Regarding writing a document to understand PCR, what are your expectations? Because PCR writing is scenario dependent.

      What kind of issues act as roadblock for you? Please let me know and accordingly, I will try to address them.

      Regards,
      Vivek

      Author's profile photo Former Member
      Former Member

      Hi Vivek,

      I want to know how to set a function, also, how to set a variable, and its properties. Can I please have your email id so that I would explain in more clarity?

      Regards,

      Bhagyashree

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Bhagyashree,

      It's there at the end of my each blog where I sign off.

      I can advise you only on time related PCRs where I have some sound understanding. For payroll PCRs, I have to deepen my understanding.

      Thanks and regards,

      Vivek Barnwal

      Author's profile photo Former Member
      Former Member

      Hi Vivek,

      Please consider my request too, if possible, for posting some blog on PCR writing for common time related scenarios like carry forward, evaluation, overtime etc. This will be very helpful.

      Regards

      Susmita Mukherji

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Susmita,

      Please refer the below document on leave carry forward.

      Balance Absence Quota Carry Forward – Method 1

      Also, if you wish to read other time related documents, kindly go through the below link:

      One Stop Shop of my Knowledge Artifacts in SAP HCM

      Time Evaluation is a very big topic and can't be covered in a document. Hence, I am covering different aspects of it in many documents.

      For overtime, I am working on a document but unable to find time to complete.

      Once I am done with it, I will post it.

      Request you to please kindly rate any blog which you find helpful.

      Thanks and regards,

      Vivek Barnwal

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Bhagyashree


      Please go through the below document. It will help you to understand time types which will be needed to write PCR for any time scenario.


      Time Types - The DNA of Time PCRs

      Thanks and regards,

      Vivek Barnwal

      Author's profile photo Former Member
      Former Member

      Hi Vivek,

      Is Time Type ZAL1 same as PCR ZAL1. If not, Can you please help me with below.

      In step 11 (step accural entitlement)you have mentioned that time type ZAL1 will be 1 for 01-Jan or hiring and 0 for remaining days, Can you explain me

      why we need Time type here.

      Regards

      Mohinder

      Author's profile photo Surya Prakash
      Surya Prakash

      Good one

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Thanks Surya...

      Regards,

      Vivek

      Author's profile photo Former Member
      Former Member

      This is the one which i was looking for..

      Great document!!!

      Thank you so much

      Regards,

      Prasad.

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Thanks so much Prasad.

      Regards,

      Vivek

      Author's profile photo Former Member
      Former Member

      Hi Vivek

      Really very good material.Can i have your personel mail id .so that i can mail my requirement to you.

      Regards

      Ram

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Please create a thread in SCN so that your question gets added to the question bank of SCN. Also, you can get multiple points of view on the requirements from various consultants.

      Thanks and regards,

      Vivek Barnwal

      Author's profile photo Former Member
      Former Member

      Hi Vivek,

      I used your rule (Sick Leave) which worked perfectly for my requirement.  After about 2 weeks of testing the quota started to accrue the 1st time on 01.01.2014 and then again on 01.03.2014 and on 01.03.xxxx thereafter.  Below is the PCR and the processing on 01.01.2014 and 01.03.xxxx - please can you assist me with this I have spent so much time investigating - I have check my payroll period generation, IT41 etc.

      Thank you so much

      Regards

      Monica

      ZCL1 Compassionate Leave - ZCL1

          *

            ****

              HRS=YDAA01 Set

              HRS?0      Decision op.     HRS

                *

                  VARSTCURMO Current period

                    **

                    01

                      VARSTREDAY Rel. day of period

                        **

                        01

                          HRS=1      Set

                          ADDDBZCL1Z Set day balance = 0

                =

                  HRS=1      Set

                  ADDDBZCL1Z Set day balance = 0

      This is due to this being the TSD

      01.01.2014.JPG

      01.01.2014.JPG

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Monica,

      Please log a query in SCN in a thread and post your screenshots of quota configuration and PCR configuration.

      I will look into that and reply you there.

      Thanks and regards,

      Vivek Barnwal

      Author's profile photo Former Member
      Former Member

      Vivek,

      Nice document by you reg. Time Quotas.  if we use carryforwarding pcr.  it will carryforward the old balances to further.  In such case if there is quota balance 15.66666 in the old balance that will also be rounded off by this way bcoz you have given rounding rule for Quota Generation rules.  i think that's different and carry forwarding is different.  i have a requirement like after carryforwarding what ever final  figure that should be rounded off.  is it possible bcoz of this way?

      Actually i've started recently involving in TM.

      Definetely nice document by you Mr. Vivek.

      Keep sending such a good docs.

      Thanks,

      Aruna.

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Please check this document.

      Balance Absence Quota Carry Forward – Method 1

      Thanks and regards,

      Vivek Barnwal

      Author's profile photo Former Member
      Former Member

      Mr. Vivek,

      Thanks for the prompt response.  actually the following error is coming in defining generation rules you can pls. go through it.  esg 01 this should be same for the both the rules cfwd and quota generation normal right?

      Thanks,

      Aruna./wp-content/uploads/2015/01/pic8_617764.png

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Please create a new thread for your issue.

      Thanks and regards,

      Vivek

      Author's profile photo Niladri Bihari Nayak
      Niladri Bihari Nayak

      Hi Vivek,

      Can you please explain, what changes in this document required if we are   going for Automatic Quota generation in -ve Time mgmt?

      I tried most of the steps explained by you, still unable to generate Quota for PL/CL/SL.

      Time Eval has no error in PT60 but Quota not generated.

      If you provide a separate solution/deviations for -ve time , then it will be helpful.

      Regards,

      Niladri

      Author's profile photo Amit C Soman
      Amit C Soman

      Hi Vivek,

      Can you please elaborate on:

      The value of this time type will be 1 either on 01-Jan or on the hiring date. On other days, the value of the time type will be 0.

      regards

      amit soman

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Amit,

      I am generating a time type with value 1 on 01-Jan (it means that the quota will be given on this date) or on the hiring date (quota will be given on this date). Other days, the value of time type will be 0. Each day, the value of time type will be multiplied with the base entitlement. Hence, only on hiring date or 01-Jan, the value will be positive and will be granted to employee. Other days, the value will be 0.

      Thanks and regards,

      Vivek Barnwal

      Author's profile photo Masroor Ahmed Siddique
      Masroor Ahmed Siddique

      Hi Vivek,

      Really helpful article but am facing an issue with absence quotas I was wondering if you can help me with the following error

      Quota type: 13  Employee is not active in validity period

      employee hired on 21.01.2014 and ran the TE for him for the same day.

      Further more the time management status is 7; am using TQTA schema for the quota generation

      Author's profile photo Masroor Ahmed Siddique
      Masroor Ahmed Siddique

      Done! thanks your document is really amazing

      Author's profile photo Former Member
      Former Member

      Hi Vivek,

      Very helpful article.

      Thanks a lot for sharing the knowledge.

      Regards,

      Siddhant

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Thanks Siddhant.

      Regards,

      Vivek

      Author's profile photo shiva Kumar
      shiva Kumar

      Hi Vivek ,

      Can we use  the same scenario for -ve Management. by using tm04.

      regards,

      shiva K

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Shiva,

      You can use the same for negative time management.

      Regards,

      Vivek Barnwal

      Author's profile photo Former Member
      Former Member

      I have a doubt how it is going to generate next year  In case of date of joining?

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      System will automatically determine the hiring date based on hiring date type 01 in IT0041 and accordingly, generate the leave quota.

      Regards,

      Vivek

      Author's profile photo Former Member
      Former Member

      Thank you for valuable info how about next year how system will determine next year suppose for example  for current year based on date of joining it will generate how about next year how it is going to generate iam confused on my requirement

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Priya,

      Have you read the document? Isn't the explanation given how the solution will work for next year?

      If you are asking such questions, it simply implies that you haven't gone through the document well.

      Regards,
      Vivek

      Author's profile photo Former Member
      Former Member

      I read the document Gone thoroughly Thank you so much for your documents

      Author's profile photo Former Member
      Former Member

      Hi The documents are really valuable and clear.

      Through above PCR we can generate leaves from date of hiring.

      My time periods are from Jan till April and leaves should lapse in the month of April No matter when employee joins in the company His/Her leaves should lapse in the month of april

      Could you please let me know how would i goahead

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Please raise a separate thread for this purpose.

      Regards,

      Vivek

      Author's profile photo Sriram Tamil
      Sriram Tamil

      Hi Vivek,

      Thanks for your great document. I can proudly SCN is teaching a lot to me.

      Thanks

      Sriram

      Author's profile photo Sriram Tamil
      Sriram Tamil

      Hi Priya,

      Always create a new thread if you have any questions on it. it would be useful for all of us.

      Thanks

      Sriram

      Author's profile photo Former Member
      Former Member
      Author's profile photo Former Member
      Former Member

      Dear All,

      I request all to go through standard configuration before you go ahead with copy and paste rule methodology

      There are many scenarios that can be achieve through standard table configuration

      For example: Date of Joining Scenario

                          Prorate Scenario

      My suggestion is go through standard configuration in Time Management SAP has already defined many scenarios we just need to put our data to achieve our requirement Try to avoid more customization and rules

      Iam not blaming PCR Experts This is just my opinion

      PCR is one way of achieving requirement Standard configuration is best way to achieve our requirement

      Thanks all

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Hi Priya,

      Are you using negative time management or positive time management? One size fits all rule won't apply.

      You can't give a grant of the entire quota on the first day without giving the quota grant based on daily accrual because positive time management will allow time evaluation run upto system date - 1. This is the reason why the PCR concept has been used.

      Regards,

      Vivek Barnwal

      Author's profile photo Former Member
      Former Member

      We are using positive time management. We can give grant of entire quota  on first day and deduction in next month through deduction interval table This is possible through standard configuration.

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      So deduction can't happen in the same month?

      Author's profile photo Former Member
      Former Member

      our requirement is to deduct leaves for next month so we can use  Deduction Interval screen to deduct next month

      Author's profile photo Former Member
      Former Member

      wow what a complete document thank you Vivek

      Author's profile photo Former Member
      Former Member

      Dear Vivek.

      Great Document. Thank you.

      I have done config as per your steps. However log is empty when i try to run PT60. The tested employee is not selected at all. Kindly Advise.

      Thank you

      Author's profile photo Vivek Barnwal
      Vivek Barnwal
      Blog Post Author

      Please create a new thread for your query.

      Author's profile photo Former Member
      Former Member

      Hi Vivek.

      I have created new thread as below:

      Unable to Generate Absence Quota in Time Evaluation

      Kindly advise.

      Thank you

      Author's profile photo Former Member
      Former Member

      Hi vivek and all,

      I need your assistance for below thread:

      Unable to Generate Absence Quota in Time Evaluation

      Its Urgent.

      Thank you.

      Author's profile photo Sarita Pandit
      Sarita Pandit

      Hi Vivek,

      I always read your blog and really appreciate it coz most of the time it helps me JUST IN TIME!

      🙂

      Thank you so much for sharing your knowledge.

      Author's profile photo PRINCE ELVIS VINOLTON
      PRINCE ELVIS VINOLTON

      Hi Vivek ,

       

      Thanks for sharing this wonderful blog. It is very clear and understandable....

      Author's profile photo Sam Harun
      Sam Harun

      Brilliant. Honestly, I am impressed by your work. I have one scenario to discuss. We have 2 types of absence quotas, that is, Annual Leave and Sick Leave. Annual Leave is to be generated at the end of the year, while Sick Leave is to be generated at the start of the year. However, in few cases, client has to pay off the Annual Leaves in start of December. In that case, Annual Leaves yet not generated (Generated at 31 Dec each year). How would I generate the Annual Leaves in that case using Time Evaluation?

      Author's profile photo Stanley Kannampully
      Stanley Kannampully

      Hi,

      Not sure, if this Topic has been addresses or Not... I have a Strange requirement, where the Quota record in 2006 has to be created but without any quota. The quota qill be populated, manually, based on further different criteria.

      Any tips, will be appreciated.

      Thanks