How to integrate SAP ERP with EWM: tips and recommendations

If you’re like me, you've probably faced the challenge of getting your ERP system to play nice with your EWM system. It can be difficult from the beginning, but once you figure it out, it makes everything run so much smoother. I’ve got you covered with some simple steps to make the integration smooth and stress-free.


How to Activate ERP-EWM Integration

To get things rolling, you need to activate the integration between your ERP and EWM systems. It’s like flipping a switch—literally. You’ll find this switch in your system settings under:

  • Logistics Execution -> Extended Warehouse Management Integration -> Basic Configuration of the EWM Connection -> Edit EWM-specific Parameters

If you’ve got the right business function (LOG_LE_INTEGRATION) activated in an ERP system with Enhancement Package 3, this is where you do it. If you’re working with an older ERP version, the path is a bit different:

  • Logistics Execution -> Service Parts Management (SPM) -> Integrate SPM with Other Components -> Maintain Extended WM-Specific Parameters



Making Sure EWM and ERP Work Together

To ensure your EWM-managed warehouse and other warehouses or picking methods in ERP work well together, there’s a feature called "Delivery Split by Warehouse Number" that you’ll need to activate. This keeps everything organized by making sure items processed in EWM and other picking items don’t end up mixed together in the same delivery.


Tips for Goods Issue Processing

Once you’ve sent an outbound delivery to EWM for picking, you generally can’t change it anymore. But, if you need to make changes in ERP before it hits EWM, you can delay the distribution. Just tweak the settings for your warehouse number or delivery type.

Using CRM for sales orders? If you're doing direct deliveries, changes to sales orders can still flow through to the outbound delivery in EWM, as long as the delivery is still changeable.


Inbound Delivery Creation Scenarios

Option 1: Based on Purchase Orders

You can create inbound deliveries directly from purchase orders using transactions VL31N or VL34. Alternatively, you can use the IDoc DELVRY05 with the function module IDOC_INPUT_DESADV1.

Key Point: Once you distribute these inbound deliveries to EWM, you can't change them anymore in ERP. However, if you need to make changes before they hit EWM, you can delay the distribution.

Option 2: Using Transaction VL60

Another way to create inbound deliveries is through transaction VL60 or by using the IDoc DELVRY05 with the function module /SPE/IDOC_INPUT_DESADV1.

Key Point: These deliveries are sent immediately to EWM, but the good news is, they remain changeable in ERP after distribution. If you run into any errors, these deliveries can be saved with the status "On Hold," giving you a chance to fix things up. Plus, you get access to configurable validations and enrichments that only apply to this type.

Option 3: Automatic Creation

Finally, the system can automatically create inbound deliveries during specific processes like two-step stock transfers, transportation cross-docking, correction deliveries, or goods movements.

Key Point: These behave similarly to the deliveries created in Option 1. You can't delay their distribution to EWM, but that’s usually not a problem because these scenarios don’t typically require changes in ERP after the fact.


Handling Order BOMs and Invoicing

Order BOMs (Bills of Materials) work well with EWM if they’re defined as “kit-to-order” in the system. But, not all BOM types play nicely with EWM, so be sure you’re using the right one. Also, if you want to create invoices before the goods issue, make sure you’ve got the LOG_LE_INTEGRATION function activated—otherwise, this feature is only available through SAP CRM.


Route Determination and Cross-Docking

One thing to keep in mind: EWM doesn’t automatically pull the route determined in ERP, so plan your shipments accordingly. For more precise planning, let EWM handle route determination and scheduling.

If you’re into transportation cross-docking, you’ll need to configure route determination within EWM itself, especially if you’re using CRM for sales orders.


Recommendations for Stock Transfers and Replenishment

Two-Step Stock Transfers

If the receiving warehouse is managed by EWM , you’ll need to use a two-step transfer process. This is especially important when the goods receipt is posted using an inbound delivery.

Tip: Use the outbound delivery message SPED to create the inbound delivery instead of relying on the shipping notification IDoc. This method is generally more reliable. If you’re transferring handling units (HUs) between warehouses, ensure that you have at least activated the lean HU status update or the unique HU number assignment.

!!! But remember, with unique HU number assignment, cross-delivery handling units can’t be used.

One-Step Transfers: These are only feasible if the receiving warehouse isn’t EWM-managed. Otherwise, the inbound delivery required for goods receipt won’t be created, making the process impossible.


Stock Transfer Differences

During stock transfers, you might encounter quantity differences at goods receipt. You have two main options:

  1. Assign the Difference to the Carrier or Supplying Warehouse. In this scenario, a correction delivery is automatically created by the system, prompting EWM to check and adjust the stock accordingly.
  2. Post the Difference Directly. If the supplying warehouse isn’t EWM-managed, the system won’t create a correction delivery. Instead, it will immediately post a positive or negative quantity difference to the supplying storage location, depending on the nature of the discrepancy.

Note: The stock transfer differences process assumes that at least the receiving warehouse is EWM-managed since the reason for the deviation is communicated to ERP only in connection with an EWM system.


Recommendations for Working with Handling Units

When working with handling units (HUs) in an ERP-EWM environment, it's important to understand how to manage cross-delivery HUs, packaging material items, and handling units for held inbound deliveries.


Cross-Delivery Handling Units

Cross-delivery handling units are primarily used in ERP to transfer packaging information between EWM warehouses during a two-step stock transfer. However, ERP doesn’t fully support cross-delivery HUs, and you may encounter display restrictions in some transactions.


What to Do:

  • If you don’t need to transfer cross-delivery HUs to another EWM system, consider converting them to simple HUs during the transfer to ERP. To do this, go to the IMG activity: Extended Warehouse Management -> ERP Integration -> General Settings -> Set up Control Parameter for ERP Version Control in the supplying EWM system. In the detail view for the ERP system under Outbound Delivery, select the option "Cross-delivery HUs are communicated to ERP as normal HUs." This will send cross-delivery HUs as single delivery HUs, meaning the same HU number will appear multiple times in ERP, each assigned to the relevant delivery.

Note: You cannot use cross-delivery HUs together with a unique HU number assignment.

Tip: If you need to use cross-delivery HUs in two-step stock transfer processes and want to transfer all HU information to the receiving EWM warehouse, use the outbound delivery message SPED.

!!! Just be aware that cross-delivery HUs can’t be sent via the shipping notification IDoc DESADV to the receiving warehouse.


Packaging Material Items

If you want the packaging material used in stock to be part of your EWM deliveries, you can add these items manually.

Key Points:

  • This is possible for inbound deliveries, and as of Enhancement Package 3, also for outbound deliveries.
  • However, be cautious with goods movement-relevant packaging items in ERP inbound deliveries that exist only in ERP (i.e., they aren’t EWM-relevant). These can cause stock discrepancies between ERP and EWM, particularly when they are automatically created in ERP during an HU-related update from EWM.


Handling Units for Held Inbound Deliveries

When you create an inbound delivery of the second type (using VL60, for instance) in ERP, and an error occurs, the system can save the delivery in an "On Hold" status. However, there's a catch: the system won’t save the handling units for these inbound deliveries because the packaging function was designed only for validated, error-free deliveries.

What to Do:

  • You’ll need to manually add the packaging information after completing the inbound delivery during the goods receipt in EWM.


Jeff Lu

Senior SAP Business Application&Integration Consultant

9mo

that's so nice contribution!!

Like
Reply

To view or add a comment, sign in

Others also viewed

Explore topics