2008 Jul 30 5:53 AM
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.
2008 Jul 30 5:58 AM
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
2008 Jul 30 5:58 AM
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
2008 Jul 30 5:59 AM
Nitin,
infact either of these:
Enhancement
Enhancement
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
Amit.
2008 Jul 30 6:09 AM
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
2008 Jul 30 6:12 AM
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.
2008 Jul 30 6:13 AM
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
2008 Jul 30 6:38 AM
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 .....