<?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: Import / Export TO/FROM SHARED MEMORY only works during debug in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182858#M1713367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanessa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use: &lt;/P&gt;&lt;P&gt;export &lt;SPAN class="L0S52"&gt;ws_c_var &lt;SPAN class="L0S52"&gt;to shared buffer indx(st) id &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;ws_c_var &lt;SPAN class="L0S52"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;import &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ws_c_var from shared buffer indx(st) id ws_c_var.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Hope it will work.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Sabyasachi&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2013 19:09:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-24T19:09:10Z</dc:date>
    <item>
      <title>Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182855#M1713364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code works fine during debug but when ran without breakpoints (not in debug), it's not working. Here's my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORT ws_c_var &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SHARED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MEMORY &lt;/SPAN&gt;indx&lt;SPAN class="L0S55"&gt;(xy&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ID&amp;nbsp; ws_c_var&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORT ws_c_var &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SHARED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MEMORY &lt;/SPAN&gt;indx&lt;SPAN class="L0S55"&gt;(xy&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ID&amp;nbsp; ws_c_var&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;I'm not really sure why it's working when being debugged but not in foreground. Please help.&lt;SPAN __jive_emoticon_name="cry" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote jiveImage" src="https://community.sap.com/1151/images/emoticons/cry.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Vanessa&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182855#M1713364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-24T17:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182856#M1713365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you running the program as abckground job then the IMPORT/EXPORT to meory would not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below threads for the same -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/7656176"&gt;http://scn.sap.com/message/7656176&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm"&gt;http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1311374"&gt;http://scn.sap.com/thread/1311374&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182856#M1713365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-24T17:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182857#M1713366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanessa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try using the statements as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORT ws_c_var &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SHARED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MEMORY &lt;/SPAN&gt;indx&lt;SPAN class="L0S55"&gt;(xy&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ID&amp;nbsp; 'VAR1'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORT ws_c_var &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SHARED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MEMORY &lt;/SPAN&gt;indx&lt;SPAN class="L0S55"&gt;(xy&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ID&amp;nbsp; 'VAR1'&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;If it does not work, can you please tell me what is the content of ws_c_var(the value you are using as MEMORY ID)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can check the below links for reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_45b/helpdata/en/34/8e73aa6df74873e10000009b38f9b8/content.htm" title="http://help.sap.com/saphelp_45b/helpdata/en/34/8e73aa6df74873e10000009b38f9b8/content.htm"&gt;http://help.sap.com/saphelp_45b/helpdata/en/34/8e73aa6df74873e10000009b38f9b8/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm" title="http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm"&gt;http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182857#M1713366</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-24T17:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182858#M1713367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanessa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use: &lt;/P&gt;&lt;P&gt;export &lt;SPAN class="L0S52"&gt;ws_c_var &lt;SPAN class="L0S52"&gt;to shared buffer indx(st) id &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;ws_c_var &lt;SPAN class="L0S52"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;import &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ws_c_var from shared buffer indx(st) id ws_c_var.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Hope it will work.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Sabyasachi&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 19:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182858#M1713367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-24T19:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182859#M1713368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using it in a function module. I'm not running it in background. I'm running it in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I do it, I open two windows of SE37 and ran my FM simultaneously. During debug I can see that whatever my first FM places on the MEMORY, the second FM retrieves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in foreground its not happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried the SHARED BUFFER as well, its not working too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory ID name I'm using is the handling unit number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for more help. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vanessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 08:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182859#M1713368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-25T08:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182860#M1713369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of simultaneous, try one after another.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:01:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182860#M1713369</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2013-01-25T09:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182861#M1713370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanessa ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too faced a similar issue once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually data transfer was not happening using memory id technique in one of my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I executed that report once using debugger then for later executions it started working perfectly al right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though I didn't bother about that after , hope your thread will help me find answer &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182861#M1713370</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2013-01-25T09:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182862#M1713371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanessa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are passing the unit number to MEMORY ID 'unit number'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you try hardcoding the MEMORY ID '&lt;STRONG&gt;unit number&lt;/STRONG&gt;' to some text value like 'TEST'??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182862#M1713371</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-25T09:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182863#M1713372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanessa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read the below comments. They might help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h2"&gt;&lt;A name="!ABAP_ALTERNATIVE_3@3@"&gt;&lt;/A&gt;&lt;SPAN class="bold"&gt;Alternative 3&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;... MEMORY ID id&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h4"&gt;Effect &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If &lt;SPAN class="qtext"&gt;MEMORY&lt;/SPAN&gt; is specified, the data cluster is written in to &lt;A _jive_internal="true" class="grey" href="https://answers.sap.com/thread/sapevent:ABENABAP_MEMORY_GLOSRY" title="Glossary Entry"&gt;ABAP Memory&lt;/A&gt; with the ID specified in &lt;SPAN class="qtext"&gt;id&lt;/SPAN&gt;. &lt;SPAN class="qtext"&gt;id&lt;/SPAN&gt; expects a &lt;A _jive_internal="true" class="grey" href="https://answers.sap.com/thread/sapevent:ABENFLAT_GLOSRY" title="Glossary Entry"&gt;flat&lt;/A&gt; &lt;A _jive_internal="true" class="grey" href="https://answers.sap.com/thread/sapevent:ABENCHARLIKE_DATA_OBJECT_GLOSRY" title="Glossary Entry"&gt;character-like data object&lt;/A&gt; containing a case-sensitive ID with a maximum of 60 characters. Any existing data clusters with the same ID &lt;SPAN class="qtext"&gt;id&lt;/SPAN&gt; are completely overwritten. The ID in &lt;SPAN class="qtext"&gt;id&lt;/SPAN&gt; identifies a data cluster in the repository and can be read again using the same identification. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182863#M1713372</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-25T09:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182864#M1713373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanessa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using Export &amp;amp; Import why dont you declare the variable in the function group top inculde which will be available for both the function modules?.Or you can create a function module with a function group to store the value and call in both the FM's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182864#M1713373</guid>
      <dc:creator>former_member282968</dc:creator>
      <dc:date>2013-01-25T09:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182865#M1713374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesavadas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried that. I gave the first FM a 5 second interval before running the second FM. Still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Sijin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Me too, I hope I could find the answer for this query. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Aniket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a memory id that is based on the handling unit number, since this will be my checking if the the HU being modified by the 2 running FM is the same. If its the same, the first FM should be able to process it successfully. After 5 seconds, the second FM should get a lock error. The first and second FMs were just the same FM. They were just launched twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vanessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182865#M1713374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-25T09:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182866#M1713375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies as I was not able to clearly explain. The FM i was talking about were launched twice and were just modifying the same record. I'm expecting the first FM to save the HU number to the SHARED MEMORY, so that after 5seconds the second FM will retrieve the HU from the shared memory and will not proceed with processing, since the shared memory is already filled up. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happens when being debugged, but without debug, it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Vanessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:33:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182866#M1713375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-25T09:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182867#M1713376</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;Try using SET PARAMETER ID and GET PARAMETER ID instead of EXPORT &amp;amp; IMPORT statements. sometimes it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br...&lt;/P&gt;&lt;P&gt;Dwaraka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182867#M1713376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-25T09:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182868#M1713377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't really understand the problem in changing the MEMORY ID. It is just the identification/pointer to some place/space in the shared memory which is carrying the data you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For checking if the same HU is modified or not, you can always use the data in the memory id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i'm on the right track &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 10:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182868#M1713377</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-25T10:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182869#M1713378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aniket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also don't understand why its not working in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Dwaraka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried SET and GET, but its also not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Vanessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 10:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182869#M1713378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-25T10:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Import / Export TO/FROM SHARED MEMORY only works during debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182870#M1713379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venessa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a function module with a function group.Declare a global variable at the top include which you need to share .In the FM both import and export parameter would be the same variable which is required to be shared and use the below code in the source code of FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i_var is not initial." import parameter in FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g_var = i_var. "assign import to global variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_var = g_var. "assign global variable to export parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the parameters are optional in the FM.Call the FM in your first function module by passing value to the import parrameter of the FM.In the second FM call the same FM but with only export parameter.In this way the variable can be stored in a memory and passed to another program in the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 10:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-to-from-shared-memory-only-works-during-debug/m-p/9182870#M1713379</guid>
      <dc:creator>former_member282968</dc:creator>
      <dc:date>2013-01-25T10:41:15Z</dc:date>
    </item>
  </channel>
</rss>

