<?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: fm in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm/m-p/3530575#M849331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are defining it as integer and if you pass any char to the Import -export parameter you will get run time error.&lt;/P&gt;&lt;P&gt;To show error message using FM, define them of Char type and check in the FM if any char is passed show the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 01:25:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-06T01:25:55Z</dc:date>
    <item>
      <title>fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm/m-p/3530574#M849330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a simple function module so   the import and export parameters are integers .&lt;/P&gt;&lt;P&gt;So when i enter any char or spl symbols it should raise the exeception .&lt;/P&gt;&lt;P&gt;any clues plz .........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;deepti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 01:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm/m-p/3530574#M849330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T01:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm/m-p/3530575#M849331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are defining it as integer and if you pass any char to the Import -export parameter you will get run time error.&lt;/P&gt;&lt;P&gt;To show error message using FM, define them of Char type and check in the FM if any char is passed show the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 01:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm/m-p/3530575#M849331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T01:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm/m-p/3530576#M849332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are defining it as integer and if you pass any char to the Import -export parameter you will get run time error.&lt;/P&gt;&lt;P&gt;To show error message using FM, define them of Char type and check in the FM if any char is passed show the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi..&lt;/P&gt;&lt;P&gt;In the source try to catch the input this passed and check whether its an interger or not&lt;/P&gt;&lt;P&gt;if its not an interger the raise the exception.&lt;/P&gt;&lt;P&gt; check this code hope this wld provide u some clue but this fm is for division and i have raised the exception when we use divide by 0&lt;/P&gt;&lt;P&gt; IF num2 = 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   RAISE num2_zero .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE e001(zarc) WITH 'division by zero not possible' RAISING&lt;/P&gt;&lt;P&gt;   num2_zero  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  result = num1 / num2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 04:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm/m-p/3530576#M849332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T04:39:18Z</dc:date>
    </item>
  </channel>
</rss>

