Hi Rohan,
You should add the PCR before function CUMBT. This is needed so that the time types generated by you in the PCR moves to Table ZES and this will be read by function QUOTA to generate the quotas.
I hope this resolves your issue.
Thanks and regards,
Vivek Barnwal