cancel
Showing results for 
Search instead for 
Did you mean: 

Find User Exit in MIR7 to validate Vendor info

Former Member
0 Kudos

When incoming invoice is being “parked” in transaction MIR7, I need to find user exit to add validation/warning if vendor has multiple PI partners in the vendor master. It has to happen when user types in PO number and hits enter key – this is when vendor info is retrieved in top right corner of the screen.

Any suggestions/recommendations would be greatly appreciated.

G.B.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

BADI: MRM_HEADER_CHECK should do it .

Former Member
0 Kudos

It looks like function module MRM_HEADER_CHECK is called from fm MRM_INVOICE_CREATE during invoice creation. I tried to set break points there, but it does not seem to be executed when I need it.

I already know how to check for multiple PI partners ( table WYT3 ). What I need is to find a user exit in MIR7 with PO # available when user types in PO number and hits enter key and vendor info is retrieved in top right corner of the screen. I need something similar to routine USEREXIT_XKOMV_BEWERTEN_INIT in include RV61AFZB, but PO # is not available there. Any ideas?

Thanks in advance,

G.B.