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

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.

  • 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

  • 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

  • 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

  • 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

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

  • How to set an alerting substitution for another user as admin?

    Dear experts,
    having the case on of our employees went on vaction without entering a substitution for his alerts.
    How can I as an administrator setup a substitution for the alerts of this user?
    Thanks in advance,
    BR Matthias

    No ideads around?

  • Substitution for "Cost of sales Accounting" not working with cycle-trx KSC5

    Hello togehter,
    I have a problem that it seems that a created Substitution for "Cost of sales Accounting" is not executed in our System when running a cycle for Indirect Activity Allocation (Trx. KSC5).
    Now I want to debug the Indirect Activity Allocation but I don't know how those Substitution Steps are generated as code that I can set a breakpoint when executing the cycle with Trx KSC5.
    I want to try a trace when activating the substitution with transaction OBBZ but I'm not able to analyze in which Forms/Functions the Code is generated.
    I also saw some OSS Notes that there are problems with "Cost of Sales Accounting" but I don't know concretely what to do to solve that special problem.
    Kind regards
    Udo

    thanks for your answer.
    I added the filed FKBER in table VWTYGB01.
    Now I can select field "functional area" for CO Substitution.
    nevertheless substitution does not work and set functional area on Dummy FB 9990 for CO postings to CO-object without Functional area.
    Thats curious because I maintained exactly the same Substitution on an other SAP System (IDES Test System) and here it works.
    Any ideas?
    Are there further settigs required after maintenance of table VWTYGB01??
    Thanks in advance

  • 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

  • Creation of substitution for populating field like segment

    Hi Friends,
    It is an  requirement with my client as they have a customized field called Customer Segment Not like SAP standard Segment and they want to populate customer segment in all the records or all the documents posted.
    Luckily, they have only one Customer segment and they want all the documents posted should populate this field by using substitution. I want a help out of you as how do I can write the substitution for this scenario. The customized field is named as YYCSG.
    Regards,
    Shilpa

    Hi,
    Can you please tell me the way to substitute by using VWTYGB01 ? Can you please elaborate this ?
    Regards,
    Shilpa

  • Variable Substitution for Source Directory

    Hello,
    I have seen several threads about using a UDF and variable substitution for dynamically determining the Target Directory.
    Is anyone familiar with (or had to implement) a solution where the Source Directory is dynamically determined.
    My challenge is to connect to a different Source Directory name (sy-datum format, ex:  20070920 ) each day on an ftp site and download all the files in the folder to a know target directory.  I am doing a simple file-to-file transfer, so no mapping is involved.
    Your comments, suggestions and feedback is greatly welcomed.
    Thanks,
    Ralph

    Hello Carme,
    I have not found a solution for this type of event.
    I was attempting this because the FTP site I was connecting to would DELETE a file the moment XI touched it.  So when XI (using FTP Transfer protocol) configured with a DELETE or ARCHIVE (Processing Mode), it would error off because the file was no longer on the FTP site.  I contacted the site but they refused to deactivate their script to auto-delete files.  Using TEST processing mode is not recommended per SAP in a server pool environment.  You would think SAP XI would provide a fourth option in which a DELETE command is not issued back to the FTP site.
    The FTP site did have sub-directories in which copies of the original files were stored, but I could not figure out how to dynamically change the XI Source Directory as the current date changed. 
    I settled on using File NFS (Transfer Protocol) and running the FTP commands from a .bat (batch file).  I put the command I run down at the bottom of the XI page with a 60 second timeout.
    I still do not change to each folder dynamically because the standard FTP  (GET and MGET) commands do not attempt a Delete after file retrieval.
    Perhaps using a batch file is an option you may want to consider using.
    Cheers,
    Ralph

  • ORA-04054 : using variable substitution for the database link name

    Hi,
    I need to use variable substitution for the database link name.
    Here is my command :
    declare
    GET VARCHAR2(50);
    begin
    select OIA_GET_DESIGNATION into GET from INFODRI.OMA_IN_ARTICLES;
    for rec in (select * from [email protected]_GET_DESIGNATION)
    LOOP
    dbms_output.put_line('TEN_CODE vaut : '||rec.ten_code);
    END LOOP;
    exception
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERREUR ORACLE DETECTEE : '||rec.OIR_CUR);
    DBMS_OUTPUT.PUT_LINE('Message Erreur : '||SUBSTR(SQLERRM,1,245));
    :crd := -1;
    end;
    When I run this programm, I receive the error :
    ORA-04054: database link REC.OIA_GET_DESIGNATION does not exist
    When I replace :
    for rec in (select * from [email protected]_GET_DESIGNATION)
    by :
    for rec in (execute immediate 'select * from tensions@'||rec.OIA_GET_DESIGNATION)
    I receive the error :
    PLS-00103 : Encountered the symbol "IMMEDIATE" while parsing.
    What can I do to resolv my problem ?
    Regards,
    Rachel

    What is the name of the DB Link and the name of the object you are selecting
    from?
    I find it easier to create a view on the remote object then use that in selects.
    e.g,
    Link Name = MyLink
    Object_name = Addr_Loc
    create or replace VIEW Rem_Addr_Loc AS
    select * from addr_loc@mylink;
    In the code I then use the view
    begin
      for C_Rec in (select * from Rem_Addr_loc)
      loop
         dbms_output.put_line('Rec: '|| C_Rec.Col1);
      end loop;
    end;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Substitution for Trading Patrner

    Hello All,
    I would like to create the substitution for Trading Partner at G/L Item by following issue:-
    1)     Check some document types  e.g. DR, KR, KZ (Inter-Company)
    2)     Check some G/L Account (excluded 100000 - 1099999)
    3)     Trading partner in G/L Item  should be equal to Trading partner in Vendor/Customer  Item
    For e.g.  If we are posting an entry for document type DR, Customer 1011, trading partner 1010 the trading partner for G/L Item should be 1010 
    Thanks in advance.

    use substitution and create an exit for the mapping of field vbund,
    if the mapping is more extensive, use a mapping table
    A.

  • 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

Maybe you are looking for

  • Windows 2008 server

    has any one manged to get Windows 2008 server working with fully driver support on a MacBook (Black)

  • Can't connect to WiFi after OS update and reboot of Playbook

    Phoned RIM Support, and was advised it is a known problem, and our best people are working on it. Not sure how they will communicate fix to a device that may be corrupted.

  • RosettaNet ERP Content Question

    Hi, I'm installing the Rosettanet order to invoice business package. In the RN guides you read that you should install the following content in the repository : -RosettaNet 1.0 -RossettaNet R3 1.0 If I follow the provided link to the download center

  • File.length() too slow?

    I'm working on an application that needs to process directory listings on network fileserver, looking for files and directories, and getting basic info about files found (size, last modified date). I'm trying to use java.io.File.list(java.io.FileFilt

  • Examples of what can be done with rasterized text?

    What are some examples of applying cool effects to type after it has been rasterized? I have played with some of the filters, though I am just curious how to put it all together to make some neat effects. Just looking for some ideas. Thanks.