Skip to Content

Restrict creation of inspection lot for certain work centers

Hi

My client needs to restrict the creation of inspection lot at certain work centers although QM is active for all material processed in these work centers.

I am using the function module 'EXIT_SAPLQAAT_002' of QAAT0001 for this purpose. Z04 inspection type ( with Post to insp stock) is maintained for all these material.

A different Z table is there , where material-work center combination is maintained for which no inspection lot is required.

Logic provided so that system searches Material-Work center from production order then compares it with the Material-Work center combination with the maintained Z Table.If both found same then no inspection lot will be generated.

But an error message (Change the inspection stock of material XXXXXX in QM only) appears for all those material while doing confirmation in CO11N . Hence system does not allow to complete confirmation for those material where QM is active.

Please suggest if i am using the correct Exit or any further improvement is required.

Thanks and regards

D Mohanty

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 04, 2014 at 09:20 AM

    Hi

    Actually the issue is resolved now.The problem was with coding where we were using Table-AFRU for reading prod order details.But AFRU does not consider fresh orders for which it was replaced with AFKO.

    Also the Z table must be maintained as Plant-Material-Work center combination prior to go for any order confirmation.

    Thank you all who have gone through the post , hope this will help those who have to map the same scenario at their end.

    Regards

    D Mohanty

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.