<?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: Report as Include in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088599#M100093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the procedure of calling external subroutine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform xyz(mnop) using abcd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close the issue with appropriate points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2005 22:34:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-16T22:34:30Z</dc:date>
    <item>
      <title>Report as Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088597#M100091</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;  I need to get a particular field value of Internal table from the called report to the calling report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me how is is possible. And if it is possible by Include the report then how we will execute the included report and get the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Senthil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2005 22:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088597#M100091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-16T22:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Report as Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088598#M100092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try by EXPORT TO MEMORY  that value in the called report and IMPORT FROM MEMORY  in the calling report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2005 22:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088598#M100092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-16T22:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Report as Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088599#M100093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the procedure of calling external subroutine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform xyz(mnop) using abcd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close the issue with appropriate points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2005 22:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088599#M100093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-16T22:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Report as Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088600#M100094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Report1 you have to do:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;b&amp;gt;Submit report2 and return.&amp;lt;/b&amp;gt;
or 
&amp;lt;b&amp;gt;Submit report2 with p_param1 = 'value1' with p_param2 = 'value2' and return.&amp;lt;/b&amp;gt;
(Here p_param1 and p_param2 should be parameters defined in report2.)

&amp;lt;b&amp;gt;if sy-sburc = 0.
Import &amp;lt;fieldname&amp;gt; from memory id 'ABCXYZ'.
endif.&amp;lt;/b&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In Report2:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;b&amp;gt;Export &amp;lt;fieldname&amp;gt; to memory id 'ABCXYZ'.&amp;lt;/b&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to make sure that &amp;lt;fieldname&amp;gt; should be declared the same way in both programs.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2005 23:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088600#M100094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-16T23:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Report as Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088601#M100095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 For this u will have to slight modification in both programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. First of all in the CALLED program,&lt;/P&gt;&lt;P&gt;   after the internal table is populated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   use EXPORT ITAB-FieldName to MemoryID.&lt;/P&gt;&lt;P&gt;  (This will place the value of field &lt;/P&gt;&lt;P&gt;  in memory so that other programs can access it)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In ur 1st Program (Calling program)&lt;/P&gt;&lt;P&gt;   u must be calling the 2nd program thru&lt;/P&gt;&lt;P&gt;   SUBMIT .. AND Return .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  After this, use syntax.&lt;/P&gt;&lt;P&gt;  IMPORT field from memory ID &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Also see help on Export and Import statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Hope it helps.&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>Sat, 17 Dec 2005 04:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088601#M100095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-17T04:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Report as Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088602#M100096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, you can use set/get Parameter ID , if you can add some SET Parameter code in the called program.&lt;/P&gt;&lt;P&gt;Then get it in calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way, assume the called report is in the call stack in your calling report.&lt;/P&gt;&lt;P&gt;that means the global variable of called program exist in the memory.&lt;/P&gt;&lt;P&gt;Then you can do like this:&lt;/P&gt;&lt;P&gt;name = '(ZXXXXX)it_XX'.&lt;/P&gt;&lt;P&gt;Assign (name) to &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZXXXX is the called program name. it_XX is the name of that internal table you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will be helpful&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2005 04:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-as-include/m-p/1088602#M100096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-18T04:56:55Z</dc:date>
    </item>
  </channel>
</rss>

