cancel
Showing results for 
Search instead for 
Did you mean: 

cm01 logic- technical details

raju_123
Participant
0 Kudos
738

Hi, we need to develop a report some thong like cm01 to show available capacity and required capacity for each work center for each month. can we have any FM to fetch available capacity and required capacity for each period of time? or any table level details. please suggest.

Accepted Solutions (0)

Answers (2)

Answers (2)

raju_123
Participant
0 Kudos

Thanks Caetano,

Is there any FM also for capacity required?

in case you know the tables related with cm01 tcode, please share.

Thank you very much.

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Try with CY_BT_KBED_SEL_READ.

Regards,
Caetano

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Here are some FMs used by the standard SAP transactions:

- CY_PRIMARY_SELECTION - Function module for selection of orders for the work center

- CR_CAPACITY_AVAILABLE_PERIODS - Reads the available capacity from work center

Regards,

Caetano

raju_123
Participant
0 Kudos

Dear Caetano,

i am trying to use fm CR_CAPACITY_AVAILABLE_PERIODS for available capacity. in input parameters- levels 00, objid_a (entered the objid from crhd table) and executed. ouput showing as 0 entries where as in cr03- capacity view i can see as 18 hrours (operationg time * no of capacities). please advise how to get this available capacity thru function module. please specify the input parameters. thanks.

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Set a break-point in this transaction and then call CM01. You will see which parameters are used and you can use the same in your selection.


Regards,
Caetano