<?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: Functions in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions-in-background/m-p/3266449#M780633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have wanted to know the difference between calling a function in background UNIT or in background TASK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jan 2008 14:21:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-02T14:21:46Z</dc:date>
    <item>
      <title>Functions in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions-in-background/m-p/3266447#M780631</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;Can anyone explain me the difference between calling a function IN BACKGROUND TASK and IN BACKGROUND UNIT (which added in release 7.0) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 21:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions-in-background/m-p/3266447#M780631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T21:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Functions in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions-in-background/m-p/3266448#M780632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;IN BACKGROUND TASK&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 Flags the function module func to be run asynchronously. &lt;/P&gt;&lt;P&gt;#2 It is not executed at once, but the data passed with EXPORTING then executes the function module in another work process. &lt;/P&gt;&lt;P&gt;#3 Background-task updates already executed for the current DESTINATION are not rolled back.&lt;/P&gt;&lt;P&gt;#4 All further background-task requests for the same DESTINATION are thrown away.&lt;/P&gt;&lt;P&gt;#5 Other previously executed updates are rolled back.&lt;/P&gt;&lt;P&gt;#6 No error message appears on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AS SEPARATE UNIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 The normal tRFC calls with the addition AS SEPARATE UNIT map a separate LUW in the target system.&lt;/P&gt;&lt;P&gt;#2 qRFC calls with the addition AS SEPARATE UNIT are processed depending on the queue, but independent of the actual LUW.&lt;/P&gt;&lt;P&gt;#3 The relevant function module is executed in a separate context, a context in which the global data of the function group is not influenced by previous calls. Each function module that is registered with the addition AS SEPARATE UNIT is given a separate transaction ID. Without the addition AS SEPARATE UNIT, the usual description is applicable for the context of the called function modules. What this means is that, when using the same destination for multiple calls of function modules belonging to the same function group, the global data of this function group is accessed collectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinodh Balakrishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 21:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions-in-background/m-p/3266448#M780632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T21:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Functions in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functions-in-background/m-p/3266449#M780633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have wanted to know the difference between calling a function in background UNIT or in background TASK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2008 14:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functions-in-background/m-p/3266449#M780633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-02T14:21:46Z</dc:date>
    </item>
  </channel>
</rss>

