Skip to Content

BADI to correct actual quantity (QAC1) and post a 102 automatically

Hi Experts,

I am trying to do a 101 (GR from process order) reversal triggered by an MBGMCR IDoC. But since the quantity is received to the Quality it's saying that the quantity is unavailable in unrestricted. So I was thinking to trigger a BADI or something equivalent to QAC1 transaction where the system automatically post reverse GR (102) when you correct the actual quantity (for the difference).

Work around will be first triggering a 321 from quality to unrestricted and then do 102. But I would appreciate if I could get it done using direct equivalent to QAC1.

Thank you so much in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 09, 2018 at 12:45 PM

    Why is your Idoc for unrestricted use stock if you have your stock in quality inspection?

    Create your MBGMCR document with 102 movement type indicating that it is QM stock (STCK_TYPE = 2 )

    Add comment
    10|10000 characters needed characters exceeded

    • I've tried this. But I was getting "Change the inspection stock of material FG0001B in QM only" error in the idoc.

      I've checked in OMJJ for 102 for the Quality indicator and all. But all are in line. Still gets this error. Can you please help?