cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Sampling Procedure

former_member407594
Active Participant
0 Kudos

Dear gurus,

I have a requirement, my client wants to achieve a scenario for inward inspection. For Vendor-Material-Plant combination they want to do 100% inspection for some fixed number of lots (Say some 5 numbers), if they do not found any defect, then they want to follow a sampling plan for selecting number of quantities that should be inspected.

Please help me to solve this issue.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member221025
Active Contributor
0 Kudos

Hello Akshay,

You can go for development using user exit QPAP0002  Enhancement for material/plan assignment, plan selection.

Create Two task lists for same material, one for sampling procedure with 100% inspection and another for Sampling procedure with fixed sample.

Logic will somewhat like,

1. check for QM info record,

2. Check last 5 number of inspection lots for Material-Plant-Vendor combination.

3. Check if any Notification (Defects) in QMEL or Reject UD in QAVE exist.

4. Select appropriate task list.

this is just an example, code your exact logic accordingly.

Amol.

former_member407594
Active Participant
0 Kudos

Hello Amol,

Thanks for your valuable reply, i'll definitely try this, but i have one doubt can't we use Dynamic Modification Rules or any thing like that to solve this issue or this the only way to achieve this?

former_member221025
Active Contributor
0 Kudos

Hello akshay,

Dynamic modification rule can not be used here as it is for skipping inspection lots or MICs etc. But your requirement is to have different sample sizes at two different moments.

That is why i concentrated on how can we select different sample sizes. Whatever i suggested could be one of the workaround possible. I wont say this is the only solution. Actually i never had to deal with such scenario. So even i would like to see what results you get.

Amol.

former_member407594
Active Participant
0 Kudos

Hello Amol,

Thanks for quick reply. I'll try and let you know whatever the outcome is.

Answers (1)

Answers (1)

former_member407594
Active Participant
0 Kudos

Hello Amol,

Sorry for updating you late, your solution worked fine. In the exit i used EXIT_SAPLQPAP_002 & EXIT_SAPLQPL1_001 these to function modules to solve my purpose. I am closing this post now.

Thanks.

former_member221025
Active Contributor
0 Kudos

Hello Akshay,

I am glad my solution worked for you. and Thanks for updating actual results.

Amol.