BTE for MIRO

Hi all,
          Is there any Business Transaction Event for MIRO. Actual requirement is, when creating an invoice relating to a purchase order for company code, the plant field of the first PO and it’s first item line quoted on the invoice needs to be copied from the PO field into the assignment field of the FI document.
     Please suggest me, if there is any other method than BTE.
Thanks in advance.
with regards,
Rajeev.

I could not find any thing in the program.
Actually I need to link an URL to the Invoice document, once it gets posted.Thats the reason why I am looking for a BTE in MIRO.

Similar Messages

  • Exit and BTE for MIRO T.code

    Hi Guru,
    My requirment is like that when i am doing MIRO with reference to PO no. . In Detail Tab in MIRO default Inv. Party -  (100077)is comming  with reference to PO - Partner  - Invoicing party Number.
    But Here in this MIRO - Detail Tab - Field Name - Inv. Party - I want only - Vendor Number with reference to PO - Partner - Vendor Number (100000).
    Kindly any one  suggest regarding Any BADI, User-Exit, BTE regarding this issue.
    Regards
    Rama

    Create the field exit on field BKLAS.
    and write the below code in the field exit.
    DATA: i_dynpread TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.
    DATA: V_MATKL TYPE ASMD-MATKL
    V_BKLAS TYPE ASMD-BKLAS.
    i_dynpread-FIELDNAME = 'ASMD-MATKL'.
    append i_dynpread.
    clear: i_dynpread.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = 'SAPLBAS0'
    DYNUMB = '0300'
    TABLES
    DYNPFIELDS = i_dynpread.
    IF SY-SUBRC = 0.
    loop at i_dynpread.
    SELECT SINGLE BKLAS
    FROM ASMD
    INTO V_BKLAS
    WHERE MATKL = i_dynpread-fieldvalue.
    IF SY-SUBRC = 0.
    output = v_hkont.
    ELSE.
    error message.
    ENDIF.
    endloop.
    ENDIF.
    Regards

  • BTE for posting documents

    I activated the SAMPLE_INTERFACE_00001030 in BTE, it worked fine with the FI documents (Transaction F-43), but when I generated an Invoice Verification (Transaction MIRO) the process is not going into the BTE for the FI document.
    I need to include the FI documents into a 'Z' table, that's why I need to activate a BTE for Invoice Verification and for Travel Management too.
    Could you please let me not if I need to activate another BTE.
    Regards,
    Juan

    yeah  , in case of MIRO u have to find out which BTE sap is taken ? then u have to activate that one also.
    how to find out BTE for MIRO ---> search for OPEN_FI in the program of MIRO then u will get list of FMs from that list u have to select one which suits ur Requirement.
    Regards
    Prabhu

  • Print out put for miro and incomming excise invoice(j1iex)

    Hi guru's
    my client need print out for miro and incoming excise invoice.Plz help me in configuring them.
    thanks
    with regards

    hi,
    Do check the NACE transaction...
    Message schema is nothing but a program which will come into action whenever there will any need of output...
    So, check your message schema...Define the output type as per your requirement...
    Condition table consist of all those Fields which will be taken into consideration, whenever you trigger the message output...and those fields will be taken into consideration for the req. output...
    Access seq. will provide you the scequence in which the fields are be read and perform an output...
    At last printer determination is main, by which you'll print output...
    hope it helps..
    Regards
    Rahul.

  • 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 / BTE for Asset creation A ?

    Hi Experts,
    I need User Exit  / BADI / BTE for asset Creation.
    After saving newly created Asset from As01 we need to send a mail to the person for whom the Asset is assigned.
    i have tried all this.But no one is triggering after saving the As01 transaction.
    Exit Name           Description                                                                               
    AAPM0001            Integration of asset accounting and plant maintenance                    
    AFAR0003            External changeover method                                               
    AFAR0004            Determination of proportional values for retirement                      
    AINT0004            Change amount posted for certain areas                                   
    AINT0005            Dummy for extended syntax check. Do not use.                             
    AISA0001            Assign Inventory Number                                                  
    AIST0001            Exchange number range in master data maintenance                         
    AIST0002            Customer fields in asset master                                          
    AMSP0002            Determine relationship type for two company codes                        
    TRAN0001            User exit for asset transfer           
    Please suggest if anybody worked on this.
    regards,
    Imran

    Hi,
    Check out the following posts pertaining to similar topic.
    Change Asset Workflow
    Asset Management WORKFLOW
    Regards
    Sreekanth

  • Purchase Order list pending for MIRO days wise

    i want to know t.code for outstanding Purchase order list dayswise which is pending for Miro....for example payments will be in 15days 30days which is mention in P.O.
    Thanks & Regards
    Rekha Sharma

    Hello,
    Please check MR11
    Regards,
    Ravi

  • UserExit for MIRO transaction

    Dear All,
               I have to Change the Base Line Date in MIRO transaction with the GR Posting Date while booking the Incoming Invoice..i.e BSIK-ZFBDT date i have to change it with MKPF-BLDAT...
    I have tried all of the UserExits for MIRO transactions. but did not work...
    Can any body tell me any alternate way.e.g BADI or something..
    Regards,
    Rushikesh

    Have a look at below code which lists BADI for particular tcode. It might help you.
    *& Report  ZBADI                                                       *
    REPORT  zbadi                                   .
    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.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • BAPI for MIRO Incoming Invoice

    Hi All,
    I want BAPI for MIRO Posting ie for Incoming Invoice.
    .here MIRO is being done with Delivery Note number
    Following are the necessary entries for MIRO Posting
    Invoice date
    Reference
    Amount
    Calculate Tax
    Tax amount
    Delivery Note
    Vednor
    Business Area
    Please suggest me suitable BAPI for MIRO Incoming Invoice Posting with sample code.
    immediately.Please give some sample code for my reference.
    Rewards will be given.
    Regards.
    Ulhas

    Hi,
    BAPI for Invoice Verification: Post Invoice
    BAPI_INCOMINGINVOICE_CREATE
    The method can only carry out your function if no error messages were
    generated in the Return table. This is the case if the header data and
    all the items were processed successfully.
    Transaction control is not implemented. The calling program therefore
    has to execute the Commit Work itself after this method has been
    successfully called (in other words, if no errors were reported in the
    Return parameter).

  • Tax Ammount not coming when we are going for miro

    Dear Sap
    we have Recept material (101) Against PO then Capture & Post Excise Bill ,But when we go for MIRO that a time tex amunt not coming,while in po & Excise it have mantained as per same

    Hi, there is 2 fields of Tax code in MIRO, 1 at the item level & 1 at header level,
    If you maitain tax code in PO, it will only show at item level, whereas the header level tax code comes from the configuration that you have maintained for default tax code.
    So have you changed the header tax code as maintained in PO, and put a tick on "Calculate Tax", Check

  • E mail facility for MIRO doc from R3 to mail server.

    Dear All,
    Is ther any E mail facility available for MIRO doc from R3 to mail server?
    I want to fire e mail for each MIRO document which is posted in SAP R3 with the detail of MIRO doc number & respective PO number to concern person.
    Thanks.
    Upesh.

    hi
    checkout with ur technical consultants
    use workflow for triggering auto mails
    Re: MIRO workflow.
    regards
    kunal

  • Payment release workflow for MIRO documents

    Hi,
    I have activated payment release function and successfully able to get workflow item for payment release for FI invoices posted through F-43 and FB60, but not on RE documents which are posted through MIRO,
    Can some body provide inputs on how to trigger a payment release workflow for MIRO documents.
    Thanks
    Amanullah

    Hi Amanullah, How are you?
    Did you get an answer about this situation ? I am trying to do the same thing by FI or by MM and I'm worrying if we can to do by Standard SAP. In FI I'm trying to do via spro:
    SAP Customizing Implementation Guide=>Financial Accounting=>Accounts Receivable and Accounts Payable=>Business Transactions=>Release for Payment
    Did you remember how can you get the solution?
    Thanks and regards,
    Jeovana

  • Payment blocking for MIRO invoice.

    Hi,
        We Need to build Payment release workflow for MIRO invoice.
        If the invoice amount exceeds 10000, that line item need to be blocked and shoudl be sent a mail for approval.
        My doubt is, whether the  payment blocking is done by configuration settings or will workflow take care of that one?
        Requirement is, line item should be blocked automatically while posting the doc in MIRO.
        If it can be done by configuration, could anybody suggest the path to do so.
        Thanks,
        Shyam.

    I would try another SDN forum.

  • Problem in BDC for MIRO.....................

    Hi friends,
    I am using BDC for MIRO....In screen number 6220 where POs and items are to filled in table control where i need to fill 100 records... When i am using page down option during recording it is capturing function code as /OO .But while running BDC program this function code /OO is becoming ineffective..means page down is not happening when '/OO'  is executed....can anybody help me out in what can be done in solving the problem...
    Regards.

    Hi Raju,
    But our requirement is to to do the recording only till all the items are filled in the pop up screen..As no page-down button is available in the screen...i guess that is why page-down activity done from key-board is not working fine......Any suggestions from ur side........
    Regards.

  • BTE for Parking a document and updating a custom table

    Hi
    I want to update a custom table whenever a new parking document got posted through FBV4. I want to use a BTE for this please advice....
    Moderator message: please do some research before asking.
    Edited by: Thomas Zloch on Mar 10, 2011 9:15 AM

    Hi Gaurav,
    First time the correct data i have entered..and pressed "Save" button it is going and updating .After that i given same priority to multiple absence types..it errored out.. till now everything is fine.. Again i changed to correct value.. and pressed "Save" button. It is error out with an error like :
    JBO-25001: Name LOCATOR_SELECT3 of object type View Row Set Iterator already exists
    Code :
    int rowCount = vo.getFetchedRowCount();
    RowSetIterator rIter1 = vo.createRowSetIterator("LOCATOR_SELECT3");
    rIter1.setRangeStart(0);
    rIter1.setRangeSize(rowCount);
    int g=0;
    rIter1.reset();
    for ( int i=0;i<rowCount;i++)
    XxchrResultSetVORowImpl row = (XxchrResultSetVORowImpl)rIter1.getRowAtRangeIndex(i);
    String priority = ((String)row.getAbsencePriority());
    System.out.println("First Priority" + priority);
    for ( int j=0;j<rowCount;j++)
    if(i==j)
    g++;
    //leave this row
    else
    XxchrResultSetVORowImpl rows = (XxchrResultSetVORowImpl)rIter1.getRowAtRangeIndex(j);
    String priority2 = ((String)rows.getAbsencePriority());
    //String priority2 = ((String)row[j].getAttribute("AbsencePriority"));
    System.out.println("Second Priority" + priority2);
    if(priority.equals(priority2))
    //that means priority is repeated
    throw new OAException("error",OAException.ERROR);
    rIter1.closeRowSetIterator();
    Serializable[] param = {Businessgroupname,Retroactivedays};
    am.invokeMethod("Apply");
    Thanks
    Preeti

Maybe you are looking for

  • Trying to create a sales order in CRM with BAPI_BUSPROCESSND_CREATEMULTI.

    hi all, I am trying to create a sales order in CRM using the BAPI BAPI_BUSPROCESSND_CREATEMULTI. I need the sales order number as the out put. So I am declaring OBJECT_ID as the export parameter. This is my source code, I donu2019t get an error, but

  • Can't get an audible purchase to work

    Hi all, Just bought an audiobook with audible, when I click the download it asks me to sign in for audible as I need to authorise my new MBA which is fine, then it says "iTunes wants to make changes. Type your password to allow this." but when I type

  • A friend has  given me his 02 apple 3g phone,but i'm on a pay as you go vodaphone sim.How do i access the phone

    A friend has given me his old iphone 3g 02.I have a pay as you go vodaphone sim card.How do i access the new phone.

  • Areca Cards

    Hey Harm, In my several months without Internet, I've fallen waaaay behind in my tech reading.  What's your opinion of the I/O controllers on Areca cards?  What to look for, what to avoid, that kind of thing.  (3 drive RAID 3 planned.)

  • Trouble playing one swf inside another

    All, I'm trying to load a SWF and play it inside another SWF. Both SWFs are targeted to use Flash Player 8, and AS 2.0 So, in the parent, I've got code that looks like this: var movie_mc:MovieClip = this.createEmptyMovieClip("movie_mc", this.getNextH