User Exit - MIRO (TX)

Hi,
Well , in this oportunity , I'm looking for a user exit which is called after I save information in  MIRO TX, besides,  The User Exit should recieve information like document header  and all their positions.
Can anybody help me ?

Micheal,
just look at these exit:
Enhancement                                                                               
LMR1M001                                User exits in Logistics Invoice Verification
and this badi:
Business Add-in                                                                               
INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification
Amit.

Similar Messages

  • USER EXIT- MIRO

    Dear All
    In Miro when i am posting Invoice default Transaction is INVOICE and the document type (Invoice Gross)is RE.
    and no range is assigned to it.
    If i select Credit memo then also same No range gets hit Coz defalut Document type is  (Invoice Gross)is RE.
    My user wants Different document type and number range for Credit MEmo
    So I have created Document type as ZC and Created Seperate No range.
    But now the problem is that When my user creates Credit memo then he has to explicitly select the the document type as ZC then only that no range gets selected from system.
    Can it be possible that if my User select Credit memo then Automatically ZC document tyoe should be selected so that the document(FI) that  gets created should hit only that no range.
    Is there any USER EXIT that i will have to create
    Awaiting for your Response
    Regards
    Shailesh

    Hi
    You can use BADI MRM_HEADER_DEFAULT to default the document type based on whether it is invoice / credit memo.
    Regards
    Prasad

  • USER EXIT or BADI for Vendor field in MIRO

    Hi Experts,
    In MIRO transaction vendor field gets defaulted from Purchase Order. So my requirement is to changes that vendor with alternate payee.
    To <u>replace the vendor with alternate payee</u> I need the <b>USER EXIT or BADI</b>, kindly help me on this will be useful for us.
    Thanks in Advance.
    SAP Consultant

    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material do
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Ma
    No of Exits:          8
    BAPI-step by step procedure
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all BAPI's
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    Rewards if useful.................
    Minal

  • BADI/USER EXIT for MIRO.

    Hi All
    I have added a new field (GST) on MIRO screen using GUI XT.
    The requirement is such that I need to populate this field after I have entered the purchase order no (It needs to take the vendor from the PO and then its subsequent VAT no from the vendor master). I am not sure where to do this part of the coding.
    i have tried to implement BADIs
    BADI_ENJ_ALT_ADR
    INVOICE_UPDATE
    BADI_FDCB_SUBBAS01
    but it doesn't help.
    Is there any other BADI/User Exit that I can try.
    Thanks in advance.
    Harsh

    Hi,
    Bellow are the exit names for MIRO.
    <Irrelevant enhancement list removed by moderator>
    Regards,
    Goutam Kolluru.
    Edited by: Vinod Kumar on Feb 3, 2012 9:34 AM

  • User Exit / BADI for MIRO in order to Fill G/L Account Automatically

    Hello!
    Recently I've got a request asking me to fill the G/L Account table control in MIRO transaction using an User Exit or BADI. I'm able to find all the information needed to complete this task, but can't seem to find a way to insert that data in the G/L table control. They want this data uploaded as soon the user inserts the PO number and loads everything. Is this possible?
    Thanks in Advance
    Regards,
    Moises Franco

    Hi.
    Find appropriate place in code to realize your task
    and insert GL data using corresponding BAPI.

  • Help on how to assign a field as mandatory in MIRO and name of user exit

    Hi all,
    the requirement is...
    In MIRO,the Incoimg invoice should not be posted without an empty field of amount(WRBTR) in the Basic Data.Currently as per std,it's not a mandatory field and can be posted by not entering any amount in that.So, either we have to make it as a mandatory field or should restrict not to saving the data if posting of empty field.(Not giving any amount)***seems,it tells the user to give the amount as mandatory.
    How to do this.....if its coming under the USER Exit object...pls post both how to get the std program and enhancement assignment(it asks while creating user exit in CMOD) also for user exit.
    thanks & regards
    sankar.

    Hi,
    Double click the screen number in the table maintainece generator for which you want to make the field mandatory. Goto element list tab, in that goto the special attributes tab, there you change the input column value of the field to required from the drop down list and save, activate. Now the field will be mandatory in the table maintainence screen.
    OR
    1) Make the field as a KEY field in the table, If Possible.
    2) If the field can't be made as a part of the key field, then you have to create Event for the Table. Goto the table maintenance generator. Goto Environment->Modification->Event and add your logic in the required event.
    Make change in the Screen will not help i think because whenever the Table maintenance is regenerated, the changes will be reverted back.
    Reward points if found helpful...
    Cheers,
    Chandra Sekhar.

  • Change AP Recon account in MIRO by using user exit

    Hi All,
    When using MIRO, I want to change the AP Recon. account, is there any user exit that can realize this requirement?
    Thank you in advance

    Transaction Code - MIRO                     Enter Incoming Invoice
    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
    No of Exits:         10
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • User Exit or BADI used to block the payment in MIRO

    Hi all,
    Is there any user exit or BADI to block the payment in MIRO . please give me in detail with all methods used.
    Thanks
    babu

    can anybody give me any answer. thanks.

  • MIRO - Invoice Party - User Exit needed

    Hi,
    I have a requirement like this....
      On MIRO tcode, the i need to put a condition if the user gives a Inv Party (3rd tab 'Details' on Header data of MIRO screen) other than the defalut one (vendor which comes by default with the PO)
    <u>Inputs to MIRO are :</u>
    1. invoice date on first tab of header data
    2. Existign PO number in Purchase Order/Scheduling Agreement ( just below the header data block
    3. in 3rd tab of header details (Details tab), on Inv.Party field, it takes the vendor number by default when we give the 2nd input (PO number)
    Can any body tell, which function module exit to work with ?
    PLEASE DO NOT GIVE ME the list of exits and badis by executing the ZUSEREXIT program.
    I have already done this.
    I would like to know which user exit to select out of this total exits.
    Thanks for your Help
    "Share and Learn"

    Hi Ali,
    My requirement is like,
    the user should not be allowed to give the Invoice Party field - value as different from the one different from the vendor number which already assigned to the PO while PO Creation.
    Please read the query in this thread for more details.
    I have found the list of exits, for MIRO, by executing ZUSEREXIT, and i got a list of exits and one BADI. But I am not sure which Exit will work for my requirements.
    ========== xxx ============
    Please, also tell me, how to identify the exact 'function module exit' which suits to our requirement, from the set of all exits displayed after executing ZUSEREXIT program.  (approaches/methods , u follow to identify)
    Thanks

  • MIRO User - Exit to Change the Profit Centre..?

    I need to change the Profit Centre in the Accounting document(for Vendor Line Item) and Profit Centre Accounting Document(For Payable Line Item) Created by MIRO Transaction.Can any one let me know if there is anyuser-exit or badi to achieve the same
    Thanks a lot for your help .
    Regards,
    Gopi.K

    hi
    These are all the user exits avalilable for MIRO transaction.
    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
    I think you can use this exit.
    LMR1M002 
    Regards.
    Lavanya.

  • User exit/BADi to change the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to change the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the vendor name in Header text field(MIRO -> Details tab -> header text field ). I have tried all the user exits and BADi's related to MIRO. Doesn't work. If anybody knows please share.
    Thanks,
    Pranav

    Try BADI INVOICE_UPDATE.
    If you are in system version is ECC 6.0, you can find out a Enhancement SPOT (ES_SAPLMRMC) under Function module MRM_FINAL_CHECK, which can be used to perform this requirement
    Hope this helps.
    Thanks,
    Balaji
    Edited by: Balaji Ganapathiraman on Mar 14, 2008 4:43 PM

  • User Exit on payment term is empty in MIRO

    Hi Experts,
    I'm new to abap, thus i have the above problem.
    If in t-code MIRO, and i want to stop the transaction from proceeding (meaning no parking, no posting, etc) when the payment term in the payment tab is empty. So, i am wondering if there is a user exit that should fulfill what i needed to do?
    Currently, i have codes that gave the users a warning message that the payment term is blank, but if the user continue to click on parking, or posting button, etc, the user will still be able to post or park that document.
    If there are any other solutions, please let me know.
    I have tried badi MRM_HEADER_CHECK but i am not sure if this will help me as i am new to this.
    Really appreciate any kind soul who can help me in this.
    thank you!

    Hi,
    maybe something (two possibilities) like this might work.
    1.- in badi MRM_HEADER_CHECK do:
    IF sy-tcode = 'MIRO'.
    IF I_RBKPV-ZTERM IS INITIAL.
    * get the ok-code
      DATA: c_okqx(17)   TYPE c VALUE '(SAPLMR1M)OK-CODE'.
      FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
      ASSIGN (c_okqx) TO <fs_okqx>.
    * delete ok-code.
      CLEAR <fs_okqx>.
      MESSAGE s0xx(zxx). "Fill in payment terms please
    ENDIF.
    ENDIF.
    2.- or in badi INVOICE_UPDATE, method CHANGE_AT_SAVE
    you can do:
    IF sy-tcode = 'MIRO'.
    IF S_RBKP_NEW-ZTERM IS INITIAL.
      MESSAGE e0xx(zxx) RAISING error_with_message. "Fill in payment terms please
    ENDIF.
    ENDIF.
    Best regards.
    Edited by: Pablo Casamayor on Dec 18, 2009 11:52 AM

  • User exit/BADi to populate the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to populate the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the some text in Header text field (MIRO -> Details tab -> header text field). I need to populate this field in the MM document as well as FI document (Accounting Document). I have tried all the user exits and BADi's related to MIRO/MRRL. Doesn't work. If anybody knows please share.
    Thanks,
    Santosh
    Edited by: Santosh Ghonasgi on May 13, 2010 4:48 PM

    Hello santosh,
    I am not sure whether a suitable exit / BADI exists to update the header text in MIRO directly.
    there is one related forum:
    User exit/BADi to change the header text in MIRO transaction
    Hope, it may helpful for you to proceed with some other parallel solution.
    Regards,
    Selva K.
    Edited by: Selvakumar Krishnan on May 13, 2010 5:29 PM

  • User exit/BADI in MIRO that would trigger invoice quantity block.

    Hi,
    Is there a way to enchance MIRO so that an invoice quantity block will be set automatically through user exit/BADI?
    My requirement is that if an invoice is to be posted onto a PO line using an IO, the invoice needs to be processed onto the PO line up to the total of the PO line. And if the invoice goes above the PO line and there is still some budget on the IO, the invoice should get a quantity block.
    Also, the quantity block should be set before posting the invoice.
    Thanks.

    Hi,
    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
    Badi Name            Description
    INVOICE_UPDATE       Business Add-In: Logistics Invoice Verification
    INVOICE_UPDATE       Transfer Invoice Receipt to Records Management
    INVOICE_UPDATE       Event manager communication from invoice processing
    INVOICE_UPDATE       Rückantwort ins CRM aus der Lieferantenrechnung
    INVOICE_UPDATE       Implementierung, um S1NVEXC zu übermitteln
    INVOICE_UPDATE       Save FI Document Type for Principle of Prudence
    INVOICE_UPDATE       Vendor Evaluation Based on Documents from IV
    Check this badi's and user exits.
    Hope this helps.
    Regards,
    Qamar.

  • User exit for incoming invoice - MIRO/MB60

    Hi,
    Can anybody suggest me the user exit to set the payment block during the creation of incoming invoice document through MIRO(With PO reference) / FB60 (With out PO reference).
    Kindly dont run the program and send the list of the exists.
    Thanks
    Suri

    HI Suresh,
      Just execute this report and enter input value as FB60 then it will display alll the user exits related to this  t-code.
    report zuserexit no standard page heading.          
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.          
             tables : tstct.          
    data : jtab like tadir occurs 0 with header line.          
    data : field1(30).          
    data : v_devclass like tadir-devclass.          
    parameters : p_tcode like tstc-tcode obligatory.          
    select single * from tstc where tcode eq p_tcode.          
    if sy-subrc eq 0.          
       select single * from tadir where pgmid = 'R3TR'          
                        and object = 'PROG'     
                        and obj_name = tstc-pgmna.     
       move : tadir-devclass to v_devclass.     
          if sy-subrc ne 0.     
             select single * from trdir where name = tstc-pgmna.     
             if trdir-subc eq 'F'.     
                select single * from tfdir where pname = tstc-pgmna.     
                select single * from enlfdir where funcname =     
                tfdir-funcname.     
                select single * from tadir where pgmid = 'R3TR'     
                                   and object = 'FUGR'     
                                   and obj_name eq enlfdir-area.     
                move : tadir-devclass to v_devclass.     
              endif.     
           endif.     
           select * from tadir into table jtab     
                         where pgmid = 'R3TR'     
                           and object = 'SMOD'     
                           and devclass = v_devclass.     
            select single * from tstct where sprsl eq sy-langu and     
                                             tcode eq p_tcode.     
            format color col_positive intensified off.     
            write:/(19) 'Transaction Code - ',     
                 20(20) p_tcode,     
                 45(50) tstct-ttext.     
                        skip.     
            if not jtab[] is initial.     
               write:/(95) sy-uline.     
               format color col_heading intensified on.     
               write:/1 sy-vline,     
                      2 'Exit Name',     
                     21 sy-vline ,     
                     22 'Description',     
                     95 sy-vline.     
               write:/(95) sy-uline.     
               loop at jtab.     
                  select single * from modsapt     
                         where sprsl = sy-langu and     
                                name = jtab-obj_name.     
                       format color col_normal intensified off.     
                       write:/1 sy-vline,     
                              2 jtab-obj_name hotspot on,     
                             21 sy-vline ,     
                             22 modsapt-modtext,     
                             95 sy-vline.     
               endloop.     
               write:/(95) sy-uline.     
               describe table jtab.     
               skip.     
               format color col_total intensified on.     
               write:/ 'No of Exits:' , sy-tfill.     
            else.     
               format color col_negative intensified on.     
               write:/(95) 'No User Exit exists'.     
            endif.     
          else.     
              format color col_negative intensified on.     
              write:/(95) 'Transaction Code Does Not Exist'.     
          endif.     
    at line-selection.     
       get cursor field field1.     
       check field1(4) eq 'JTAB'.     
       set parameter id 'MON' field sy-lisel+1(10).     
       call transaction 'SMOD' and skip first   screen.
    Hope this helps you. reply for queries.
    Regards,
    Kumar.

Maybe you are looking for