<?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: Shared Memory &amp; SUBMIT program issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145439#M1976457</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Use below statement for shared Memory&lt;/P&gt;&lt;P&gt;Export [Value] to Database INDX(ST) ID 'ZMEM'.&lt;/P&gt;&lt;P&gt;Import [VALUE] from Database INDX(ST) ID 'ZMEM'.&lt;/P&gt;&lt;P&gt;It will work for different app Server.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2020 15:01:28 GMT</pubDate>
    <dc:creator>laxmi_jibhe</dc:creator>
    <dc:date>2020-03-02T15:01:28Z</dc:date>
    <item>
      <title>Shared Memory &amp; SUBMIT program issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145438#M1976456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;There is one program where I use SUBMIT statement:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SUBMIT zprogram VIA SELECTION-SCREEN AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Inside zprogram, there is a write to shared memory area (attach_for_write), and from the calling program it will read from the shared memory area (attach_for_read) written by zprogram. &lt;/P&gt;
  &lt;P&gt;The program works good in Dev, QA environment because there is only 1 app server. But in Production environment we have multiple app server.&lt;/P&gt;
  &lt;P&gt;Now, I encounter the exception CX_SHM_NO_ACTIVE_VERSION in Production and from what I read this is because the active shared memory is not found and possibly because of multiple application server. Is it when we call SUBMIT (not to background job) the called program could run in a different app server than the calling program?&lt;/P&gt;
  &lt;P&gt;If yes, is it possible to ensure the called program to run in the same app server? I found this &lt;A href="https://answers.sap.com/questions/12563170/submit-program-on-a-specific-application-server.html"&gt;thread&lt;/A&gt;, and suggested to call RFC to the same app server destination. If this works, I plan to get the current app server the user is logged in to from table USR41, and create an RFC FM where inside the FM it will SUBMIT the zprogram.&lt;/P&gt;
  &lt;P&gt;The problem is because I have no environment to test this behavior since my Dev, QA environment only have 1 app server. I need to ensure this is working without thorough testing.&lt;/P&gt;
  &lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 09:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145438#M1976456</guid>
      <dc:creator>suwandi_cahyadi</dc:creator>
      <dc:date>2020-03-02T09:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory &amp; SUBMIT program issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145439#M1976457</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Use below statement for shared Memory&lt;/P&gt;&lt;P&gt;Export [Value] to Database INDX(ST) ID 'ZMEM'.&lt;/P&gt;&lt;P&gt;Import [VALUE] from Database INDX(ST) ID 'ZMEM'.&lt;/P&gt;&lt;P&gt;It will work for different app Server.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 15:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145439#M1976457</guid>
      <dc:creator>laxmi_jibhe</dc:creator>
      <dc:date>2020-03-02T15:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory &amp; SUBMIT program issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145440#M1976458</link>
      <description>&lt;P&gt;A word about the dispatching to several application servers: a context may be redispatched to another server when a &lt;STRONG&gt;roll in &lt;/STRONG&gt;happens. The context is rolled out only during a COMMIT WORK, the display of a screen, and a few other cases... A SUBMIT does not execute a roll out, but the display of the selection screen does one. I don't think there's a way to force to remain on the same application server (and what would you do if there's a planned or unexpected server stop?), but who knows.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 16:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145440#M1976458</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-03-02T16:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory &amp; SUBMIT program issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145441#M1976459</link>
      <description>&lt;P&gt;shared &lt;STRONG&gt;memory&lt;/STRONG&gt;!? No, memory means that it's server-dependent.&lt;/P&gt;&lt;P&gt;The statements you propose do work with the &lt;STRONG&gt;database&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 16:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145441#M1976459</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-03-02T16:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory &amp; SUBMIT program issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145442#M1976460</link>
      <description>&lt;P&gt;If possible , Can you share your code how you had moved and retrieved data from shared memory&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 10:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-submit-program-issue/m-p/12145442#M1976460</guid>
      <dc:creator>laxmi_jibhe</dc:creator>
      <dc:date>2020-03-04T10:23:18Z</dc:date>
    </item>
  </channel>
</rss>

