cancel
Showing results for 
Search instead for 
Did you mean: 

Sampling based on line of Goods receipt

Former Member
0 Kudos

Hi gurus,

I have a requirement for a Sampling scenario at Goods receipt operation. Our requirement is to be able to determine automatic sampling quantity by line of goods receipt but for the same inspection lot.

Ex.

Purchse Order XXXXX01

Material T-89231XXX

Quantity in UnE = 20

Distribute quantity by pressing "Distribute Qty" option in 2 lines:

1-     Quantity = 10

2-      Quantity = 10

¿How can the system detect the quantity distributed by line and assign the correct sampling procedure to be able to assign sample quantity correctly?

Thank you very much.

Hector

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184536
Active Contributor
0 Kudos

Hi Hector

This means you sample varies according to you lot quantity. So you must use sampling scheme for that. It also depned upon the QM View setting that lot is created for every material document items.

Regards

Manish

Former Member
0 Kudos

Hi Manish,

Thank you for your prompt answer. Your guidelines were helpful but there is still one issue remaining...Our customer does not want a insp. lot creation for every material document item..but one inp. lot for every material document. And from this insp lot, a sample should be calculated taking into consideration the number of positions the quantity has been distributed in (within MIGO)....actually the system proposes the sample for the document material quantity but not for each position after distribution...

thnak you very much.

Héctor

former_member42743
Active Contributor
0 Kudos

No can do.

You sample either by line item (two inspection lots) or by PO.  You can't have it both ways. 

The reason is this.  If you have two line items, especially of uneven quantities, how should SAP allocate the sample quantities?  (proportionally makes the most sense).  But the finer aspects of sampling can get messed up.

Many sampling schemes are based on N, number of samples. As lot size increases, the actual number of samples proportionally change.  This is especially true in MIL specs.

One line item of 1000 units might require sampling 110 units.

But two line items of 500 each might require sampling 60 of each, for a total of 120 units.

There can be other differences as well.  Such as number of containers. What if you have two line items of 500 each.  But each line item comes in a box of 200 units.  Therefore each line has two half-containers.  Now your inspection is based on number of containers.  But your vendor combined the half containers into one container containing 100 units of each batch.  So you got 5 containers.  How to distribute this across two lines?  What if you take one sample per container? From which batch do you pull the sample from in the mixed container?

Now add multiple line items, 3?  5? 99?

Since SAP can't account for all the possibilities, you either inspect per document, or per line item.  But not one inspection for all line items.

You could try to use a user exit or write your own function modules for a sampling procedure but it won't be easy.  I'd really advise against it.

Sorry.

FF

Former Member
0 Kudos

Hi Firefighter,

I really appreciate your answer, and as far as SAP cannot account for all these possibilities we think the best option finally will be to create a User exit that calculates the sampling required considering the lines of PO and creating a TO for each line...

Thank you very much..

Héctor