<?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: pass internal table from program to another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430867#M824073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Export the selected rows to the next program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXPORT final TO MEMORY ID 'ABC'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL TRANSACTION 'XXX'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXX is the tcode for the other program where u want to import the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INITIALIZATION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORT the internal table from the first program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;IMPORT final FROM MEMORY ID 'ABC'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont refesh the internal table final.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2008 06:05:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-19T06:05:39Z</dc:date>
    <item>
      <title>pass internal table from program to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430863#M824069</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 do i pass an internal table from program to another program, then read it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx, &lt;/P&gt;&lt;P&gt;laure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 05:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430863#M824069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T05:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: pass internal table from program to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430864#M824070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way is to use EXPORT and IMPORT statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXPORT itab = itab TO MEMORY ID 'MID'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMPORT itab = itab FROM MEMORY ID 'MID'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the itab definition should be same in both programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 05:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430864#M824070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T05:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: pass internal table from program to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430865#M824071</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;As much a i know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) U can pass data from one program to another in a single login using SAP memory......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) u can create a DBtable update dat table using ur first pgm and fetch from second program.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) U can pass the report output using EXPORT TO MEMORY addition and get it back using IMPORT FROM MEMORY..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 05:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430865#M824071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T05:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: pass internal table from program to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430866#M824072</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;Do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export itab from itab TO MEMORY ID 'ZABAP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit w_repid and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur other program ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import itab TO itab FROM MEMORY ID 'ZABAP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that the name and structure of the internal table be same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful..&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>Tue, 19 Feb 2008 05:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430866#M824072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T05:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: pass internal table from program to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430867#M824073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Export the selected rows to the next program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXPORT final TO MEMORY ID 'ABC'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL TRANSACTION 'XXX'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXX is the tcode for the other program where u want to import the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INITIALIZATION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORT the internal table from the first program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;IMPORT final FROM MEMORY ID 'ABC'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont refesh the internal table final.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 06:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-internal-table-from-program-to-another-program/m-p/3430867#M824073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T06:05:39Z</dc:date>
    </item>
  </channel>
</rss>

