Technical Articles
EWM Production Consumption and Goods receipt against Production/Process order from External System
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
Hi Jayant,
Thanks for sharing.
I am using /SCWM/IF_API_MFG_RECEIVING, and i would like to ask 2 question if it is ok.
Regards,
Below are my comments for the two questions
Thanks
Ram Yella
I have similar kind of requirement in my Project. is there any Standard IDoc type/ Message type to get the data from MES system for EWM Production Consumption?
First of all thanks for the Blog post.
We are testing the API/Function module for GR reversal and it works perfectly if we hand over the EWM internal HU. However we do not get it to work with an external identification for the HU (saved in table /SCWM/HU_IDENT). Is this a bug or is it a handling error on our side?
@