<?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: Catching Error while calling FM (RFC Enabled) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100736#M103447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks durairaj. Points awarded!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2005 10:47:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-21T10:47:45Z</dc:date>
    <item>
      <title>Catching Error while calling FM (RFC Enabled)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100731#M103442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In a loop on RFCDES table&lt;/P&gt;&lt;P&gt;   im calling a Function Module&lt;/P&gt;&lt;P&gt;   passing different RFC Destinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In any of the loop pass, if any &lt;/P&gt;&lt;P&gt;   error comes, there is a short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. How to avoid this short dump&lt;/P&gt;&lt;P&gt;   and continue the loop till end&lt;/P&gt;&lt;P&gt;   using try,catch etc ?&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;Amit M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 06:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100731#M103442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-21T06:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Catching Error while calling FM (RFC Enabled)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100732#M103443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are these exception raised by the called FM's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you handle the sy-subrc after calling these FMs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 06:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100732#M103443</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-11-21T06:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Catching Error while calling FM (RFC Enabled)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100733#M103444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think u have commented the exceptions.&lt;/P&gt;&lt;P&gt;Please uncomment them. if you need explicit handling u can do that also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the FM is custom defined. then you have to add the error table in the tables. col. so that if any error comes you have to handle it explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope my answers will help u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 07:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100733#M103444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-21T07:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Catching Error while calling FM (RFC Enabled)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100734#M103445</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;1. The FM is TH_USER_LIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It does not have any EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I m calling it thru RFC&lt;/P&gt;&lt;P&gt;    (using destination keyword)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. At that time it gives error.&lt;/P&gt;&lt;P&gt; How to solve/catch  it so that short dump&lt;/P&gt;&lt;P&gt;  does not come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 08:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100734#M103445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-21T08:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Catching Error while calling FM (RFC Enabled)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100735#M103446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/13/90a594a1ab0841bbb731bdec1a7fd7/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/13/90a594a1ab0841bbb731bdec1a7fd7/content.htm&lt;/A&gt; - check this link for handling exception when calling RFCs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call the function like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: list like UINFO occurs 0 with header line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TH_USER_LIST' destination &amp;lt;dest&amp;gt;&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    list          = list&lt;/P&gt;&lt;P&gt;     exceptions&lt;/P&gt;&lt;P&gt;            communication_failure      = 1&lt;/P&gt;&lt;P&gt;            system_failure             = 2 .&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0 .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;handle error here&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;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 09:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100735#M103446</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-11-21T09:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Catching Error while calling FM (RFC Enabled)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100736#M103447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks durairaj. Points awarded!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 10:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catching-error-while-calling-fm-rfc-enabled/m-p/1100736#M103447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-21T10:47:45Z</dc:date>
    </item>
  </channel>
</rss>

