Hi,
You can use the FM : "HOLIDAY_CHECK_AND_GET_INFO", to check if the entered day is holiday.
1 - Check if the entered day D is Holiday - if yes, output error message ;
2 - Get the the 4th Day = D - 4 ;
3 - Check if the 4th Day is Holiday if yes decrement it by one, and so on for the next day.
Regards,
Sam,