<?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 when running in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355409#M1838486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting new task will start a new LUW in dialog process and not in background. This is the reason you are having a problem. While technically STARTING NEW TASK is used for parallel processing, you need to consider whether the program will be run in foreground or background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of background, you need consider using multiple jobs via job open, submit, job close. This way you can initiate more than one process in your server group to do the work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to consider the # of background WP available and the # of WPs you can use for this program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if there are 100 WPs available and you can use only 10 at any give time, then you should schedule 10 jobs and then check the status of the 10 jobs before you can start scheduling the next jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM SPBT_INITIALIZE to check the # of WPs that are currently available in the server group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 14:45:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-05-14T14:45:15Z</dc:date>
    <item>
      <title>Parallel Processing when running in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355408#M1838485</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;We have implemented a parallel processing solution using the Call Function Starting New Task Destination in Group format to split a large number of updates across an RFC Server Group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works well when running the ABAP in dialog, but when we schedule for background processing, the parallel processing does not seem to occur, we get a single background process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas why this may be occuring ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 14:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355408#M1838485</guid>
      <dc:creator>paul_thompson5</dc:creator>
      <dc:date>2014-05-14T14:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing when running in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355409#M1838486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting new task will start a new LUW in dialog process and not in background. This is the reason you are having a problem. While technically STARTING NEW TASK is used for parallel processing, you need to consider whether the program will be run in foreground or background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of background, you need consider using multiple jobs via job open, submit, job close. This way you can initiate more than one process in your server group to do the work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to consider the # of background WP available and the # of WPs you can use for this program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if there are 100 WPs available and you can use only 10 at any give time, then you should schedule 10 jobs and then check the status of the 10 jobs before you can start scheduling the next jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM SPBT_INITIALIZE to check the # of WPs that are currently available in the server group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 14:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355409#M1838486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-14T14:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing when running in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355410#M1838487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vikram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have implemented as per the SAP help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which seems to suggest, if the report is run in background or foreground, it will still parallel process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this not correct ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 14:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355410#M1838487</guid>
      <dc:creator>paul_thompson5</dc:creator>
      <dc:date>2014-05-14T14:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing when running in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355411#M1838488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parallel processing still takes place when the main program is run in the background using the method from the sap help link. Your main program will be running in the background work process and the tasks created in your program will use dialog work processes for execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aashrith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 15:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355411#M1838488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-14T15:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing when running in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355412#M1838489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check if you have enough dialog process available when you are scheduling the main program in the background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 15:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355412#M1838489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-14T15:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing when running in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355413#M1838490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aashrith, that was what I thought reading the help text. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 06:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355413#M1838490</guid>
      <dc:creator>paul_thompson5</dc:creator>
      <dc:date>2014-05-15T06:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing when running in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355414#M1838491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes we do that.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 06:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355414#M1838491</guid>
      <dc:creator>paul_thompson5</dc:creator>
      <dc:date>2014-05-15T06:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing when running in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355415#M1838492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The mystery is solved.&amp;nbsp; It does parallel run as expected in background, but our algorithm for deciding to parallel run or in line run was wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 08:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-when-running-in-background/m-p/10355415#M1838492</guid>
      <dc:creator>paul_thompson5</dc:creator>
      <dc:date>2014-05-15T08:33:59Z</dc:date>
    </item>
  </channel>
</rss>

