<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fetch Tax rate based on Tax Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548352#M1074135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to table A003. Enter KAPPL = 'TX', KSCHL = 'MWAS', ALAND = Country Code and Give MWSKZ = the Tax code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get the value KNUMH. Go to table KONP and enter KNUMH there.&lt;/P&gt;&lt;P&gt;The tax rate will be there in the field KBETR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omkaram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2008 09:21:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-08T09:21:23Z</dc:date>
    <item>
      <title>Fetch Tax rate based on Tax Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548350#M1074133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to fetch Tax rate based on Tax code available with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me which table will have both these things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is there any other field required to fetch Tax rate!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 06:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548350#M1074133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T06:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Tax rate based on Tax Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548351#M1074134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are probably many different ways of doing this. Since it is tax you should probably look for a FM rather than go directly to these tables... but try table A003 (Tax Indicator) which can link to table KONP (Condition Type) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps for starters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 09:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548351#M1074134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T09:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Tax rate based on Tax Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548352#M1074135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to table A003. Enter KAPPL = 'TX', KSCHL = 'MWAS', ALAND = Country Code and Give MWSKZ = the Tax code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get the value KNUMH. Go to table KONP and enter KNUMH there.&lt;/P&gt;&lt;P&gt;The tax rate will be there in the field KBETR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omkaram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 09:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548352#M1074135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T09:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Tax rate based on Tax Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548353#M1074136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if these function modules are of any help &lt;/P&gt;&lt;P&gt;FC_GET_TAXRATE&lt;/P&gt;&lt;P&gt;HR_KR_GET_TAX_RATE&lt;/P&gt;&lt;P&gt;OIUX1_GET_TAXRATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search se37 for more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 09:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548353#M1074136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T09:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Tax rate based on Tax Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548354#M1074137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the FM to get the tax rates based on tax code: "CALCULATE_TAX_FROM_GROSSAMOUNT"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is sample code:&lt;/P&gt;&lt;P&gt;*Local data declarations&lt;/P&gt;&lt;P&gt;  DATA : lv_taxded TYPE bset-fwste,&lt;/P&gt;&lt;P&gt;         lv_taxtot TYPE bset-fwste,&lt;/P&gt;&lt;P&gt;         lv_amt    TYPE wrbtr,&lt;/P&gt;&lt;P&gt;         lv_ref2   TYPE xref2,&lt;/P&gt;&lt;P&gt;         ls_mwdat  TYPE rtax1u15,&lt;/P&gt;&lt;P&gt;         lt_mwdat  TYPE TABLE OF rtax1u15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Tax juris code for vendor&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF gs_item1-koart = gc_v.  " vendor&lt;/P&gt;&lt;P&gt;    gv_tjxcd = gs_item1-txjcd.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    CLEAR : lv_taxded, lv_taxtot , lv_amt , ls_mwdat.&lt;/P&gt;&lt;P&gt;    REFRESH : lt_mwdat.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fetch the tax amount based on the gross amount, tax code and juris code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'CALCULATE_TAX_FROM_GROSSAMOUNT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_bukrs                 = gs_header1-bukrs&lt;/P&gt;&lt;P&gt;        i_mwskz                 = gs_item1-mwskz&lt;/P&gt;&lt;P&gt;        i_txjcd                 = gv_tjxcd&lt;/P&gt;&lt;P&gt;        i_waers                 = gs_header1-waers&lt;/P&gt;&lt;P&gt;        i_wrbtr                 = gs_item1-wrbtr&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        e_fwste                 = lv_taxtot&lt;/P&gt;&lt;P&gt;        e_fwast                 = lv_taxded&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        t_mwdat                 = lt_mwdat&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        bukrs_not_found         = 1&lt;/P&gt;&lt;P&gt;        country_not_found       = 2&lt;/P&gt;&lt;P&gt;        mwskz_not_defined       = 3&lt;/P&gt;&lt;P&gt;        mwskz_not_valid         = 4&lt;/P&gt;&lt;P&gt;        account_not_found       = 5&lt;/P&gt;&lt;P&gt;        different_discount_base = 6&lt;/P&gt;&lt;P&gt;        different_tax_base      = 7&lt;/P&gt;&lt;P&gt;        txjcd_not_valid         = 8&lt;/P&gt;&lt;P&gt;        not_found               = 9&lt;/P&gt;&lt;P&gt;        ktosl_not_found         = 10&lt;/P&gt;&lt;P&gt;        kalsm_not_found         = 11&lt;/P&gt;&lt;P&gt;        parameter_error         = 12&lt;/P&gt;&lt;P&gt;        knumh_not_found         = 13&lt;/P&gt;&lt;P&gt;        kschl_not_found         = 14&lt;/P&gt;&lt;P&gt;        unknown_error           = 15&lt;/P&gt;&lt;P&gt;        OTHERS                  = 16.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Calculate the amounts.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      lv_amt = gs_item-wrbtr - lv_taxded.  " Tax deductable.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the GL Account, Condition,etc. for TAX amount&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      READ TABLE lt_mwdat INTO ls_mwdat INDEX 1.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Do Nothing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 09:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-tax-rate-based-on-tax-code/m-p/4548354#M1074137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T09:24:09Z</dc:date>
    </item>
  </channel>
</rss>

