cancel
Showing results for 
Search instead for 
Did you mean: 

Inspection lot generation based on shelf-life expiry

Former Member
0 Kudos

Hi guys,

I have seen other threads regarding my query. Its like I want inspection lots to get generated automatically based upon the shelf-life expiry date (am planning to schedule a background running of QA07 which will check the shelf-life expiry date).

Will the inspection lot generation happen based upon the "Shelf Life Exp. Date" in the batch? Or is the "Next Inspection" date in the batch required for this to happen?

When am running QA07, the expired materials are going to blocked stock only. What I want is that this material should go to quality stock and a lot should be generated for this.

I have seen other threads in this forum where guys told that this lot generation is possible. But I am unable to make this happen.

Please help me in this.

thanks

Pratap

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Will the inspection lot generation happen based upon the "Shelf Life Exp. Date" in the batch? Or is the "Next Inspection" date in the batch required for this to happen?

Based on BOTH "Shelf Life Exp. Date" & "Next Inspection" system decide to put the material either to block stock ot Inspection.The radio button in QA07 also plays role for the same.

Instead of selecting "Block batch at inspection date" select "Block batch at lot creation" when doing manual run.

Former Member
0 Kudos

Hi Sujit,

Am able to generate lots only with respect to the "Next inspection" date.

What I tried was something like this:

1)The batch had an shelf-life expiry as 08.01.2012 and next inspection as 11.07.2011.

2)Executed QA07 with "To inspection stock at lot creation" radio button selected.

3)Lot generated since next inspection date is before today's date.

What you said regarding using the "Block batch at lot creation" option will only change the batch status to restricted and no lots are generated here.

My requirement is that lot generation has to happen based upon check against the shelf-life expiry date.

It looks like, as Nitin told, that lots can be generated only with respect to "NExt inspection" date. I am just waiting for more replies to confirm if this is true.

thanks

Pratap

former_member42743
Active Contributor
0 Kudos

Pratap

You are correct. To generate inspection lots, you must maintain the inspection interval. You do not need to maintian inspection inteveral manually, it will be calculated automatically when you do the first GR of the product and enter in a production date.

Once maintained, and after each 09 lot is processed, the new next inspection date is calculated by the UD date plus the inspection interval date. As a result, your next inspection date rarely matches your expiration date.

There is a user exit that can be used to provide custom code to modify the next inspection date according to your business requirements.

If you run QA07, the program makes two passes. The first pass moves expired material to block stock. The second pass creates the inspection lots based on inspection interval. IF your next inspection date and expiration date are identical, the material gets moved to blocked stock first and as a result, no inspection lot is generated because the material is no longer in unrestricted. What you can do is run QA07 twice. For the first pass, remove the expiration date values from the variant and only include the inspection parameters. Then run it a second time and include the expiration date values for in the second variant. The second pass will then block expired materials.

I believe that SAP choose to do it this way because in many busineses, materials get reinspected on a frequent basis and expiration date is truly a "destroy" date for the material. Some businesess have very complicated reinspection processes and can extend expiration dates. I don't think I have seen the same reinspection/expiration program yet. Every client is different.

FF

Former Member
0 Kudos

Thanks a lot FF. That was quite helpful.

Am closing the thread now. Thanks to Nitin and Sujit.

regards,

Pratap

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

Yes , NExt inspection date is required.

For the I st time u need to maintain it manually.

After that it will get calculated from Inspection interval entered in QM view

Regards

Nitin