<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075392#M430128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.  check if u had missed out any mandatory parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. chk if these 2 structures are equal  t_mwdat = it_dtl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. pls post the dump analysis also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Apr 2007 05:20:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-15T05:20:32Z</dc:date>
    <item>
      <title>function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075389#M430125</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;i hv used the function module  'CALCULATE_TAX_FROM_NET_AMOUNT'  to calculate tax amount in INR. i am passing i_bukrs to '1000', i_mwskz to 'SJ', i_waers = ' INR', i_wrbtr = '0'. But it is giving run time error like illegel cal function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will u plz tel me the solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if any information required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 03:49:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075389#M430125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T03:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075390#M430126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls post ur code to know the declarations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also tr this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select KNUMH (Condition number) from A003 (taxe code table) with the key fields ALAND and MWSKZ(tax code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select KBETR (tax percentage) from KONP with key KNUMH (Condition number)that you have retrived in the previous step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 04:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075390#M430126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T04:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075391#M430127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for suggetion &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the code which is giving run time error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : i_bukrs  LIKE  bapimmpara-selection, &lt;/P&gt;&lt;P&gt;       i_mwskz  LIKE  bapimmpara-selection, &lt;/P&gt;&lt;P&gt;       i_waers  LIKE  bapimmpara-selection, &lt;/P&gt;&lt;P&gt;       i_wrbtr  LIKE  bapimmpara-selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_dtl WHERE mwsk1 = 'SJ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_bukrs                 = '1000'&lt;/P&gt;&lt;P&gt;      i_mwskz                 = 'SJ'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_TXJCD                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      i_waers                 = 'INR'&lt;/P&gt;&lt;P&gt;      i_wrbtr                 = 0&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_ZBD1P                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_PRSDT                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_PROTOKOLL             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_TAXPS                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_ACCNT_EXT             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  E_FWNAV                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  E_FWNVV                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  E_FWSTE                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  E_FWAST                 =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_mwdat                 = it_dtl&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BUKRS_NOT_FOUND         = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COUNTRY_NOT_FOUND       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MWSKZ_NOT_DEFINED       = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MWSKZ_NOT_VALID         = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  KTOSL_NOT_FOUND         = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  KALSM_NOT_FOUND         = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARAMETER_ERROR         = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  KNUMH_NOT_FOUND         = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  KSCHL_NOT_FOUND         = 9&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNKNOWN_ERROR           = 10&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ACCOUNT_NOT_FOUND       = 11&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TXJCD_NOT_VALID         = 12&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                  = 13&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&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;  MODIFY it_dtl.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need tax amount in % by passing tax code(now i'm passing only service tax). suggest ans.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 05:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075391#M430127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T05:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075392#M430128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.  check if u had missed out any mandatory parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. chk if these 2 structures are equal  t_mwdat = it_dtl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. pls post the dump analysis also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 05:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075392#M430128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T05:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075393#M430129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you told, the structure i_mwdat and it_dtl couldn't match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now that problem was solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2075393#M430129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:51:12Z</dc:date>
    </item>
  </channel>
</rss>

