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.
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,