<?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 Parallel Processing with Asynchronous RFC PROBLEM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075731#M1614065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt; i've an Issue will using a parallel processing, i've a specific program wich includes 17 steps of traitement, 6 of theses steps are prallelized (step 2/8/10/14/17). the call of step 10 raise a "communication_problem" exception, i've checked all point of RFC custumizing and developpement part that I know, without result (i've no idea about source problem). all other parallelized steps (before and after this one) are excecuted correctly. before every parallelize call  i check available dialog work process in the systeme, in the step with problem i've 22 availabe WP. bellow some technical details related to my implementation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- the function used is marked as externally callable.      &lt;/P&gt;&lt;P&gt;2- function call is executed via "CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP ". &lt;/P&gt;&lt;P&gt;3- RZ12 display 3 serever applications related to the used group wich is "parallel_generators".&lt;/P&gt;&lt;P&gt;4- all other steps in the program (wich use the same calling syntaxe) are correctly executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about this problem ?&lt;/P&gt;&lt;P&gt;thanks a lot in advance,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2011 22:16:44 GMT</pubDate>
    <dc:creator>omar_elkassi2</dc:creator>
    <dc:date>2011-07-26T22:16:44Z</dc:date>
    <item>
      <title>Parallel Processing with Asynchronous RFC PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075731#M1614065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt; i've an Issue will using a parallel processing, i've a specific program wich includes 17 steps of traitement, 6 of theses steps are prallelized (step 2/8/10/14/17). the call of step 10 raise a "communication_problem" exception, i've checked all point of RFC custumizing and developpement part that I know, without result (i've no idea about source problem). all other parallelized steps (before and after this one) are excecuted correctly. before every parallelize call  i check available dialog work process in the systeme, in the step with problem i've 22 availabe WP. bellow some technical details related to my implementation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- the function used is marked as externally callable.      &lt;/P&gt;&lt;P&gt;2- function call is executed via "CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP ". &lt;/P&gt;&lt;P&gt;3- RZ12 display 3 serever applications related to the used group wich is "parallel_generators".&lt;/P&gt;&lt;P&gt;4- all other steps in the program (wich use the same calling syntaxe) are correctly executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about this problem ?&lt;/P&gt;&lt;P&gt;thanks a lot in advance,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 22:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075731#M1614065</guid>
      <dc:creator>omar_elkassi2</dc:creator>
      <dc:date>2011-07-26T22:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing with Asynchronous RFC PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075732#M1614066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think code snippets would be useful. If the program is big please try to put in the relevant sections....eg SPBT_INITIALIZE call, SPBT_GET_CURR_RESOURCE_INFO call, your exact call to the rfc, the feedback form code...anything else you can think of&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 05:22:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075732#M1614066</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2011-07-27T05:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing with Asynchronous RFC PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075733#M1614067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nei,&lt;/P&gt;&lt;P&gt;bellow some part of the used code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;/ step 8 et 9 : (this step is executed correctly)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOOP AT settlunits INTO settlunit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*available system Work process&lt;/P&gt;&lt;P&gt;      g_task = sy-tabix.&lt;/P&gt;&lt;P&gt;      WHILE g_free_process IS INITIAL.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'RFC_GET_SYSTEM_INFO'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            destination                      = ''&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;           current_resources                = g_free_process .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF g_free_process IS INITIAL.            &lt;/P&gt;&lt;P&gt;          WAIT UP TO 3 SECONDS.                 &lt;/P&gt;&lt;P&gt;        ENDIF.                              &lt;/P&gt;&lt;P&gt;      ENDWHILE.&lt;/P&gt;&lt;P&gt;      CLEAR g_free_process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*the parameter P_GROUP = 'parallel_generators'&lt;/P&gt;&lt;P&gt;*configured via RZ12 and linked to 3 servers applications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'ZALSP023'&lt;/P&gt;&lt;P&gt;          STARTING NEW TASK g_task&lt;/P&gt;&lt;P&gt;          DESTINATION IN GROUP p_group&lt;/P&gt;&lt;P&gt;          PERFORMING eot1 ON END OF TASK&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            settldoc              = settldoc&lt;/P&gt;&lt;P&gt;            settlrun              = settlrun&lt;/P&gt;&lt;P&gt;            su                    = settlunit&lt;/P&gt;&lt;P&gt;            steplev               = g_steplev&lt;/P&gt;&lt;P&gt;            improfiles            = impprofiles5 " Résultat de ZCNTREEL&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            communication_failure = 1&lt;/P&gt;&lt;P&gt;            system_failure        = 2&lt;/P&gt;&lt;P&gt;            RESOURCE_FAILURE      = 3.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**/ step 10 / 11 : (the call with error)&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;all calls for in this part have a sy-subrc = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;=&amp;gt; communication_failure&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT settlunits INTO settlunit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*available system Work process&lt;/P&gt;&lt;P&gt;      g_task = sy-tabix.&lt;/P&gt;&lt;P&gt;      WHILE g_free_process IS INITIAL.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'RFC_GET_SYSTEM_INFO'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            destination                      = ''&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;           current_resources                = g_free_process .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF g_free_process IS INITIAL.            &lt;/P&gt;&lt;P&gt;          WAIT UP TO 3 SECONDS.                 &lt;/P&gt;&lt;P&gt;        ENDIF.                              &lt;/P&gt;&lt;P&gt;      ENDWHILE.&lt;/P&gt;&lt;P&gt;      CLEAR g_free_process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;before this call all WP in the system are free (22)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; CALL FUNCTION 'ZALSP024'&lt;/P&gt;&lt;P&gt;          STARTING NEW TASK g_task&lt;/P&gt;&lt;P&gt;          DESTINATION IN GROUP p_group&lt;/P&gt;&lt;P&gt;          PERFORMING eot2 ON END OF TASK&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            settldoc              = settldoc&lt;/P&gt;&lt;P&gt;            settlrun              = settlrun&lt;/P&gt;&lt;P&gt;            su                    = settlunit&lt;/P&gt;&lt;P&gt;            steplev               = g_steplev&lt;/P&gt;&lt;P&gt;            improfiles            = impprofiles5  " Résultat de ZCNTREEL&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            communication_failure = 1&lt;/P&gt;&lt;P&gt;            system_failure        = 2&lt;/P&gt;&lt;P&gt;            RESOURCE_FAILURE      = 3.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="6" type="ul"&gt;&lt;P&gt;last part of program which have other parallel call executed without errors***************************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for responce,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 08:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075733#M1614067</guid>
      <dc:creator>omar_elkassi2</dc:creator>
      <dc:date>2011-07-27T08:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing with Asynchronous RFC PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075734#M1614068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;code not formatted. g_free_process not set. [How to post code in SCN, and some things NOT to do...|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1170968"&gt;&lt;/A&gt;;&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;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Clemens Li on Jul 27, 2011 12:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 10:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075734#M1614068</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-07-27T10:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing with Asynchronous RFC PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075735#M1614069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the 'message' clause after the exceptions as per this example from the help...it may give you a clue.....&lt;/P&gt;&lt;P&gt;DATA: MSG_TEXT(80) TYPE C. "Message text &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Asynchronous call to Transaction SM59 --&amp;gt; &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create a new session &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST' &lt;/P&gt;&lt;P&gt;  DESTINATION 'NONE' &lt;/P&gt;&lt;P&gt;  EXPORTING &lt;/P&gt;&lt;P&gt;      TCODE = 'SM59' &lt;/P&gt;&lt;P&gt;  EXCEPTIONS &lt;/P&gt;&lt;P&gt;    COMMUNICATION_FAILURE = 1 MESSAGE MSG_TEXT &lt;/P&gt;&lt;P&gt;    SYSTEM_FAILURE        = 2 MESSAGE MSG_TEXT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 01:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-with-asynchronous-rfc-problem/m-p/8075735#M1614069</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2011-07-28T01:27:37Z</dc:date>
    </item>
  </channel>
</rss>

