<?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 dynamic itab to memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471346#M221512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that you are missing the assign...the best soln is usually to have an include abap used by both abaps and define the internal table structure in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can easily export and import using ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Aug 2006 07:46:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-17T07:46:54Z</dc:date>
    <item>
      <title>export / import dynamic itab to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471344#M221510</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'm struggling doing an export and import from dynamic internal tables to the memory through field-symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My target is to export the itab in report 1 and import it in report 2.&lt;/P&gt;&lt;P&gt;I thin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mild attempt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report 1:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  DATA: BEGIN OF itab &amp;#133;,
	&amp;#133;
  EXPORT itab from itab TO MEMORY ID memkey.

* submit diplay report
  SUBMIT ('REPORT2')
      WITH memkey  = memkey
           AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;REPORT 2:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: memkey(60) TYPE c NO-DISPLAY.
FIELD-SYMBOLS: &amp;lt;itab&amp;gt; TYPE ANY TABLE.
IMPORT &amp;lt;itab&amp;gt; FROM MEMORY ID memkey.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This code doesn't work because the 'field symbol has not yet been assigned'. &lt;/P&gt;&lt;P&gt;Any ideas? Thanx in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2006 07:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471344#M221510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-17T07:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: export / import dynamic itab to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471345#M221511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will not work as you have not assigned any variable to the field symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define an internal table, ITAB2 in Report 2 with a structure similar to ITAB in Report1. Assign ITAB2 to the field-symbol &amp;lt;ITAB&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. ASSIGN ITAB2 to &amp;lt;ITAB&amp;gt;.&lt;/P&gt;&lt;P&gt;IMPORT &amp;lt;ITAB&amp;gt; FROM MEMORY ID memkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;P&gt;*Please reward useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2006 07:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471345#M221511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-17T07:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: export / import dynamic itab to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471346#M221512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that you are missing the assign...the best soln is usually to have an include abap used by both abaps and define the internal table structure in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can easily export and import using ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2006 07:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471346#M221512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-17T07:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: export / import dynamic itab to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471347#M221513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both answers are correct. My problem is how to assign to a itab structure which is not known in report 2 because it's dynamic in report 1 as well.&lt;/P&gt;&lt;P&gt;I tried &amp;lt;i&amp;gt;DATA: itab TYPE REF TO data.&amp;lt;/i&amp;gt; with &amp;lt;i&amp;gt;ASSIGN itab-&amp;gt;* TO &amp;lt;itab&amp;gt;.&amp;lt;/i&amp;gt; but this isn't possible either. Any other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2006 11:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471347#M221513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-17T11:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: export / import dynamic itab to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471348#M221514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : var type ref to data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create var like line of (report2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign var-&amp;gt;* to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2006 11:07:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471348#M221514</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-08-17T11:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: export / import dynamic itab to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471349#M221515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for your suggestion:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : var type ref to data.

create var like line of (itab).

assign var-&amp;gt;* to &amp;lt;fs&amp;gt;. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But how do I get the structure of the dynamic table of report 1 (itab) to report 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem to transfer the dynamic table (itab) from one report to another.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2006 11:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471349#M221515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-17T11:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: export / import dynamic itab to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471350#M221516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dominik,&lt;/P&gt;&lt;P&gt;Did you get any answer for this?&lt;/P&gt;&lt;P&gt;Im in same situation too....any suggestions would be of great help to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 15:35:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471350#M221516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T15:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: export / import dynamic itab to memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471351#M221517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem ... If someone has a solution please post it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 16:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-dynamic-itab-to-memory/m-p/1471351#M221517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T16:19:26Z</dc:date>
    </item>
  </channel>
</rss>

