<?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 an internal table to memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764823#M1305501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try to give some value to the mid (memory id ) as given below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: MID         TYPE CHAR10 VALUE 'F47'.
    EXPORT itab TO MEMORY ID MID.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2009 09:26:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-22T09:26:49Z</dc:date>
    <item>
      <title>EXPORT an internal table to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764822#M1305500</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;In normal ABAP programming, an internal table is stored in the memory as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT itab TO MEMORY ID 'store_itab'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to write the same code in a method of a global class, i get an error saying:&lt;/P&gt;&lt;P&gt;"EXPORT var_1,.......var_n TO MEMORY.........is not supported in OO context.&lt;/P&gt;&lt;P&gt;Use EXPORT name_1 from var_1,.......name_n from var_n TO MEMORY.......instead.........".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i store this internal table itab into memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance for helping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 09:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764822#M1305500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-22T09:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT an internal table to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764823#M1305501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try to give some value to the mid (memory id ) as given below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: MID         TYPE CHAR10 VALUE 'F47'.
    EXPORT itab TO MEMORY ID MID.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 09:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764823#M1305501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-22T09:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT an internal table to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764824#M1305502</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;Below given is the example for Exporting internal table into memory and importing back when required:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Program-1&lt;/U&gt;&lt;/P&gt;&lt;P&gt;      EXPORT i_zpack_memory FROM i_zpack_migo TO     MEMORY ID 'ZPMIGO'.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Program-2&lt;/U&gt;&lt;/P&gt;&lt;P&gt;      IMPORT i_zpack_memory TO       i_zpack_migo FROM MEMORY ID 'ZPMIGO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ramani N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramani Nagarajan on Jun 22, 2009 11:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 09:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764824#M1305502</guid>
      <dc:creator>former_member229729</dc:creator>
      <dc:date>2009-06-22T09:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT an internal table to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764825#M1305503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As per abap keyword doc following is the syntax..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT obj1 ... objn TO INTERNAL TABLE itab = f. &lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The contents of data object f is exported and stored under the name specified before =. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT obj1 ... objn TO INTERNAL TABLE itab FROM f . &lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The contents of data object f is exported and stored under the name specified before FROM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 09:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-an-internal-table-to-memory/m-p/5764825#M1305503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-22T09:31:44Z</dc:date>
    </item>
  </channel>
</rss>

