terça-feira, 16 de janeiro de 2024

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 –

  1. Standard RF consumption and receiving transaction
  2. NWBC Consumption by Production transaction
  3. 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.

  1. 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

  1. 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


Source: https://blogs.sap.com/2020/04/07/ewm-production-consumption-and-goods-receipt-against-production-process-order-from-external-system/

Nenhum comentário:

Postar um comentário