<?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: Parallel Processing in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160570#M120335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give some background as to why this needs to be done in parallell? Perhaps there is an alternative solution to your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2006 07:22:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-16T07:22:29Z</dc:date>
    <item>
      <title>Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160567#M120332</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;I have a internal table that has object references in it. Each item in the table are indepenent of the other. I want to extract info from each object and convert it into a internal table so that i can pass it to an RFC function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can i do this extraction of the info from the objects in internal table in parallel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the STARTING NEW TASK, i created a fn module that is RFC enabled.... then i can't pass the object reference to this module. So how can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i read that this function module call will create a main or external session which has a limit of 6 per user session.Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If above can be done, I also wanted to restrict the no of parallel processes being executed at any point of time to be 5 or so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Murugesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 06:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160567#M120332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T06:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160568#M120333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use background processing, starting a new background job for each task. To do this, you may have to store the data in a cluster using the EXPORT keyword, so that the programs, when they start, can access the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 06:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160568#M120333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T06:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160569#M120334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it is a object reference i am unable to do an export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Murugesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 06:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160569#M120334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T06:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160570#M120335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give some background as to why this needs to be done in parallell? Perhaps there is an alternative solution to your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 07:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160570#M120335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T07:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160571#M120336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parallel processing can be implemented in the application reports that are to run in the background. You can implement parallel processing in your own background applications by using the function modules and ABAP keywords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer following docs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Parallel Processing in ABAP&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/naresh.pai/blog/2005/06/16/parallel-processing-in-abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Parallel Processing with Asynchronous RFC&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_webas610/helpdata/en/22/0425c6488911d189490000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_webas610/helpdata/en/22/0425c6488911d189490000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Parallel-Processing Function Modules&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096ff6543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096ff6543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to reward pts, if it helps ;&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rakesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 07:49:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160571#M120336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T07:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160572#M120337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing performance improvement for existing code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently there are classes for some r/3 objects, so when we want to export say, material. This material will be represented by a class whose object reference in the internal table. We will call the existing methods in the material class and we will form a structure and pass this structure to some other system thru RFC call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happens for all the object references in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we are thinking now is that we will create create strucutre for all the object reference in the r/3 (in parallel) and then call the RFC send this whole strucutre and then do the operations on the other end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus avoiding multiple RFC calls and avoiding the sequential processing on source system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Murugesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 08:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160572#M120337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T08:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160573#M120338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a chance to read this documents before itself. May be this will be helpful fo whomever reads this thread in future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murugesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have rewarded you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 08:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160573#M120338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T08:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160574#M120339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope I got you right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't pass object references into a new task (separate LUW) as the referenced objects are located in the calling task. The two don't know each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But: Your question started with an existing internal table containig object references. Your parralel processing should start earlier, that means before the internal table is created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What ever the internal table is made of: Try to split it and do the creation process parrallel. Inside the called new tasks you can create the objects (instances of classes), use the object references to use methods of the class to extract whatever data you want to pass by RFC calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps a little (although I don't know the situation in detail).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 12:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160574#M120339</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-01-16T12:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160575#M120340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This internal table is already formed with the object reference in the application (while we display the objects to be extracted to the user) and when i click on the execute button i want the process to start extracting the info from the references in parallel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murugesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 08:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-in-abap/m-p/1160575#M120340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-17T08:45:49Z</dc:date>
    </item>
  </channel>
</rss>

