Application Development 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: 

User exit related doubt

Former Member
0 Kudos
99

Hi all,

I have got a requirement from the functional as below.

While doing MIRO u2013 invoice (BELNR) amount should be round off to nearest rupee.

If it is 100.50 should be rounded off to 100.00

If it is 100.51 to 101.00

I think i have to include the function module for the same through exit.

So i seraced for the exit, n ter r 10 exits in the transaction MIRO.So from those 10 how will i be able to find which is the suitable one for writing the code for rounding off.

it will be great,If some one can give the solution.

Thanks in advance,

Nitin.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
73

hi,

Identify the one which it is taking the value of BELNR as an exporting parameter/changing parameter and within that exit make use of ROUND FM and assign the enhancement to the project via CMOD and activate the project to make the userexit work ...

Regards,

Santosh

6 REPLIES 6

Former Member
0 Kudos
74

hi,

Identify the one which it is taking the value of BELNR as an exporting parameter/changing parameter and within that exit make use of ROUND FM and assign the enhancement to the project via CMOD and activate the project to make the userexit work ...

Regards,

Santosh

former_member181995
Active Contributor
0 Kudos
73

Nitin,

infact either of these:

Enhancement                                                
Enhancement                                                                           
LMR1M001                                User exits in Logistics Invoice Verification  
LMR1M002                                Account grouping for GR/IR account maintenance

Amit.

Former Member
0 Kudos
73

Thanks a lot Santhosh & Amit ,

I checked all the exit..none is having BELNR as an export parameter,so it means that i cant incorporate that requirement in MIRO , right?

Is any other option other than user exit for fulfilling this need.

Once again Thanks,

Nitin

0 Kudos
73

Nitin,

may be it is not in export parameter first you have to see by just putting break-point in source code of exit wether it is coming in debugger or not.if yes than check in which field value is populating of belnr.

Amit.

Former Member
0 Kudos
73

hi,

Check if the tables parameter of the exit has this field being populated .... if so then you can modify the value and export it back .. I suggest you to debug the code to find out where the field is being moved to .... and check if that value is existing at any of the exit ...

Regards,

Santosh

former_member262988
Active Contributor
0 Kudos
73

hi,

i too got the requrement to change the data in line items of MIRO but no exit was suitable then i found the values getting into this fm MRM_FINAL_CHECK .....changed through implicit enhancment .......so do use this FM line item data will get pupulated in T_DRSEG .....