<?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: How to stop parallel processing Programatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932535#M1964824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know about the other person&amp;nbsp; who he is and where does he work, it is just a coincidence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better&amp;nbsp; if you know the answer can you reply.&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>Mon, 03 Oct 2016 10:19:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-10-03T10:19:05Z</dc:date>
    <item>
      <title>How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932531#M1964820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Techies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We know that using Asynchronous rfc implements the parallel processing by using the syntax,&lt;/P&gt;&lt;P&gt;CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP keyword):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us say , i have one API name 'TEST_API'&amp;nbsp; in 4 different systems and also i do have a central system from where&amp;nbsp; i shall start the parallel processing by calling the API 'TEST_API' using rfc destinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i do as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 4 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'TEST_API'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;STARTING &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;NEW &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TASK &lt;/SPAN&gt;name &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Destination in GROUP 'my_group'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORMING get_details &lt;SPAN class="L0S52"&gt;ON &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TASK&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; system_failure &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1 &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;mess&lt;BR /&gt;&amp;nbsp;&amp;nbsp; communication_failure &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2 &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;mess&lt;BR /&gt;&amp;nbsp;&amp;nbsp; resource_failure &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;3&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is now after two process has started one each in separate system, i have decided to stop the parallel processing in between.&lt;/P&gt;&lt;P&gt;How do you stop the parallel processing programatically ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 05:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932531#M1964820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-03T05:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932532#M1964821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why have you asked almost exactly the same questions as here: &lt;A __default_attr="3963678" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Release workprocess in parallel procssor" href="https://community.sap.com/"&gt;&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you and &lt;A __default_attr="67422" __jive_macro_name="user" class="jive_macro_user jive_macro" data-orig-content="Sreekanth N" href="https://community.sap.com/"&gt;&lt;/A&gt; working on the same homework question, or same issue at work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 05:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932532#M1964821</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2016-10-03T05:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932533#M1964822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, we are working on different scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to stop the workprocess in between.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 06:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932533#M1964822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-03T06:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932534#M1964823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you working for the same company though? It just seems odd that two questions on parallel processing should appear in the same timeframe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 09:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932534#M1964823</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2016-10-03T09:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932535#M1964824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know about the other person&amp;nbsp; who he is and where does he work, it is just a coincidence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better&amp;nbsp; if you know the answer can you reply.&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>Mon, 03 Oct 2016 10:19:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932535#M1964824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-03T10:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932536#M1964825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I accept your explanation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a moderator. It's part of my role to challenge suspicious behaviour, so don't get annoyed when that happens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 10:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932536#M1964825</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2016-10-03T10:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932537#M1964826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are still developing the parallel processing program:&lt;/P&gt;&lt;P&gt;You can define a TVARV variable. Check that variable within the parent program to see if parallel processing is enabled or disabled. If enabled, launch parallel job. If not, launch a serial job (preferably in background.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the program is already in production:&lt;/P&gt;&lt;P&gt;Have basis reduce the number of processes in the server group to just 1. You can't do that if your server group is shared by multiple programs. Depending on why you want to stop parallel processing, this may not solve the problem. For example, if each process is taking too long and basis doesn't want you to run dialog jobs running for long times, this will not help because the single thread will still be a dialog job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 20:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932537#M1964826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-03T20:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932538#M1964827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhi Karkada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware how to implement parallel processing. Also i am having my own group which is not shared as public to all to consume work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is once i start parallel process in other system how do i stop that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 02:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932538#M1964827</guid>
      <dc:creator>ravikiran_kongati</dc:creator>
      <dc:date>2016-10-04T02:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932539#M1964828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Ravi Kiran Kongati wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Question is now after two process has started one each in separate system, i have decided to stop the parallel processing in between.&lt;/P&gt;
&lt;P&gt;How do you stop the parallel processing programatically ?&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't really follow what you mean by "decide to stop". I also can't think of a scenario where you'd want to interrupt processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you can explain the process more clear. For example, is it something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Launch thread&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF &amp;lt;condition&amp;gt; is TRUE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kill running threads&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Leave loop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, explain why you need to stop the running threads.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 04:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932539#M1964828</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2016-10-04T04:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932540#M1964829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me drill down even more for understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have user interface in central system where user selects the multiple systems and click on execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When execute is clicked, from the central system i call Asynchronous RFC in each system launching a new task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suddenly user wants to stop the execution, we have provided a STOP/CANCEL button in the userinterface, in such a case already if a process is started how to kil the process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 05:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932540#M1964829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T05:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932541#M1964830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;have you tried asynchronous RFC control statement:&lt;/P&gt;&lt;P&gt;WAIT UNTIL logical_expression&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 07:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932541#M1964830</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2016-10-04T07:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932542#M1964831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it could be possible to use fm TH_GET_WPINFO to get information about the running work processes. As that function module is not RFC-enabled, I would write a wrapper RFC module with the task of identifying the running processes and terminate them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 07:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932542#M1964831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T07:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932543#M1964832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to stop the corresponding work process. FM TH_STOP_WP will do the job. To get the PID of your aRFC task you could use FM TH_WPINFO. Just have a look at function group THFB. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 07:46:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932543#M1964832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T07:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932544#M1964833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so it's not &lt;EM&gt;really&lt;/EM&gt; parallism - it's executing programs remotely. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest then, that the remote jobs are executed as background batch jobs (i.e. your remote function modules create background jobs that do the actual work - and return the information concerning them), scheduled to run immediately on the remote systems. Then you can use one of the function modules listed here: &lt;A href="https://scn.sap.com/thread/714455" title="https://scn.sap.com/thread/714455"&gt;how to cancell background active job | SCN&lt;/A&gt; to cancel the job, if the user needs to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 07:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932544#M1964833</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2016-10-04T07:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932545#M1964834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;He is using aRFC. That is something completely different from background jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Have a look at &lt;A href="https://help.sap.com/saphelp_crm700_ehp02/helpdata/en/4d/909309eba36e73e10000000a15822b/content.htm?original_fqdn=help.sap.de" title="https://help.sap.com/saphelp_crm700_ehp02/helpdata/en/4d/909309eba36e73e10000000a15822b/content.htm?original_fqdn=help.sap.de"&gt;Implementing Parallel Processing - Background Processing - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 08:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932545#M1964834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T08:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932546#M1964835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait UNTIL logical_expression is to wait until the expression statement is true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is not to wait i want to cancel already started parallel process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 08:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932546#M1964835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T08:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932547#M1964836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/people/andreschüßler"&gt;Andre Schüßler&lt;/A&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling RFC in each system and not waiting for&amp;nbsp; the already started taks to complete, thus it is a parallel processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the reply from Andre.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 08:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932547#M1964836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T08:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932548#M1964837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't matter. I'm suggesting an alternative approach to the overall problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 09:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932548#M1964837</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2016-10-04T09:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932549#M1964838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use following logic and let us know your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'CACS_DATE_GET_TIMESTAMP'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_timestamp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = name &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date_not_filled_but_time = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date_has_no_valid_format = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;* Implement suitable error handling here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TEST_API'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; STARTING NEW TASK name&lt;/P&gt;&lt;P&gt;Destination in GROUP 'my_group'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORMING get_details ON END OF TASK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; system_failure = 1 MESSAGE mess&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; communication_failure = 2 MESSAGE mess&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; resource_failure = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WAIT UNTIL gv_functioncall = gv_done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_details USING name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; RECEIVE RESULTS FROM FUNCTION 'TEST_API'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; gv_functioncall = gv_done.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 13:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932549#M1964838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T13:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop parallel processing Programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932550#M1964839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why should he do that? To kill a work process that was started via aRFC you can use the FMs I provided in my first post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: You can also take a look at the functionalities of tcode SM50/SM66 to get a deeper understanding on how to stop a work process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 14:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-stop-parallel-processing-programatically/m-p/11932550#M1964839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T14:16:32Z</dc:date>
    </item>
  </channel>
</rss>

