Hi ,
Make use of the enhancement HRPTIM03 and check for the components
EXIT_SAPLHRLV_001 Customer Enhancement for Quota Generation: Applicability
EXIT_SAPLHRLV_002 Customer Enhancement for Quota Generation : Accrual Entitleme
EXIT_SAPLHRLV_003 Customer Enhancement for Quota Generation: Reduction Rule.
Make use of the required functional module here and include your logic here.
Hope this solves the issue.
Regards,
Mithun k