Skip to Content
author's profile photo
Former Member

Absence quota generation with PCR in Time Evaluation

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on May 04, 2011 at 11:27 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 04, 2011 at 11:39 AM

    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

    Add comment
    10|10000 characters needed characters exceeded