<?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 To Run Selected Code in Batch or Asynchronous in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348174#M175105</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 part of code in my program, which doesn't have dependency on any other place in the program. I need to run this part asynchronously so that I get better throughput time. Is it possible using ABAP. If so please advice how to do it.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Pank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 May 2006 06:35:12 GMT</pubDate>
    <dc:creator>pankajs_dwivedi</dc:creator>
    <dc:date>2006-05-05T06:35:12Z</dc:date>
    <item>
      <title>To Run Selected Code in Batch or Asynchronous</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348174#M175105</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 part of code in my program, which doesn't have dependency on any other place in the program. I need to run this part asynchronously so that I get better throughput time. Is it possible using ABAP. If so please advice how to do it.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Pank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 06:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348174#M175105</guid>
      <dc:creator>pankajs_dwivedi</dc:creator>
      <dc:date>2006-05-05T06:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: To Run Selected Code in Batch or Asynchronous</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348175#M175106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I DONT THINK YOU CAN RUN A PART OF YOUR REPORT SEPARATELY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOU CAN RUN A REPORT IN BACK GROUND PROCESS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 06:48:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348175#M175106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T06:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: To Run Selected Code in Batch or Asynchronous</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348176#M175107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot do that in ABAP.&lt;/P&gt;&lt;P&gt;Its a sequential execution of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can call a function in the UPDATE TASK mode, which will spawn off a thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 06:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348176#M175107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T06:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: To Run Selected Code in Batch or Asynchronous</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348177#M175108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;A thing you could do is the following:&lt;/P&gt;&lt;P&gt;1.) bring the code you wand to ecexute asynchronus&lt;/P&gt;&lt;P&gt;    into a Function-Module and mark is as remote &lt;/P&gt;&lt;P&gt;    function&lt;/P&gt;&lt;P&gt;2.) change your report by using a&lt;/P&gt;&lt;P&gt;    CALL FUNCTION your_new_fm IN BACKGROUND TASK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you've done so - the code (now in your new Function Module) runs asynchronus !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some points would be fine if that helped you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 08:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348177#M175108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T08:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: To Run Selected Code in Batch or Asynchronous</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348178#M175109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi write that piece of code in a fn module and call the fn moule using the following syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;fn module&amp;gt; STARTING NEW TASK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above fn calls a fn module asynchrounously, ie with out interrupting the other programs, u can run this fn module separately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 08:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-run-selected-code-in-batch-or-asynchronous/m-p/1348178#M175109</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-05-05T08:45:28Z</dc:date>
    </item>
  </channel>
</rss>

