cancel
Showing results for 
Search instead for 
Did you mean: 

GR posting date is being considered as Shelf life expiry date

Former Member
0 Kudos

Following settings made in material master:

In Purchasing view: Batch management check box ticked.

In Plant data / stor.1 view: (Shelf life data): Max storage period is 1, Time unit: YR

Min remaining shelf life:1, Total Shelf life: 365, Period Ind for SLED: D

Following data entered in GR:

Document date: 10.03.2011, Posting date:10.03.2011

In batch management tab of GR: Date of Manufacturing is :01.12.2010, SLED/BBD is appearing as 01.12.2011

While taking shelf life report (on 12.03.2011) for the said material following output is displayed:

Remaining shelf life SLED / BBD

-2 days 10.03.2011

In batch display (MSC3N) Shelf life exp. date is appearing as 10.03.2011 where as in GR document it is showing as 01.12.2011.

Kindly help where is the problem.

regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It is interesting.

I understood the problem but for getting solution, you have to get ABAPeru2019s help.

In calculation in report, the report date 12.03.2011(DD.MM.YYYY) is taken by system as 03.12.2011(DD.MM.YYYY) and SLED is as per GR document 01.12.2011(DD.MM.YYYY). So 1-3= -2 days. Now, for calculating SLED date, system is deducting 2 days (or you can say adding -2) in report date 12.03.2011 (DD.MM.YYYY). So this is 10.03.2011.

So in batch display (MSC3N), it is showing calculated date 10.03.2011.

Please explain it to ABAPer & debug it, you will get solution.

Before that try one thing. Check your user profile for date format. If it is MM.DD.YYYY, change it to DD.MM.YYYY, or vice versa. Then take report again , also check in MSC3N.

BR.

Former Member
0 Kudos

thanks

Answers (1)

Answers (1)

ajitkumar
Active Contributor
0 Kudos

make minimum remaining shelf life to 0. . it means something like for the material to be ok, it should have atleast the balance shelf life as specified in this field