Skip to Content
Technical Articles
Author's profile photo Jayant Pawar

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

 

 

Assigned tags

      11 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Pooja Sri Paneeru
      Pooja Sri Paneeru

      i love this blog very much, such nice blog with valuable information in one article with images. one can adapt information without having questions thank you . Topstore

      Author's profile photo Nobel michal
      Nobel michal

      Great blog, very informative. Thanks for shaing ACMarket

      Author's profile photo Oğuzhan Subaşı
      Oğuzhan Subaşı

      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,

      Author's profile photo Ram Yella
      Ram Yella

      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

      Author's profile photo rohit rahul
      rohit rahul

      Thank you very much for the informative article on production process orders and other major sides of the system how it works. topstorevip.fun

      Author's profile photo Get to Know
      Get to Know

      Very informative Article. Thanks for sharing

      i'm topstore.download acmarket.download

      Author's profile photo Appalanaidu Karaka
      Appalanaidu Karaka

      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?

      Author's profile photo Susanne Sehr
      Susanne Sehr

      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?

      Author's profile photo Deanna L Benda
      Deanna L Benda

      Thank you so much for the valuable information.

      Thanks

      Download happymod apk

      Author's profile photo SrinivasaRao Chejarla
      SrinivasaRao Chejarla

      @

      Can you help the configuration steps in s4hana
      Author's profile photo Osman Osman
      Osman Osman

      Thank you fantastic stuff.