HOT FIX: Note 2186161 – Goods movement cancellation does not cancel inspection lot
Recently you may notice a problem that the GR material document is cancelled, but the corresponding inspection lot is not cancelled together with the material document. You can still see the inspection lot in t-code MD04.
Here is basically what happened:
Prerequisites:
- The indicator “Manual sample calc.” is set for the inspection type 01/04 in MM03 or no inspection plan or material specification is created for the material although the inspection type requires one.
- No early lot creation in case of origin 04, which means the field “Control insLot” is not set to “Y Early lot creation for the order item” for the affected inspection type.
Process:
- Post goods receipt to a order in t-code MB31 or MIGO.
- An inspection lot is created with status CRTD.
- Check MMBE. QI stock increased.
- Cancel the GR material document which created the inspection lot in MBST.
Result:
- QA03 : Inspection lot is not cancelled. The status is still CRTD.
- MMBE: QI stock disappeared.
- MD04: Inspection lot is still displayed.
Permanent fix:
Implement SAP Note 2186161. This note fixes a bug in this case. After applying this note, when you post new GR material document cancellations in MBST, the inspection lot will be cancelled together with it. Lot status becomes LTCA automatically and won’t be displayed in MD04.
Inconsistency correction:
For existing inspection lots, to correct the inconsistency, follow the steps below:
- Execute the report ZQEVAC20 in note 48815 for the material and plant.
After this report is executed, the inspection lot status should become SPCO.
The inspection lot is no longer displayed in MD04: - If you are still concerned about the lot status CRTD and want to change it to LTCA, you may firstly assign an inspection plan and calculate the sample size of the inspection in QA02. Then the lot status would become REL. Then you can go to QA11 to record a dummy usage decision so that lot status becomes UD.
At last cancel the inspection lot in QA12. - If you are unable to carry out step 2 because you cannot assign an inspection plan to the inspection lot, report an incident to SAP Product Support under component QM-IM for further help.
Hi Nancy,
Thank you for giving a good document like this, which solves the daily problem like that and i keep learning new things from your posts.
Thanks and regards
Suheel.
Hello Nanacy,
Really good document for those who works on PP-QM modules.
Regards,
Akshay
Hello Nancy,
Thank you for sharing this information.
We have applied the suggested note BUT still facing this challenge.
CRTD status lots does not get cancelled after 102 movement and on doing 101 again, another lot gets generated.
Can you please comment.