Skip to Content
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 –

  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

 

 

5 Comments
You must be Logged on to comment or reply to a post.
  • 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.

    1. It does not run the GR, but only creates the IBD. Can i create the IBD and the GR in one step?
    2. Is there any other FM for receiving without HU?

     

    Regards,

  • Below are my comments for the two questions

    1. It does not run the GR, but only creates the IBD. Can i create the IBD and the GR in one step?  – Setup the PPF /SCWM/PDI_02_GR_POST for immediate GR
    2. Is there any other FM for receiving without HU? – Not that i am aware of but you can create a HU (dummy number) and create & confirm put-away task to non-HU storage type.

     

    Thanks

    Ram Yella