cancel
Showing results for 
Search instead for 
Did you mean: 

Absence quota generation with PCR in Time Evaluation

Former Member
0 Kudos

Dear All,

I am generation absence quota Annual leave = 50 through PT60- ZM04. Its daily calculation and transfered at the month end.

The quota entitlement is 30 days per year.

I have written this pcr. Have configured a time type too. but not sure why its not generating any quota.

The time type I have configured is:

Time Type: 0097

Save as day balance - No Formation

Save as period balance - 1

Store for time accounts - 1

Have assigned the time type 0097 in Base entitlement for Absence quota generation as Day Balance and even in generation rules.

Have placed the PCR with ACTIO Z003 before CUMBT fucntion.

The PCR Z003 is:

000010 D HRS?0

000020 *

000030 = D OUTAQTYP

000040 = **

000050 = 50 Z GCY ZQTY

PCR ZQTY is:

000010 D OUTWPMOLGA

000020 **

000030 99 HRS=FR50C ADDDB0097Z ADDDB0097 HRS=D0097

I didnt mention anywhere in configuration or PCR that its 30 days per year.

Do I need to do this?

Have I missed out anything, please help me.

Thanks & regards,

Majid

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

This you can do through config also without using PCR.

Base entitlement is 30 for calender year. Selection rule- Accrual period is daily and transfer time is time evaluation period.

Use appropriate rounding rule in selection rule.

Rgds,

Lata

Former Member
0 Kudos

HRS=Dnnnn and ADDDBnnnnn operations work on the daily balance tables (TES/ZES).

Either enable cumulation in daily balance for your time type or change your operations to HRS=Mnnnn and ADDMB.