Hi,
You can get the output based upon the hiring date which you will maintain in IT41. In the quota base entitlement you will maintain day time type and select the accrual period.
In the constant table maintain two constant as 15 & 17.
Now your pcr will structure like below
ZTST
*
****
HRS=YDAADJ
HRS?1
<
LEAVE
=
HRS=CZQUOT
ADDDB1000Z
>
HRS?2
<
LEAVE
=
HRS=CZQUOT
ADDDB1000Z
Continue this pcr in the same way.
Here 1000 is the day type which is using in the quota base entitlement. ZQUOT is the constant of 15 in the constant table. & DJ is the date of joining date type in IT41.
Use this PCR with ACTIO function before CUMBT function.
Check and let me know.
*** Now your previous query is not matching with scenario.
Regards, Sankarsan