You are on page 1of 3

12/03/2019 LIFO and FIFO in Batch Management | SAP Blogs

Products
Products Industries
Industries Services and Support
Services Support Training
Training Community
Community Developer
Developer

Partner
Partner About
About

 
Ask a Question Write a Blog Post Login

Former Member
October 15, 2013 2 minute read

LIFO and FIFO in Batch Management


Follow RSS feed Like

0 Likes 3,680 Views 0 Comments

Questions Raised:

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?
Solution:

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.
https://blogs.sap.com/2013/10/15/lifo-and-fifo-in-batch-management/ 1/3
12/03/2019 LIFO and FIFO in Batch Management | SAP Blogs

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.

https://blogs.sap.com/2013/10/15/lifo-and-fifo-in-batch-management/ 2/3
12/03/2019 LIFO and FIFO in Batch Management | SAP Blogs

– 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.

Alert Moderator

Assigned tags

Retagging required | lily zhu s blog |

Related Blog Posts

We are sorry but we are currently unable to retrieve related content.

Related Questions

We are sorry but we are currently unable to retrieve related content.

Be the rst to leave a comment

You must be Logged on to comment or reply to a post.

Share & Follow

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Preferências de cookies

Sitemap Newsletter

https://blogs.sap.com/2013/10/15/lifo-and-fifo-in-batch-management/ 3/3

You might also like