cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

production orders at work center using cois_select_order_data_read

Jerin
Discoverer
0 Kudos
644

I need to pull production orders at a specific workcenter, but I cannot seem to find any success using the cois_select_order_data_read fm. Any suggestions?

Accepted Solutions (0)

Answers (1)

Answers (1)

janbuchmann
Contributor
0 Kudos

It would be helpful, if you could provide the input parameters that you used.

In general, use IV_PROD_ORDER_SEL = 'X' and IS_OBJECTS_TO_READ-HEADER = 'X'. Then use the internal ID of your workcenter in CT_IOOPER-ARBID. This should return the relevant oders in CT_IOHEADER.

Jerin
Discoverer
0 Kudos
I have mainly been using IV_PLANNED_ORDER_SEL= X, IS_OBJECTS_TO READ = X, and IT_STATUS_HDR = CNF X. It seems like whenever I try to use the workcenter id in CT_IOOPER-ARBID, CT_IOHEADER returns orders with other workcenters
janbuchmann
Contributor
0 Kudos
Well, you asked about production orders which is why I suggested IV_PROD_ORDER_SEL = 'X'. You've now mentioned IV_PLANNED_ORDER_SEL= X which is for selecting planned orders instead. Planned orders technically don't have a workcenter. So, unless you are dispatching planned orders on the capacity planning board or unless you are in a REM environment, you will not succeed.
Jerin
Discoverer
0 Kudos
When I tried your suggestion with the production order and work center id in CT_IOOPER, I am recieving over 114000 entries that don't seem to be tied to the workcenter. Do you have any suggestions for how I can possibly reduce or filter these CT_IOHEADER results further