Page tree
Skip to end of metadata
Go to start of metadata

Batch management


In various industries (particularly the process industry) it is necessary to work with homogenous partial quantities of a material throughout the logistics quantity and value chain. Batch = quantity or partial quantity of a certain material that has been produced according to the same recipe, and represents one homogenous, non- reproducible unit with unique specifications. For example the production of a medicine use the same ingredients but each production could have specific characteristics.


  • Legal requirements (hazardous material)
  • Defect tracing, callback activities, and regression requirement
    Production or procedural requirements (for example, settlement of material quantities on the basis of different batch specifications).


Batch determination could be performed in the following applications:

  • Inventory
  • Production Order
  • Process Order
  • Sales and Distribution
  • Warehouse Management


In order to define a batch you need a


  • Characteristics (CT04)
  • Class Definiton (CL02)
  • Material




Customizing of batch determination


In order to determine a batch automatically it is necessary to maintain the batch determination. The batch determination is using the condition technique to define  the access.


  • Condition tables  (combinations of fields that form the key of the batch search strategy)
  • Access sequences (standard SD01= customer/material)
  • Strategy types
  • Search strategies
  • Assignment of batch search procedure / business transaction
  • Selection classes (define according to which criteria the batch should be selected) 
  • Sort rules



  1. Create Condition Table 
    V/C7 (SPRO > Logistics General > Batch Management > Batch Determination & Batch Check > Condition Tables > Define Sales & Distribution Condition Tables)
  2. Create Access Sequences
    V/C2 (SPRO > Logistics General > Batch Management > Batch Determination & Batch Check > Access Sequences > Define Sales & Distribution Access Sequences)
  3. Create Batch Search Strategy Types
    - V/C1 (SPRO > Logistics General > Batch Management > Batch Determination & Batch Check > Strategy Types > Define Sales & Distribution Strategy Types)
    - Define:
       > Selection Class: Class (different from batch class) which contains only those characteristics using which batch must be selected.
       > Sort Sequence: Using which characteristics, batches must be sorted
       > Batch splits: number of allowed batch splits during batch determination
    - Assign: Access Sequence to Batch Search Strategy
  4. Create Batch Search Procedure
    V/C3 (SPRO > Logistics General > Batch Management > Batch Determination & Batch Check > Batch Search Procedure Definition > Define Sales & Distribution Search Procedure)
    Assign: Batch Search Strategies to the Procedure
  5. Assign the Search Procedure
    V/C5 (SPRO > Logistics General > Batch Management > Batch Determination & Batch Check > Batch Search Procedure Allocation and Check allocation > Allocate SD Search Procedure & Activate Check)
    Assign: Sales Area + Sales Document Type
    (warning) For deliveries which are not referring to sales order (e.g. replenishment delivery, delivery without reference...), assignment is done to default Sales Doc Type (TVLK-DAART).
  6. Automatic Batch Determination Flag
    V/CA (SPRO > Logistics General > Batch Management > Batch Determination & Batch Check > Activate Automatic Batch Determination in SD)
    For Delivery, it's customized in Item Category(TVLP-CHAUT).


Batch split in the delivery


In delivery, it is possible to assign multiple batches to one item via batch split.


Batch determination in the delivery:

  • Use automatic batch determination
    • maintain batch search strategy
    • maintain ‚automatic batch determination' on item category
  • Trigger the batch determination manually
    • use Button ‚batch determination'
  • Enter batch manually


How batch split looks like.


Relevant fields in delivery


Search procedure for batch determination (T683C)



Batch management indicator (internal)



Batch management requirement indicator

When a material is batch managed, both LIPS-XCHPF and LIPS-XCHAR will be filled.


Batch number



Higher-level item of batch split item

When an item has LIPS-UECHA filled, system won't display it until you click the expand button on its main item


Cumulative batch quantity of all split items
(in base unit)

  • This field accumulates the quantity of all its batch split items (accumulation of LIPS-LGMNG where LIPS-UECHA = this item's number).   
  • Only main item has value in this field.
  • Once an item has value in this field, system will display the "Expand" button for this item.


Cumulative gross weight of all batch split items



Cumulative net weight of all batch split items



Cumulative gross weight of all batch split items



Weight unit



Volume unit



Leading unit of measure for completing a transaction



How to update batch in delivery


    1. Copy from preceding document (SO or STO). If the batch is copied from preceding document, it cannot be changed in delivery.
    2. Set batch or batch split in delivery (VL02n).
    3. Set batch in WM transfer order. The batch will be copied to delivery when confirming TO. Batch split occurs when:
      1. Partial quantity is picked.
      2. Or several batches are picked.
    4. Update batch via idoc (WHSCON / SHPCON, base type DELVRY0*)
      Verification of batch split items from the subsystem If batch split items occur in the central system, the original item must not be reported. Instead, the new items are transferred as follows:
      E1EDL24-POSNR = Item number of batch split item
      E1EDL24-HIPOS = Item number of main item
      E1EDL19-QUALF = 'BAS'

      If there is no batch splitting, the batch for the main item can be verified.
      E1EDL24-POSNR = Item number of batch split item


Interface between LE-SHP & LO-BM


Main Program     SAPFV50D

Source code of   FV50DF0C



               i_komkh    = komkh

               i_komph    = komph

               x_bdcom    = bdcom


               x_bdcom    = bdcom


               i_bdbatch  = ybdbatch

               e_bdbatch  = xbdbatch

               i_mdva     = ymdva

               e_mdva     = xmdva

               i_atpcsx   = yatpcs

               e_atpcsx   = xatpcs



Parameters from LE-SHP to LO-BM:

KOMKH (header Communication Structure) → for strategy accessing using condition technical

KOMPH (item Communication Structure) → for strategy accessing using condition technical

BDCOM → contain information regarding batch determination


Parameters from LO-BM to LE-SHP:

BDCOM →  information of batch determination

YBDBATCH → Previous batch split information before batch determination

XBDBATCH → Current batch split information → result of VB_BATCH_DETERMINATION


Related notes


316658,  366788













  • No labels