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.

Similar Messages

  • Userexit or BADI for program *RMMRP000* for background job

    Hi,
    We are scheduling background job for MRP through SM36 using program  RMMRP000 or Through Transaction MDBT (MDBT is calling program RMMRP000) which creates PR (through background job).
    I want to default one field in PR (PO Price field in valuation tab in PR default to gross) using any userexit or BADI.
    Can any body suggest me userexit or BADI for program RMMRP000 for background job
    Regards.

    Hi,
    1. The below are the List of  Userexit for this MDBT t.CODE.
    2. But i dont see any one helping to resolve your issue.
    3. May be you should lookg at the Userexit for me21n or relevant Purhcase requisition creation transaction.
    reg
    dsk

  • Userexit or Badi for vl01n date check

    Hi experts,
                     While preparing VL01N, BLDATE, WADAT,WADAT_IST  date should be a current date,
    if else i won t allow that delivery to PGI. kindly give userexit or badi  for this issue.
    Thanks and Regards
    G.Vendhan

    Hi,
    Use these steps to find Badi easily.
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    Hope this helps u.
    thanks.

  • 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

    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

  • Finding Userexit or BADI for vl10batch transaction

    Hi All,
    We are using the VL10BATCH transation for creation of delivery note which can create one Delivery document for multiple line items.
    VL10BATCH transaction which inturn creates variants for VL10 transactions based on material, partner, Salesorder details and batch job will be scheduled once the variant is saved.
    I have a requirement to change the VL10BATCH transaction, that it should create 1 Delivery document per 1 line item. Is there any BADI or any userexit available which is called before Delivery document creation, so that I can enhance the userexit or BADI and can restict it to only 1 Delivery for 1 line item.
    Any inputs on this will be a valuable help for me.
    Thanks and Regards,
    Reddem.

    Hi Reddem!
    Try one of them userexits
    LV50R_VIEWG01 - LV50R_VIEWG17
    Otherwise you can make a lot of settings in VL10 on the User Role tab. E.g. Dlv creation profile, you can find some user-exits with F1-Help and F4-Help on input fields.
    br
    Kalman

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

  • Userexit or BADI for FB50/Fb60 transactions

    Hi Gurus,
    Can someone give me a Userexit or BADI that will trigger before posting an invoice thru FB50 or Fb60 transactions?
    Thanks,
    -Anthony.

    These ara exits i found for ut Tcode FB50.
    F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002 FIDCC1: Change IDoc/do not send
    F050S003 FIDCC2: Change IDoc/do not send
    F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001 Balance Sheet Adjustment
    FARC0002 Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00 Line item display: Checking of selection conditions
    RFKORIEX Automatic correspondence
    SAPLF051 Workflow for FI (pre-capture, release for payment).
    i cant keep the break-point in these exits ,
    u keep the break-point in all FM's and run the tcode it will trigger ,then u can find the where it is triggering ,then delete all the grk-points.
    Reward Points if useful.

  • Is there any userexit OR BADI  for MIR7 WHEN change number of PO

    I know I can use badi  NVOICE_UPDATE- CHANGE_BEFORE_UPDATE method. to check PO's number when
    I save .
    I want to find an exit or badi to implement when I change number of PO, and  type enter  to  check the number .How can I do ??

    Hi,
    Please check this thread for the procedure to find the BADI for a transaction
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1276392,00.html#
    Or
    You goto se24 and specify the class CL_EXITHANDLER and in that double click on GET_INSTANCE method in that put a break point on the line 
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    and run you transaction... for almost every action you will get this method trigger and in that check the exit name... And that's the BADI for the interaction made in that transactation.
    Please go through this link for Finding BADI using class CL_EXITHANDLER in detail.
    [Finding BADI|http://abapreports.blogspot.com/2008/06/badi-finding-in-abap.html]
    Hope this would help you.
    Good luck
    Narin
    Edited by: Narin Nandivada on Aug 19, 2008 5:30 PM

  • Any userexit or badi for Me51n or me52n

    Any  user exist  or badis for  Me51n or me52n if
    Material Profit center ,v/s Plant profit center  or v/s WBS profit
    center not matched then PR should not saved.
    Moderator message: please do some own research before asking.
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Feb 21, 2011 2:01 PM

    Hi,
    Please check this thread for the procedure to find the BADI for a transaction
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1276392,00.html#
    Or
    You goto se24 and specify the class CL_EXITHANDLER and in that double click on GET_INSTANCE method in that put a break point on the line 
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    and run you transaction... for almost every action you will get this method trigger and in that check the exit name... And that's the BADI for the interaction made in that transactation.
    Please go through this link for Finding BADI using class CL_EXITHANDLER in detail.
    [Finding BADI|http://abapreports.blogspot.com/2008/06/badi-finding-in-abap.html]
    Hope this would help you.
    Good luck
    Narin
    Edited by: Narin Nandivada on Aug 19, 2008 5:30 PM

  • UserExit or Badi for inbound posting idocs after commit

    Hello Folks,
    I want to know the User Exit/Badi that can be used after inbound idoc gets posted-iam using FM IDOC_INPUT_HRMD for posting idocs, as i want to use perform on commit statement.
    Thanks & Regards,
    Nishanth Kumar

    Hi Nishanth
    Dont sure about the question actually.Can you elaborate.
    see the [thread|Re: User Exit or BADI   for ME21N or ME51N;
    it may help you
    Regards
    Sachin

  • UserExit or BADI for FCH5

    Hi Gurus,
    Any one please tell me is there any user Exit or badi for FCH5 - Create Check Information.
    Sekhar

    hi,
    you have so many exits and badi for that transaction.
    if you donot know the program to find them,then check these.
    Transaction Code - FCH5                     Create Check Information
    Enhancement/ Business Add-in            Description
    Enhancement
    RFFOX074                                Frame for user exit RFFOX074 (in program RFFOCH_U)
    RFFOX075                                Frame for user exit RFFOX075 (in program RFFOCH_U)
    RFFOX081                                Frame for user exit RFFOX081 (in program RFFOF__T)
    RFFOX082                                Frame for user exit RFFOX082 (in program RFFOF__T)
    RFFOX100                                Frame for user exit RFFOX100 (in program RFFOUS_T)
    RFFOX101                                Frame for user exit RFFOX101 (in program RFFOUS_T)
    RFFOX102                                Frame for user exit RFFOX102 (in program RFFOUS_T)
    RFFOX103                                Frame for user exit RFFOX103 (in program RFFOUS_T)
    RFFOX104                                user exit
    RFFOX105                                Frame for user exit RFFOX105 (in program RFFOUS_T)
    RFFOX200                                Frame for user exit RFFOX200 (in program RFFONZ_T)
    RFFOX210                                Frame for user exit RFFOX210 (in program RFFOAU_T)
    RFFOX211                                Frame for user exit RFFOX211 (in program RFFONZ_T)
    RFFOX230                                General program for user exit RFFOX230 (in program RFFOJP_L)
    RFFOX240                                Enhancement for User Exit 240 (RFFOAT_P)
    RFFOX250                                Enhancement for User Exit 250 (RFFODK_E)
    RFFOX901                                Framework for user exit RFFOX901 (in program RFFOM100)
    RFFOX902                                Framework for user exit RFFOX902 (in program RFFOM100)
    FDTAX001                                Enhancement to Transaction FDTA (event after the download)
    FEDI0002                                Function exits for EDI DOCS in FI - Incoming pyt adv.notes
    FEDI0003                                Function exits for EDI docs in FI - Save PEXR segments
    FEDI0004                                Function exits for EDI docs in FI - particular events
    FEDI0006                                Function Exits for EDI-docs in FI: Save IDCR Segments
    RFFOX003                                Frame for user exit RFFOX003 (in program RFFOM100)
    RFFOX041                                Framework for user exit RFFOX041 (in program RFFOBE_I)
    RFFOX042                                Framework for user exit RFFOX042 (in program RFFOBE_E)
    RFFOX043                                Framework for user exit RFFOX043 (in program RFFOBE_D)
    RFFOX061                                Frame for user exit RFFOX061 (in program RFFOCH_P)
    RFFOX062                                Frame for user exit RFFOX062 (in program RFFOCH_P)
    RFFOX063                                Frame for user exit RFFOX063 (in program RFFOCH_P)
    RFFOX064                                Frame for user exit RFFOX064 (in program RFFOCH_P)
    RFFOX065                                Frame for user exit RFFOX065 (in program RFFOCH_P)
    RFFOX066                                Frame for user exit RFFOX066 (in program RFFOCH_P)
    RFFOX071                                Frame for user exit RFFOX071 (in program RFFOCH_U)
    RFFOX072                                Frame for user exit RFFOX072 (in program RFFOCH_U)
    RFFOX073                                Frame for user exit RFFOX073 (in program RFFOCH_U)
    Business Add-in
    FI_BSTM_MC_EXIT                         FI Account Statement: Exit from MultiCash Conversion
    FI_F110_SCHEDULE_JOB                    F110: Check before scheduling a proposal/update run

  • Userexit or BADI for CS01

    Hi,
    While creating BOM from CS01 transaction, i want the <b>VALID TO</b> date field as editable or input field.
    By default the date is coming as 31.12.9999 , but i want to change it as per the requirement.
    Is there any user exit or BADI for this.
    Regards,
    Sonika

    hi
    you can check the same with this report program. execute it, enter your transaction for which you require enhancement then press f8. It would display all the available exits...
    *& Report  ZFINDUSEREXIT
    REPORT  ZFINDUSEREXIT.
    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).
    please reward if useful...
    regards
    dinesh

  • 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

Maybe you are looking for

  • F110 - Pre-notification by E-Mail: How to change the sender address

    Hi experts, by executing pre-notifications in F110 an e-mail is generated. The sender e-mail address is set from sap user (master data) who has executed pre-notification. This is the current setting. Now the sender e-mail address has to be a static e

  • How come my ipod's screen  sometime wont response ?

    hi My i pod touch sometime still wont response to my command after i tries to clean, restart, reset , and wipe up the i tune completely from my computer. Then re download everything still doesn't work. I had exchange this i pod touch just a few days

  • Can't view .mov file with quicktime

    Hello. I need help viewing a .mov file with Quicktime 7.5. It was recorded on a Canon Vixia HV30 camcorder and given to me on a dvd. But when I try to view the .mov file with Quicktime, I can hear the audio but the screen is black. Sometimes, it asks

  • Assigning a template when importing a project

    Is there a way to assign a template when saving a Project to the PWA for Project Professional for the first time? I ask because some templates have a predesigned SharePoint site connected with them. In that situation, am I better off copying and past

  • Is there anyone with *better* battery performance on the 3GS?

    OK, there are a lot of posts complaining about the 3GS battery life. I'm now curious to find out if there's a bad batch of batteries, or if it's a software issue involving all iPhone 3GS. My question: is there anyone out there who's getting better ba