User exit for MIRO

Hi friends
My requirement is to do some validation in MIRO when user will press the save button. For this I am using EXIT_SAPLMRMP_010 fm exit in LMR1M001enhancement. But the problem is when I am trying to validate that and show some messages it is not showing my error message and processing is still going on. Please suggest me how to show that message and stop the processing on that point. I am using ECC 5.0 version and already checked the BADI INVOICE_UPDATE but it is also not working.
regards
shiba dutta

Hi,
Put the breakpoint in each of the userexit that are provided and check whether processing is going at that step.
If it is so then put the logic in that userexit.
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  
Regards,
Sonika

Similar Messages

  • User-exits for MIRO :: for terms of payment & baseline date

    Hi all,
    is thr any user exit for terms of payment (zterm) & baseline date (zfbdt) for transaction MIRO.
    Regards,
    Nilesh

    hi Nilesh,
    try this exit: LMR1M001
    hope this helps
    ec

  • BAPI or USER EXIT for MIRO: Change PO reference amount (on-line)

    Hi, I need to find a BAPI or USER EXIT for TX MIRO to change/modify the PO reference amount for the selected positions (using the given checkbox) just after selecting them (when pressing ENTER). Any ideas? Thanks.

    Hello Suman,
    Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
    Steps.
    1. Goto the Tcode
    2. System-> Status.
    3. Copy the program name, find the package for the program.
    4. Go to SMOD (tccode)  press F4 -> Click on "Information System" Push Button->
       Enter the Package name-> and press the enter button.
    5. Now you get the list of Userexits. Need to select one by looking into its short    description.
    Hope this solves your issue,
    Cheers,
    Suvendu

  • User exit for MIRO after pressing ENTER

    Hello,
    Is there a user exit in MIRO after entering PO, Invoice date and Reference and pressing ENTER?
    I want to popup a message that relates to vendor data that does not appear in the screen
    Thanks,
    Moshe

    Hi,
    BADI
    class_name                     CL_EX_PPA_CUST_BADI
    exit_name                      PPA_CUST_BADI
    class_name                     CL_EX_FAGL_PERIOD_CHECK
    exit_name                      FAGL_PERIOD_CHECK
    class_name                     CL_EX_MRM_VARIANCE_TYPE
    exit_name                      MRM_VARIANCE_TYPE
    class_name                     CL_EX_MRM_HEADER_CHECK
    exit_name                      MRM_HEADER_CHECK
    Check which one is best.
    Regards,
    Clemens

  • 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

  • BAdI or User Exit for MIRO

    Hello All,
    Our requirement is to change line item data in the MIRO before save. It would be a great help if you can provide any BAdI or User Exits.
    Thanks
    Anurag

    Have a look at below code
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode.
    Also have a look at below code which lists the BADI for particular tcode.
    *& Report  ZNEGI16                                                     *
    REPORT  ZNEGI16                                 .
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    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,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    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 in ('SMOD', 'SXSD')
    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:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    I hope this helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • EXIT_SAPLMRMP_010 - User Exit for MIRO

    Hi,
    I'm trying to call this User Exit EXIT_SAPLMRMP_010, in the MIRO transaction, but it is not triggered at all. And so after troubleshooting, in one table TFDIR, for this function module, the MAND field is blank.
    Whereas the program expects character 'C' in the MAND field.
    I do not understand from where this C is coming.
    I executed another User Exit EXIT_SAPLMEREQ_005, which is having MAND = C and it is executing correctly.
    Please help me on this.
    Thanks

    Hi,
    I thought because of this MAND = C the PR user Exit is triggering, but its not due to that.
    Actually i wanted to do one validation in the MIRO using this Function module, but my validation is not getting triggered at all. For testing, i just gave one message, to be prompted, to test whether working or not. but still doesn't work.
    So anyone can tell me, how to trigger this FM.
    Thanks.

  • User Exit for MIRO versio ECC 5.0

    Business Process u2013
    STAGE 1:       PO creation and release
    STAGE 2:       GRN
                            Material comes in Quality inspection stock
    STAGE 3:       Quality test and approval   -    Material shifts to Unrestricted use
                            Quality test and Rejection   -  Material shifts to Blocked stock.
    STAGE 4:       MIRO
    regards
    syama

    hi
    here it is
    STAGE 1: PO creation and release
    PPCO0001  Application development: PP orders
    PPCO0003  Check exit for order changes from sales order
    PPCO0004  Sort and processing exit: Mass processing orders
    PPCO0007  Exit when saving production order
    PPCO0008  Enhancement in the adding and changing of components
    PPCO0009  Enhancement in goods movements for
                      prod.process order
    PPCO0010  Enhancement in make-to-order production - Unit of measu
    PPCO0012  Production Order: Display/Change Order Header Data
    PPCO0013  Change priorities of selection crit. for batch determin
    PPCO0015  Additional check for document links from BOMs
    PPCO0016  Additional check for document links from master data
    PPCO0017  Additional check for online processing of document link
    PPCO0018  Check for changes to production order header
    PPCO0019  Checks for changes to order operations
    PPCO0021  Release Control for Automatic Batch Determination
    PPCO0022  Determination of Production Memo
    PPCO0023  Checks Changes to Order Components
    STATTEXT  Modification exit for formatting status text lines.
    STAGE 4: MIRO
    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
    LMR1M005  Logistics Inv. Verification: Release Parked Doc. for Po
    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 Verifica
    Cheers
    Snehi

  • Any user exit for MIRO

    Hi All,
       Is there any user exit / field exit  which gets activated when invoice party value ( in the detail tab of transaction MIRO ) gets filled (either manually or from PO ). The requirement is to display a warning message, once the invoice party is filled, if its a particular supplier.
    Thanks in Advance.
    Regards,
    Kiran

    Hi,
      Check the following user exits available 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         
    Rgds,

  • User exit for MIRO while saving

    Hi
    I need to validate the Company code in Txn MIRO with the company code of the PO that's been processed
    Is there any user-exit which gets triggered while saving the document in txn MIRO.
    I know the following BADI INVOICE_UPDATE gets triggered while saving the documents, as i am new to the BADI functionality, i am unable to proceed further with the implementation of it in the system.
    Can some one let me know how to implement a BADI.
    Cheers

    Hi Sushis ,
    check this link abt badi
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
    and u have to choose this method is useful
    <b>CHANGE_AT_SAVE     Invoice Document at Save
    CHANGE_BEFORE_UPDATE     Invoice Document Before Update
    CHANGE_IN_UPDATE     Invoice Document During Update</b>
    let me know if u required more info.
    regards
    Prabhu

  • User Exit for MIRO for Vendor

    Hi,
    In MIRO FI entry passed
    Vendor Cr.
    GRIR Clearing Dr.
    Now We are having a scenario where above entries should be
    GL code Cr.
    GRIR Clearing Dr.
    Now it should be automatic that when we click Post that Vendor should automatic substituted with GL.
    Please help me with user exits/badi/enhancement if any
    Regards
    Nike

    Hi,
    You can use the BAdI "INVOICE_UPDATE" having below methods.
    CHANGE_AT_SAVE                  Invoice Document at Save
    CHANGE_BEFORE_UPDATE    Invoice Document Before Update
    CHANGE_IN_UPDATE              Invoice Document During Update
    Thanks
    Gangadhar

  • User exit for MIRO when after saving?

    Hi,
        As subject. Because we want to print credit memo when transaction is credit memo and want to pop up a window to confirm print or not?
        Thanks a lot!!
    Best Regards,
    Nicole

    ParkFromData
    > BAPI_INCOMINGINVOICE_PARK: park invoice
    SaveFromData
    > BAPI_INCOMINGINVOICE_SAVE: enter invoice for verification in the background
    PreliminaryPostSingle
    > BAPI_INCOMINGINVOICE_POST: post provisional invoice
    holpe this help.
    Regards
    Eduardo Chagas

  • User exit for  modify miro

    Hi all,
    i want user exit for miro. it's trigers when i enter purchase order no.
    also i want modify item data after  enter purchase order no.
    please help me.
    Thanks,

    Hi,
      These are the available user-exits in MIRO:
    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
    regards
    Aveek

  • User exit for duplicate invoice in MIRO and FV60

    HI
    i want to find a user exit to findout the duplicate invoice from MIRO, F-47, FV60 (Parked Invoice), MR8M (Credit Memo).
    please let me know if you know any user exit for this.
    Thanks & regards
    Naresh

    Hi,
    for each transaction code so many user exits are there it is diffecult to pase all the user exits here
    check below link  and run the program in se38 and give the transaction code you get the user exits for each transaction code.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • User exit for calculating exchange rate in MRER,MRKO,MRNB,MIRO

    Hi All,
    For the transactions MRER,MRKO,MRNB,MIRO I want to change the exchange rate type(tcurv-kurst) which is used to calculate exchange rate .
    For example, exchange rate type 'M' is used to calculate the exchange rate but now i want to use the type 'ITAD' to calculate the exchange rate.Could you suggest some user exit or BADI for achieving this.

    Hi Subasree,
    The user exits for respective tcodes are mentioned below,
    MRER
    Exit Name           Description
    MRER0001            Automotive Evaluated Receipt Settlement (ERS)
    MRKO
    Exit Name           Description
    RMVKON00            Enhancements to report "Settle consignment liabilities"
    MM08R001            User exits for ERS
    MM08R002            User exit for tolerance checks
    MRNB
    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
    MIRO
    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
    Hope you will find the required amongst this,
    Regards,
    Soundarya.

Maybe you are looking for

  • My Mini isn't recognized on my computer anymore when I plug it in, what's ?

    I've established a library on my Mac. I bought a PC recently and have begun a new library of music on it. When I plug my mini into either computer now through the USB port, it won't charge and the neither computer recognizes my ipod! It seems to "wak

  • File to Proxy----Tables not getting updated.

    Hi all, I have File to proxy scnerio, where Data from file is uploaded in to BAPI in turn updated in to tables. If i take pay load from Moni  and test in SPROXY then tables is getting updated. But when i run Scnerio form XI tables are not getting upd

  • XMLdatasets: How to combine multiple xml data sources??

    What I'm trying to do (without any results so far...) is to combine data from two different xml sources. I have one source with a list of cultural events (agenda.xml) and another with a list of contacts (contacts.xml). Each source has a column with a

  • Correctly Hide Edit Mode Elements in Preview Mode

    Hello, I wanted to know how I should modify the code below to correctly show content in the correct mode?  The code below works, but when switching to preview mode, I have to manually refresh the page to get the "Preview/Publish mode text" to disappe

  • Why does my screen have a pinkish glow to it?

    My screen looks as if there is a pinkish filter. Can anyone help with this?