2006 Jul 28 3:58 PM
Hi All,
I am trying to get the total number of holidays from my factory calendar in a month(or a given date is a holiday or not). I am getting only public holidays but not saturdays and Sundays. Because my factory calendar is designed to have Saturdays and Sundays as workdays. For example for July, I got the number of holidays as 1 because of July 4th. So how can I get the number of holidays in a month or how can I find whether a given date is a holiday or not? I am referring all this in US calendar times.
Thanks for the great help?
Sobhan.
Hi All,
I am trying to get the total number of holidays from my factory calendar in a month(or a given date is a holiday or not). I am getting only public holidays but not saturdays and Sundays. Because my factory calendar is designed to have Saturdays and Sundays as workdays. For example for July, I got the number of holidays as 1 because of July 4th. So how can I get the number of holidays in a month or how can I find whether a given date is a holiday or not? I am referring all this in US calendar times.
Thanks for the great help?
Sobhan.
2006 Jul 28 4:05 PM
2006 Jul 28 4:06 PM
hi,
u can use this function module
DATE_COMPUTE_DAY----
compute the working day ( that is 1st , 2nd ..day of the week )
this FM will compute day of the week
if the day is 6th and 7th then u say it is holiday.
if it not then check u r factory calender for the holiday.
in the same manner u can check all the days in a Month
HOLIDAY_CHECK_AND_GET_INFO -
check holidy
2006 Jul 28 4:10 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |