on 04-21-2011 5:10 PM
Hi All,
Is it possible to use exit QAAT0001 to control inspection lot during delivery.
Requirement is to create inspection lot during delivery for material say "X" if it is at storage "ABC". But if the same material "X" is at storage location "DEF", it should not create Inspection lot.
Kindly suggest there are any other ways to do this.
Thnaks in advance.
Regards,
Satyajit
User exit QAAT001 is used to control inspection type. for example you can assign inspection type Z1 instead of 01 based on some conditions.
Note : if you try to prevent inspection lot creation, you will have problem moving quantity from Q to un-restricted ( as SAP needs inspection lot number to move quantity out of Q status)
For your requirements try these steps
1. Activate user exit QAAT001 to change inspection type to Z1 if storage location is DEF. Inspection type will be 01 when storage location is ABC.
2. Set inspection type Z1 such that, quantity is posted to un-restricted directly.
3. Activate inspection types z1 and 01 for the material.
4. Set background program to auto UD inspection lots (z1 type).
Let me know if process does not work for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Thanks for the response and sorry for the late reply from me.
This control we only want it at the time of delivery. I mean when we create delivery, inspection lot is created. Here the stock is already at unrestricted. But, if we do not do UD for the lot, we will not be able to do PGI.
At present we have written code for this exit, like the given below...
e_tq32 = i_tq32.
restriction for delivery inspection.
IF i_werks = '7110' AND
i_lgort = 'SLDD' AND
i_tq32-art = '1000'.
e_no_inspection = 'X'.
ENDIF.
Bu it is still not working. It is creating inspection lot for both the storage location
Regards,
Satyajit
thnx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all it was my misunderstanding about 'EXIT_SAPLQAAT_002'.
I checked it but it does not work for inspection origin '10'.
It seems only work for specific inspection type (01, 05, 08) related goods movement.
I hope you can find good solution.
Regards
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it is possible using the function module 'EXIT_SAPLQAAT_002' of QAAT0001
E_TQ32 = I_TQ32.
Then use I_TQ32-ART (inspection type), I_LGORT (storage location), E_NO_INSPECTION (create lot or not).
Regards
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I understand this user exit is "Inspection type determination different from variant 01 " which will not help for the control on Inspection & stock type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.