cancel
Showing results for 
Search instead for 
Did you mean: 

absence quota

former_member184702
Active Contributor
0 Kudos

Hi Experts ,

I have a requiement on sick leave and check the below conditions.

1) Quota should be update jan1st of every year (e.g -8 days).

    Written a custom pcr but the quota has not update in IT2006 , Pl suggest me how to solve ?

PCR-1

HRS?0      Decision op.     HRS

  *

    HRS=CYY=01 Set

    ADDDBZ=04  Add to day balance

    ADDDBZ=04Z Set day balance = 0

  >

    LEAVE      Stop with PC Rule

PCR : 2

HRS=BCURMO Set

HRS?01     Decision op.     HRS

  *

  =

    HRS=BCURDY Set

    HRS?01     Decision op.     HRS

      *

      =

        HRS=FE     Set

        ADDDBZ=04  Add to day balance

        UPDTQA04   Abs. Quota Accrual

2) leave carry forward

3)employee join any month in a year , the quota should be pro rated.

We are running the time eval.

Reg

Siva

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member193210
Active Contributor
0 Kudos

What Time Type have you set-up in V_T559E to update your Quota 04 ?

former_member184702
Active Contributor
0 Kudos

Thanks Remi ,

I have set up the time type Z=04 in V_T559E table. Pl suggest me..

Reg

Siva

former_member184702
Active Contributor
0 Kudos

Thanks Remi and Ashish ,

first two problems are solved.

Mistake is , I have given the time type in period balance in table V_T559E.

and I am looking on 3 rd scenario.

Reg

Siva

former_member193210
Active Contributor
0 Kudos

If you don't already have one, create a PCR to generate a flag (Information WT) indicating that the employee was hired "Today".

Later in Quota processing, query that flag, and if it's a new employee, query the month (and day if required) to generate a pro-rated Quota allowance.

jazib_tariq
Active Participant
0 Kudos

Dear Expert,

I want to automate the leave quota.

Ex: In my company employee get the casual leave and sick leave 1 jan to 31 dec and annual leaves vary according to the date of joining. At the START of the new year ,i manually upload the leave quota. How can i automate this quota. Like at the start of the new year SAP automatically update the new quota and burn(waste) previous one leave and annual leave remains constant.

Regards

Jazib tariq

AshishBhati
Contributor
0 Kudos

Hope you have done the backend configuration in Table T559L, I think you are writing this rule after QUOTA function as quota will generate your sick leave quota with proration and before exporting it to IT2006 you need to write pcr 2. Replace the HRS=FE with OUTAQVAL and this will work for you.

Like this -

QUOTA

P2006     ZZZZ (Your pcr2)

EXPRT

- Ashish

former_member184702
Active Contributor
0 Kudos

Thanks Ashish,

I made changes accordingly but still quota has not updated in IT2006.

Pl suggest me.

Regards

Siva