Skip to Content

Dynamic Sampling Procedure

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 21, 2014 at 04:00 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 13, 2014 at 09:11 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded