Hi Sankarsan & Anil,
The tricky part is how you ensure employee is ON LEAVE on SAT and SUN ? Otherwise the leave is NOT consecutive anymore (if you are expecting to validate consecutive CALENDARDAY leave).
If you consider consecutive WORKING DAY leave, it is possible to carry value from Fri to Mon, it is possible but have to use at least 2 time types: please refer the document I mentioned earlier with below solution:
Solution: if you want to accumulate from date X to date Y (example from Mon to Sun every week), 3 steps below must be done:
1. creating 2 Time types (ZV01 & ZV03) with all configurations are 1 in V_T555A
2. when the date in TE is X (eg Mon) => add MZV01 into ZV03 (note: must be minus current value in ZV03).
3. when the date in TE is Y (eg Sun) => simply assign ZV02 = DZV01 + MZV01 - MZV03 => output is accumulate from X to Y (from Mon to Sun).
And let's try the LzzzzA, I did NOT test so not sure but the above I tested already, you can re-use for your requirements. Good luck