<?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 modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022998#M81635</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;You have to check the sy-subrc value after the FM is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then based on sy-subrc value it return,you can design your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2005 10:52:38 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2005-12-13T10:52:38Z</dc:date>
    <item>
      <title>Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022991#M81628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frnds,&lt;/P&gt;&lt;P&gt; im creating a function module. in this FM im using another FM. How do i catch the exceptions in the FM im creating, when the called FM returns an exception.&lt;/P&gt;&lt;P&gt;points assured to all replies..&lt;/P&gt;&lt;P&gt;madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2005 09:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022991#M81628</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2005-12-13T09:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022992#M81629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the return code after you have called the inner FM and react accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2005 09:27:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022992#M81629</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2005-12-13T09:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022993#M81630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i:///people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regs,&lt;/P&gt;&lt;P&gt;jaga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2005 09:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022993#M81630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-13T09:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022994#M81631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the inner function module returns an exception, it is possible to catch that exception there itself, provided u shud have defined exceptions for that inner func. module. There are lotz of func. modules like that.. for example check out HR_READ_INFOTYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2005 09:32:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022994#M81631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-13T09:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022995#M81632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is as same as you handle exception in Report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZTEST'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         NAME = 'TEST'&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;         NAME1 = V_NAME&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;         NO_DATA_FOUND = 1&lt;/P&gt;&lt;P&gt;         UNDEFINED     = 2.&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;Sudhakar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2005 09:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022995#M81632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-13T09:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022996#M81633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_erp2005/helpdata/en/9e/d58167116711d5b2f40050dadfb92b/frameset.htm"&amp;gt;Exceptions in Function Modules and Methods&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it solves your problem&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2005 09:33:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022996#M81633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-13T09:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022997#M81634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'TEST'
*    ... 
     EXCEPTIONS 
          NOT_FOUND = 7.
if sy-subrc = 1.
  raise exception1.
else.
  raise exception2.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2005 09:39:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022997#M81634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-13T09:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022998#M81635</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;You have to check the sy-subrc value after the FM is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then based on sy-subrc value it return,you can design your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2005 10:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/1022998#M81635</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-12-13T10:52:38Z</dc:date>
    </item>
  </channel>
</rss>

