<?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: EXPORT/IMPORT  to MEMORY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995869#M75275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close this post as "solved".  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2005 16:35:13 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-07-14T16:35:13Z</dc:date>
    <item>
      <title>EXPORT/IMPORT  to MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995864#M75270</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 want to know if a parameter ID  of "export/import to memory" instruction is available in two differents session with different user's login? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 13:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995864#M75270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T13:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT/IMPORT  to MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995865#M75271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;"an object saved in ABAP memory can be read from any other ABAP program in the same call chain"&lt;/P&gt;&lt;P&gt;The answer is NO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 13:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995865#M75271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T13:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT/IMPORT  to MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995866#M75272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The use of the shared buffer may be of some interest to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;From F1 help&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;EXPORT obj1 ... objn TO SHARED BUFFER dbtab(ar) ID key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions: &lt;/P&gt;&lt;P&gt;1. ... = f (for each field you want to export) &lt;/P&gt;&lt;P&gt;2. ... FROM f (for each field you want to export) &lt;/P&gt;&lt;P&gt;3. ... CLIENT g (before ID key) &lt;/P&gt;&lt;P&gt;4. ... FROM wa (as last addition or after dbtab(ar)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Implicit field names not allowed in clusters and Table work areas not allowed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Stores a data cluster in the cross-transaction application buffer.The specified objects obj1 ... objn (fields, structures, or tables) are stored as a single cluster in the buffer. &lt;/P&gt;&lt;P&gt;The specified table dbtab must have a standard structure. &lt;/P&gt;&lt;P&gt;The buffer area for the table dbtab is divided into various logically-related areas (ar, two-character ID). &lt;/P&gt;&lt;P&gt;You can export a collection of data objects (data cluster) to an area of the buffer under a key of your own choosing (key field). &lt;/P&gt;&lt;P&gt;You can import individual data objects from this collection using the IMPORT statement (as long as the data has not been deleted from the buffer). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;In classes, you must always specify explicit names for the data objects. Addition 1 or addition 2 is therefore obligatory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In classes, you must always specify the work area explicitly. Addition 4 is therefore obligatory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table dbtab that you specify after SHARED BUFFER must be declared under TABLES (except in addition 4). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot export the header line of an internal table. If you specify the name of an internal table with a header line, the system always exports the actual table data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot export data, object, and interface references. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please consult Data Area and Modularization Unit Organization documentation as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Exporting two fields and an internal table to the buffer with structure INDX: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES INDX. &lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ITAB3_TYPE, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CONT(4), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       END OF ITAB3_TYPE. &lt;/P&gt;&lt;P&gt;DATA: INDXKEY LIKE INDX-SRTFD VALUE 'KEYVALUE', &lt;/P&gt;&lt;P&gt;      F1(4), F2 TYPE P, &lt;/P&gt;&lt;P&gt;      ITAB3 TYPE STANDARD TABLE OF ITAB3_TYPE WITH &lt;/P&gt;&lt;P&gt;                 NON-UNIQUE DEFAULT KEY INITIAL SIZE 2, &lt;/P&gt;&lt;P&gt;      WA_INDX TYPE INDX. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill data fields before CLUSTR &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;before the actual export &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;INDX-AEDAT = SY-DATUM. &lt;/P&gt;&lt;P&gt;INDX-USERA = SY-UNAME. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Export data. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXPORT F1    FROM F1 &lt;/P&gt;&lt;P&gt;       F2    FROM F2 &lt;/P&gt;&lt;P&gt;       ITAB3 FROM ITAB3 &lt;/P&gt;&lt;P&gt;       TO SHARED BUFFER INDX(ST) FROM WA_INDX ID INDXKEY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... = f (for each object you want to export) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Exports the contents of the field f and stores them under the specified name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... FROM f (for each field you want to export) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Exports the contents of field f and stores them under the specified name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3 &lt;/P&gt;&lt;P&gt;... CLIENT g (before ID key) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The data objects are stored in client g (as long as the import/export table dbtab is client-specific). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4 &lt;/P&gt;&lt;P&gt;... FROM wa (as last addition or after dbtab(ar)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Use this addition if you want to store user data fields in the application buffer. Instead of the table work area, the system uses the specified work area wa. The specified work area must have the same structure as the table dbtab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;DATA WA LIKE INDX. &lt;/P&gt;&lt;P&gt;DATA F1. &lt;/P&gt;&lt;P&gt;WA-AEDAT = SY-DATUM. &lt;/P&gt;&lt;P&gt;WA-USERA = SY-UNAME. &lt;/P&gt;&lt;P&gt;WA-PGMID = SY-REPID. &lt;/P&gt;&lt;P&gt;EXPORT F1 = F1 TO SHARED BUFFER INDX(AR) &lt;/P&gt;&lt;P&gt;               CLIENT '001' ID 'TEST' &lt;/P&gt;&lt;P&gt;               FROM WA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Catchable runtime error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT_BUFFER_NO_MEMORY: The EXPORT data cluster is too big for the application buffer. This error should not occur often, since the buffer uses a procedure similar to the LRU(Least Recently Used) procedure to monitor the buffer contents. However, if the error does occur, you can increase the profile parameter rsdb/obj/buffersize (see Profile Parameter Attributes), which may help.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 13:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995866#M75272</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-14T13:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT/IMPORT  to MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995867#M75273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is sample.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exporting program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

data: l_key(60)         type c.
data: l_parm(50) type c value 'This is your data right here'.


l_key = 'TESTING123'.

export e_parm = l_parm
          to shared buffer indx(st) id l_key.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;importing program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0003 .

data: l_key(60)         type c.
data: l_parm(50) type c.


l_key = 'TESTING123'.

import e_parm = l_parm
          from shared buffer indx(st) id l_key.


write:/ l_parm.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the first one under one user id and the other right after that under another user id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 13:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995867#M75273</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-14T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT/IMPORT  to MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995868#M75274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. i solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 16:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995868#M75274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T16:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT/IMPORT  to MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995869#M75275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close this post as "solved".  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 16:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/995869#M75275</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-14T16:35:13Z</dc:date>
    </item>
  </channel>
</rss>

