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