Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TCODE MIR7 user_exit

Former Member
0 Likes
1,697

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.

7 REPLIES 7
Read only

Former Member
0 Likes
1,370

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

Read only

0 Likes
1,370

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.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,370

Check with badi INVOICE_UPDATE

Read only

0 Likes
1,370

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

Read only

Former Member
0 Likes
1,370

not solved

Read only

0 Likes
1,370

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

Read only

0 Likes
1,370

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