cancel
Showing results for 
Search instead for 
Did you mean: 

FM CR_CAPACITY_AVAILABLE_TIMES doesn't consider holiday calendar

itzemuetze2
Explorer
0 Kudos

Hi Experts !

We currently try to implement the function module CR_CAPACITY_AVAILABLE_TIMES to calculate the capacity per shift. I know that this FM is not released by SAP. Nevertheless it might be that some of you gathered some experience in implementation of this FM.

My question is about this scenario:

- we maintained 8th of June 2023 as holiday in the factory calendar

- we use this factory calendar in the capacity's shifts and intervall setting (6 hours per shift, 3 shifts per day)

- in scheduling we don't use the 8th June as working day (this is SAPs expected behaviour)

- result of the FM is

P KAPID VE DATUM BEGZT ENDZT EINZT EINZTS KAPAZ KAPAZS PDAYS NGR E M S PAUSE

10003489 01 07.06.2023 06:00:00 14:00:00 21.600 21.600 21.600 21.600 1 075 X 0

10003489 01 07.06.2023 14:00:00 22:00:00 43.200 21.600 43.200 21.600 1 075 X 0

10003489 01 07.06.2023 22:00:00 24:00:00 48.600 5.400 48.600 5.400 1 075 X 0

10003489 01 08.06.2023 00:00:00 06:00:00 64.800 16.200 64.800 16.200 1 075 X X 0

10003489 01 10.06.2023 24:00:00 24:00:00 64.800 16.200 64.800 16.200 1 000 0

As you see the FM considers our holiday on 8th of June only partially 🙂 according to the function module we have 6h capacity on this holiday. This seems a bit strange as there should be zero capactiy on this day in my understanding.

There are only 3 Import-Parameters, KAPID, DATUV, DATUB.

Maybe, as this FM is not officially released, there is a bug in it or we miss anything in understanding the result.

Does anyone have an idea ?

Accepted Solutions (0)

Answers (0)