Badi for MIRO

Hi ,
I am working with miro t-code,
presently i am using one Badi:: MRM_HEADER_CHECK.
in method :: HEADERDATA_CHECK.
my requirement is like after giving PO No based on this po no i am fetching purchase order history data
from ekbe table ,
if GR is done on 17.11.2008 then in MIRO base line date should come this DATE..,
in this mehod i am updating the date but afer this method automatically it is taking system date.
Regards,
mohammed.

The available badi & exits for MIRO are the following. Just check, any one might help u.
19.11.2008                           Dynamic List Display                                  1
              Possible Enhancement Objects : MIRO          
     Enhancemen     Object Name     Description
     Business-Addin     INVOICE_UPDATE     Business Add-In: Logistics Invoice Verification
     Enhancements     LMR1M001     User exits in Logistics Invoice Verification
     Enhancements     LMR1M002     Account grouping for GR/IR account maintenance
     Enhancements     LMR1M003     Number assignment in Logistics Invoice Verification
     Enhancements     LMR1M004     Logistics Invoice Verification: item text for follow-on docs
     Enhancements     LMR1M005     Logistics Inv. Verification: Release Parked Doc. for Posting
     Enhancements     LMR1M006     Logistics Invoice Verification: Process XML Invoice
     Enhancements     MRMH0001     Logistics Invoice Verification: ERS procedure
     Enhancements     MRMH0002     Logistics Invoice Verification: EDI inbound
     Enhancements     MRMH0003     Logistics Invoice Verification: Revaluation/RAP
     Enhancements     MRMN0001     Message output and creation: Logistics Invoice Verification
regards,
Padma

Similar Messages

  • User Exit / Badi for MIRO / MB60

    Hi,
         I want a user exit or badi for the MIRO /MB60 Transactions.
    When select something on GL Account Number(from table control of these transactions) and press on enter then I want to add some code. Can you please let me know the exit/badi for this scenario.
    Thanks,
    Srinivasa Rada

    hi
    Following exits are available for MIRO.
    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
    <b>
    BADI...
    </b>
    To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
    double click on method get_instance, get a break point on case statement.
    execute and start the required transaction in new session.
    look for variable <b>exit_name.</b> It would show the available badi's.
    Please do reward if useful
    Regards
    Dinesh

  • User Exit or Badi for MIRO

    Hi
    I need add some validations to data entry in MIRO for send their respective error messages and stop data saving.
    Does somebody knows some User Exit or Badi for make validations in MIRO ?
    Regards
    Frank

    Hi,
    you can use badi MRM_HEADER_CHECK. In order to put error message you can use function module
    PROT_FILL.
    * If there is any error do not allow posting
        DATA: gt_errtab    TYPE TABLE OF mrm_errprot,
              gs_errtab    TYPE mrm_errprot.
        CONSTANTS:     c_errprot(23)   TYPE c VALUE '(SAPLMRMF)TAB_ERRPROT[]'.
        FIELD-SYMBOLS: <fs_errprotj_dt> TYPE table.
        ASSIGN (c_errprot) TO <fs_errprotj_dt>.
        REFRESH gt_errtab[].
        gt_errtab[] = <fs_errprotj_dt>[].
        IF NOT gt_errtab[] IS INITIAL.
          READ TABLE gt_errtab INTO gs_errtab WITH KEY msgty = 'E'.
          IF sy-subrc = 0.
            DATA: c_okqx(17)   TYPE c VALUE '(SAPLMR1M)OK-CODE'.
            FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
            ASSIGN (c_okqx) TO <fs_okqx>.
            CASE <fs_okqx>.
              WHEN 'BU'. "POST
    * This is optional: you can either search for a particular message or
    * do not allow any error message
    * Here search for the message triggered in badi INVOICE UPDATE
                READ TABLE gt_errtab INTO gs_errtab WITH KEY msgty = 'E'
                msgid = 'ZXX' msgno = '030'.
                IF sy-subrc = 0.
                  CLEAR <fs_okqx>.
                  MESSAGE s030(zxx). "While errors exist document will not be posted
                ENDIF.
            ENDCASE.
          ENDIF.
        ENDIF.
    This is used to give error message in case before posting the document.
    KR Jaideep,

  • Exit / badi for MIRO

    Hi SDN's,
    I need to insert a new Z field in the Basic Data Tab of the MIRO transaction.
    Can any body tell me how can i do that? Is there any exit or BADI relevant to that?
    Plz its very urgent.
    Regards
    Pratyu

    Hi Pratya,
    If u want user exit for this t.code:
    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
    These are the available.
    Rewords some points.
    Rgds,
    P.Nag

  • Screen BADI for MIRO/FB60 item level field addition

    Hi,
    I need to add 'Material Group" (MATKL) field in item level similar GL Account. Material group will appear like GL account column in FB60/ MIRO screen ( GL posting).
    I want to do without modification with help screen BADI.
    Anyone, can suggest which BADI's method / User Exit can allow to add 'MATKL' field screen?
    regards,
    Rahul Mandale

    Dear Rahul,
    Please check IMG path :
    Material management>Logistic Invoice verification>incoming invoice-->Maintain item list variant.
    Or use Tcode SHD0, enter transaction Code MIRO and create  a screen variant.
    You can create your own screen variant , Untick the invisible check box for material group.
    Regards,
    w1n

  • Userexit or BADI for MIRO

    Hello,
    I use MIRO to create an invoice.
    I fill manually the invoice date, the reference and the purchase order number. Most of the fields are automaticaly filled thanks to the purchase order number.
    My need is to fill the field "Payment Block Key" in tab "Tax" with a certain value and i want this value to be displayed before save.
    The BADI INVOICE_UPDATE can't be use because it's called after "save".
    I have tried the userexit EXIT_RMMR1MRB_001 but i never stop in this include.
    Have you an other idea for my problem ?
    Thanks.

    Hi,
    try this then:
    maybe with badi MRM_HEADER_CHECK via field-symbols.
    Have a look at example implementation class CL_EXM_IM_MRM_HEADER_CHECK
    e.g.
      IF sy-tcode = 'MIRO'.
        IF i_rbkpv-ZLSPR EQ 'WHATEVER'. "YOUR CONDITION
          DATA: c_rbkpv(15)   TYPE c VALUE '(SAPLMR1M)RBKPV',
          FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
          ASSIGN (c_rbkpv) TO <fs_rbkpv>.
          <fs_rbkpv>-ZLSPR = 'NEWVALUE'. "YOURNEWVALUE
        ENDIF.
      ENDIF.
    Best regards.

  • User exit or BAdI for MIRO(before save)

    Hi all,
    My requirement is for tcode MIRO to change the table control data, 'amount' field in po reference tab for drseg as soon as the user hits 'enter' after putting the po number.
    plz suggest if there is any user exit or badi to achieve the same.
    Thanks n regards,
    Mukesh Yadav

    Hi,
    Check the following.
    <exit farm removed by moderator>
    Moderator message: please reply with specific information only.
    Edited by: Thomas Zloch on Jun 3, 2011 10:20 AM

  • UserEXIT/BADI for MIRO

    Hi Gurus,
    We want to change the invoice date when we are doing MIRO.
    Please suggest any UserEXIT or BADI where in we can change the invoice date when we are doing posting.
    Thanx
    RR

    check below exits
    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

  • BADI FOR MIRO WITH FOREX POSTING

    Hi SAP team,
    While posting MM invoice through Miro transaction for PO with the account assignment K, we are getting Forex line for foreign exchange gain.
    So while posting we are getting cost center derived from the PO even to the Forex line.
    we would like to delete the cost center from the Forex line. kindly provide the BADI to avoid this.
    Regards
    Suni.

    Hi,
    try with badi MRM_HEADER_DEFAULT.
    Best regards.

  • 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.

  • BADI for MIRO transaction

    Hello Experts,
    I need to capture the Serial Number during invoice entry and stored in a custom table. It is key to note that an invoice line item with a multiple quantity will require multiple serial numbers.
    I am looking for a BADI to enhance the screen to provide a input option for Serial Numbers.
    I figure out a BADI MRM_ITEM_CUSTFIELDS but not sure this is the best suitable one or not.
    Please provide your input.

    Abdul,
    General instructions for finding BAdI calls and when they happen:
    Go to transaction SE80 in a client where you can experiment with the transaction that you are interested in.
    Go to class CL_EXITHANDLER. [Select Class / Interface from the drop-down, and put CL_EXITHANDLER for the class.]
    Go to method get_instance. [Press RETURN to ensure that the contents of the Object Name frame are for CL_EXITHANDLER. Expand the Methods node. Double-click on GET_INSTANCE.]
    Insert a breakpoint just after the call to the method cl_exithandler=>get_class_name_by_interface.
    Use the transaction in which you are BAdI-hunting.
    Examine the contents of the field exit_name whenever the processing stops at the breakpoint. I have found a case where exit_name was an unknown field. Then class_name gave a good clue to the name of the BAdI.
    Hope this helps,
    John

  • User Exit or BADI for MIRO after save

    Hi
    I want to show a message in MIRO once the invoice document is create but I am unable to find a user exit or BADI after save of the MIRO transaction.
    Please guide me in this aspect.
    Regards

    try to run the below codes in a new program,it can help you to find all user exits of a t-code:
    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.

  • BADI for populating the Header data in MIRO

    Dear Gurus,
    I have tried to find the BADI for MIRO transaction as I want to populate the RKBP-XBLNR (Reference), RKBP-BUPLA (Business Place), RBKP-SECCO (Section Code) automatically. But I am unable to find any BADI to do this.
    Kindly advice,
    Thanks,
    Sam

    Hi ,
    You can try Business Add In 'INVOICE_UPDATE'.
    But with some modifications as said in note 392342
    Check the below part
    Solution
    If the data changed in the BAdI is supposed to be returned to the MIRO,
    this can only be executed by a program modification of BAdI
    'INVOICE_UPDATE' and function module 'MRM_BADI_INVOICE_CHECK'. Contact
    the remote consulting for this.

  • Menu exit for MIRO tcode

    hI Expert
    Can anyone tell me any menu exit  EXISTS IN MIRO T CODE??
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Aug 19, 2011 9:37 AM

    HI VINO
    any other alternate solution is there  to add button on menu in miro tcode ?
    any other menu badi for miro .
    thanks

  • 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

Maybe you are looking for

  • How to recover the home user

    my grandson deleted home user & hard drive icon on my desktop on MBP early 2009. i tried to reinstall the ios and backup from timemachine (remote USB 3 TB). but nothing works on my mac. how can i recover the home user?

  • I have an "unrecoverable error on photoshop cs2.

    I just went on photo shop cs2 and I got a message saying "Unable to continue because of a hardware or system error.Sorry, but this error is unrecoverable." How do I fix this? I reinstalled photo shop I tried restoring my computer, I tried restarting

  • Window Title Font

    I am trying to change the Window Title Font in Font Preferences but it is grayed out. I can change application font and terminal font but not Window Title Font.

  • All iwork application are slow to open and crash

    Hello, I have just bought the latest iMac together with iWork09 (in the dvd box) I did not encounter any problem with installation of iWork but when I open either keynote, numbers or pages, it takes ages before the application opens. In fact the imac

  • Read to get the last line from a File

    Hi I am sending in a clarification , hoping that I get an efficient solution from the group, should somebody have come across this scenario and implemented. How to read or get the last line from a text file , which usually have a no of records, witho