cancel
Showing results for 
Search instead for 
Did you mean: 

Fields Of WIP

Former Member
0 Kudos

Hi All

I want to create bar chart of WIP for Item, Operation, Shop Order, Work Center. For that I need to know what are all the fields to be used to get each WIP data.

Please share your ideas as soon as possible. Thanks in advance 

Regards

Glory

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can call the BAPI BAPI_PRODORD_GET_LIST to get the list of production orders in the system. This bapi is limited in the values you can filter the production orders down by, we made a custom BAPI that allowed us to filter the production orders down by system status. You may want to consider this as looking through all your production orders can be taxing on the mii system.

You then take each production order and use BAPI_PRODORD_GET_DETAIL

This bapi will basically give you everything you need:

Item - Depends if you mean the component or header material look in the header table or the components table.

Operation and Work Center - We figure this out by finding the first non confirmed operation. Confirmed operations have CNF in the system status. Operation and work center are both in the operation table.

Shop Order - The production order is on the header