<?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 module Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867376#M672698</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;Thanks for all your good replies, Problem is resolved.&lt;/P&gt;&lt;P&gt;Reason is that i gave host id in destination instead of RFC name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks for all your support and i am giving points all of you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2007 02:10:39 GMT</pubDate>
    <dc:creator>HariMaradana</dc:creator>
    <dc:date>2007-10-02T02:10:39Z</dc:date>
    <item>
      <title>RFC Function module Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867370#M672692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written simple Remote Function module as like given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before that i did all required RFC settings in SM59 and tested from there.&lt;/P&gt;&lt;P&gt;It is connecting from each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_RFC                               .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: rfc_var1 type i VALUE '10',&lt;/P&gt;&lt;P&gt;      rfc_var2 type i VALUE '599',&lt;/P&gt;&lt;P&gt;      rfc_result type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'Z_SUM'&lt;/P&gt;&lt;P&gt;  DESTINATION 'dev'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    VAR1                  = RFC_VAR1&lt;/P&gt;&lt;P&gt;    VAR2                  = RFC_VAR2&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    RESULT                = RFC_RESULT&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    COMMUNICATION_FAILURE = 1&lt;/P&gt;&lt;P&gt;    OTHERS                = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting sy-subrc eq 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide what could be wrong...do we need pass any parameters in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Cris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 00:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867370#M672692</guid>
      <dc:creator>HariMaradana</dc:creator>
      <dc:date>2007-10-02T00:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function module Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867371#M672693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;DESTINATION &amp;lt;b&amp;gt;'DEV'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 01:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867371#M672693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T01:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function module Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867372#M672694</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;I tried that also...still same problem. Do you know how we can debug the RFC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Cris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 01:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867372#M672694</guid>
      <dc:creator>HariMaradana</dc:creator>
      <dc:date>2007-10-02T01:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function module Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867373#M672695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error occurred is due to RFC destination "dev" does not exist.&lt;/P&gt;&lt;P&gt;FYI, the destination is case-sensitive. Make sure the RFC name that u maintain in&lt;/P&gt;&lt;P&gt;SM59 is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Hikaruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 01:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867373#M672695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T01:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function module Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867374#M672696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is pretty basic one though...but may be u can check..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the FM Z_SUM "Remote Enabled" in the Attributes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 01:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867374#M672696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T01:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function module Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867375#M672697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also To debug a RFC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to make sure that you are able to login in to the system containing the RFC using SM59 with your own login. Now place a break point just before the RFC Fm in your se38 and press F5. now it goes into the RFC .Now you need to place a break point at your RFC FM by specifying your RFC name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and hit F8 . It goes inside the RFC Func module code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 01:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867375#M672697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T01:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function module Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867376#M672698</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;Thanks for all your good replies, Problem is resolved.&lt;/P&gt;&lt;P&gt;Reason is that i gave host id in destination instead of RFC name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks for all your support and i am giving points all of you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 02:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-module-error/m-p/2867376#M672698</guid>
      <dc:creator>HariMaradana</dc:creator>
      <dc:date>2007-10-02T02:10:39Z</dc:date>
    </item>
  </channel>
</rss>

