Tax code over write

I need to over ride the Tax code in the PO while saving, if i have to use the BADI EXTENSION_US_TAXES and the method ME_TAXCOM_MEPO which User Exit should i use.
For example when the purchase order account assignment category is u201CYu201D and the company code is not equal to u201CYYYu201D, using BADI - EXTENSION_US_TAXES, method ME_TAXCOM_MEPO and a custom table i have to determine if an override of the default tax code is appropriate.  The BADI Should compare the following values previously retrieved, to the custom table below and return the appropriate tax code. 
Company Code               EKPO u2013 BUKRS
Plant                    EKPO - WERKS
Cost center               EKKN - KOSTL
GL Account               EKKN u2013 SAKTO

Hi,
when you are using the BADI then you need not go for the Exit.
You can implement the BADI in SE19 transaction.
Reward if helpful.
Best Wishes,
Chandralekha

Similar Messages

  • Tax statement item missing for tax code Z5

    Hi,
    While releasing the billing documents to accounting we have the following error:
    Tax statement item missing for tax code Z5
    Message no. FF805
    Diagnosis
    No tax item exists for tax code Z5 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.
    Could you please let us know whats going wrong.This is a priority to us.
    Your inputs are highly appreciated.
    Thanks
    Aravind

    HI Arvind,
    When you release this invoice to accounting the system check if there are any tax conditions (KOAID = D) that are non stastical (KSTAT = " ") found on the document.   If there is.... then this tax code must be applies (via the from and to steps) to a non statistical price/discount.
    VF02 + release to accounting:
    Main program     SAPLV60B
    Source code of   LV60BU01
      Aufruf aus Simulationsreport
               if sy-cprog = 'SAPFACC0'               >> SET BREAKPOINT
               or sy-cprog = 'SAPFACC1'.
                 export xacchd xaccit xacccr to memory id 'SAPLV60B'.
                 exit.
               endif.
    The XACCIT table is the interface table from SD to FI.  As you can see this is basically ahnding over the relevant conditions from the XKOMV table to FI.
    When the condition base value for the tax condition is 0.00 it will NOT get passed to FI. The from and to step for the tax condition writes the tax code to the non statistical condition, if a price code is passed to FI with a tax code there must be a tax condition passed to FI with the same tax code.  Otherwise ERROR FF805
    If the tax base value is zero..then it is obvious system will throw error message
    FF 805.
    If you have revenue lines containing a tax indicator XX, but no tax line with tax indicator XX, then the error FF805 issues, and it is justified.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • How to over write a file on server using Dataset

    Hello Experts,
    Iu2019ve trying to write a code to fetch data in my program and create a file on server. My program work fine. However every time I run my program it append data at the end of the tile which it created 1st time. I donu2019t want this to happen. I want to new record to print on this file or in other words I want it to over write the file. Here is my code of dataset part.
    open dataset file for appending in text mode encoding default.
    if sy-subrc ne 0.
      write:/ 'File Opening/Creation Error'.
        exit.
    endif.
    loop at ivbrk.
      clear record.
        move ivbrk-headr to record+1(1).
        move ivbrk-vbeln to record+3(10).
        move ivbrk-waerk to record+15(5).
        move ivbrk-knumv to record+22(10).
        move ivbrk-fkdat to record+34(8).
        move ivbrk-kunrg to record+43(10).
        move ivbrk-kunag to record+54(10).
          transfer record to file.
        loop at ivbrp where vbeln = ivbrp-vbeln.
         clear items.
          move ivbrp-items to items+1(1).
          move ivbrp-posnr to items+3(6).
          move ivbrp-fkimg to items+11(13).
          move ivbrp-vrkme to items+25(3).
          move ivbrp-meins to items+30(3).
          move ivbrp-ntgew to items+34(15).
          move ivbrp-brgew to items+50(15).
          move ivbrp-gewei to items+66(3).
            transfer items to file.
        endloop.
    endloop.
    close dataset file.
    Can please somebody tell me what change I should make to over write on this file?
    Thanks a lot in advance.
    Moderator message - Please use code tags around your code
    Edited by: Rob Burbank on Jan 12, 2010 5:08 PM

    Hey zero:
    open dataset file for appending in text mode encoding default.
    Probably because you're opening it for appending.
    Rob

  • Error : Tax statement item missing for tax code

    Hello Gurus,
    I have issue while releasing a billing document to accounting from VF02. The error says 'Tax statement item missing for tax code AA'
    Any idea??
    Prase

    Dear Prasanth,
    Please review note 112609 and 400766 carefully, which explain the
    tax rules.
    The FF805 error is most likely triggered due to configuration in
    the pricing procedure.
    If an active tax condition record is found (for example on UTXJ), even
    though it is statistical, the tax code (linked to the record) is then
    distributed to the active price conditions for that item pricing.
    When it passes to FI, the active tax condition is passed but not
    the price because an active price condition cannot be found.
    In the SD-FI interface, for every price condition sent over,
    there MUST be a tax condition sent over, hence the FF805.
    I think may be what is happening in your case.
    If after setting reference steps in your procedure according to the
    guidelines in 112609, you still encounter the FF805, please let me know.
    Hope this is helpful. Thank you.

  • FI-AP Tax Code not considering the excise duty while calcuating the VAT

    Sub: A/P Tax Code not considering the excise duty while calcuating the VAT
    Hi Frnds.
    I have a typical problem.
    Till now we are using a "W6" as a tax code, where Excise-10%, Ed Cess-2%, SEd Cess-1% and VAT-4%.
    But as the Govt. rules changed I have created a new tax code "W8" by copying the W6 and modified the VAT to 5% by changing the condition record JVRD.
    The new tax code is not calculating VAT part correctly. It is taxing into consideration Invoice Base value, Ed Cess & SEd Cess (Omiting the Excise Duty).
    I have checked my Tax Procedure, there everything is fine. Even my old tax code "W6" is working correctly.
    Let me know where the error lies.
    Here is the scenario
    00. Tax code                       -   W6   -   W8   - Current Staus of W8
    01. Invoice Base               - 355181 - 351798 - 353324 (by SAP Document Simulation View)
    02. Excise @ 10% on 01.        -  35518 -  35180 -  35332
    03. Ed Cess @ 2% on 01.        -    710 -    704 -    707
    04. SEd Cess @ 1% on 01.       -    355 -    352 -    353
    05. VAT @ 4% on (010203+04)  -  15671 -   0     -  0
    05.    VAT @ 5% on (010203+04)  -    0    -  19401 -  0
    05.     VAT @ 5% on (010304)     -   0     -    0    -  17719
    INVOICE TOTAL VALUE            - 407435 - 407435 - 407435
    Pls. let me know how to come over the issue.
    By the way I am using the above tax code at FB60 transaction code.
    Regards
    Krishna
    Edited by: Gopi Krishna Gutti on Oct 17, 2011 10:18 AM

    Hi Vivek
    Acutually we planned to implement SAP - FI & MM Modules only, and all the configuration is done in the system, but at the final stage our management is not satisfied with MM area, so finally we have gone live with only FI Moudle.
    By the way thankyou for the reply. I have maintained 100% in JMX1 for the new tax code and it is working fine.
    I will give you full points.
    Once again thanks a lot.
    Regards
    Krishna

  • Tax statement item missing for tax code O0

    Hi all,
    i am getting an error message while releasing SD billing documents to Accounting. the complete error message is
    NA FF805
    Text:
    Tax statement item missing for tax code O0
    Diagnosis:
    No tax item exists for tax code O0 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.
    It would be great help if some one reply back with what should i do..
    We are on R/3 4.7 enterprise
    Thanks in Advance
    Sivaram

    HI Sivaram,
    Please review note 112609 and 400766 carefully, which explain the tax rules.
    The FF805 error is most likely triggered due to configuration in the pricing  procedure.
    If an active tax condition record is found (for example on UTXJ), even though it is statistical, the tax code (linked to the record) is then distributed to the active price conditions for that item pricing.
    When it passes to FI, the active tax condition is passed but not the price because an active price condition cannot be found. In the SD-FI interface, for every price condition sent over, there MUST be a tax condition sent over, hence the FF805.
    I think this may be what is happening in your case.
    Normally it would not be advised to bypass the check in FI_TAX_SV_BSEG_BSET_GROSS - please note that when passing from SD to FI:
    -> There must be at least a revenue line for each tax line.
    -> For each revenue line containing a certain tax indicator there must be a tax line with this indicator.
    -> If a tax condition has base value = 0  OR is inactivated OR is statistical => then it is not passed to FI.
    I hope this information will help you to solve your issue. If it resolves your issue, kindly confirm this message at your earliest convenience. Otherwise, please give me feedback for further analysis.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • PO for Finished Goods with Tax Code - Inventorise

    Hi All,
    Our Client is procuring Finished Goods from Domestic Vendor & Excise Duty is paid to the Vendor for that i am defining the tax code in PO. Over here For the Finished Good in Tax Code it is not capturing - (Condition Type - JMO2). I have checked it in PO for ROH, HALB tax code is working perfectly with (Condition Type - JMO2). I like to know will it work for finished goods or not. In J1ID i have maintained Excise Rate.
    I had followed the following steps.
    1) Material code- Chapter id maintained in J1ID
    2) Vendor code excisable in J1ID
    3) Maintain condition record in FV11 for the correct validity period
    4) Check the PO creation date whcih should fall between condition record validity period
    Every thing is maintained i have checked it Thoroughly fot this particular material i am not getting it. This one is a finished goods material.
    I am not able to identify what is happening.
    I will give the flow so that you can help me out.
    1. Created Material - Finished with all views except - Classification, Forecasting,
    Work Scheduling & QM
    2. Create Info Record - Tax Code given
    3. J1ID - Chapter ID, Chap ID with Material, *** Val for Mat, Vendor Excise Detail, Excise ind. for Plant, Excise ind. for Plant & Vendor, & Excise Tax Rate.
    4. FV11 - Maintained till - 31.12.9999.
    5. FTXP - Tax Code is Maintained & it's working fine with other PO.
    6. ME21N - PO is done for Domestic vendor with Standard PO With no condition & With only tax code for ED & CST.
    7. In J1ID cenvat determination has been maintained.
    Also the material type should be raw in material chapter id combination instead of RG1 even though the material is finished to take credit of excise it should be maintained as RAW .
    Over Here if i see i am not able to capture (JMO2 A/P Eduty for Inven 0.000%) &
    For Sale tax i have maintained it in FTXP as (A/P C Sales Tax Inv  NVV   12.500%  JIP1) but it is not appering in PO Tax code. I can See the sale tax is geting updated in Tax code for Inventorise if i give it with out ED in tax code. With ED it is not Appering in Taxcode.
    Can you help me resolving the issue.
    Once again thanks for youre help.
    Thanks in Advance,
    sapuser.
    Edited by: sapuser on Dec 26, 2008 10:10 AM

    Hi All,
    Just give a check by entering cenvat determination table. System checks this by default for excise details. Enter i/p and o/p material as same.
    Hope this will resolve you Problem,
    Pherasath

  • Report for determining withholding tax codes for vendors

    Dear Experts,
    Is there any report in SAP thru which I can determine the withholding tax codes assigned to a particular vendor? This is required as the client has over 100 withholding tax codes and not able to know which vendor is assigned to which withholding tax.
    Appreciate your inputs
    Regards
    Komal

    Hi
    Pls use the report Code S_ALR_87012086. In the output control, pls tick the check box "EXTENDED WITH HOLDING TAX." You will get the desired out put for your company code.
    regards
    Sanil Bhandari

  • Tax codes not displaying in print preview.

    hello,
         i need to display tax codes in the me23n print preview.for that i write  a subroutine pool program and fetch the values. but the values are not displayed. i debuged the subroutine pool program, i found that in output structure itcsy, there are no fields. i hope this is the reason for the values not displayed. please help some one how to display values.
    coding : in script,
    define &g_menge&
    define &g_taxcode&
      perform get_main_details in program z_mm_po_details
    using &ekpo-ebeln&
    using &ekpo-ebelp&
    changing &g_menge&
    changing &g_taxcode&
    endperform
    in subroutine pool program,
    FORM get_main_details TABLES input STRUCTURE itcsy
                                 output STRUCTURE itcsy.

    Hello Kiran,
    <li> We can display LOGO using REUSE_ALV_GRID_DISPLAY only not using REUSE_ALV_LIST_DISPLAY. So when you click on print preview Grid output is displayed as REUSE_ALV_LIST_DISPLAY output. It is confirmed that using ABAP classical or ALV printing LOGO is not possible.
    <li>To print LOGO, you can go for SCRIPTS or SMARTFORMS.
    Thanks
    Venkat.O

  • Tax Code not copied from Billing to Accounting

    Hi,
    I have a case wherein the tax code is not being copied over from an intercompany Invoice to Accounting line items.
    The conditon record at Billing Header (MWST) has a tax code of B4. The Tax code at the Accouting Line Items is coming out as Blank. The VAT number however is correctly defined.
    What we did notice is that this would occur when the MWST is determined as 0%. For non-zero data, the tax code gets copied over.
    Does anyone have any idea why its happening this way.
    Thanks n Regards
    Dharmendra Rara

    Hi Dharmendra,
    Please note that the SD-FI interface changed
    from earlier releases. The note 400766 eplxains the checks made.
    So it is possible that now you get error message FF805, when in an
    earlier release you didn't get it, eventhough no customizing change.
    However please note =>
    In the vast majority of cases, error FF805 occurs because of an error
    in your pricing procedure. The previously attached note 112609 explains
    in detail how tax codes are transfered to conditions.
    The note 400766 explains the checks performed by the system on the Tax
    codes:
    1. system checks whether there is a revenue line for each tax line.
    2. in the reverse case, for each revenue line containing a certain
       tax indicator there must be a tax line with this indicator.
    If the tax condition has condition value zero and condition base
    value zero, then it is not transferred to FI.
    If you have revenue lines containing a tax indicator XX, but no
    tax line with tax indicator XX, then the error FF805 issues, and
    it is justified. => Please check these informations.
    I hope this is helpful.
    Regards,
    Alex

  • Can you set the Tax Code value in the Product Import File to "Tax Never Applies"?

    We have taxable and non-taxable items in our store and I need to be able to set all non-taxable food items to "Tax Never Applies" in the Product Import document. Does anyone know a work around for this? Applying this setting to hundreds of items is not ideal at all.
    Many thanks in advance!
    -Eric

    Did you ever get an answer?  I'm in the same boat...the only way I can seem to not charge tax to my wholesale clients is to set "tax never applies".  But I got over 300 products...how can I do it "en mass"???
    Anybody??
    I tried creating a special tax code at 0% but that didn't do it either.
    thanks in advance,
    Scot.

  • Copying wrong tax code

    Hello Experts,
                                   Whenever i create A/R Credit Memo from A/R  Sales Invoice the tax code of A/R Sales Invoice gets wrongly copied to   A/R Credit Memo always as Exempt tax code
    Ex A/R Sales InVoice - Tax Code VAT 12.5
    Copy to
    A/R Credit Memo Tax Code Exempt
    Version SAP B1 2007B PL14
    Please Suggest
    Quick reply will be helpful

    Hello Manish...
    You are absolutely correct in that the AR Invoice  Copy To Credit Memo function should be carrying all the information from the AR Invoice to the Credit Memo.
    I suggest you write an SQL query to see how many incorrect AR Invoice and Credit Memo tax combinations you have and then contact your SAP Support for them to look...
    Regards - Zal

  • Tax codes for Company code wise

    hi kings
    I am facing big problem is I want to listout the company codewise tax codes for whatever i am using in last year.  So how can i get the list for tax code for my code with in period.
    regards
    sri

    try this:
    REPORT ztaxrep01.
    TABLES bset.
    SELECT-OPTIONS: bk FOR bset-bukrs.
    PARAMETERS yr TYPE gjahr.
    DATA: BEGIN OF ztab OCCURS 0,
            bukrs TYPE bset-bukrs,
            land1 TYPE t001-land1,
            kalsm TYPE t005-kalsm,
            mwskz TYPE bset-mwskz,
          END OF ztab.
    DATA itab LIKE ztab.
    SELECT bukrs  land1 FROM  t001 INTO CORRESPONDING FIELDS OF itab
           WHERE  bukrs  IN bk.
      SELECT SINGLE kalsm FROM  t005 INTO itab-kalsm
             WHERE  land1  = itab-land1.
      SELECT mwskz FROM  t007a INTO itab-mwskz
             WHERE  kalsm  =  itab-kalsm.
        SELECT SINGLE mandt FROM  bset INTO sy-mandt
               WHERE  bukrs  = itab-bukrs
               AND    gjahr  = yr
               AND    mwskz  = itab-mwskz.
        IF sy-subrc = 0.
          APPEND itab TO ztab.
        ENDIF.
      ENDSELECT.
      CLEAR itab.
    ENDSELECT.
    LOOP AT ztab.
      WRITE: / ztab-bukrs, ztab-land1, ztab-kalsm, ztab-mwskz.
      AT END OF bukrs.
        ULINE. SKIP.
      ENDAT.
    ENDLOOP.
    A.

  • Restriction of some with holding tax code  when doing F-43

    Dear All,
           How can i restrict previous fiscal year's with holding tax codes while creating a vendor invoice (i.e F-43).
          Its an urgent requirement, i would really appreciate if some one gives the input.
    Thanks
    Suresh

    Dear Rob,
              yeah i know that, but unfortunately i cannot write the validation because the pre-requisite condition requires an entry from WITH_ITEM table, which is not there in the list of structures and tables while writing the validation.
             Please provide the alternate or else let me know how to include the WITH_ITEM table in the list of structures & tables.
    Thanks
    Ravi

  • Tax Codes not visible

    Hi all,
    I have just migrated SAP B1 from 2005B to 2007.
    i am having a problem with the tax codes. all the tax codes seems to have migrated. I can see then when I write a query for all the tax codes. but i can only see the 5 basic codes when trying to add the tax codes in the sales order. where have the other tax codes gone? how do i get them to show when i hit tab under the tax codes column?
    another thing is, the excisable column is grayed out when an item is being added into the document. i am unable to make it active in the form settings. how do i get it enabled?
    any help would be appreciated.
    scorp

    Hi Gordon,
    i am still stuck with this problem. the excisable option was not there in the 2005B version, but is present in 2007B (i was seeing the old one in my previous post in the thread). however the option is greyed out.
    how do i make the warehouse excisable? i have many warehouses, is there a way to make all the warehouses excisable in one go? i am talking about 200 warehouses here.
    i need help with this.
    scorp

Maybe you are looking for

  • Re: Lenovo UK complaint

    I've ban told to email complaints to [email protected]  hope u get a reply as I've not had any luck with this company and I'm still chasing my tablet that was sent for repair 2 months ago. I will never again buy a Lenovo product and I've advised my f

  • Output Layout

    Is there a way to format the report so that when I print an individual response (employment application), I can put several fields across the page rather than have a strictly vertical layout where successive fields are below one another?

  • Any tips on the best ways to burn playlists to CDs?

    Just burned a playlist to CDs for the first time (see my other post for a separate sob story...) and had several surprises: the process was extremely slow (the songs almost seemed to burn in the real track time...) and the CDs held far fewer tracks t

  • Publish H.264 live stream

    Hi all, I'm currently trying Flash Media Server 3.0 with CS3 and Flash Player 9.0.115. Our goal is to implement a videoconferencing application with H.264 encoded video. In the feature list, it's clearly stated that the server allows live publishing

  • How to i select 'continous paper' for an officejet pro 8000?

    I'm trying to print a banner 4 sheets long by 2 sheets high (from Poster Software - poster8.exe from postersw.com). I used to use an HP 960 printer that allowed me to select 'banner' or 'continous' paper. However, my new Officejet Pro 8000 doesn't gi