<?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: Calling Function module Asynchronously in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module-asynchronously/m-p/6360476#M1400344</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;have you tried to use CALL FUNCTION .. IN BACKGROUND TASK? Check ABAP documentation for technical details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Dec 2009 05:14:09 GMT</pubDate>
    <dc:creator>mvoros</dc:creator>
    <dc:date>2009-12-11T05:14:09Z</dc:date>
    <item>
      <title>Calling Function module Asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module-asynchronously/m-p/6360475#M1400343</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;I have a requirement wherein I am supposed to create the order header first in synchronous mode.&lt;/P&gt;&lt;P&gt;Then I am suppose to call a new function module which will create order lines for the order header created earlier, but this function module will be called asynchronously using the addition 'STARTING NEW TASK'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the problem that we have is that there might be 120-150 order lines to create, and when we use STARTING NEW TASK....it is executed in DIALOG work process....so the maximum time that it can take to execute is 300s...&lt;/P&gt;&lt;P&gt;But there is a probability that 120 order lines might not be created in 300s.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I think of splitting the data and then calling the function module asynchronously...i fear that there might be some locking issues over it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there any way, that this scenario's can be avoided and I achieve my functionality...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 15:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module-asynchronously/m-p/6360475#M1400343</guid>
      <dc:creator>former_member212005</dc:creator>
      <dc:date>2009-12-10T15:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Function module Asynchronously</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module-asynchronously/m-p/6360476#M1400344</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;have you tried to use CALL FUNCTION .. IN BACKGROUND TASK? Check ABAP documentation for technical details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 05:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module-asynchronously/m-p/6360476#M1400344</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2009-12-11T05:14:09Z</dc:date>
    </item>
  </channel>
</rss>

