Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching number of working days

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

sachin_mathapati
Contributor
0 Kudos

Hi ,

Try this FM.

WDKAL_DATE_ADD_FKDAYS u2013 Number of working days in a date range

Regards,

Sachin M M