In standard SAP system always allowed to do MIRO for total GRN quantity.
However there is quality check in material master. I want to restrict MIRO untill QC person did not post qty. in QA11 in unrestricted and Block stock.
1. System should allowed MIRO for only unrestricted qty. after QA11.
2. And, if quality is active then system should shows a error that QC is pending at the time of MIRO.
I have used below exit for the same with my Abaper but it is not useful.