cancel
Showing results for 
Search instead for 
Did you mean: 

MIRO should not done untill Quality is pending

former_member242092
Active Participant
0 Kudos

Hi,

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.

LMR1M001

Please advise..

Regards,

Rampreet Jaiswal

Accepted Solutions (1)

Accepted Solutions (1)

former_member242092
Active Participant
0 Kudos

Hi,

I have a created a control key with further settings - Released required, Block Invoice and message mode E (Defects).

1. I have created a new material with this particular key and QM proc. active.

2. Created a QM info record with QI01 with the combination of plant, material and vendor.

3. Created a new PO and did its GRN too.

4. Stock is showing in in quality inspection.

Now I am doing MIRO, system is picking total quantity of GRN in the MIRO screen, there is no change in system behavior.

In my second trail I have post qty in unrestricted and Block though QA11, but still in the MIRO system is picking total qty. of GRN.

I want a error message at the time of MIRO until QC is pending. System should not allow MIRO if Quality is pending.

please suggest.

Regards,

Jaiswal

Former Member
0 Kudos

The solution provided in previous posts will only help if your need is to block the payment for the invoice till QC release the part.

If your need is to block the posting of invoice itself, then you will have to manage it via a user exit / enhancement. Get in touch with your FI colleague who will be able to help you with it.

Added

Not sure why this query is posted in PP forum as it has no direct relevance. If you had posted in MM / QM forum you would have got the right responses.

former_member242092
Active Participant
0 Kudos

Hello all,

I guess we can restrict payment after MIRO if we assign control key in material master with above settings.

But here I want to restrict MIRO if quality is not done.

Please advise..

Regards,

RP Jaiswal

former_member211618
Contributor
0 Kudos

Hi Rampreet,

     As Vivek said that it possible through only user exit / enhancement.

No option in standard system. 

former_member242092
Active Participant
0 Kudos

Thanks to all,

Something was wrong happening by abaper in below exit.

LMR1M001

But now it is working.

Regards,

RP Jaiswal

Answers (2)

Answers (2)

former_member186193
Active Contributor
0 Kudos

Hi,

Define quality contril key for procrument and check block payment.

Assign that controlkey in the QM tab of material master.

Hope it will help you.

Regards,

Alok Tiwari

krishna_chandra5
Active Contributor
0 Kudos

Hi Rampreet,

     In the control key (SPRO > IMG > QM > QM in Logistics > QM in procurement>Define Control keys) check the block invoice option and assign the control key to the material master in the QM view. Create a new lot and check.

Revert back in case of any queries

Regards,

Krishna Chandra

former_member211618
Contributor
0 Kudos

Hi Rampreet,

     As Krishna said that assign control key (0007 Delv release, invoice block (Control key allows MIGO creation and block payment in MIRO until QC accept)) and active the Procurement key in the material master QM view tap.

And you have to maintain the Quality info record (Qi01) for particular material, vendor & plant combination.

And in control key (SPRO > IMG > QM > QM in Logistics > QM in procurement>Define Control keys-->0007, keep E defect instead of W warning ( default setting std system ) in massage mode section.

Now you can fulfill your requirement please check.