<?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 Function Call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158702#M751412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it needs to be the target syatem, (B). however it will be used in the source system (A). In addition you have to create a destination in the source system using Transaction SM59. IN sm59 you have to specify the details about the target system (b).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2007 16:56:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-06T16:56:32Z</dc:date>
    <item>
      <title>RFC Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158697#M751407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we need to have RFC function module existed in the system we are calling?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a RFC FM in system A and trying to get data from system B, but giving a short dump while executing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC FM is exist only in system A but not in system B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody explain me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance...&lt;/P&gt;&lt;P&gt;Sailesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 15:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158697#M751407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T15:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158698#M751408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the RFC must exist in the system where it is to be called. (B)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't have to exist in the system that calls the RFC. (A)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 15:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158698#M751408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T15:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158699#M751409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way we can do this with out creating the FM in system B?  because, i do not know at this moment, what are the systems i am going to call?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sailesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 15:53:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158699#M751409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T15:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158700#M751410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot call an RFC-Enable FM if this doesn't exist in target system.&lt;/P&gt;&lt;P&gt;Yu can only handle old-type exception such as SYSTEM_FAILURE and COMMUNICATION_FAILURE, assigning to them a specific return code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'RFC_SYSTEM_INFO' 
    DESTINATION rfcdest
     EXCEPTIONS 
      system_failure        = 1  MESSAGE mess   "This
      communication_failure = 2  MESSAGE mess   "This
      resource_failure      = 3. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the FM is then not founded in the target system, sy-subrc is set accordingly to the value you inserted for SYSTEM_FAILURE and COMMUNICATION_FAILURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CASE sy-subrc.
 WHEN 1 OR 2 OR 3.
  MESSAGE 'RFC Error' TYPE 'E'.
 WHEN OTHERS.
ENDCASE
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Roby.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 16:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158700#M751410</guid>
      <dc:creator>former_member199581</dc:creator>
      <dc:date>2007-12-06T16:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158701#M751411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sailesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To call the RFC you need to pass Destination value, there is no other option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 16:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158701#M751411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T16:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158702#M751412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it needs to be the target syatem, (B). however it will be used in the source system (A). In addition you have to create a destination in the source system using Transaction SM59. IN sm59 you have to specify the details about the target system (b).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 16:56:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158702#M751412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T16:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158703#M751413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway or FM, we can find, if the given function module exist in target system or not?  So that, atleast i can capture the return code and give a warning message and avoid a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shylesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 16:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158703#M751413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T16:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158704#M751414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found it myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 17:08:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call/m-p/3158704#M751414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T17:08:58Z</dc:date>
    </item>
  </channel>
</rss>

