<?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: RFC calling has failed. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943993#M1153036</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;Here is the scneario which you might be having.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;your remote function module&amp;gt;&lt;/P&gt;&lt;P&gt;    STARTING NEW TASK &amp;lt;give some task name&amp;gt;&lt;/P&gt;&lt;P&gt;    DESTINATION &amp;lt;provide destination system you are calling&amp;gt;&lt;/P&gt;&lt;P&gt;   PERFORMING &amp;lt;yoursubourtine to get online status of your remote call&amp;gt; ON END OF TASK.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;yoursubourtinename&amp;gt;  USING &amp;lt;Task Name&amp;gt;.&lt;/P&gt;&lt;P&gt;  RECEIVE RESULTS FROM FUNCTION func &lt;/P&gt;&lt;P&gt;    IMPORTING F1 = A1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS SYSTEM_FAILURE MESSAGE SYSTEM_SMG.&lt;/P&gt;&lt;P&gt;    SET USER-COMMAND 'OKCD'.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above logic in &amp;lt;yoursubroutine&amp;gt; willl get back results from Remote Function Module call which provides online status of your remote call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2008 15:52:46 GMT</pubDate>
    <dc:creator>nkr1shna</dc:creator>
    <dc:date>2008-12-10T15:52:46Z</dc:date>
    <item>
      <title>RFC calling has failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943987#M1153030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I called a RFC function module from a remote system. In case if RFC failed because of some communication failure or some other reason then Will the RFC return SY-SUBRC value in case of failure other than 0 (Zero)? Or How can I identify the failure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 09:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943987#M1153030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T09:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: RFC calling has failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943988#M1153031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
      CALL FUNCTION &amp;lt;fm name&amp;gt;
        DESTINATION w_rfcdest
        EXPORTING
         ....................
        EXCEPTIONS
          function_not_exist    = 1
          communication_failure = 2
          system_failure        = 3
          resource_failure      = 4
          OTHERS                = 5.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add these exceptions while calling the RFC( though they may not be declared in the FM)&lt;/P&gt;&lt;P&gt;and check the SY-SUBRC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 10:00:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943988#M1153031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T10:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: RFC calling has failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943989#M1153032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharati,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no exceptions defined in the Function Module for exception handling on remote system and I am not authorized to change the called function. And I think SY-SUBRC will not work here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 10:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943989#M1153032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T10:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: RFC calling has failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943990#M1153033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats what I have already said.&lt;/P&gt;&lt;P&gt;You dont have to modify the original RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while calling the RFC, you can add these Exceptions as I have mentioned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 10:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943990#M1153033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T10:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: RFC calling has failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943991#M1153034</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;have a look at this thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1124643"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check as well fm &lt;STRONG&gt;RFC_VERIFY_DESTINATION&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 14:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943991#M1153034</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2008-12-10T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: RFC calling has failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943992#M1153035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi deepak, go to the ST22 t-code, there you have a error description. When you get it, let me know your feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 15:06:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943992#M1153035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T15:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: RFC calling has failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943993#M1153036</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;Here is the scneario which you might be having.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;your remote function module&amp;gt;&lt;/P&gt;&lt;P&gt;    STARTING NEW TASK &amp;lt;give some task name&amp;gt;&lt;/P&gt;&lt;P&gt;    DESTINATION &amp;lt;provide destination system you are calling&amp;gt;&lt;/P&gt;&lt;P&gt;   PERFORMING &amp;lt;yoursubourtine to get online status of your remote call&amp;gt; ON END OF TASK.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;yoursubourtinename&amp;gt;  USING &amp;lt;Task Name&amp;gt;.&lt;/P&gt;&lt;P&gt;  RECEIVE RESULTS FROM FUNCTION func &lt;/P&gt;&lt;P&gt;    IMPORTING F1 = A1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS SYSTEM_FAILURE MESSAGE SYSTEM_SMG.&lt;/P&gt;&lt;P&gt;    SET USER-COMMAND 'OKCD'.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above logic in &amp;lt;yoursubroutine&amp;gt; willl get back results from Remote Function Module call which provides online status of your remote call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 15:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-calling-has-failed/m-p/4943993#M1153036</guid>
      <dc:creator>nkr1shna</dc:creator>
      <dc:date>2008-12-10T15:52:46Z</dc:date>
    </item>
  </channel>
</rss>

