<?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/1364840#M180631</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;Thank you very much..I have given the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2006 12:38:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-24T12:38:32Z</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/1364833#M180624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;See the blow code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZEXPORT .&lt;/P&gt;&lt;P&gt;tables: kna1.&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0.&lt;/P&gt;&lt;P&gt;        include structure kna1.&lt;/P&gt;&lt;P&gt;data: end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from kna1 into table itab.&lt;/P&gt;&lt;P&gt;if not itab is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXPORT itab to MEMORY ID 'mid'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'EXPORTED'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZIMPORT .&lt;/P&gt;&lt;P&gt;data: begin of Jtab occurs 0.&lt;/P&gt;&lt;P&gt;include structure kna1.&lt;/P&gt;&lt;P&gt;data: end of Jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT itab to jtab from MEMORY ID 'mid'.&lt;/P&gt;&lt;P&gt;loop at jtab.&lt;/P&gt;&lt;P&gt;write:/ jtab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the first report, exported not printing the control is going back from export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the second report it is not printing jtab valyes.it is giving sy-subrc = 4 after import statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me what may be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/1364833#M180624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T12:24:00Z</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/1364834#M180625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PL try as follows..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ZEXPORT .
tables: kna1.
data: begin of itab occurs 0.
include structure kna1.
data: end of itab.

select * from kna1 into table itab.
if not itab[] is initial.
EXPORT itab[] to MEMORY ID 'mid'.
IF SY-SUBRC = 0.
WRITE:/ 'EXPORTED'.
ENDIF.
endif.


REPORT ZIMPORT .
data: begin of itab occurs 0.
include structure kna1.
data: end of itab.

IMPORT itab[] from MEMORY ID 'mid'.
loop at itab.
write:/ itab.
endloop.
&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:27:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/1364834#M180625</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-05-24T12:27:15Z</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/1364835#M180626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRy Capital letters for mid&lt;/P&gt;&lt;P&gt;REPORT ZEXPORT .&lt;/P&gt;&lt;P&gt;tables: kna1.&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0.&lt;/P&gt;&lt;P&gt;include structure kna1.&lt;/P&gt;&lt;P&gt;data: end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from kna1 into table itab.&lt;/P&gt;&lt;P&gt;if not itab is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT itab to MEMORY ID 'MID'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;WRITE:/ 'EXPORTED'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZIMPORT .&lt;/P&gt;&lt;P&gt;data: begin of Jtab occurs 0.&lt;/P&gt;&lt;P&gt;include structure kna1.&lt;/P&gt;&lt;P&gt;data: end of Jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT itab to jtab from MEMORY ID 'MID'.&lt;/P&gt;&lt;P&gt;loop at jtab.&lt;/P&gt;&lt;P&gt;write:/ jtab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/1364835#M180626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T12:27:19Z</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/1364836#M180627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Jak,&lt;/P&gt;&lt;P&gt;as the report uses 'export to memory' it exports to ABAP Memory, which is the same external mode / call hierarchy. If the first reports submit the 2nd one the sy-SubRc should be 0.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Online Help: ABAP Memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sequence is created if you can return from the called program to the calling program at the call of an ABAP-Program with SUBMIT ... AND RETURN or CALL TRANSACTION. For this purpose, the data of the internal session of the caller remains on a stack. The programs of a call sequence have collective access to the ABAP Memory. A call sequence can be left completely using the statement LEAVE TO TRANSACTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/1364836#M180627</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2006-05-24T12:30:34Z</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/1364837#M180628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I tried it at my end.&lt;/P&gt;&lt;P&gt;   Now it works fantastic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Make this small corrections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. specify itab as itab[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZEXPORT .&lt;/P&gt;&lt;P&gt;tables: kna1.&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0.&lt;/P&gt;&lt;P&gt;        include structure kna1.&lt;/P&gt;&lt;P&gt;data: end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from kna1 into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not &amp;lt;b&amp;gt;itab[]&amp;lt;/b&amp;gt; is initial.&lt;/P&gt;&lt;P&gt;  EXPORT itab to MEMORY ID 'mid'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    WRITE:/ 'EXPORTED'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit zimport and return.&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;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/1364837#M180628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T12:33:01Z</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/1364838#M180629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to Change 'mid'  to 'MID' .&lt;/P&gt;&lt;P&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/1364838#M180629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T12:33:11Z</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/1364839#M180630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jak, make sure that the names of the tables are exactly the same in both programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT ZEXPORT .
tables: kna1.
data: begin of itab occurs 0.
include structure kna1.
data: end of itab.

select * from kna1 into table itab.
if not itab is initial.

&amp;lt;b&amp;gt;EXPORT itab = itab to MEMORY ID 'mid'.&amp;lt;/b&amp;gt;
IF SY-SUBRC = 0.
WRITE:/ 'EXPORTED'.
ENDIF.
endif.


REPORT ZIMPORT .
&amp;lt;b&amp;gt;data: begin of itab occurs 0.
include structure kna1.
data: end of itab.&amp;lt;/b&amp;gt;

&amp;lt;b&amp;gt;IMPORT itab = itab from MEMORY ID 'mid'.&amp;lt;/b&amp;gt;
loop at jtab.
write:/ jtab.
endloop.


&lt;/CODE&gt;&lt;/PRE&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>Wed, 24 May 2006 12:35:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/1364839#M180630</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-24T12:35:47Z</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/1364840#M180631</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;Thank you very much..I have given the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory/m-p/1364840#M180631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T12:38:32Z</dc:date>
    </item>
  </channel>
</rss>

