cancel
Showing results for 
Search instead for 
Did you mean: 

Calculating Working days between 2 dates SAP SAC

raed_almuzail
Explorer
0 Kudos
704

Dears,

How we can calculate total working days between 2 dates

Below is example:

 

Order#StartEndTotal daysTotal Working daysTotal Working days
Order00107-04-2418-04-24126Holiday:
--9 Apr 2024
--10 Apr 2024
--11 Apr 2024
Weekend:
--12 and 13 Apr 2024
Order00205-05-2411-05-2475Weekend:
--10 and 11 May 2024
Order00319-05-2423-05-2455 

Accepted Solutions (0)

Answers (1)

Answers (1)

RaymondGiuseppi
Active Contributor
0 Kudos

So you want to calculate working days and exclude week-end.

  • How are defined your available factory calendar(s)
  • Look at Fm such as HR_99S_INTERVAL_BETWEEN_DATES, DATE_CHECK_WORKINGDAY, HOLIDAY_GET or DAY_ATTRIBUTES_GET

 

raed_almuzail
Explorer
0 Kudos
Thanks for your reply,
raed_almuzail
Explorer
0 Kudos
We need that to be calculated in SAC level