LIFO and FIFO In Batch Management

Actually I have done the batch management (batch determination) but I am not aware how to do the batch determination by FIFO and LIFO logic. Do we have to create the characteristics like this and then we have to give this characteristics to class and then assign this class to material in material master and give the search procedure in order type, which contains the strategy types and strategy type which contains the access sequence, sort rule and class, class type.  What is the actual process for this?

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.

Get help for your SAP MM problems
SAP MM Forums - Do you have a SAP MM Question?

SAP MM Books
SAP Material Management Certification, Interview and Configuration Reference Books

SAP Material Management Tips
SAP MM Configuration Tips and Materials Management Discussion Forum

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.