Another issue on samples

Question:
Ok.. Thatnks to Armin put me on the right track and I got my samples working the way I want and the tests being skipped the way I want. Now for another issue!!!
In the UD, when I have my multiple samples, the UD screen shows an average result for a given test for all the samples tested. When the UD is made however, the result for the last sample is the one left on the batch.
I want the average value to be transferred to the batch when the UD is made.
Any ideas from you sample savvy folks?
Craig
Answer:
Craig
It look like you need to use Batch char, where you can link the QM result to the batch classification..and make sure you assign the batch class to the materials master
Answer:
Yep SCJ.. That has been done and my results ARE being transferred. The problem is that it always the value of the LAST inspection point and/or physiclal sample.
What I need is for the AVERAGE value that is displayed in the UD screen to replace the value transferred.
I.e. after each inspec. point or physical sample is valuated, the values are copied to the batch record. When the entire lot is completed, I want the average value to wind up on the batch record in the end.
Craig
Answer:
Hi Craig,
correct me if Iīm wrong. But you get a UD for every Inspection lot, so how will you manage to update the batch characteristic with the overall average. Have you thought about using a Function module for valuating your Class characteristic? (Just an idea, donīt know if itīs working......)
Regards,
Baisse22
Answer:
Craig,
i dont think you will be in position to tackle this one without some ABAP coding for a follow-up action FM. i guess you can decide either to assign this FM in your partial UD code (used for your inspection point) or in your overall inspection lot UD code.
it really depends on how accurate you want the GC to be during the process of collecting inspection results. anyway, let us know how things progress in your end.
all the best,
daniel
Answer:
In configuration when you set up identifers for inspection points, at the bottom of the screen is a check box, "Last sample is valid" and a field for number of inspection points to average.
From reading the help on this I would assume that if he check box is NOT checked, then the samples and inspection point characteristics values are averaged together using the number of values specified. And this DOES appear to work. An average value is displayed in the UD screen and the mean value is stored in the proper SAP table, (QAMR?). But after the UD is made, the batch shows the result for the last sample/inspection point. I would like the mean value transferred.. which to me makes sense.
If I wanted the last value, I would tick off that box in my inspection point identifer.
Craig
Answer:
Hi Craig,
When you work with inspection points /physical samples, the results are transferred everytim you valuate any point / sample in the lot. What you are oberving is by design (unfortunately).
The only work around would be to build a followup in UD and force a batch master chage to replace the last value by the average.
It is not exciting but true.
Good luck
Anand
Answer:
Yep... I was afraid of that! Oh well.. off to the programmers to genuflect..
Craig

More Articles:

Documental Management?
Main Tables in PP.?
Equipment sent for repair and then directly to customer?
How do I test Maintenance Plans that are Time based?
Warranty Costs & AMC Costs?
about close production order?