The purpose of this blog post is to explain the system behavior when we maintain minimum shelf life, Total shelf life in material master and standard errors faced during GR when we maintain these data.
What is Total shelf life and minimum shelf life?
Total Shelf Life:-
Period for which the material will be kept in total that is, from the date of production to the shelf life expiration date.
When Values of minimum and total shelf life are updated in material master
The system assumes that the date entered upon goods receipt is the material’s date of production. It then calculates a shelf life expiration date from the date of production plus the total shelf life
SLED= Date of Production + No. of Days/Months/Years
When Values of minimum and total shelf life are not updated in material master
The system assumes that the date entered upon goods receipt is the material’s shelf life expiration date.
Also Read: SAP PP Certification Preparation Guide
In both cases, the system updates the shelf life expiration date in the batch master record and in the material document if the goods receipt is accepted.
Minimum Remaining Shelf Life:-
Minimum amount of time for which the material must be kept upon goods receipt accepted by system.
The function of this field is to put check during any Stock Posting.
e.g. Total shelf life of product is 24 Months and in material master minimum shelf life is 2 months.
So after 22 months from date of manufacturing system will not allow any stock posting.
Implementation of expiry date check at goods receipt can be done via two methods:
- Entry of manufacturing/expiry date during GR (MIGO)
- Entry of manufacturing/expiry date during GR (CO11N/COR6N)
In this blog post , we will go through the scenario of manufacturing/expiry date during GR (MIGO)
1. SPRO–> Batch Management –> SLED –> Set Expiration Date check (OMJ5)
2. Activate SLED check at 101 movement type = 1 (Enter and check manufacturing/expiry date during GR)
Case 1: Raw material procured from vendor with Minimum and total shelf life maintained in material master
a) When minimum shelf life and total shelf life are, maintain in material master. It is mandatory to enter date of production during GRN else below error will be displayed.
b) Suppose posting date is on 11-06-2020 and date of production entered is in past for batch as 11-05-2020. System will display below error and will not allow to do posting.
c) Suppose Date of manufacturing of batch entered is 12.05.2020
System will display below error message
d) When date of manufacturing is in future, system will display below error
Logically, production date cannot be greater than GR date. In order to change this warning message into error, Message number will be changed from warning to Error in OMCQ transaction.
Once this change is done and will try to do GR again, system will display below error message
Case 2: When minimum and total shelf life is not maintained in material master
In this case, system will not ask to enter date of production. Shelf life and date of production can be updated as blank or it can be updated manually during GRN and same will be updated in batch master
Case 3: When minimum shelf life is maintained in material master and total shelf life is blank.
In this case, system will ask to enter shelf life as minimum shelf life is maintained in material master
Suppose SLED entered is in past say 19.05.2020, system will display below error
When SLED entered as current date, system will display below error message
System will only allow to do posting as per minimum shelf life of 10 days
In this case, only expiry date will be updated in batch master.
Case 4 : Minimum shelf life is blank and Total shelf life is maintained in material master
This case is not allowed, as we have to enter put minimum shelf life