Fi substitution in miro

can  create a FI SUBSTITUTION in such a way that i can pass any table as a parameter to it.if yes then how..please be elaborative...in this regaard

Hi
U can use the substitution only to replace the data in FI document, if you need to trigger only for the MIRO you should insert a validation (or a filter) on that trx.
Max

Similar Messages

  • 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

  • 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

  • Issue with FI substitution in Miro

    Hi Friends,
    I have a substitution created in FI. According to substitution, if cost center entered in document is 'xyz', then it will substitute tax code from x1 to x2. It is working fine for any FI document posted in FI (like FB01 and so on)
    I am expecting this should work fine with MIRO postings also.
    (X1 is input tax and X2 is irrecoverable tax)
    But when I try to post a transaction MIRO with this cost center and tax code X1, it is not substitute to X2 and it is giving error as follows:
    Tax statement item missing for tax code X2
    Message no. FF805
    Diagnosis
    No tax item exists for tax code X2 in a G/L account item. A possible cause is an incorrect transfer of parameters by the application to the Accounting interface.
    Procedure
    Enter an OSS message.
    Please could any one help me?
    Thanks and Regards,
    Krishna.

    Hi,
    If it is working fine for FB01 document type XYZ,then it should work for MIRO also.
    Please check the FI document type which is generating from MIRO.
    I guess the document type from MIRO is not XYZ.
    Thats why it is not substituting the Tax value.
    Regards
    jabeen

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

  • Substitution in MIRO

    Hi Guys,
    when I enter MIRO the terms of payment(BSEG-ZTERM) are taken from Purchase Order and instead I want that they are taken by Vendor master data.
    Can I do this with a substitution,if yes how can you descrbe the principals steps?
    Thanks in advance
    Bye
    Massimiliano

    logically the payment terms should flow from the PO only and not from Vendor Master.
    From a SAP Perspective, you can use the BADI MRM_PAYMENT_TERMS to validate and populate the required payment terms based on your requirements
    Regards
    Sanil Bhandari

  • Substitution for miro

    HI
    i need to substitute amount and quantity fields at line item level in miro
    can ny1 suggest how to achieve this using substitution..
    tcode for mm substitutions?
    OR NY OTHER USER EXIT DAT 'LL FULFILL MY REQUIREMENT?
    points 'll b rewarded.
    Message was edited by:
            abapuser
    Message was edited by:
            abapuser

    fulfilled my requirement via badi

  • Substitution for Section Code to Bus Area

    Hi Peers
    I want to do one substitution in MIRO for the Business Area field.   If i enter the Section code as 123, the sysytem should pick the business area as 555. How can i do it. Plz explain me the steps in detail.
    Regards
    Rajaram

    Hi Raja ram,
    U should activate the field Bseg-Seeco in the table GB01 and create a substitution where the Bseg -sseco is "XXX"
    try this
    Anand

  • Substitute exchange rate in MIRO

    Hi All,
    I have a requirement where I have to substitute INVFO-KURSF based on the company code currency. This field comes in the 'Details' tab in MIRO header. The requirement is to see the field substituted when user clicks on Details tab. Please let me know i f anyone is aware of any BADI or user exit where this is possible.
    Thanks,
    Deepti

    Hi,
    Thank you for your reply. As per my understanding I cannot use substitution for MIRO transaction. Also field INVFO-KURSF is not available in GB01 table. If substitution is possible in MIRO header, please let me know how to go about this.
    Thanks,
    Deepti

  • In complete Data into substitution

    Hi,
    I've implemented a substitution for MIRO, which picks the suitable cost element for profit center, which are maintained in OKB9
    But in substitution is having COBL and COBK structures. but COBL-PRCTR is not having any value, due to that i am getting an error as:  'Account 40002304 requires an assignment to a CO object'. We don't want to maintain default cost element. It should pick from the list which is maintained in OKB9.
    How to get the COBL-PRCTR value into substitution.
    Regards,
    Naveen

    Hi,
    try to implement the substitution Exit iby copying the program RGGBS000 to Y or Z program and maintain the same in V_t80d transaction.
    Assign the newly created exit in the substitution step .
    you will find out the standard structure BKPF, BSEG,COBL etc
    Write the logic in to the exit to fetch the value from the OKB9 transaction table. and put into the COBL-PRCTR.

  • Substitution of account(HKONT) when posting in MIGO/MIRO

    Issue: Need to change account(HKONT) when posting in MIGO/MIRO
    example:       HKONT(GL Account)       KTOSL(Transaction type)
                   1000000001              XX1
                   1000000002              XX2
                   1000000003              XX3
    If XX3 exist then replace hkont of XX1 to hkont of XX2
    expected result is:
                   1000000002              XX1
                   1000000002              XX2
                   1000000003              XX3
    Solution with problems:
    1. Used substitution GGB1>Financial Account>line item for field HKONT. My problem with this is, since the data is in line item. How can I get the replacement of my account(shown above sample). if BSEG structure only shows 1 line item. I tried using bool_data-bseg. but its empty. Im assuming bool_data is used when callup 003(complete document) is triggered.
    I used subtitution field G/L - Exit <UXXX>
    Any Ideas or solutions would be great!!

    if your Substituion exit is called then you can directly change the value of
    BSEG-HKONT there according to your requirement.

  • Substitution to give a discount to vendor on MIRO - BSEG-ZBD1P

    Hi people.
    We are having a issue trying to add a discount on field bseg-zbd1p.
    We have added a substitution rule that executes on MIRO, for a certain material we want to give a discount to vendor, but it is not working.
    We try to change the field bseg-zbd1p and bseg-zterm, but when we change the first field, nothing happens(It's not changed) and changing ZTERM does not change the field zbd1p, Even having customized the condition term to give 25% discount.

    Not solved.
    But now, we are using that payment codition on PO

  • Substitution MIRO

    Hi all,
    I created standard substitution for fill cost center in tax account for MIRO, but when I post I got message
    "Account xxx requires an assignment to a CO object". Where is problem?
    BTE1120 didn't help yet.
    But when I fill cost center for this account in OKB9 then I got message that entry (with this cost center) isn't exist in table COKA.
    Thanx for any help.

    Can you check
    (transaction KA03) is this account defined as a Cost Element (Else no link to CO available)
    (transaction KS03) is this cost center defined in CO area
    (transaction FS03) create/bank/interst tab, does the account refer to a field status group allowing cost center input
    Regards,
    Raymond

  • Substitution exit.  in TC MIRO

    I am trying to populate the Purchase order number in the assignment field in CenvatThis gets populated correctly in the
    transaction J1IEX but not so in MIRO.
    it can be solved through  substitution exit, if any body having material pertaining to substitution exit plz mail  me to my id [email protected]
    Thanks & Advance
    Laxmi Narayan

    There is no need for substitution for bringing purchase order number in cenvat through MIRO, instead  you can give the sort key No.010, in GL master of cenvat under tab control data.
    The purchase order number will be automatically displayed in assignment field of cenvat items.
    Hope this will resolve your query.
    Best Regards
    Mukesh Mokashi
    If useful kindly assign points

  • Create Substitution Profit Center when MIRO (invoice)

    Dear all
    How to create substitution profit center and this the requiredment:
    When i create invoice MIRO there is tax account 11701105 and i want to substitute profit center in that account,
    i have create substitution like this, in GGB1 ,>financial accounting> line item >step 1>SYST-TCODE = 'MIRO' AND BSEG-HKONT = '11701105' AND BSEG-WERKS = '1000
    why this not worked, did i miss other config?
    please help
    Best Regards
    adit

    Hi Aditya
    thats true.. MIRO line items do not always have PLANT... You can refer the following notes for this
    0000032654 High level automatic account assignment
    0000105024 Automatic a/c assignment (OKB9) does not work
    0000409520 Goods/invoice receipt: Default account assignment ignored
    If your idea is to populate a Profit center based on Plant, then you would need to use a FI Substitution with user exit RGGBS000 and write your code to fetch the WERKS from preceeding MM document and populate WERKS as well as PRCTR based on it...
    But, before you do this, let me ask you a question.. Are you not using Document splitting in New GL? If you use it, PRCTR gets populated always in all the line items..
    Regards
    Ajay M

Maybe you are looking for

  • How do I uninstall Windows Media Player 11 (from Windows XP)

    I tried to uninstall Windows Media Player 11 using the 2 methods in http://support.microsoft.com/kb/934372/en-us The 1st method rolled back Windows Media Player 11 , but I want to uninstall it. The 2nd method gave me the following pop-window: Run C:\

  • Oracle 8.0.5 on RH 6.0

    Oracle will work on Red Hat Linux 6.0, but you will need to use the "compat" packages in order to relink Oracle, if you need to do so. You will need to patch the Oracle Makefiles to use the correct linker from the "compat" packages in order to do so.

  • Duplicate Text Messages

    Hello, I currently a droid x running android 2.3.3 in the Royersford, PA area.  I updated to Android 2.3.3   2-3 weeks ago.  After this update I started receiving a noticeable amount of duplicate text messages.  The duplicates can number anywhere fro

  • Any Function module/BAPI to create Service Notification wrf to Contract

    Hi Experts, Is there any BAPI/FM to create service notification with reference to Contract. Thanks & Regards, Vishnu Priya

  • What is in version 3?

    I would like to know what SP level is the Discovery System version 3? Additionally, what software does version 3 contain which is not in version 2? Thanks, Tamas