<?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: import export internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236083#M1629611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB it_matnr should be of same type and structure in both programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PARAMETER ID 'MAT' field it_matnr.
GET PARAMETER ID 'MAT' field it_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2011 07:28:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-10T07:28:49Z</dc:date>
    <item>
      <title>import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236082#M1629610</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;How can i make an import export of an internal table but with the sap memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 07:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236082#M1629610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T07:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236083#M1629611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB it_matnr should be of same type and structure in both programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PARAMETER ID 'MAT' field it_matnr.
GET PARAMETER ID 'MAT' field it_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 07:28:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236083#M1629611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T07:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236084#M1629612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of current ABAP release you cannot transfer an internal table(deep structure) using SET/GET PARAMETER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@OP: Is there any reason you want to transfer the internal table to SAP memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 07:46:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236084#M1629612</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-10-10T07:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236085#M1629613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the number of entries in table is less following logic could be used..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose wa_tab is the work area and lit_tab is the table that you need to import and export into lit_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lv_count_char TYPE CHAR3,&lt;/P&gt;&lt;P&gt;            lv_field TYPE char6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TBALE lit_tab LINES lv_lines.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'LINES' FIELD lv_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&amp;gt; Setting the value&lt;/P&gt;&lt;P&gt;LOOP at lit_tab INTo wa_tab.&lt;/P&gt;&lt;P&gt;MOVE sy-tabix TO lv_count_char.&lt;/P&gt;&lt;P&gt;CONCATENATE 'FLD' lv_count_char INTO lv_field.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID lv_field FIELD wa_tab.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&amp;gt; Rerieving the value&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'LINES' FIELD lv_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;lv_count = lv_count + 1.&lt;/P&gt;&lt;P&gt;MOVE lv_count TO lv_count_char.&lt;/P&gt;&lt;P&gt;CONCATENATE 'FLD' lv_count_char INTO lv_field.&lt;/P&gt;&lt;P&gt;GET PARAMETER ID lv_field FIELD wa_tab.&lt;/P&gt;&lt;P&gt;APPEND wa_tab TO lit_new.&lt;/P&gt;&lt;P&gt;IF lv_count GE lv_lines.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 07:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236085#M1629613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T07:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236086#M1629614</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 the morning there is a process that i dont need all the items in the internal table, and then in the night they want to restore all the items, so i need to make a copy of the internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 07:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236086#M1629614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T07:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236087#M1629615</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;please use *EXPORT ... TO DATABASE ... * for that. You can use database table iNDX or create your own customer database tabel for that. This customer table needs the same defintion as INDX in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 08:35:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236087#M1629615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T08:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236088#M1629616</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;To export internal table to memory from a program, please use following piece of code:&lt;/P&gt;&lt;P&gt;EXPORT itab TO MEMORY ID 'ABCD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To import the same internal table back to another program, please use the following piece of code:&lt;/P&gt;&lt;P&gt;IMPORT itab FROM MEMORY ID 'ABCD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that itab should be similarly defined and named in both the programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know in case of any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shayeree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shayeree on Oct 10, 2011 10:52 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 08:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236088#M1629616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T08:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236089#M1629617</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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: IT_MARA TYPE TABLE OF MARA.
*
SELECT * FROM MARA INTO TABLE IT_MARA UP TO 10 ROWS.
EXPORT IT_MARA  FROM IT_MARA TO MEMORY ID 'ZZ_MARA'.
CLEAR IT_MARA[].
IMPORT IT_MARA  FROM MEMORY ID 'ZZ_MARA'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 08:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236089#M1629617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T08:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: import export internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236090#M1629618</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;U can use export and import .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;Export IT_table memory id  ABC&lt;/P&gt;&lt;P&gt;Then  u can import where you want&lt;/P&gt;&lt;P&gt;Import IT_TABLE from memory id ABC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 11:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-internal-table/m-p/8236090#M1629618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-10T11:01:44Z</dc:date>
    </item>
  </channel>
</rss>

