<?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 JCo  client calls as background processes (avoiding timeouts) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/jco-client-calls-as-background-processes-avoiding-timeouts/m-p/6796227#M1466653</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;Could you please assist us to resolve a simple issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our JCo Client call takes sometimes longer than the given timout for sap dialog processes (so, it's now clear,  the jco client simply uses the dialog processes and not something smarter/more flexible).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, ho to entice the jco client call to run without runtime timeout and take as long time as necessary. If the only possibility is, to use the tRFC, does anybody have an example for tRFC usage from JCo Client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is also a JCo server component  needed to implement some callback functionality from SAP system by using the tRFC, or it could be enough to poll the server and implement the timeout on the client level (it could be for us the best solution if we realy must use the tRFC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, we want to run the JCo client calls unlimited time (as long as needed) without the annoying dialog process timeout. The tRFC is not necessary by use cases now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be 	appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, Gena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Apr 2010 18:16:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-01T18:16:06Z</dc:date>
    <item>
      <title>JCo  client calls as background processes (avoiding timeouts)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jco-client-calls-as-background-processes-avoiding-timeouts/m-p/6796227#M1466653</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;Could you please assist us to resolve a simple issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our JCo Client call takes sometimes longer than the given timout for sap dialog processes (so, it's now clear,  the jco client simply uses the dialog processes and not something smarter/more flexible).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, ho to entice the jco client call to run without runtime timeout and take as long time as necessary. If the only possibility is, to use the tRFC, does anybody have an example for tRFC usage from JCo Client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is also a JCo server component  needed to implement some callback functionality from SAP system by using the tRFC, or it could be enough to poll the server and implement the timeout on the client level (it could be for us the best solution if we realy must use the tRFC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, we want to run the JCo client calls unlimited time (as long as needed) without the annoying dialog process timeout. The tRFC is not necessary by use cases now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be 	appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, Gena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 18:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jco-client-calls-as-background-processes-avoiding-timeouts/m-p/6796227#M1466653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-01T18:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: JCo  client calls as background processes (avoiding timeouts)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jco-client-calls-as-background-processes-avoiding-timeouts/m-p/6796228#M1466654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gena,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, it's now clear, the jco client simply uses the dialog processes and not something smarter/more flexible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Well, that's a feature of the underlying RFC protocol: All RFC calls are executed in dialog work processes, thus also the runtime limitations for dialog processes apply.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, ho to entice the jco client call to run without runtime timeout and take as long time as necessary. If the only possibility is, to use the tRFC, does anybody have an example for tRFC usage from JCo Client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The JCo client cannot do anything about it, it's a profile parameter in SAP, i.e. &lt;SPAN __default_attr="Courier New" __jive_macro_name="font"&gt;rdisp/max_wprun_time&lt;/SPAN&gt;. But as this parameter applies to all dialog processes (so dialog users and RFC calls), so it shouldn't be changed to make a single RFC application work. Anyhow, &lt;EM&gt;tRFC&lt;/EM&gt; won't help you in this case, because all RFC calls are processed in a dialog process no matter of the type of RFC.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, we want to run the JCo client calls unlimited time (as long as needed) without the annoying dialog process timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Impossible without making any changes in SAP. In theory one could modify the RFC function so that it resets the "runtime counter" and thus having the capability to run longer than &lt;SPAN __default_attr="Courier New" __jive_macro_name="font"&gt;rdisp/max_wprun_time&lt;/SPAN&gt;. I'd recommend though not to do that, especially since a very long running RFC seems rather questionable. Long running tasks should be processed in background.&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>Fri, 02 Apr 2010 03:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jco-client-calls-as-background-processes-avoiding-timeouts/m-p/6796228#M1466654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-02T03:07:46Z</dc:date>
    </item>
  </channel>
</rss>

