Skip to Content
Author's profile photo Nancy Guo

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.

    It looks something like below in MM03:
    MM03.png

Process:

  1. Post goods receipt to a order in t-code MB31 or MIGO.
  2. An inspection lot is created with status CRTD.
    QA03-1.png
  3. Check MMBE. QI stock increased.
    MMBE-1.png
  4. Cancel the GR material document which created the inspection lot in MBST.
    MBST-1.png
    MBST-2.png

Result:

  1. QA03 : Inspection lot is not cancelled. The status is still CRTD.
    QA03-2.png
  2. MMBE: QI stock disappeared.
    MMBE-2.png
  3. MD04: Inspection lot is still displayed.
    MD04-2.png

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:

  1. Execute the report ZQEVAC20 in note 48815 for the material and plant.
    /wp-content/uploads/2016/04/report1_925639.png
    /wp-content/uploads/2016/04/report2_925640.png
    After this report is executed, the inspection lot status should become SPCO.
    QA03-3.png
    The inspection lot is no longer displayed in MD04:
    MD04-3.png
  2. 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.
    QA11.png
    At last cancel the inspection lot in QA12.
    QA12-1.png
    QA12-2.png
    QA12-3.png
  3. 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.

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Mohammed Suheel
      Mohammed Suheel

      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.

      Author's profile photo Akshay Yerawar
      Akshay Yerawar

      Hello Nanacy,

      Really good document for those who works on PP-QM modules.

       

      Regards,

      Akshay

      Author's profile photo Akash A
      Akash A

      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.