Requirement –
To post the goods issue of components and Goods receipt of final product against production order/process order in EWM from External system (e.g. MES System).
Overview –
To post the goods movement as close as possible to real time, EWM provides 3 options for consumption -
- Standard RF consumption and receiving transaction
- NWBC Consumption by Production transaction
- Recording goods movement (consumption or Goods receipt) by an external system and interfacing to EWM using APIs (Application Programming Interface)
Solution –
To post the goods issue of components and Goods receipt of final product against production order/process order from external systems (e.g. MES system) or customer coding, an API (Application Programming Interface) for Consumption is provided from EWM 9.2.
- API for Consumption and Reverse Consumption:
- Interface /SCWM/IF_API_MFG_CONSUMPTION is used for both, consumption and reverse consumption. It can be used to write custom program to post goods issue e.g. the goods issue from an external system like a Manufacturing Execution System (MES).The interface contains the following methods:
POST_CONSUMPTION and
REVERSE_CONSUMPTION
- To use this API, processing routine for the idoc must be set up calling a table containing following inputs parameters.
i. Interface to Post Consumption of Goods from Production:
Method - POST_CONSUMPTION
ii. Interface to Reverse Consumption of Goods from Production:
Method REVERSE_CONSUMPTION
- API for Goods Receipt and reverse Goods receipt of final product:
- Interface /SCWM/IF_API_MFG_RECEIVING is used for both, Goods receipt and reverse goods receipt. It can be used to write custom program to post goods receipt in EWM. The interface contains the following methods:
RECEIVE_HU and
REVERSE_HUS
- To use this API, processing routine for the idoc must be set up calling a table containing following inputs parameters.
i. Interface to Post Goods receipt from Production:
Method - RECEIVE_HU
ii. Interface to Reverse Goods Receipt from Production:
Method - REVERSE_HUS
Hence this way you can use ready to use EWM APIs for Consumption of components and Goods receipt of Finished products from external system
Thanks for reading. Hope you would like this blog
Jayant Pawar