Skip to Content
avatar image
Former Member

Revoke user to reverse purchase document if inspection lot is in CRTD condition

Dear All,

Our client want to provoke the reversal f purchasing document if the inspection lot in the quality is in CRTD stage (no inspection plan has been assigned yet).

Problem is when they reverse the Purchasing document for the same having lot in crtd stage, document get reversed, but inspection lot remains there in QA32.No doubt there is no stock for same in MMBE in quality/or any where.

But end user gets confused with the inspection lots present in qa32.

To cancel lot is greyed out in Functions so that is also not possible.

Now we want to show a error message when lot is in crtd & user is reversing the P.O.

Give your precious suggestions.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 07, 2017 at 10:51 AM

    How is an inspection lot linked to a PO if there is not yet a goods receipt?

    I don't find this among the origins listed here:

    Add comment
    10|10000 characters needed characters exceeded

    • That was not what I meant.

      A goods receipt is from my point of view not a purchasing document, if you call it document then it is a material document.

      Purchasing documents are, requisition, purchase order, RFQ, outline agreements.

  • Oct 11, 2017 at 05:22 PM

    I'm GUESSING here that you mean you are doing an MBST for the purchasing document that has already been received.

    Due to an error in master data setup the inspection lot was in CRTD status after the GR. After doing the MBST the lot remains. There is no stock because of the MBST.

    When the MBST is performed, the lot is supposed to get a status of LTCA (Lot cancelled). I believe that when doing the MBST, it doesn't matter if the lot is in CRTD or REL status. The lot is still cancelled and gets the LTCA status.

    To stop seeing lots that are cancelled in the various QM worklists, (QA32, QE51n, etc), create a selection profile for the worklist that excludes lots with the LTCA status.


    Add comment
    10|10000 characters needed characters exceeded

    • Did you try to cancel the lot in QA02? Any messages? the inspection lot is a material document shown for the lot origin? Has that material document been reversed using MBST?

  • Oct 12, 2017 at 03:57 AM

    Dear Sukhwinder Singh,

    As per standard SAP once you have done the material document cancellation (MIGO / MBST), system will automatically change the status of the lot will be LTCA(Lot cancelled)

    If system don't want you to make reversal if an inspection lot is there means

    you have to take the ABAP Support to make a validation



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Okey... thanks but for that i have to use badi validation.

      Ok i will see in that.. thanks anyway.

  • avatar image
    Former Member
    Nov 22, 2017 at 10:15 AM

    Thanks all..

    Done via applying Badi.

    Add comment
    10|10000 characters needed characters exceeded