09-11-2008 11:16 AM
Hai Friends,
I want to fetch the number of working days for a Plant and for a period.
Plant: 1100
Date: 01.06.2008 to 30.06.2008
Where can i get this. Is there any FM.
09-11-2008 11:23 AM
Hi ,
i think u need to calculate this fig, based on the no.of holidays.
HOLIDAY_CHECK_AND_GET_INFO--> u can use this kind of FMs to get list of holidays
regards
Prabhu
09-11-2008 11:24 AM
Hi,
You can find the no of holidays in a year using the FM : HOLIDAY_GET, by giving the input country/factory calender(Eg: US)
Then manuall write the logic(Using Loop and read for date range...set a counter) count the no of holidays in between the date range,
Subtract the holidays from the date range = No of working days
Regards
Shiva
09-11-2008 11:27 AM
Hi ,
Try this FM.
WDKAL_DATE_ADD_FKDAYS u2013 Number of working days in a date range
Regards,
Sachin M M