You are on page 1of 3

To achieve Batch Determination with Lifo & Fifo rule you have to complete following steps: 1) Define Batch

Search Strategy :- Here you can find five different areas for which you can define the Batch search Strategy. Transaction Code: SPRO (Logistic General --- Batch Management ---- Batch Determination And Batch Check Batch Search Procedure). 2) Define Batch Search Procedure:- Here you have to assign your Batch Search Strategy to this Batch Search Procedure. Transaction Code: SPRO (Logistic General --- Batch Management ---- Batch Determination And Batch Check Batch Search Procedure). 3) Batch Search Procedure and Allocation Check :Transaction Code OMCG (For Inventory purpose Transactions) You have to assign batch Search Procedure to the different Movement types. In case of Production / Process orders you have to assign your batch search Procedures to Production scheduling profile. Transaction codes are OPL8 or CORC or COR4. 4) Now create Sort rule :Transaction Code is CU70 As per your requirement of FIFO or LIFO rule you have to assign related Characteristic (LOBM_HSDT , LOBM_VFDT etc.) For FIFO purpose you have to assign characteristic with Ascending Rule and for LIFO assign in Descending. 5) Now Create Batch search Strategy:Transaction Code MBC1 (For inventory) Transaction Code COB1 (For Production/Process order)

Here you have to assign your earlier created Sort rule with reference to material / material types / Movement types / Production material type /Plant and Batch class which you have maintain in the material Master. I have done batch determination successfully in LIFO & FIFO criteria in the following way . It worked . Try it if you like. If you want to select the batch in FIFO criteria that is first in first out i.e. the batches that are received first will be selected, then - You have to create a characteristic for last Goods receipt date with table name MCH1 & field LWEDT - Assign this to class - Create sort sequence with ascending order CU70 - Then create batch search strategy in MBC1 transaction if you want batch determination in production order - Give the sort rule there - Give the no. of batch splits as much as you want or just keep 999, give the batch selection criteria if u want or just give the indicator for no selection criteria - Then try doing the batch determination & check if you are getting what you want Similarly If you want to select the batch in LIFO criteria that is last in first out i.e. the batches that are received last will be selected, then - You have to again create a characteristic for last Goods receipt date with table name MCH1 & field LWEDT - Assign this to class. - Create sort sequence with descending order CU70 - Then create batch search strategy in MBC1 transaction if you want batch determination in production order.

- Give the sort rule there. - Give the no. of batch splits as much as you want or just keep 999 , give the batch selection criteria if u want or just give the indicator for no selection criteria. - Then try doing the batch determination & check if you are getting what you want.
OSS note 394605 - Shelf life expiration date and batches in the warehouse and 365570 - Stock determination in LE-WM

You might also like