cancel
Showing results for 
Search instead for 
Did you mean: 

Restriction of MIRO

Former Member
0 Kudos

Dear Experts,

We have a requirement that system should not allow to do the MIRO before clearance of inspection lot. If there is any partial qty rejected during UD also invoice should be resticted and while posting of MIRO and if there is a open inspection lot, system should give the error message i.e. " Inspection is Pending " .

Can we have all these through control key or any user exit is required . Please suggest .

Accepted Solutions (1)

Accepted Solutions (1)

former_member182371
Active Contributor
0 Kudos

Hi,

have you read this OSS Note?

https://service.sap.com/sap/support/notes/162918

Best regards.

Former Member
0 Kudos

Hi,

Is ur problem resolved? if not then pl revert back.

Regards,

Anil

Former Member
0 Kudos

Hi,

1. If you are using invoice block function using procurement key then it is only effective in MRBR ( automatic release of invoice- It gives the blocking reason as "I"). This is not applicable for MIRO.

2. For control in MIRO, there is a BADI. (With out UD or Lot with Rejected UD are not allowed in MIRO)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hii,

Yes it is possible to restrict Invoice passing in MIRO if the Stock is in Quality stock / Blocked stock. The concept is while doing MIRO, u can validate the criteria by clicking simulation tab. U can get the things in BADI (Business ad in function) with the BADI object name as "Invoice_update".

The working is when the material is in quality stock & If ur doing MIRO for the same material, then system will pop up the message that "material with "X" qty is in quality stock" Invoice cannot be made. System does'nt allow u to pass the Invoice unless the stock is cleared from the quality. Even for the blocked stock we can simulate these error pop message. It invloves Abaper work.

with regards,

K.Lokesh.