Hi,
This PCR has been written based on Relavant day and your QUOTA function is not commented. Its used in 1020 line.
What i am saying whatever time type are you using for quota generation for that check all the necessary configutaion step.
1. ESG grouping for Absence Quotas
2. Base entitlement
3. Generation rule.
4. Check any Contract type has been assigned in Generation Rule in Applicability rule in earliest accrual field.
Check LIMIT function under that check ZES and SALDO table. There have your time type is generating based on generation rule.
Regards,
Sankarsan