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

User Exit for MIR7 Simulate

Former Member
0 Likes
2,402

Hi all,

I need to implement a user exit for MIR7 similation . requirment is when user click on button simulate at the time of MIR7 the total amount of all line items should be displayed in popup or any small window. therefore any user is there for do that . and give some tips for inplement that. actualy i am new to user exits.

Thanks in advance

Jitendra

Hi all,

I need to implement a user exit for MIR7 similation . requirment is when user click on button simulate at the time of MIR7 the total amount of all line items should be displayed in popup or any small window. therefore any user is there for do that . and give some tips for inplement that. actualy i am new to user exits.

Thanks in advance

Jitendra

10 REPLIES 10
Read only

Former Member
0 Likes
1,733

Please check following Enhancement project for MIR7

User Exit -

LMR1M006

MRMH0001

MRMH0002

MRMH0003

MRMN0001

LMR1M001

LMR1M002

LMR1M003

LMR1M004

LMR1M005

BADI - INVOICE_UPDATE

Read only

0 Likes
1,733

Hi Nilesh,

thanks to reply . I am implementing the badi INVOICE_UPDTAE can u tell me which tables are importing data in this BADI.

Jitendra

Read only

0 Likes
1,733

u have to consider all the tables .

Regards

Peram

Read only

0 Likes
1,733

hi,

You can use tcode 'smod' to navigate to one of these enchancement and choose the best EXIT Fm to do the calculation .

Exit Name Description

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

PS : to create the FM for this user exit , you can use tcode CMODE to create new project with the suitable enhancement and create the code for your calculation.

Thanks

Read only

0 Likes
1,733

Regarding BADI invoice_update...

You must look at BADI methods parameters to know which structures and internal tables you can use...

For example, if you implement method change_at_save, you can use:

s_rbkp_new For header data

ti_rseg_new For lines data

Also, probably you have to use this code inside your method implementation:


CHECK sy-cprog = 'SAPLMR1M' AND sy-ucomm = 'PB'. "Simulate

Regards

<b>Please reward points if helpful.</b>

Read only

0 Likes
1,733

Hi Alejandro Bindi

thanks to reply it very helpfull to me. it trigers at the simulate. but now problem is this. I am not getting the data which shows in simulate window like GL Number wise amount . any parameter of of this method "CHANGE_AT_SAVE" not contains this data. I need this data.

Jitendra

Read only

0 Likes
1,733

I'm sorry, if you're possitive that method parameters don't pass the data you need, you'll have to use other BADIs or user exits...

Regards.

Read only

Former Member
0 Likes
1,733

Hi,

badi (SE18) INVOICE_UPDATE

User exit:Thease are avilble user exit put break point and find suitable one for your reqirement.

LMR1M001

LMR1M002

LMR1M003

LMR1M004

LMR1M005

LMR1M006

MRMH0001

MRMH0002

MRMH0003

MRMN0001

Regards

Read only

Former Member
0 Likes
1,733

Hi,

The user exit EXIT_SAPLKBER_002 from enhancement COCCA002 is triggered when we simulate. Try and see if it is useful.

Regards,

Himanshu

Read only

Former Member
0 Likes
1,733

This message was moderated.