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-MIRO

Former Member
0 Kudos

hi friends,

i have to delete withholding tax if it is there for material in the MIRO transaction .I found badi but there is no export parameters.

if uou know any idea(user exit) related to this,please reply me..

regards,

diana.

1 ACCEPTED SOLUTION

GauthamV
Active Contributor
0 Kudos

hi,

check these exits related to miro.

Transaction Code - MIRO Enter Invoice

Enhancement/ Business Add-in Description

Enhancement

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

Business Add-in

INVOICE_UPDATE Business Add-In: Logistics Invoice Verification

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:47 PM

14 REPLIES 14

GauthamV
Active Contributor
0 Kudos

hi,

check these exits related to miro.

Transaction Code - MIRO Enter Invoice

Enhancement/ Business Add-in Description

Enhancement

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

Business Add-in

INVOICE_UPDATE Business Add-In: Logistics Invoice Verification

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:47 PM

Former Member
0 Kudos

hi,

how to find a particular user exit suitable for my requirement.

where to set a breakpoint and prexx execute button.how to find that this function module is triggered by MIRO transaction..please help me on this..

regards,

diana..

former_member182371
Active Contributor
0 Kudos

Hi,

have a look at:

badi MRM_WT_SPLIT_UPDATE

method WHTAX_SPLIT_UPDATE

here you have:

import parameters

I_RBKPV Invoice Document Header

TI_DRSEG Invoice Document Item

export parameters

TE_RBWS Withholding Tax

TE_RBVS Vendor Split

Best regards

Former Member
0 Kudos

Hi pal,

It is vey useful for me . thank a lot.

i was trying and found only one BADI :invoice_update.

But you have sent me some other which i did not find when i search.

so could you please tell me how did u find or How to get badis for particular transaction..

thanks and regards,

diana.

former_member182371
Active Contributor
0 Kudos

Hi,

here´s how i found out the badi´s available (path):

- transaction SPRO

- Materials management

- Logistics invoice verification

- Maintain customer exits and business add-ins

- Maintain business add-ins for invoice verification

- img activity documentation

There are other ways of finding badís and exits. Do a search

in this forum and you´ll find them. e.g.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/code%2bto%2bfind%2bbadi

/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it

Best regards.

Edited by: pablo casamayor on Jun 3, 2008 12:16 PM

Former Member
0 Kudos

Hi friends,

i have written codings for deleting withholding tax code for material using

badi :_ MRM_WT_SPLIT_UPDATE

method: WHTAX_SPLIT_UPDATE

i used the following import parameters.

import parameters

I_RBKPV Invoice Document Header

TI_DRSEG Invoice Document Item

export parameters

TE_RBWS Withholding Tax

and i am deleting values of import parametr I_RBKPV .but this effect is not reflected to export parametresTE_RBWS eventhough it has same structure of I_RBKPV.

and i debugged MIRO transaction also.

during runtime there r no values in TE_RBWS though there r values in I_RBKPV.

i need to change the values of I_RBKPV during runtime.is it necessary that I_RBKPV should be a changing parameter?

if anybody knows please update me on this.

regards,

diana.

Former Member
0 Kudos

it is answered

0 Kudos

Hi, I have the same problem. Can you write you problem solution?

Thanks.

0 Kudos

Hi friends,

I am facing the same problem while changing the withholidng taxes in this badi (MRM_MRIS_HDAT_MODIFY). In my case, depending on the material group withholding taxes should be deleted or not, but even I entered code in the badi it's not working. Any help would be apreciated!!! Thanks, Nisha

Former Member
0 Kudos

Hello Diana Richard,

I got a similar problem as yours, im trying to implement BADI for MIRO transaction to change it's header data.

MY user req is to display PO number in assignment field of header data.

i couldn't find any BADI to change header data of MIRO transaction.

You said your problem is solved.

How did u achieved tht.

Please help me..

Regards

Ravi

0 Kudos

Hi Ravi ,

I have exactly same requirement as urs, so can u please guide me how tp resolve the problem

0 Kudos

We have a same problem , please Help

Former Member
0 Kudos

Hello Diana, I am having the same doubts as you.

Please, I want to know how you solved this problem.

i want to clear the table of Withholding Tax, look my font:

METHOD if_ex_mrm_wt_split_update~whtax_split_update.

DATA: wa_rbws TYPE rbws,

wa_rbvs TYPE rbvs.

IF sy-uname = 'SF171381'.

BREAK-POINT.

te_rbws[ ] = i_rbkpv-h_rbws[ ].

te_rbvs[ ] = i_rbkpv-h_rbvs[ ].

LOOP AT i_rbkpv-h_rbws INTO wa_rbws.

CLEAR wa_rbws.

MODIFY te_rbws FROM wa_rbws INDEX sy-tabix.

ENDLOOP.

LOOP AT i_rbkpv-h_rbvs INTO wa_rbvs.

CLEAR wa_rbvs.

MODIFY te_rbvs FROM wa_rbvs INDEX sy-tabix.

ENDLOOP.

ENDIF.

ENDMETHOD.

Edited by: Raphael Maia on Jul 14, 2009 8:50 PM

Edited by: Raphael Maia on Jul 14, 2009 8:56 PM

0 Kudos

Hi Diana,

Please Help Me same issue we are Facing .How to Delete Withhold tax.