Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Inspection lot generation based on shelf-life expiry

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

Former Member
replied

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

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question