‎2010 Feb 11 9:57 AM
Dear All,
I want to check items Quantity in MIR7.
I am using userexit - EXIT_SAPLMRMP_010.
It is working fine for MIRO and MIR4. but, it is not fired for MIR7.
Please advice me which user exit is used for MIR7.
Thanks in advance.
Regards,
Moon.
‎2010 Feb 11 10:27 AM
Hi,
List of User Exits present for MIR7
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Regards
Hiren K.Chitalia
‎2010 Feb 11 10:32 AM
Hi,
I am using EXIT_SAPLMRMP_010 this is resides in LMR1M001. This is not fired.
Tell me which userexit is fired when Save the MIR7.
Regards,
Moon.
‎2010 Feb 11 10:37 AM
‎2010 Feb 11 11:27 AM
Hi Kesav,
Please tell me how to incorporate my own code in BADI Invoice_upate.
give me the sample code.
Thanks in advance.
Regards,
Moon
‎2010 Jun 10 9:35 AM
‎2010 Jun 11 4:06 PM
Hi,
You have to implemented this BAdi : INVOICE_UPDATE and used the method when you want to do your check-
For example with : CHANGE_AT_SAVE
...........
LOOP AT TI_RSEG_NEW INTO wa_RSEG_NEW .
*check your quantity :
If wa_rseg_new-MENGE ne '........' your check.
MESSAGE e001(zxxx) RAISING error_with_message. this is exception of the method.
endif.
endloop.
..........
I hope that can help you.
Regards.
Lionel
‎2010 Jun 11 6:22 PM
Hi,
Goto t-code se19 and create an implementation class for BADI def INVOICE_UPDATE
this implementation will have 3 methods
CHANGE_AT_SAVE : Invoice Document at Save
CHANGE_BEFORE_UPDATE : Invoice Document Before Update
CHANGE_IN_UPDATE : Invoice Document During Update
write your code according to in which process you want to put ur code. save and activate the implementation.
put a breakpoint in your code and execute the application.
you can then debug the entire procedure.
Hope this helps you .
Regards,
Swati