<?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: Problem IMPORT/EXPORT TO MEMORY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435453#M1550923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;this work well in same program but if I try to insert "IMPORT task TO task1 FROM MEMORY ID 'task'." in other program called by SUBMIT this don't work. ( This program is called in FM JOB_SUBMIT )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason may be that SAP uses different memory area for online and background activity.....also the data is not transferred..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are using IMPORT / EXPORT both the program needs to be in a single / similar call (session is correct word for online)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 19:14:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-22T19:14:34Z</dc:date>
    <item>
      <title>Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435449#M1550919</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; I have a problem with IMPORT/EXPORT TO MEMORY.&lt;/P&gt;&lt;P&gt;This is a simple code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        DATA : id1    TYPE c LENGTH 10 VALUE 'TEXTS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       task = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        EXPORT task TO MEMORY ID id1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        DATA : task1(2) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IMPORT task1       FROM MEMORY ID id1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        WRITE : task1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expected that result is 1 but the field task1 is empty. Why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 15:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435449#M1550919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T15:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435450#M1550920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using the obsolete short form of IMPORT/EXPORT, there the two data object names "task" and "task1" must be identical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should rather use the slighty longer form with separate parameters and data objects. See F1 help for IMPORT and EXPORT statements, it is all explained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 15:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435450#M1550920</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-11-22T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435451#M1550921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data object are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if I use this sintax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export task to memory id 'task'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT task      TO task1  FROM MEMORY ID 'task'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this work well in same program but if I try to insert "IMPORT task      TO task1  FROM MEMORY ID 'task'." in other program called by SUBMIT this don't work.  ( This program is called in FM JOB_SUBMIT )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have some example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 16:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435451#M1550921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T16:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435452#M1550922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I think in this case  you need to use &lt;STRONG&gt;SET/GET&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Import/Export are considered only for 1 session, &lt;/P&gt;&lt;P&gt;in your case you are calling the program from some other, &lt;/P&gt;&lt;P&gt;so session is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anmol Bhat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 17:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435452#M1550922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T17:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435453#M1550923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;this work well in same program but if I try to insert "IMPORT task TO task1 FROM MEMORY ID 'task'." in other program called by SUBMIT this don't work. ( This program is called in FM JOB_SUBMIT )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason may be that SAP uses different memory area for online and background activity.....also the data is not transferred..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are using IMPORT / EXPORT both the program needs to be in a single / similar call (session is correct word for online)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 19:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435453#M1550923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T19:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435454#M1550924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very late...&lt;/P&gt;&lt;P&gt;Solution would be shared memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check EXPORT instruction help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 13:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435454#M1550924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-08T13:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435455#M1550925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Export LIFNR TO MEMORY ID 'AB'. (ID is the name of memory, you don't need to create it ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import LIFNR FROM MEMORY ID 'AB'. (In Importing program create the same field name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 20:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435455#M1550925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-08T20:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435456#M1550926</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;I too have the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any body, have dealt with this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 12:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435456#M1550926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-11T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435457#M1550927</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;I just changed your program the following way it worked within same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA &lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;id1&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c &lt;/SPAN&gt;LENGTH &lt;SPAN class="L0S32"&gt;10 &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'TEXTS'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;task1&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&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; &lt;SPAN class="L0S52"&gt;task&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;task &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORT &lt;/SPAN&gt;P1 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;task &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MEMORY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ID &lt;/SPAN&gt;id1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORT &lt;/SPAN&gt;P1 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;task1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MEMORY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ID &lt;/SPAN&gt;id1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;task1&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;Also The same also worked when I Used SUBMIT and Return.&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;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Vasanth&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 14:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435457#M1550927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-11T14:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435458#M1550928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Import and Export&amp;nbsp; Parameters are used only for data placed in the same session, other wise it is not useful..&lt;/P&gt;&lt;P&gt;i.e, ABAP memory( Local Memory ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better to go for SAP Memory like SET and GET will use for your scenario ...&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;Thanks ,&lt;/P&gt;&lt;P&gt;Vamsi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 09:15:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435458#M1550928</guid>
      <dc:creator>vamsilakshman_pendurti</dc:creator>
      <dc:date>2014-11-11T09:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem IMPORT/EXPORT TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435459#M1550929</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;i think using the memory / shared memory is kinda risky, because every application server got its own memory. if you have more than 1 application server you never know on which of them your programm is executed to provide data to the memory and on which you want to recieve the data again. though it can happen that your memory stays empty after importing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my personal opinion is better to use tables to store data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Stefan Seeburger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 09:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-import-export-to-memory/m-p/7435459#M1550929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-11T09:16:04Z</dc:date>
    </item>
  </channel>
</rss>

