<?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: Call another report with internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329517#M168243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tarun,&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;ZREPRTA.

Data: itab type standard table of VBAK initial size 0.

...
...

submit ZreportB via selection screen 
                and return&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2006 08:48:13 GMT</pubDate>
    <dc:creator>former_member480923</dc:creator>
    <dc:date>2006-05-23T08:48:13Z</dc:date>
    <item>
      <title>Call another report with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329510#M168236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing one strange situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my report say A, i want to call another report say B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From report A, i have internal table itab. &lt;/P&gt;&lt;P&gt;I want to send the contents of this internal table itab to report B. &lt;/P&gt;&lt;P&gt;Please let me know how i will get the contents of internal table itab in report B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 08:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329510#M168236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T08:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Call another report with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329511#M168237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;What you can do is the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put your internal table into the "ABAP-Memory" using the command Export...TO MEMORY (See help on the EXPORT command).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in your other report, you can do an IMPORT....FROM MEMORY (See help on the IMPORT command).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will work fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some points would be nice if that helped a bit...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 08:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329511#M168237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Call another report with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329512#M168238</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;1. EXPORT the ITAB and IMPORT it in the second program.&lt;/P&gt;&lt;P&gt;2. If its a part of the selection screen, then you can as well pass that via SUBMIT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravikumar Allampallam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 08:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329512#M168238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T08:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Call another report with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329513#M168239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tarun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Program A : ZAM_TEMP00&lt;/P&gt;&lt;P&gt;   Program B : ZAM_Temp0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Program A will call B &lt;/P&gt;&lt;P&gt;   (In B we will get the contents&lt;/P&gt;&lt;P&gt;    of ITAB present in program A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; ZAM_TEMP00&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;data : itab like table of t001 with header line.&lt;/P&gt;&lt;P&gt;select * from t001 into table itab.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;export itab to memory id 'ITAB'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;submit zam_temp0 and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; ZAM_TEMP0&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;data : itab like table of t001 with header line.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;import itab from memory id 'ITAB'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;break-point.&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>Tue, 23 May 2006 08:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329513#M168239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T08:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Call another report with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329514#M168240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tarun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt; --&lt;/P&gt;&lt;P&gt; end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IMPORT itab[] TO MEMORY ID 'PAR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt; --&lt;/P&gt;&lt;P&gt; end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXPORT itab[] FROM MEMORY ID 'PAR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Susmitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 08:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329514#M168240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T08:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Call another report with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329515#M168241</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;check this Thread....&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="149467"&gt;&lt;/A&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>Tue, 23 May 2006 08:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329515#M168241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T08:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Call another report with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329516#M168242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tarun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to build the report B from the contents of ITAB in report A, you can use the following statement in &lt;/P&gt;&lt;P&gt;ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;INSERT REPORT 'B' FROM itab.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Mishra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 08:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329516#M168242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T08:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Call another report with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329517#M168243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tarun,&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;ZREPRTA.

Data: itab type standard table of VBAK initial size 0.

...
...

submit ZreportB via selection screen 
                and return&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 08:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-another-report-with-internal-table/m-p/1329517#M168243</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-05-23T08:48:13Z</dc:date>
    </item>
  </channel>
</rss>

