<?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 - System not available in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151182#M1621332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if there is some number entered while setting up RFC connection to try connection for 10s (I do not have authorization to SM59 in my system)&lt;/P&gt;&lt;P&gt;Maybe you can check with your BASIS team who created the RFC connection or else I think that is the default upper limit to try establish connection with the RFC destination&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 09:17:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-07T09:17:56Z</dc:date>
    <item>
      <title>RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151176#M1621326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my own program i´m using an RFC function call to get data out of our BW - System like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RRW3_GET_QUERY_VIEW_DATA' DESTINATION i_dest
    EXPORTING
      i_query               = i_query
      i_view_id             = i_view_id
      i_t_parameter         = i_t_parameter
    IMPORTING
      e_axis_data           = gt_axis_data
      e_cell_data           = e_cell_data
    EXCEPTIONS
      system_failure        = 1
      communication_failure = 2
      OTHERS                = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine and fast as long the BW System is up and running. If the BW system is for some reason down my program has very bad performance because this RFC function call is trying for about 10 seconds every time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to avoid this long waiting time? A kind of parameter?&lt;/P&gt;&lt;P&gt;If there is no answer after one or two seconds the programm should continue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas for this?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manfred&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 06:37:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151176#M1621326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T06:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151177#M1621327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the following like look for TTL(time to live) in the doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.google.co.in/url?sa=t&amp;amp;source=web&amp;amp;cd=5&amp;amp;ved=0CDkQFjAE&amp;amp;url=http%3A%2F%2Fwww.erpgenie.com%2Fsapgenie%2Fdocs%2FSAP%2520Connectors.doc&amp;amp;rct=j&amp;amp;q=ttl%20for%20rfc%20call%20in%20sap%20abap&amp;amp;ei=DShnTv7VGYbWrQeYgPXcCg&amp;amp;usg=AFQjCNGvnINnxj8kYx9IeelUHy0dQPmuMA&amp;amp;cad=rja" target="test_blank"&gt;http://www.google.co.in/url?sa=t&amp;amp;source=web&amp;amp;cd=5&amp;amp;ved=0CDkQFjAE&amp;amp;url=http%3A%2F%2Fwww.erpgenie.com%2Fsapgenie%2Fdocs%2FSAP%2520Connectors.doc&amp;amp;rct=j&amp;amp;q=ttl%20for%20rfc%20call%20in%20sap%20abap&amp;amp;ei=DShnTv7VGYbWrQeYgPXcCg&amp;amp;usg=AFQjCNGvnINnxj8kYx9IeelUHy0dQPmuMA&amp;amp;cad=rja&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 08:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151177#M1621327</guid>
      <dc:creator>Amarpreet</dc:creator>
      <dc:date>2011-09-07T08:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151178#M1621328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manfred, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was checking the SAP report RSRFCPIN which is used for SM59 connection test. In this report I found FM RFC_PING which you may use for your purpose. I couldn't test this properly because of authorization restriction in my system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mainak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 08:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151178#M1621328</guid>
      <dc:creator>former_member224404</dc:creator>
      <dc:date>2011-09-07T08:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151179#M1621329</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;could one of you experts please explain if FM RFC_PING is the right way and if yes how to use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are there other ideas for my request?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 08:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151179#M1621329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T08:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151180#M1621330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RFC_PING is similar to test RFC connection button in SM59. It will send some data to destination and check if the system is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code for that -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'RFC_PING' destination &amp;lt;dest&amp;gt;&lt;/P&gt;&lt;P&gt; exceptions&lt;/P&gt;&lt;P&gt;   system_failure        = 1&lt;/P&gt;&lt;P&gt;   communication_failure = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is not your FM supposed to handle the exception as well? If the system is not available, similar to RFC_PING, your FM should also return with communication_failure exception&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151180#M1621330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T09:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151181#M1621331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sim, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right - the exception communcation failure is raised. But this comes after 10 seconds if the system is not available and not immidiatly. I´m searching for a parameter to change this 10 seconds to 1 second - or for a function module which checks much faster wether the system is available or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Manfred&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151181#M1621331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T09:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151182#M1621332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if there is some number entered while setting up RFC connection to try connection for 10s (I do not have authorization to SM59 in my system)&lt;/P&gt;&lt;P&gt;Maybe you can check with your BASIS team who created the RFC connection or else I think that is the default upper limit to try establish connection with the RFC destination&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151182#M1621332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T09:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151183#M1621333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this time should be maintained at the systems profile parameters (Transaction RZ11 - I think it could be gw/timeout) - contact your SAP basis team to check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards, hp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151183#M1621333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T09:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function Call - System not available</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151184#M1621334</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;&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="179517"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-call-system-not-available/m-p/8151184#M1621334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T09:24:50Z</dc:date>
    </item>
  </channel>
</rss>

