<?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 internal table to memory. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459960#M1250993</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;Use export to database instead...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br/Manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2009 11:24:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-29T11:24:22Z</dc:date>
    <item>
      <title>Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459959#M1250992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I export and import an internal table to memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export messtab to memory id 'TAB'. (in program 1)&lt;/P&gt;&lt;P&gt;import messtab=messtab from memory id 'TAB'. (in program 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459959#M1250992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459960#M1250993</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;Use export to database instead...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br/Manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459960#M1250993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459961#M1250994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: lt_idoc_status1 type standard table of bdidocstat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;export lt_idoc_status1 to memory id 'IDOC_STATUS1'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Import lt_idoc_status1 from memory id 'IDOC_STATUS1' .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Poorna Chandrasekhar on Apr 29, 2009 4:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459961#M1250994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459962#M1250995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't. Isn't there any way to export to memory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459962#M1250995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459963#M1250996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459963#M1250996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459964#M1250997</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 program 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT messtab[]  TO MEMORY ID 'ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT  messtab[]  FROM MEMORY ID 'ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459964#M1250997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459965#M1250998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't see any difference except for the suppresion of the =messtab (incidentally, I have already tried without it, and it doesn't seem to work...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it be because of the table type? Mine is a standard table of bapireturn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459965#M1250998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459966#M1250999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try the brackets, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:29:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459966#M1250999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459967#M1251000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              Just use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     Export Int_table to memory id 'xyz'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      import int_table from memory id 'xyz'.&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;neel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459967#M1251000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459968#M1251001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even without the brackets it doesn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;program 1&lt;/STRONG&gt; I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE text-e21 TO messtab-message.&lt;/P&gt;&lt;P&gt;    messtab-type = c_tipo_error.&lt;/P&gt;&lt;P&gt;    APPEND messtab. CLEAR messtab.&lt;/P&gt;&lt;P&gt;    DELETE messtab WHERE message = space.&lt;/P&gt;&lt;P&gt;    EXPORT messtab[] TO MEMORY ID para.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The EXIT leads to &lt;STRONG&gt;program 2&lt;/STRONG&gt;, from where I made a submit to &lt;STRONG&gt;program 1&lt;/STRONG&gt;, and where I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; import messtab[] from memory id para.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;        DATA: para TYPE tpara-paramid VALUE 'MES',&lt;/P&gt;&lt;P&gt;        messtab  TYPE TABLE OF bapireturn WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, and I've checked the table in &lt;STRONG&gt;program 1&lt;/STRONG&gt; does have an entry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459968#M1251001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459969#M1251002</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 this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXPORT (messtab) TO MEMORY ID para.

IMPORT (messtab) FROM MEMORY ID para.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;         OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXPORT messtab FROM messtab TO MEMORY ID para.

IMPORT messtab TO messtab FROM MEMORY ID para.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 11:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459969#M1251002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459970#M1251003</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 like this while exporting.No need of declaring PARA. It should be in quotes.&lt;/P&gt;&lt;P&gt;DATA: messtab TYPE TABLE OF bapireturn WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;WRITE text-e21 TO messtab-message.&lt;/P&gt;&lt;P&gt;messtab-type = c_tipo_error.&lt;/P&gt;&lt;P&gt;APPEND messtab. CLEAR messtab.&lt;/P&gt;&lt;P&gt;DELETE messtab WHERE message = space.&lt;/P&gt;&lt;P&gt;EXPORT messtab TO MEMORY ID 'PARA'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import messtab from memory id 'PARA'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459970#M1251003</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2009-04-29T12:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459971#M1251004</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;The code below should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; EXPORT messagetab TO MEMORY ID 'ZMESGTAB' &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To further import, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; IMPORT messagetab TO itab                " MESSAGETAB was exported
             FROM MEMORY ID 'ZMESGTAB'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 15:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459971#M1251004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T15:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459972#M1251005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem has disappeared, I'm not sure why. Maybe because I changed the internal table to one without header line. Thanks to all for your answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 07:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459972#M1251005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T07:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459973#M1251006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can verify that I had the same problem and it cleared up from my EXPORT statement when I removed the header line from my internal table, but it is still happening when I try to IMPORT. I get the following syntax error:&lt;/P&gt;&lt;P&gt; "FIELD "'BADI_OFFINV_DETAIL'" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: James Smith on Jul 16, 2009 12:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 21:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459973#M1251006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T21:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Export internal table to memory.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459974#M1251007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a little bit late, but this could help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also pass internal table with IMPORT/EXPORT statement using deserialization like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :&lt;/P&gt;&lt;P&gt;xml type string,&lt;/P&gt;&lt;P&gt;my_itab type table of stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* 1) DESERIALIZATION&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION id&lt;/P&gt;&lt;P&gt;&amp;nbsp; SOURCE zit_fields = my_itab "don't forget to add brackets with header line : my_itab[]&lt;/P&gt;&lt;P&gt;&amp;nbsp; RESULT XML xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT xml TO MEMORY ID 'MYID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* .../...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT xml FROM MEMORY ID 'MYID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* 2 ) SERIALIZATION&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION id&lt;/P&gt;&lt;P&gt;&amp;nbsp; SOURCE XML xml&lt;/P&gt;&lt;P&gt;&amp;nbsp; RESULT zit_fields = my_itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 13:45:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-memory/m-p/5459974#M1251007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-28T13:45:30Z</dc:date>
    </item>
  </channel>
</rss>

