<?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: Problem with VAT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855173#M1592407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rosaline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copy a coding to get the data of percentage of VAT (in my case for Spain, check in tcode FTXP the parameters for your country) as a sample for your coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  data: clasif_mt like mlan-taxm1,
        clasif_cl like knvi-taxkd,
        percentage like konp-kbetr.


  select single taxm1 into clasif_mt from mlan
      where matnr = p_matnr
      and   aland = 'ES'.

  select single taxkd into clasif_cl from knvi
      where kunnr = p_kunnr
      and   aland = 'ES'
      and   tatyp = 'MWST'.        "your SD condition (VK13)

  select * from a002
    into table i_a002
      where kappl = 'V'
      and   kschl = 'MWST'
      and   aland = 'ES'
      and   taxk1 = clasif_cl
      and   taxm1 = clasif_mt.

  delete i_a002 where datbi &amp;lt; pp_fecha.

  read table i_a002 index 1.   "??? debug it and see the data

  select single * from konp
     where knumh = i_a002-knumh.

  percentage = konp-kbetr / 10.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2011 10:15:30 GMT</pubDate>
    <dc:creator>eduardo_hinojosa</dc:creator>
    <dc:date>2011-04-20T10:15:30Z</dc:date>
    <item>
      <title>Problem with VAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855171#M1592405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have to show both Sales Price and VAT in same ALV grid, i, e using tcode VK13, I have to show this. Users use VK13 &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;condition type(KSCHL)- VKP0 to see the sales price(KBETR) values and
                       ZVT1 to see VAT(KBETR) values.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But they dont want to use radio buttons now, they need to see both the Sales Price and VAT in same grid. I tried several ways. But the problem here i found is Sales Price uses table A073 for getting Condition record no(KNUMH), where VAT uses table A004 for getting Condition record no(KNUMH). But the table KONP holds both Sales Price and VAT in KBETR,based on KNUMH. I am unable to marge this two tables. The selection parameters will be - Sales Org(VKORG), Distribution Channel(VTWEG), Material no(MATNR), Valid on(DATAM). Plz give me some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Roslaine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 04:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855171#M1592405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-20T04:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with VAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855172#M1592406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me with any suggestion or idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Rosaline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 10:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855172#M1592406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-20T10:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with VAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855173#M1592407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rosaline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copy a coding to get the data of percentage of VAT (in my case for Spain, check in tcode FTXP the parameters for your country) as a sample for your coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  data: clasif_mt like mlan-taxm1,
        clasif_cl like knvi-taxkd,
        percentage like konp-kbetr.


  select single taxm1 into clasif_mt from mlan
      where matnr = p_matnr
      and   aland = 'ES'.

  select single taxkd into clasif_cl from knvi
      where kunnr = p_kunnr
      and   aland = 'ES'
      and   tatyp = 'MWST'.        "your SD condition (VK13)

  select * from a002
    into table i_a002
      where kappl = 'V'
      and   kschl = 'MWST'
      and   aland = 'ES'
      and   taxk1 = clasif_cl
      and   taxm1 = clasif_mt.

  delete i_a002 where datbi &amp;lt; pp_fecha.

  read table i_a002 index 1.   "??? debug it and see the data

  select single * from konp
     where knumh = i_a002-knumh.

  percentage = konp-kbetr / 10.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 10:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855173#M1592407</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-04-20T10:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with VAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855174#M1592408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks E_Hinojosa for your reply. But these  tables contain no value here. Need any other idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Rosaline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 10:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855174#M1592408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-20T10:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with VAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855175#M1592409</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;Check in VK13 (or in customizing sequence access, V/07) for the VAT condition in which table you store this data (in my case, table A002). After, with field KNUMH search the value condition in KONP. Tcode FTXP will tell you the info related with VAT scheme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 12:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vat/m-p/7855175#M1592409</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-04-20T12:57:44Z</dc:date>
    </item>
  </channel>
</rss>

