Processing Batches

Objectives

After completing this lesson, you will be able to:
  • Create batches in inbound processes.
  • Select batches in outbound processes.

Batch Management

In various industries, particularly in the process industry, you have to work with homogenous partial quantities of a material or product throughout the logistics quantity and value chain.

Four photographs showing: a row of bottle water, medicinal tablets, oil drums, and a stock manager checking a grocery shelf.

There are various reasons for this, including the following:

  • Legal requirements:

    For example, the guidelines set out by Good Manufacturing Practice (GMP) or regulations on hazardous material.

  • Defect tracing, callback activities, and regression requirement

  • The need for differentiated quantity-based and value-based Inventory Management

    For example, due to heterogeneous yield/result qualities or varying constituents in Production.

  • Differences in usage and the monitoring thereof in materials planning in Sales and Production

  • Production or procedural requirements:

    For example, settlement of material quantities on the basis of different batch specifications.

A batch describes a quantity or partial quantity of a certain material or product that has been produced according to the same recipe, and represents one homogenous, non-reproducible unit with unique specifications.

Batches are managed centrally as master data in an SAP ERP system. The SAP ERP system distributes batches to all connected SAP EWM systems through the Core Interface (CIF) or through an IDoc, depending on the SAP EWM release. You can also create and change batches in the SAP EWM system. Batch characteristics describe the technical, physical, and/or chemical properties of a batch, and are stored in the classification system.

Note

In an SAP S/4HANA embedded EWM landscape, batches are not distributed and the batches do not exist additionally in EWM as previously described. The process in general does look the same, but the batch exists only once.
An overview of the different links between batches in ERP and EWM, SAP S/4HANA with embedded EWM, and ERP with decentralized EWM on SAP S/4HANA.

Note

The image showing the batch distribution is simplified, only showing the distribution from ERP (which is always the leading master system) to EWM. Batches can be created and changed in EWM. But the distribution of new batches or changes in batches from EWM to ERP does not use the same distribution models as from ERP to EWM (EWM always uses qRFC for the distribution).

Batches in EWM

Batch master data is also available in the SAP EWM system, but looks different depending on the SAP EWM system.

In an SAP S/4HANA-based decentral EWM system, you have the same transactions as in an ERP system. It depends on the SAP S/4HANA release if you can only display, or if you can also create and change batches with the standard transactions. For further details, see the note 2808143 - Overview: Batch management, decentralized EWM SAP S/4HANA.

In a SCM based decentral EWM system, you have a separate transaction for the display, maintenance, or creation of a batch. From the SAP EWM Index screen, choose Extended Warehouse ManagementMaster DataProductMaintain Batches for Product.

As described in the previous section, in an SAP S/4HANA embedded EWM, no separate batch exist in EWM.

Batch Level

The batch level, that is, the level on which the batch is uniquely identifiable, can be set in ERP on different levels.

  • Plant level:

    The batch number is unique in connection with the plant and material.
  • Material level:

    The batch number is unique in all plants associated with the material.
  • Client level:

    The batch number is unique in the entire client. A batch number can only be assigned once in the client. You cannot assign the same batch number for different materials.

SAP EWM supports all the different batch levels.

Batches in Inbound Processes

When you receive material that is batch relevant, a batch must be created before the goods receipt can be posted (as the batch is part of the stock information). The batch creation can happen at various times.

The batch can be created before you create the inbound delivery in ERP and directly entered in that inbound delivery. You can also create a batch in ERP during the creation of the ERP inbound delivery (customizing must be set up accordingly).

With an active CIF model, the batch data is immediately distributed and the batch information of the ERP inbound delivery is also available in the SAP EWM inbound delivery.

For an SAP S/4HANA based decentral EWM the distribution is done through an IDoc. While this usually requires the evaluation of change pointers and the scheduling of the transfer of this IDoc, the SAP Note "2881061 - Decentralized EWM: Enhanced Settings for ALE Data Transfer" describes what to implement to overcome this limitation.

A batch is created in ERP and the batch data is immediately distributed to EWM.

Batch Creation in EWM Inbound Delivery

The batch can also be created in SAP EWM. In that case, it is automatically created in the background in ERP using a remote function call.

In a SCM based EWM the transaction /SCWM/WM_BATCH_MAINT can be used to create, change, and display batches. This transaction is not available in an SAP S/4HANA based EWM.

The batch can also be created in SAP EWM in the inbound delivery itself. In this case, in the standard, only the standard characteristics production date, shelf life expiration date, and country of origin can be maintained directly. Other characteristics must be maintained in the batch master record. This can of course be done in ERP. In a SCM based EWM it can be done with the transaction /SCWM/WM_BATCH_MAINT. Batch characteristics can also be changed during quality inspection in SAP EWM, independent if it is SCM or SAP S/4HANA based.

From SAP S/4HANA 2020 FPS01 it is also possible to change or create the batch in the decentralized EWM system with the standard batch transactions.

Batch Creation in EWM, with the inbound delivery information maintained in ERP.

Batches in Outbound Processes

You can assign batches to be sold or picked manually at certain points, but it can be done automatically using batch determination, which uses condition technique. This enables you to define your own search strategies by choosing the relevant key fields from the business transaction to search for batches. For example, you choose the combination of customer and material and then specify the criteria for batch selection.

Batch Determination in Sales Orders

The batch can be determined automatically in the sales order. This batch is then copied into the ERP outbound delivery and the SAP EWM outbound delivery order and picking is limited to quants that are part of this batch. However, in a sales order, batch splits are not possible. This means that the system assigns one batch only. If this batch does not have the required quantity, the rest of the sales order is never fulfilled.

Batch Determination in Deliveries

During a batch determination in a delivery, the system always creates a batch split. The system can select as many batches as are required to fulfill the requested quantity, as long as the batch determination criteria are fulfilled. In the case where not enough stock is available in the right batches, the sales order is still open and can be fulfilled later when new batches with the required criteria are available.

Batch Determination with SAP EWM

From a warehouse point-of-view, a batch assigned in the ERP outbound delivery may not be the best choice, because the sort criteria for the batch determination do not reflect any picking strategies. SAP EWM does not have batch determination functionality. However, the interface can be set up so that ERP batch determination in the outbound delivery is only being used to determine the batch determination criteria that needs to be fulfilled, without assigning a batch. These criteria are then passed on to SAP EWM and used to determine the best quant from a warehouse picking strategy, while fulfilling the batch determination requirement.

Batch determination outbound from ERP to EWM where an outbound delivery order links to a warehouse task.