<?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  error maximum no of sessions reached in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169061#M1978825</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;nag.katta&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;It seems you have already received valuable advices how to solve your issue. If you need more information please refer to the documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/saphelp_scm70/helpdata/en/4d/909309eba36e73e10000000a15822b/content.htm?no_cache=true" target="_blank"&gt;Implementing Parallel Processing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bartosz&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2020 08:10:31 GMT</pubDate>
    <dc:creator>ziolkowskib</dc:creator>
    <dc:date>2020-06-02T08:10:31Z</dc:date>
    <item>
      <title>Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169058#M1978822</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I implemented parallel processing using aRFC but getting an error – “Maximum no of internal sessions reached” when the user executes for the first time after login. Any subsequent executions work fine with no error until users exist and re-executes.&lt;/P&gt;
  &lt;P&gt;When it issues this error I noticed extra RFC sessions with Application Info &amp;lt;Remote client proxy&amp;gt; in SM04.&lt;/P&gt;
  &lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 02:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169058#M1978822</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-06-02T02:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169059#M1978823</link>
      <description>&lt;P&gt;How do you assign the number of parallel sessions? Do you use FM SPBT_INITIALIZE to get the available work processes for the server group name? And if so, is the difference in available wp so different and by how much compared between the first and consecutive executions? &lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 03:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169059#M1978823</guid>
      <dc:creator>michael_piesche</dc:creator>
      <dc:date>2020-06-02T03:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169060#M1978824</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;nag.katta&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Before initiating For parallel processing, the maximum sessions in the server group
available processes determined and reserved using the FM: &lt;B&gt;SPBT_INITIALIZE.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;You have to feed in the Server Group name and fetch the free resources that are available. Below Code for your reference:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CALL FUNCTION 'SPBT_INITIALIZE'
      EXPORTING
        group_name                     = iv_group
      IMPORTING
        free_pbt_wps                   = lv_jobs
      EXCEPTIONS
        invalid_group_name             = 1
        internal_error                 = 2
        pbt_env_already_initialized    = 3
        currently_no_resources_avail   = 4
        no_pbt_resources_found         = 5
        cant_init_different_pbt_groups = 6
        error_message                  = 98
        OTHERS                         = 99.

* Note Ensure that out of all the available free resources you only use 80% percent of it to ensure effective performance without any bottleneck. This helps you have left 20% of resources always available for any new resource request.

Regards!&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Jun 2020 03:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169060#M1978824</guid>
      <dc:creator>former_member1716</dc:creator>
      <dc:date>2020-06-02T03:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169061#M1978825</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;nag.katta&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;It seems you have already received valuable advices how to solve your issue. If you need more information please refer to the documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/saphelp_scm70/helpdata/en/4d/909309eba36e73e10000000a15822b/content.htm?no_cache=true" target="_blank"&gt;Implementing Parallel Processing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bartosz&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 08:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169061#M1978825</guid>
      <dc:creator>ziolkowskib</dc:creator>
      <dc:date>2020-06-02T08:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169062#M1978826</link>
      <description>Hi &lt;SPAN class="mention-scrubbed"&gt;satishkumarbalasubramanian&lt;/SPAN&gt;,Im using the FM -SPBT_INITIALIZE to get no of available free thread and using only half of available free threads.As I said, it is happening for the 1st time after user login.Thanks</description>
      <pubDate>Tue, 02 Jun 2020 11:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169062#M1978826</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-06-02T11:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169063#M1978827</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;michael.piesche&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Yes, Im using FM SPBT_INITIALIZE and using only half of available free threads. I do not have any Call Transactions or Submit statements in my code. My code is written in OO.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;ziolkowskib&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I already looked at the documentation.&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 11:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169063#M1978827</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-06-02T11:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169064#M1978828</link>
      <description>&lt;P&gt;Just to make sure, it only happens once after login to SAP Logon when the programm is executed the first time, correct? It doesnt happen when you a) exit the programm completely returning to SAP menu with /n and b) enter the programm again and execute it?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 11:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169064#M1978828</guid>
      <dc:creator>michael_piesche</dc:creator>
      <dc:date>2020-06-02T11:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169065#M1978829</link>
      <description>&lt;P&gt;You say “Maximum no of &lt;STRONG&gt;internal&lt;/STRONG&gt; sessions reached”, don't you mean &lt;STRONG&gt;external&lt;/STRONG&gt;? If you really mean an issue with internal sessions (maximum 9), you should have a short dump in your SAP system with more information.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 12:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169065#M1978829</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-06-02T12:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169066#M1978830</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/1091/sandra.rossi.html"&gt;Sandra Rossi&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I'm sorry, Yes I mean External sessions. There is no short dump created but in the system log (SM21) there is a message -"Transaction Canceled 14 027 ( )"&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 12:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169066#M1978830</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-06-02T12:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169067#M1978831</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/229581/michael.piesche.html"&gt;Michael Piesche&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Yes, that is correct, it does not happen when you execute second time.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 12:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169067#M1978831</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-06-02T12:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169068#M1978832</link>
      <description>&lt;P&gt;Found this error in SM21 for failed transactions. I do not have any breakpoint enabled for the user.&lt;/P&gt;&lt;P&gt;H  *** ERROR =&amp;gt; HTTP&amp;gt; IcfStartDebugging failed! ThrtDbgPrepareSlave returned: 1 [icfdb.c     2807]&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 15:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169068#M1978832</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-06-02T15:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169069#M1978833</link>
      <description>&lt;P&gt;Can you name the exact error message and better yet the message id and message number? Unless the text is not based on a message from the repository or created dynamically.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"Maximum no of internal sessions reached" does not exist in repository&lt;/LI&gt;&lt;LI&gt;"Maximum number of internal sessions reached" exists twice in repository&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 03 Jun 2020 10:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169069#M1978833</guid>
      <dc:creator>michael_piesche</dc:creator>
      <dc:date>2020-06-03T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169070#M1978834</link>
      <description>&lt;P&gt;I'm sorry, gave wrong message. This is the exact message - "Maximum number of SAP GUI sessions reached" with Message No: 14(017). Also, in SM04 i see additional RFC sessions with description "Remote client proxy", they are active only for first few seconds.&lt;/P&gt;&lt;P&gt;.&lt;A href="https://answers.sap.com/storage/temp/1811058-remote-client-proxy-rfc-sessions.jpg"&gt;remote-client-proxy-rfc-sessions.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 13:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169070#M1978834</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-06-03T13:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169071#M1978835</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;nag.katta&lt;/SPAN&gt;, you probably meant to write msgty 15 and msgno 027 (instead of msgno 017).&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 13:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169071#M1978835</guid>
      <dc:creator>michael_piesche</dc:creator>
      <dc:date>2020-06-03T13:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169072#M1978836</link>
      <description>&lt;P&gt;Message Class: 14&lt;/P&gt;&lt;P&gt;Message No: 027&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 15:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169072#M1978836</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-06-03T15:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Processing  error maximum no of sessions reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169073#M1978837</link>
      <description>&lt;P&gt;&lt;STRONG&gt;This is the response from SAP Support:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;During execution of the function module - 'BAPI_ACC_DOCUMENT_CHECK'  the GUI is accessed in order to get the GUI properties which requires one extra external mode.&lt;/P&gt;&lt;P&gt;Since the number of external modes is limited you are getting the error message&lt;/P&gt;&lt;P&gt;  "Maximum number of SAP GUI sessions reached"&lt;/P&gt;&lt;P&gt;When you restart the application in the same logon session the information about the GUI is already available and thus the GUI isn't accessed.&lt;/P&gt;&lt;P&gt;If you execute the report in background the RFC calls do not expect a GUI connection and so the error does not occur.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Call Stack:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION   BAPI_ACC_DOCUMENT_CHECK&lt;BR /&gt;PERFORM DOCUMENT_CHECK (program SAPLACC9)&lt;BR /&gt;PERFORM CHECK_RWIN (program SAPLACC9)&lt;BR /&gt;CALL FUNCTION  AC_DOCUMENT_CREATE&lt;BR /&gt;PERFORM DOCUMENT_CREATE (program SAPLFBAS)&lt;BR /&gt;CALL FUNCTION  GM_DOCUMENT_CHECK&lt;BR /&gt;CALL METHOD  CL_GM_CODING_BLOCK_MGR=&amp;gt;DERIVE_AND_VALIDATE&lt;BR /&gt;CALL METHOD  CL_GM_CODING_BLOCK_MGR=&amp;gt;DERIVE_GM_OBJECTS()&lt;BR /&gt;CALL METHOD  CL_BSSP_PSM_TAGGING_SERVICE=&amp;gt;SET_TAB_SPONSORED_OBJ&lt;BR /&gt;CALL METHOD  CL_LSAPI_MANAGER=&amp;gt;GET_INSTANCE&lt;BR /&gt;CALL METHOD  CL_NWBC_GUI_CONTROL=&amp;gt;CLASS_CONSTRUCTOR&lt;BR /&gt;CALL METHOD  CL_GUI_FRONTEND_SERVICES=&amp;gt;CHECK_GUI_SUPPORT&lt;BR /&gt;CALL METHOD  CL_GUI_FRONTEND_SERVICES=&amp;gt;GET_GUI_PROPERTIES&lt;BR /&gt;CALL METHOD  CL_GUI_CFW=&amp;gt;FLUSH&lt;BR /&gt;CALL FUNCTION  AC_FLUSH_CALL&lt;BR /&gt;CALL FUNCTION  AC_FLUSH_CALL_INTERNAL&lt;BR /&gt;RFC OLE_FLUSH_CALL&lt;/P&gt;&lt;P&gt;OLE_FLUSH_CALL is an RFC call to the GUI.&lt;/P&gt;&lt;P&gt;This is triggered by method GET_GUI_PROPERTIES.&lt;/P&gt;&lt;P&gt;For every subsequent execution of your application method CHECK_GUI_SUPPORT is still called but it does no longer call GET_GUI_PROPERTIES.&lt;/P&gt;&lt;P&gt;Method CL_LSAPI_MANAGER=&amp;gt;GET_INSTANCE checks which kind of GUI is used.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 14:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parallel-processing-error-maximum-no-of-sessions-reached/m-p/12169073#M1978837</guid>
      <dc:creator>nag_katta</dc:creator>
      <dc:date>2020-07-08T14:14:35Z</dc:date>
    </item>
  </channel>
</rss>

