BAdi or Exit to restrict Absence Type
I'm facing a scenario where If an employee working on Sunday then he/she can take comp off for a day. But employee can only eligible to take comp off with in 3 days after Sunday. I have already created Absence Type Comp Off. Now I want to restrict it after 3 days from Sunday for the employees. Can you please tell me which BAdi or Exit I have to use to meet the requirement.