<?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: function module sample in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860218#M1136418</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 this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if taxcode is not initial.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CALCULATE_TAX_ITEM'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_taxcom                  = t_taxcom&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     t_xkomv                   = it_komv&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   mwskz_not_defined         = 1&lt;/P&gt;&lt;P&gt;   mwskz_not_found           = 2&lt;/P&gt;&lt;P&gt;   mwskz_not_valid           = 3&lt;/P&gt;&lt;P&gt;   steuerbetrag_falsch       = 4&lt;/P&gt;&lt;P&gt;   country_not_found         = 5&lt;/P&gt;&lt;P&gt;   OTHERS                    = 6.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2008 12:47:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-26T12:47:50Z</dc:date>
    <item>
      <title>function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860217#M1136417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I need to calculate the taxes in PO (MM)..Now it was not even stored in konp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got a solution that i need to pass values to calculate_tax_item FM..can any one give me a sample values that need to be passed to CALCULATE_TAX_ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me with sample code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860217#M1136417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T12:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860218#M1136418</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 this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if taxcode is not initial.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CALCULATE_TAX_ITEM'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_taxcom                  = t_taxcom&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     t_xkomv                   = it_komv&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   mwskz_not_defined         = 1&lt;/P&gt;&lt;P&gt;   mwskz_not_found           = 2&lt;/P&gt;&lt;P&gt;   mwskz_not_valid           = 3&lt;/P&gt;&lt;P&gt;   steuerbetrag_falsch       = 4&lt;/P&gt;&lt;P&gt;   country_not_found         = 5&lt;/P&gt;&lt;P&gt;   OTHERS                    = 6.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860218#M1136418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T12:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860219#M1136419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this example....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/calculate%252btax%252bof%252bpurchase%252border%252bline%252bitem" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/calculate%252btax%252bof%252bpurchase%252border%252bline%252bitem&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860219#M1136419</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2008-11-26T12:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860220#M1136420</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 This Link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1549564"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860220#M1136420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860221#M1136421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  refer to the thread below, hope it will help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1549564"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860221#M1136421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T12:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860222#M1136422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks,but what all the data we want to pass to the i_taxcom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whether all the values or any particular values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860222#M1136422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T12:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860223#M1136423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Minimum These&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;taxcom-bukrs &lt;/P&gt;&lt;P&gt;taxcom-budat &lt;/P&gt;&lt;P&gt;taxcom-waers&lt;/P&gt;&lt;P&gt;taxcom-kposn&lt;/P&gt;&lt;P&gt;taxcom-mwskz&lt;/P&gt;&lt;P&gt;taxcom-txjcd &lt;/P&gt;&lt;P&gt;taxcom-shkzg&lt;/P&gt;&lt;P&gt;taxcom-xmwst&lt;/P&gt;&lt;P&gt;taxcom-wrbtr&lt;/P&gt;&lt;P&gt;taxcom-lifnr&lt;/P&gt;&lt;P&gt;taxcom-land1&lt;/P&gt;&lt;P&gt;taxcom-ekorg&lt;/P&gt;&lt;P&gt;taxcom-hwaer&lt;/P&gt;&lt;P&gt;taxcom-llief&lt;/P&gt;&lt;P&gt;taxcom-bldat&lt;/P&gt;&lt;P&gt;taxcom-matnr&lt;/P&gt;&lt;P&gt;taxcom-werks&lt;/P&gt;&lt;P&gt;taxcom-bwtar&lt;/P&gt;&lt;P&gt;taxcom-matkl&lt;/P&gt;&lt;P&gt;taxcom-meins&lt;/P&gt;&lt;P&gt;taxcom-mglme&lt;/P&gt;&lt;P&gt;taxcom-mtart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 14:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860223#M1136423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T14:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860224#M1136424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for ur help,&lt;/P&gt;&lt;P&gt;                           I am trying the same buut the values are not proper.I dont know why its coming like this.Every value is retturing properly except the amount values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 06:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860224#M1136424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T06:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: function module sample</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860225#M1136425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;I am stuck with the same issue can you please gimme the solution for FM CALCULATE_ITEM_TAX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;This function module is giving the wrong answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;Have gone through the number of links but none of them gave the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;Any help would be appreciable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; background-color: #ffffff; color: #333333;"&gt;Akshay Ruia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-sample/m-p/4860225#M1136425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-18T12:56:46Z</dc:date>
    </item>
  </channel>
</rss>

