<?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: functionmodule-exception in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884553#M677568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions are used in FM to handle Error situations.&lt;/P&gt;&lt;P&gt;So that the calling program will know for which reason the FM is not successfully executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means if No exception is RAISED Then the FM is successfully executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Sep 2007 06:51:58 GMT</pubDate>
    <dc:creator>varma_narayana</dc:creator>
    <dc:date>2007-09-29T06:51:58Z</dc:date>
    <item>
      <title>functionmodule-exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884551#M677566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guru&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in creation of functionmodule we will write soursecode by usinf if and ifelse, so then what is neccessity to write exceptions?&lt;/P&gt;&lt;P&gt;what is use of exception , why r u giving exceptions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 12:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884551#M677566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T12:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: functionmodule-exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884552#M677567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raising an exception in a function module allows it to set a return code in the calling program, so that it can code a response to the error that has occured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 12:33:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884552#M677567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T12:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: functionmodule-exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884553#M677568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions are used in FM to handle Error situations.&lt;/P&gt;&lt;P&gt;So that the calling program will know for which reason the FM is not successfully executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means if No exception is RAISED Then the FM is successfully executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 06:51:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884553#M677568</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-29T06:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: functionmodule-exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884554#M677569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Best way is create ur own FM. What i did was i created an fm: with 2 import parameters of type integer and export as result.&lt;/P&gt;&lt;P&gt;In this fm wht i first did was divide the first import param with the second.&lt;/P&gt;&lt;P&gt;Called this fm in another fm and passed the values frm there like this val1 = 9..val2 = 0. So this resulted in a runtime error. So next time i defined an exception cannot be divide by zero...and raised in it in the called fm wen the 2nd value is 0....u can c tht noe error wont occur.&lt;/P&gt;&lt;P&gt; U can try more on these using tables..eception classes etc..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 10:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-exception/m-p/2884554#M677569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T10:40:58Z</dc:date>
    </item>
  </channel>
</rss>

