You are on page 1of 38

Batch Management/Determination FEFO, LEFO, FIFO & LIFO

SAP Batch Management is used to enhance transparency in the manufacturing process,


Execution and Collaboration. A batch is an entire amount of any material in an exact
manufacturing cycle. The main purpose of a manufacturing batch is to ensure the uniformity
of the batch.
Batch management is a feature that is used in almost every sector. It is primarily used in the
following industries:

 Chemicals
 Pharmaceuticals
 Cosmetics
 Hygiene and Sanitation
 Food
 Retail

FEFO: - First Expiry First Out


LEFO: - Last Expiry First Out
FIFO: - First in First Out
LIFO: - Last in First Out

Step by step procedure of Batch Management / Determination

Step: - 1
 Create a Class by using T-Code: - CL01
 Enter a T-Code in command field below screen opens.

 Enter Class as above shown & Select the Class Type: - 023 i.e. Batch
 Press Enter. Below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Enter Description here. Click on Characteristics.
 Here enter the characteristics form Standard List as below shown.

6360959192 www.tagskills.com support@tagskills.com


 Save this Characteristics.
 Class type 023: Class BATCH_EXP_CLASS001 created.

6360959192 www.tagskills.com support@tagskills.com


Step: - 2
 Create on Material by using T-Code: - MM01

 Press enter Select Basic view with Classification.

 Enter Plant & Storage Location.

6360959192 www.tagskills.com support@tagskills.com


 Enter required details & Press enter.

 Enter the Class Name under Classification which is recently created.

6360959192 www.tagskills.com support@tagskills.com


 Under the Purchasing View & Tick Mark on Batch Management as above shown.

 Under Plant Data enter Shelf Life of Material. As above shown.


 Enter all required details & Save the data.
 Material 100000000000040180 created.

6360959192 www.tagskills.com support@tagskills.com


Step: -3
Configuration of Batch Management: -
1] Define Batch Level: -
Path to define Batch Level: -
SPRO->IMG-> Logistics – General-> Batch Management-> Specify Batch Level and Activate
Status Management
 Double Click on this below screen opens.

 Click on Batch Level. Below Screen open.

 Click on Batch unique at material level. Save the data.

6360959192 www.tagskills.com support@tagskills.com


2] Define Batch Status Management: -
Path to define Batch Level: -
SPRO->IMG-> Logistics – General-> Batch Management-> Specify Batch Level and Activate
Status Management
 Double Click on this below screen opens.

 Click on Batch Status Management. Below Screen open.

 Click on Active. Save the data.

6360959192 www.tagskills.com support@tagskills.com


3] Batch Determination and Batch Check: -
Path to Batch Determination and Batch Check: -
SPRO->IMG-> Logistics – General-> Batch Management-> Batch Determination and Batch
Check
 Double Click on this below screen opens.

 This is very main step in Batch Determination.


 Go to the Condition Table by following above path. Here we are not creating any
Condition we are using Standard one here.

 Click on Define Inventory Management Condition Tables. Below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Select the Change Condition Table for Batch Determination (IM). Below screen
opens.

 Enter 024 table which is standard from dropdown list & press enter.

 This is just understanding purpose.

 Then go to Access Sequence by using above path.

6360959192 www.tagskills.com support@tagskills.com


 Click on Access sequence below screen opens.

 Click on Define Inventory Management Access Sequences below screen opens.

 Select Standard Access Sequence i.e. ME01 & Click on Accesses.

6360959192 www.tagskills.com support@tagskills.com


4] Define Sort Rules: -
Path to Define Sort Rules: -
SPRO->IMG-> Logistics – General-> Batch Management-> Batch Determination and Batch
Check-> Define Sort Rules
 By double click on this below screen opens.

 Click on Create Sort Sequence. Below screen opens.


 Below 4 Sort Sequence we are creating.
FEFO-Sort Sequence
LEFO- Sort Sequence
FIFO- Sort Sequence
LIFO- Sort Sequence

6360959192 www.tagskills.com support@tagskills.com


 Enter name of Sort Sequence as above shown & press enter.

 Click on Characteristics.

 Enter LOB* in search box as above shown & press enter.

6360959192 www.tagskills.com support@tagskills.com


 Select from Dropdown list as LOBM_VFDAT: - Expiration date, shelf life
 As this is a FIFO: - First Expiry First Out it will be set as Ascending as above shown.
Save the data.

 Create another all Sort Sequence i.e. LIFO: - Last in First Out

 Press enter & Select the Same Characteristics i.e LOBM_VFDAT: - Expiration date,
shelf life.

 Here difference is only select the Descending as above shown & Save the data.

6360959192 www.tagskills.com support@tagskills.com


 Create another all Sort Sequence i.e. FIFO: - First in First Out

 Press enter Select the Characteristics from dropdown list.

 Enter characteristics as LOBM_LWEDT: - Date of Last Goods Receipt tick mark as


Ascending as above shown & Save the data.

 Create another all Sort Sequence i.e. LIFO: - Last in First Out

6360959192 www.tagskills.com support@tagskills.com


 Here also the same Characteristics i.e. LOBM_LWEDT: - Date of Last Goods
Receipt

 Select the Descending as above shown & Save the data.

5] Define Selection Classes: -


Path to Define Selection Classes: -
SPRO->IMG-> Logistics – General-> Batch Management-> Batch Determination and Batch
Check-> Define Selection Classes
 By double click on this below screen opens.

 Click on Create Selection Classes below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Enter Description here & Click on characteristics here.
LOBM_VFDAT: - Expiration date, shelf life
LOBM_LFDAT: - Batch Determin. Delivery Date
LOBM_RLZ: - Remaining Shelf Life for Batch
 Select all this three Characteristics & Save the data.
 Selection Class: - BATCH_SELION_CLASS

6] Strategy Types: -
Path to Strategy Types: -
SPRO->IMG-> Logistics – General-> Batch Management-> Batch Determination and Batch
Check-> Strategy Types
 By double click on this below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Click on Define Inventory Management Strategy Types below screen opens.

 Double click on ME01 :- MovType/Plnt/MatlNo below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Here enter Our Class: - BATCH_SELION_CLASS & Sort Sequence FEFO: - First
Expiry First Out

 Save the data.

7] Batch Search Procedure Definition: -


Path to Batch Search Procedure Definition: -
SPRO->IMG-> Logistics – General-> Batch Management-> Batch Determination and Batch
Check-> Batch Search Procedure Definition
 By double click on this below screen opens.

 Click on Define Inventory Management Search Procedure below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Select the Standard Procedure i.e :- ME0001 & Click on Control Data.

 This is standard one we can create also here by copying standard one.

8] Batch Search Procedure Allocation and Check Activation: -


Path to Batch Search Procedure Definition: -
SPRO->IMG-> Logistics – General-> Batch Management-> Batch Determination and Batch
Check-> Batch Search Procedure Allocation and Check Activation
 By double click on this below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Click on Allocate IM Search Procedure/Activate Check below screen opens.

 Enter the Procedure for 201 Movement: - GI for cost centre & Save the data.

8] Shelf Life Expiration Date (SLED)


Path to Shelf Life Expiration Date (SLED): -
SPRO->IMG-> Logistics – General-> Batch Management-> Shelf Life Expiration Date (SLED)
 By double click on this below screen opens.

 Click on Set Expiration Date Check below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Click on Plants.

 Activate this for our Plant i.e CPMG Save the data.
 Just Take Back & Click on Movement Types.

 Activate this for 101,102,501 &561 Movement type & Save the data.

9] Create Condition Record for Batch: -


 Create Condition Record for batch by using T-Code: -MBC1
 Enter T-Code in command field & execute. Below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 Select ME01: - MovType/Plnt/MatlNo which is a standard strategy type & Press
enter below screen opens.

 Enter Movement Type & Plant with Material. Then select the Material Click on
Selection Criteria.

6360959192 www.tagskills.com support@tagskills.com


 Enter the Expiration Date, shelf life as per requirement. Take back.

 Select material & Click on Sort.

 As per Configuration its already activated. Then click on Save.

6360959192 www.tagskills.com support@tagskills.com


Step: - 4
1] FEFO: - First Expiry First Out Case
 Do the Goods Receipt by using T-Code: - MIGO with 501 Movement.

 Enter the Goods Receipt with 501 Movement: - GI receipt w/o PO


 Enter Material & Quantity, Plant & Storage Location.
 Under batch you need to enter Date of Manufacturing.
 Check & Save the data. After Checking you will get the Batch for this material.
Document Posting Date Date of Manufacturing Batch No Quantity
25.02.2023 25.01.2023 986 10
27.02.2023 27.02.2023 987 10
01.03.2023 01.02.2023 988 10
03.03.2023 03.02.2023 989 10
05.03.2023 10.01.2023 990 10
 Like this we have the stock of this material in our storage location.
 Check the stock of material by using T-Code: -MMBE

6360959192 www.tagskills.com support@tagskills.com


 We have the stock of material with batch no & it’s expiry date.
 Go to T-Code: -SE16N for check the expiry date of batch.

 Enter the Table Name: -MCH1 & Material as above shown. Execute.

6360959192 www.tagskills.com support@tagskills.com


 Like this we are getting list of Batch with its Expiry Date.
 As we are doing configuration for FEFO: - First Expiry First Out
 As per this Batch No: - 990 which is Expiring Fist it will be consume first while Issuing
material.

 Issue the Goods by using T-Code: -MIGO

 Just click on Icon Near Quantity as above shown. Below screen opens.

6360959192 www.tagskills.com support@tagskills.com


 It will show us the Batch of material which is Expiring first. i.e. here 990 Batch
expiring first.
 Just click on Copy icon. Enter all required details & Check document & Post.
 Material document 9999999010 posted.
 Again check the stock of Material by using T-Code: -MMBE.

 As per Configuration FEFO: - First Expiry First Out material get consumed from
Batch: -990 which is expiring first.

6360959192 www.tagskills.com support@tagskills.com


 Again Go to T-Code: -SE16N & Check the Table Level Data here.

 Enter Table Name: -MCHB & Material as above shown & Execute.

 It will show us a stock of material with Batch & Quantity.

2] LEFO: - Last Expiry First Out Case


 Just maintained the condition record Go to T-Code: - MBC1

6360959192 www.tagskills.com support@tagskills.com


 ME01 :- MovType/Plnt/MatlNo. Which is standard one & Press entering.

 Enter Plant & Movement type & Material. Click on Sort.

 Select the Sort Rule :- LEFO-SORTSEQUENC & save the data.


 Condition records saved.

6360959192 www.tagskills.com support@tagskills.com


 Do the Goods Issue by using T-Code: - MIGO

 Enter all required details & As above shown click on icon as above shown.

 So as per configuration LEFO: - Last Expiry First Out it will consume the material
from batch which have the Last Expiry I.e. Batch: -989 which has a Last Expiry in all
batch. Click on Copy as above shown.
 Check & Post the document.
 Material document 9999999012 posted.

6360959192 www.tagskills.com support@tagskills.com


 Check the Stock of material in T-Code: -MMBE

 Again check the Table Level data in T-Code: -SE16N

 Table Name: -MCHB & Enter Material. Execute.

 It will show us a list Stock of Material Quantity with Batch.

6360959192 www.tagskills.com support@tagskills.com


3] FIFO: - First In First Out Case
 Just maintained the condition record Go to T-Code: - MBC1

 ME01: - MovType/Plnt/MatlNo. Which is standard one & Press enter.

 Enter Movement type & Plant & Material. Click on Sort as above shown. Below
screen opens.

 Select the Sort Rule: - FIFO-SORTSEQUENC & save the data.


 Condition records saved.

6360959192 www.tagskills.com support@tagskills.com


 Do the Goods Issue by using T-Code: - MIGO

 Enter all required details & As above shown click on icon near quantity.

 So as per configuration FIFO: - First In First Out it will consume the material from
batch which have the First Entry Date I.e. Batch: -986 which has a First Entry in all
batch. Click on Copy as above shown.
 Check & Save the data.
 Material document 9999999013 posted.
 Again Check the Stock of Material by using T-Code: -MMBE

6360959192 www.tagskills.com support@tagskills.com


 Again check the Table Level data in T-Code: -SE16N

 Table Name: -MCHB & Enter Material. Execute.

 It will show us a list Stock of Material Quantity with Batch.

6360959192 www.tagskills.com support@tagskills.com


4] FIFO: - Last In First Out Case
 Just maintained the condition record Go to T-Code: - MBC1

 ME01: - MovType/Plnt/MatlNo. Which is standard one & Press enter.

 Enter Movement type & Plant & Material. Click on Sort as above shown. Below
screen opens.

 Select the Sort Rule: - LIFO-SORTSEQUENC & save the data.


 Condition records saved.

6360959192 www.tagskills.com support@tagskills.com


 Do the Goods Issue by using T-Code: - MIGO

 Enter all required details & As above shown click on Icon near quantity.

6360959192 www.tagskills.com support@tagskills.com


 So as per configuration LIFO: - Last In First Out it will consume the material from
batch which have the Last Entry Date I.e. Batch: -989 which has a Last Entry in all
batch. Click on Copy as above shown.
 Check & Save the data.
 Material document 9999999014 posted
 Again Check the Stock of Material by using T-Code: -MMBE

 Like this we can create Batch Management / Determination for Material by Using
FEFO, LEFO, FIFO & LIFO.

6360959192 www.tagskills.com support@tagskills.com

You might also like