Technical Articles
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 ).
- 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.
- 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)?
- The Function module /SCWM/INB_DLV_SAVEREPLICA will be called while creating the EWM Inbound Delivery Notification.
- 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).
- 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.
Good One.Thanks for the Blog Sriram.
Detailed Explanation with screenshots.
Can you also share the BADI for EWM to ERP Deliveries.
Thanks Sriram,
Very informative content with detailed screenshots.I have a similar requirement and it helped me a lot.
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?
Hey Sriram, its a good blog.
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
Regards,
Tejas W