Substitutions in MIRO transaction

Hi everyone,
I have a requirement where it needs to perform some substitutions in MIRO / MIR6 transactions, at save event. It must to make some substitutions on debit notes when it makes an INVOICE REDUCTION. The substitutions should be done in the following standard tables:
BKPF-XBLNR
RSEG-MWSKZ
BSEG-MWSKZ
RBKP-BLART
Somebody knows how can I do this?
Thanks in advance!
Regards,

hi Leonardo,
substitutions you can set up in GGB1.
BKPF-XBLNR ==> this is a text field, should go without problems
RSEG-MWSKZ and BSEG-MSWKZ ==> these are tax codes, I would NOT substitute these fields. If you change the tax code and someone looks at the posted document and will see that tax code says 15% percent (for example), while the calculated value is 10% and he won't understand why. On the other hand all your tax eports will be wrong. What is the reason behind?
RBKP-BLART ==> you can only substitute BKPF-BLART, however I would not do that, because it is a field on header level. You have to test that thoughoutly. Please check exit LMR1M001 as well, might be suitable.
hope this helps
ec

Similar Messages

  • Substitution for MIRO Business Area for tax line items

    Hi All,
    Our business requirement is updation of BA in tax line items during MIRO transaction. To fulfill this requirement i have written a substitution with user exit. Business user enters BA in bktxt . In user exit iam passing bktxt field to bseg-gsber. But BA is not updating in tax line items. Here iam giving the code which i have written in my user exit. Pls guide me what to do aprt from this.
      IF bkpf-bktxt IS NOT INITIAL.
        t_gsber = bkpf-bktxt.
      ENDIF.
      IF bseg-hkont EQ '0000098511' OR bseg-hkont EQ '0000098521' OR bseg-hkont EQ '0000098583'.
        cobl-gsber = t_gsber.
      ENDIF.
      IF bseg-hkont EQ '0000098511' OR bseg-hkont EQ '0000098521' OR bseg-hkont EQ '0000098583'.
        bseg-gsber = t_gsber.
      ENDIF.

    update like below:-
    UPDATE dbtab FROM TABLE itab. or
    UPDATE (dbtabname) FROM TABLE itab.

  • Accounting substitution during MIRO

    Hello Experts,
    I need to define substitution during MIRO
    Process is :
    When material is received from foreign vendor, exchange rate used is as on the date of mat receipt. But the requirement is to valuate the inventory
    with exchange rate prevailing on invoice date (ex rate declaration date)
    Currently, system takes difference between invoice date's ex rate and mat receipt date's ex rate to exchange gain/loss.
    During MIRO such exchange gain/ loss is posted to, say, account 611400 account
    I need to define substitution rule wherein system posts such gain/loss to different GL account,say, 520430. So that exchange gain/loss on only such transaction is readily available for reporting requirement.
    How such substitution rule can be defined.
    Thanks in advance.
    Regards      

    Hi
    Please, see these notes
    SAP Note 116250 - MR08/MR8M:Cancellation+exchange rate diffrnces(KDM)
    SAP Note 165635 - Documentation: Enhancement LMR1M001 (MM-IV)
    SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    I hope this helps you
    Regards
    Eduardo

  • Change of General Ledger Account in MIRO transaction

    Hi all.
    I have to post a invoice in MIRO transaction, and, if Account Assignment Category (KNTTP) is = 'A', I have to substitute General Account by other. I have tried do it by GGB1, but here field BKPF-BELNR and BKPF-AWKEY aren't filled, and I don't know how I can obtain Account Assignment Category in the substitution. Could you help me?
    Thanks a lot.
    Marta.

    Hi Marta,
    Do this step....
    1.GO to MIRO
    2. Enter the Invoice date/Posting date
    3. In PO ref enter the PO number and enter. 
       after that you will get the line item details..... move into the right hand side fields there you will get the acc assignment tab...
    4. Click and Change the GL acc
    5.Check and save it...
    Regards,
    PK

  • BADI to change Item details of MIRO Transaction

    Hi Experts,
    Is there any BADI or User Exits to change Item details like 'Profit Center' in MIRO Transaction. I searched for, but nothing helps.
    Thanks in Advance.

    Hi,
    have a look at this OSS Note (search for BAdIs as of Release 6.00:):
    1156325 - BAdIs in the Logistics Invoice Verification environment
    perhaps you could consider using a substitution instead of a badi.
    Best regards.

  • Mandatory field 'Business Area" in MIRO transaction

    Dear All,
    We are facing problem in MIRO transaction, while doing MIRO business area field is mandatory so we are not able to check our one substitution for Business area.
    Request you to help us to remove mandatory field "Business area" from MIRO transaction.
    Thanks,
    Shree

    Hi
    Since the tick is appearing in this field, either the field status group (at posting level or GL level) should have been made mandatory.  Can you please check the relevant FSG for the reconciliation account involved for that vendor.
    Also since you want this field as optional only for testing purpose, i have a alternative suggestion.
    Say, If your substitution is suppose to replace this field with business area A, then enter business area B there and check whether the substituition is replacing this with A again.
    Regards

  • DOUBT IN MIRO TRANSACTION

    HAI,
        CAN ANY ONE TELL ME THAT IN CASE MIRO TRANSACTION I AM GETTING THE INVOICE DOCUMENT NUMBER WHILE SAVING , BUT WHILE SAVING THER IS ONE MORE FI REFRENCE NUMBER HOW TO GET IT ,PLS HELP
    CHEERS

    Hi,
    I think you are trying to get the FI document that is posted from the MIRO document.
    You can use the FM FI_DOCUMENT_RECORD passing RMRP to i_awtyp, MIRO document number to i_awref, correct financial year to i_aworg, and correct company code to i_bukrs.
    Hope this helps..
    Rajendra Salecha

  • Line Item Value change in MIRO Transaction

    I have one  requirement i.e as follows.
    <b>Line Item Value change in MIRO Transaction</b>
    After getting the items in table control of  the miro screen of a particular order.
    I have to clicked on edit own condition of selected item.
    then it will show another screen ( create invoice document item - conditions)which have the all condtions details like
    Fra1 , frb1 , sd%  ,  Penalty % , gross price , frieght charges etc.
    In this screen first time it is showing line item as
    in the miro intial screen i.e. if u click po item
    10 it will show 10 only.
    after  updating fra1  value , i came back to the main screen at that time it is asking that select the any one of three.
    after selecting manual selection its fra1 was changed.
    once again if i go to the same line item by clicking
    the edit own condition(13 column if u select all information in textbox whixh is above tablecontrol right corner) it is showing line item as 1 in screen ( create invoice document item - conditions) which  should be line item as 10. ( here i took line item as 10)
    Please clarify this, why it is showing
    first time as  a original line item and
    after updating it is showing like
    for line item 10 -
    1
                   20 -
    2
                  100 -
    10
                  110 -
    11.

    "...it does not work..." is probably the worst description of a problem you can imagine. As an application developer you should know that. Do you use firebug to see what happens once it "does not work"? Any better hints?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Posting of invoice with no reference to a PO from MIRO transaction

    Dears,
    I'm wokring on a SAP R/3 4.6 release and I would like to know if it is possible to post invoices with no PO from MIRO transaction. If it is so would it be possible for you to let me know which are the customizing steps to undertake and/or the fields to be populated in the MIRO transaction.
    I know that this kind of invoices should be processed throught transaction FB60 but in this case the use of MIRO transactino is required.
    Thanks in advance for the help.
    Davide

    Hi Davide,
    You have first to fill in the header the tab basic details and then in the tab Details "Inv.Party"
    Now you can go to the tab G/L account.
    With a PO the system take the vendor from the PO now you have first to fill the vendor number
    Paul

  • Error in MIRO transaction

    hi,
       I am getting following error in MIRO transaction ....Can anybody please fix this ?
    "In company code 3000, the number range 51 is missing for the year 2008"
    Regards
    Vijay

    HI,
    Please check the nuber ranges whether that has been selected as external for the Invoicing.
    If external then please check whether the said no range starting from 51 is included in the external no assignment or no?
    If not then yiu may have to add the same no range and then check.
    Hope this helps.
    Regards,
    Prasanna
    Award pls if helpful.

  • Problem with MIRO Transaction while posting Un planned Delivery cost

    Hi all,
    We have entered all the details including unplanned delivery cost in transaction MIRO. When we are trying to post the same by using post button directly with out simulation, system is asking for plant details.
    For first time we have entered wrong Plant details , system immediately asking again for plant details.
    Next time even if we entered correct plant details, the system is coming out from the screen MIRO and it is not posting the document.
    If you go through simulate button and it is working fine and it is giving Warning message, If we enter the wrong Plant details.
    My Client requirement is If we post the MIRO transaction including Un planned delivery cost with Post button. If we enter wrong plant details. System will through Error message, until we enter the correct plant details.
    Is there any way to do this. Pl help me in this regard.
    Regards,
    Ramesh

    In the MIRO T Code, U can see PO reference tab is there, Just below it there is Purchase order/scheduling agreement field is there . enter the purchase order number in blank field next to Purchase order/scheduling agreement and press enter. U can see it will  take the required data automatically.
    hope this helps
    regards

  • MIRO Transaction not allowing Payment Terms Change

    Is there any settings that would prevent a user from changing the payment terms adopted from the purchase order when doing MIRO. Problem we are having is the payment terms cannot be changed in MIRO, we cannot change the Terms Key but can change the days and discount, which leads to my next problem, we are getting MIRO transactions that have a different term than the purchase order and vendor master, so the problem isnt a user making this change.  Any ideas?

    Hi,
    I had same problem.
    Go to MIRO. Before entering the PO or anything just change the currency and press enter. THen enter the MIRO details. It should work.
    PLease award points if helpful
    thanks
    Adeel

  • 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

  • Change of Vendor Master Re-con Account in MIRO Transaction

    Hi Friends.
    Thanks in Advance,
    Requirement : While Posting the MIRO Transaction, Vendor Master Re-con Account has to be Replace by other Re-con account
    Using Business Transactions Events this can be achived and sucessfully replaced. also data based Tables BSEG also updated sucessfully.
    But the problem is when viewing the reports like  FAGLL03, FAGLB03 we can able to view the data against that G/L Account.
    Regards:
    Sridhar.J

    Hi Sridhar,
    Let me know what is the business requirement to assign separate GL account while doing MIRO ? Which BTE used for that ? If you don't mind.
    Rgds
    SumaMani

  • TDS in MIRO transaction

    Hi,
    I have prepared MIRO with TDS.  So entry has generated like:
    Expense Dr.   1000
    TDS       Cr.          10
    Vendor   Cr.         990
    After that I have deposited the TDS entry by creating challan and ultimately this has become clearing entry.
    After this due to some errors, I have reversed MIRO transaction.  There I found TDS entry has also got reversed without asking for resetting the TDS entry.
    Now my client needs the system to be highlighted for resetting the TDS entry before reversing MIRO transaction.  Please tell me configuration steps.
    Babjee

    Hello,
    I am not expert in Patches but we have tried a validation of the error message for vendor invoice in our old company and it worked well for both MIRO and FB60.
    Please work on this and it will be realy helpful for you
    Best Regards

Maybe you are looking for