logo

Are you need IT Support Engineer? Free Consultant

Batch Management in SAP LGM

  • By Sanjay
  • 30/07/2026
  • 5 Views



Batch Management is used to track and manage materials in batches (lots) that share the same characteristics, such as Shelf life expiration date, Batch status, Country/region of origin, Date of manufacture etc.

This is needed to ensure Traceability, Quality Control, Shelf Life and Expiry Management, Inventory Differentiation, Warehouse and Production operations and also it helps during product recalls and are needed across a variety of Industries like Pharmaceuticals, Food & Beverage, Chemicals, Cosmetics, Medical Devices, Agriculture/Seeds and Manufacturing with lot-controlled materials.

Considering the importance of this feature SAP has introduced it in SAP LGM also. This blog covers an overview of how the functionality is designed as per current development.

We will cover it under following topics

  1. Batch Creation
  2. Stock Upload without Purchase Order
  3. Logistics Processes with Batch Management (Inbound & Outbound)
  4. Exception – How to handle scenario with missing Batch in S/4 document.

Lets start with the first topic

Batch Creation

  1. Batch Creation in S/4 system and transfer to LGM
    • Activate the Product as Batch Relevant and Define Batch in S/4 with key details like Date of Manufacture / SLED etc.

Saurabh_Goyal_0-1784519163986.Png

Saurabh_Goyal_1-1784519163989.Png

  • Within SAP LGM system using the App – Manage Replication Configuration, create a Replication variant that will be used for replicating batches from S/4 system to LGM

Saurabh_Goyal_2-1784519163990.Png

Saurabh_Goyal_3-1784519164004.Png

  • Using the App – Schedule Batch Replication configure the job to schedule the replication. This can be based on a schedule or even immediate

Saurabh_Goyal_4-1784519164005.Png

Saurabh_Goyal_5-1784519164008.Png

  • Once the Batches are replicated, they can be seen using the App – Display Batches

Saurabh_Goyal_6-1784519164014.Png

Let's now look at the Stock upload process without the Purchase Order

The Process starts with MIGO based GR posting in S/4 system. This creates Delivery in the S/4 system with batch details.

Saurabh_Goyal_7-1784519164017.Png

Saurabh_Goyal_8-1784519164017.Png

Based on the set up configurations a Logistical Demand is created and the batch details are available at the item level.

Saurabh_Goyal_9-1784519164023.Png

The corresponding Inbound Warehouse request also contains the batch details and once the warehousing process is completed the stock is updated back into S/4 system.

Saurabh_Goyal_10-1784519164029.Png

 

Saurabh_Goyal_11-1784519164047.Png

 

Let's now look at the Inbound and Outbound process:

Inbound Delivery based Batch Process

Once the Batch has been created in S/4 system and replicated in LGM, create the PO with the Batch Managed Product. The Batch details can either be provided in the PO or in Delivery.

Saurabh_Goyal_12-1784519164050.Png

Create Delivery for the PO with batch details.

Saurabh_Goyal_13-1784519164053.Png

On saving the Delivery, Logistical Demand is created in SAP LGM and the Batch Details are also seen in the document item.

Saurabh_Goyal_14-1784519164058.Png

 

 

The details also flow thru into the Inbound Warehouse request which can then be processed further to complete the warehouse processing.

Saurabh_Goyal_15-1784519164065.Png

 

Outbound process with Batch Management

The Outbound process starts with the creation of a Sales order and the Outbound Delivery within S/4 with a Batch managed product and Batch details.

Saurabh_Goyal_16-1784519164070.Png

Saurabh_Goyal_17-1784519164075.Png

Once the delivery is distributed it creates a Logistical Demand in SAP LGM. The Batch can be seen here at the item level.

Saurabh_Goyal_18-1784519164082.Png

In the above scenario this starts the warehouse processes and the Batch details flow into the Outbound Warehouse Request and also the Packing Work Center as can be seen below:

Saurabh_Goyal_19-1784519164088.Png

Once the Packing is completed, we can use the Monitor Handling Units app to view the batch details in the Handling Unit.

Saurabh_Goyal_20-1784519164093.Png

Once the Warehouse processes are completed the Goods Issue is posted and the stock details for the Batch Managed Product are updated in the S/4 system.

Saurabh_Goyal_21-1784519164099.Png

Saurabh_Goyal_22-1784519164107.Png

 

Now let's look at the LGM system behavior in the case where we have Missing Batch Details in a Delivery with Batch Managed Product

In this scenario we have a Batch Managed Product but have not provided the batch details in S/4 while creating the delivery. The Delivery is distributed to the S/4 system and is not editable in S/4 system.

Saurabh_Goyal_23-1784519164110.Png

Since the product is Batch Managed with missing details, the LGM system validates the data and the Logistical Demand is created with an Error Status as shown below.

Saurabh_Goyal_24-1784519164115.Png

To correct the issue, this Logistical Demand can be “Cancelled”.

Saurabh_Goyal_25-1784519164118.Png

Saurabh_Goyal_26-1784519164120.Png

The Cancellation triggers an Integration task to “Decline” the Inbound Delivery in this case which then updates the Delivery in S/4 system.

Saurabh_Goyal_27-1784519164123.Png

Saurabh_Goyal_28-1784519164126.Png

The system then updates the Good Movement Status to “Completed” with a “Delivered Quantity” as “0”.

Saurabh_Goyal_29-1784519164129.Png

We can now create a new Inbound Delivery with the required batch details and then transfer the same to LGM correctly with the Batch details.

Saurabh_Goyal_30-1784519164132.Png

Saurabh_Goyal_31-1784519164132.Png

Saurabh_Goyal_32-1784519164134.Png

Saurabh_Goyal_33-1784519164138.Png

That's all on the topic of Batch Management in SAP LGM.

Hope this helps.

For More Details on this topic, please refer to the below Links

What's New Viewer – SAP Logistics Management | SAP Help Portal

Batch Management | SAP Help Portal

Batch Replication | SAP Help Portal

Display Batches | SAP Help Portal





Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Chat with us on WhatsApp!