Skip to Content
Technical Articles
Author's profile photo Sriram Rokkam

SAP EWM Technical made easy Part 1 –> Transfer additional Fields ERP to EWM for Inbound Deliveries

Scenario 1:  Creation of Inbound Delivery in EWM (From ERP Inbound Delivery ).

  1. When an Inbound delivery is created in ERP (VL31n), the data from ERP delivery is passed to the Function module /SCWM/INB_DLV_SAVEREPLICA to create inbound Notification / Inbound delivery in decentralized or Embedded EWM system.
  2. Below given Function Module will be called remotely and the same can be seen in Inbound Queue with transaction code SMQ2.


Scenario 2: Sending Additional Fields to EWM Inbound Delivery (From ERP Inbound Delivery).

How to send additional information from ERP to EWM system while creating Inbound delivery in EWM System (both Embedded and Decentral)?

  1. The Function module /SCWM/INB_DLV_SAVEREPLICA will be called while creating the EWM Inbound Delivery Notification.
  2. Implement BADI “SMOD_V50B0001” with method EXIT_SAPLV50K_005.

3. In the above said exit, use the importing parameters for fetching the required data and pass those values to the extension tables which are changing.

4. Use Extension1 with structure BAPIEXTC for passing the unstructured data (long text)

5. Use Extension2 with structure BAPIEXTC for passing the structured data (values for data elements).

Scenario 3: Receive Additional data into EWM system (to replicate tables from Scenario 2).

  1. Use Enhancement spot /SCWM/ES_ERP_MAPIN, Badi: /SCWM/EX_ERP_MAPIN_ID_SAVEREPL for fetching the tables.

2. These extension tables ET_EXTENSION1 & ET_EXTENSION2 acts as a place holders for the values that are passed in the user exit in scenario 2.

There is also possibility to send values from EWM system to ERP system along with inbound delivery confirmation upon, goods receipt or Inbound delivery cancellation in EWM. I will explain the technical flow in my next blog.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Edwin Kulandairaj
      Edwin Kulandairaj

      Good One.Thanks for the Blog Sriram.


      Author's profile photo Ashwin Jose
      Ashwin Jose

      Detailed Explanation with screenshots.

      Can you also share the BADI for EWM to ERP Deliveries.

      Author's profile photo Shirsha Mitra
      Shirsha Mitra

      Thanks Sriram,

      Very informative content with detailed screenshots.I have a similar requirement and it helped me a lot.

      Author's profile photo Markus Vogel
      Markus Vogel

      Hey Sriram,

      good article. you mentioned in the last sentence that you also wanted to write a blog about the reverse scenarios: capturing custom fields in EWM and transferring them back to ERP as part of the GR posting. can you share information regarding that?

      Author's profile photo Chandra Shekar Solleti
      Chandra Shekar Solleti

      Hey Sriram, its a good blog.


      Author's profile photo Tejas Wani
      Tejas Wani

      Hi Sriram

      Thank you for your article.

      Requesting you to share information regarding capturing custom fields in EWM and transferring them back to ERP as part of the GR posting.


      Thank You


      Tejas W