<?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 Getting Timed out. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949041#M1488410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All RFC calls are executed in dialog work processes (the type of user is irrelevant) and thus are subject to the same runtime limits as any dialog user. The profile parameter &lt;EM&gt;rdisp/max_wprun_time&lt;/EM&gt; governs what the default time out is (default 300s, see for example [here|http://help.sap.com/saphelp_nw70/Helpdata/en/22/0425c6488911d189490000e829fbbd/frameset.htm]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you don't want to change this limit (affects all users) you really should process the data in smaller packages, i.e. call the RFC more often.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jun 2010 12:18:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-23T12:18:07Z</dc:date>
    <item>
      <title>RFC Getting Timed out.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949040#M1488409</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 have a RFC in CRM system to update address attributes for a BP.&lt;/P&gt;&lt;P&gt;When the informatica calls this RFC with limited number of records say for eg with 7000 records the RFC works fine &amp;amp; updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when called with more records eg. 11000 or more there is a TIMEOUT error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maximum runtime of a program is limited by the system profile&lt;/P&gt;&lt;P&gt;parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this&lt;/P&gt;&lt;P&gt; time limit is&lt;/P&gt;&lt;P&gt;exceeded, the system attempts to cancel any running SQL statement or&lt;/P&gt;&lt;P&gt;signals the ABAP processor to stop the running program. Then the system&lt;/P&gt;&lt;P&gt;waits another 60 seconds maximum. If the program is then still active,&lt;/P&gt;&lt;P&gt;the work process is restarted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user that is used to execute this RFC is created as background user only &amp;amp; not as a dialogue user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs to overcome this issue will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 11:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949040#M1488409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T11:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Getting Timed out.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949041#M1488410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All RFC calls are executed in dialog work processes (the type of user is irrelevant) and thus are subject to the same runtime limits as any dialog user. The profile parameter &lt;EM&gt;rdisp/max_wprun_time&lt;/EM&gt; governs what the default time out is (default 300s, see for example [here|http://help.sap.com/saphelp_nw70/Helpdata/en/22/0425c6488911d189490000e829fbbd/frameset.htm]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you don't want to change this limit (affects all users) you really should process the data in smaller packages, i.e. call the RFC more often.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 12:18:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949041#M1488410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T12:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Getting Timed out.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949042#M1488411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i have asked the informatica team to do as a temporary solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i thought there would be a better way to hande this ... meaning somehow make this RFC to work for all the records using Some options. ( Wonder what options! )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one i was thinking is to call this RFC inside another RFC &amp;amp; call the original RFC in update task....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here the problem is that the RFC has to return messages to informatica that too for each record being passed.!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wondering how to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kevin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 12:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949042#M1488411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T12:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Getting Timed out.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949043#M1488412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;But i thought there would be a better way to handle this ... meaning somehow make this RFC to work for all the records using Some options. ( Wonder what options! )&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Well, there's always &lt;EM&gt;other&lt;/EM&gt; options and workarounds, but they are not necessarily &lt;EM&gt;better&lt;/EM&gt;. I actually think it's better to process data in reasonable chunks and so far I haven't encountered the need for long running RFC's. Especially since I like to see progress/status on the client side, which requires feedback from the RFC server from time to time (and long running synchronous RFC calls usually don't do this - unless somebody coded some special logic with destination 'BACK' or something similar).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, if for some (strange?) reason you're convinced that you want to have really long running RFC's you could for example check if you can divide your RFC function into smaller units. I.e. if you don't have a single statement that runs forever I think you should be able to reset the timer by executing a COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option might be to switch to an asynchronous interface, where you submit initially the data to be processed via RFC, schedule a job for it and have some logic that provides feedback via call backs. The main issue with such a solution is that all of a sudden your RFC client also needs RFC server functionality for processing the callbacks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I don't know the background for your requirement I'm tempted to re-label your &lt;EM&gt;temporary solution&lt;/EM&gt; as a &lt;EM&gt;very good, scalable solution&lt;/EM&gt; (e.g. think parallel processing of smaller chunks), which provides much more freedom. Though of course in your specific case maybe there is a good reason why you want to do it that way...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 07:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-getting-timed-out/m-p/6949043#M1488412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-24T07:01:13Z</dc:date>
    </item>
  </channel>
</rss>

