cancel
Showing results for 
Search instead for 
Did you mean: 

Carry forward of quota not display in ABKWONTI

Former Member
0 Kudos

Hi Experts,

I have an issue with carry forward, the quota is generated for the period Jan -Dec 2012, entitled with 10 leaves. I have a leave balance of 5 leaves in previous calendar year. These leaves are not getting carry forward for next year. I created two PCR's (ZCR1 & ZCR2) and run the time evaluation with RPTIME00. The first rule is successfully read by the schema (ZF04). Please suggest any changes to the PCR's/ Schema to be done

ZCR1:

*

****

HRS=BCURMO

HRS?12

*

SCOND=F IF

LEAVE

=

HRS=BCURDY

HRS?31

*

SCOND=F IF

LEAVE

=

SCOND=T IF

ZCR2 :

*

****

HRS=0

HRS+FRXXC

HRS?8

*

HRS+FRXXC

ADDDBXXXXZ

LEAVE

<

HRS=8

HRS+FRXXC

ADDDBXXXXZ

LEAVE

Schema(ZF04):-

BLOCK BEG

IF ZCR1

P2006 ZCR2

ENDIF

PRINT TES

CUMBT

QUOTA

BLOCK END

Please help me out with some suggestions and correction if any.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vivek,

As per your Logic, If the date is 31/12 then you are sending value to XXXX time type.

But you are not getting that value from XXXX on 01/01. Please use my below logic to achieve that.

ZCR3:

*

****

HRS=BCURMO

HRS?01

*

LEAVE

=

HRS=BCURDY

HRS?01

*

LEAVE

=

HRS=LXXXX

ADDDBXXXXZ

LEAVE.

BLOCK BEG

IF ZCR1

P2006 ZCR2

ENDIF

ACTIO ZCR3 ---> New PCR

PRINT TES

CUMBT

QUOTA

BLOCK END

Hope this helps.

Pradeep.

Former Member
0 Kudos

Hi Pradeep,

Thanks for your help.

I have done as per your suggestion but still I am not able to get, its the same.The no. of leaves that has to carry forward to '01 Jan' can be viewed on '31 Dec' and on '1 Jan' the new quota leaves for that year would get added to them and the total should be display on 'Jan 01', which is not happening.

Generation AbsQType Name Operation Generated Accrued Transferred

01.01.2012 61 Casual Quota CF = 0.00000 0.00000 0.00000

Kindly help with something else.

Regards

Vivek.

Former Member
0 Kudos

Hi vivek,

This should work. Can you Put BREAK Operation in the PCR ZCR3 and check.

Pradeep.

Former Member
0 Kudos

Hi Vivek,

Are you using Constant or Day balance to upadate the quota?

if you are using daybalance then retrieve the remaining quota and add that value to day balance time type on 1st jan.

if you are using Caonstant value then retrieve the reemaining quota and add to a time type and on 1st use UPDTQ nn.

it might be helpful.

Thanks.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Everyone,

Thanks for sharing you valuable knowledge. I have got the problem answered. There were some changes to be made in the assignment and placing of the time types and quota. I have used the same PCR and schema. It is now working.

Pradeep I tried the solution that was provided which is also working.

Regards,

Vivek.