Hi,
I suggest the following two Function Modules:
- DATE_CONVERT_TO_FACTORYDATE: to determine if the date is a working day according to a specified factory calendar; if not, then you can determine the previous or next working day;
- DATE_COMPUTE_DAY_ENHANCED: to determine the week day number of a date, i.e. the working day.
Best regards,
Sander