<?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: Read internal table from report. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431316#M824196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;actually i know this..but i want to read data from suppose report ZREP1 by executing it through report ZREP2. i want to read internal table from ZREP1 into ZREP2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2008 05:55:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-19T05:55:01Z</dc:date>
    <item>
      <title>Read internal table from report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431314#M824194</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;I want to know is it possible to read internal table from report without modifying the report. is there any function module by which we can run the report and read data from internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 05:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431314#M824194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T05:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read internal table from report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431315#M824195</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;hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table doesn't allow ne operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It reads only one record...Either by index or key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE MY_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE MY_TAB WITH KEY CODE = 'ATG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these are the results for SY-SUBRC checks after read table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An entry was read. &lt;/P&gt;&lt;P&gt;SY-TABIX is set to the index of the entry. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 2: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An entry was read. &lt;/P&gt;&lt;P&gt;SY-TABIX is set to the index of the entry. This return code can only occur when you use the COMPARING addition. For further detauls, refer to the COMPARING section of the additions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 4: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No entry was read. &lt;/P&gt;&lt;P&gt;The value of SY-TABIX depends on the table type and whether the BINARY SEARCH addition was specified. &lt;/P&gt;&lt;P&gt;If the table is a SORTED TABLE or a table sorted in ascending order of the type STANDARD TABLE with the BINARY SEARCH addition, SY-TABIX refers to the next-highest index. &lt;/P&gt;&lt;P&gt;Otherwise, SY-TABIX is undefined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 8: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No entry was read. &lt;/P&gt;&lt;P&gt;This return code only occurs with a SORTED TABLE or a STANDARD TABLE with the BINARY SEARCH addition. SY-TABIX is set to the number of all entries plus 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading records with keys&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb35f8358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb35f8358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading lines with Index&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3730358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3730358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 19, 2008 5:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 05:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431315#M824195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T05:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Read internal table from report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431316#M824196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;actually i know this..but i want to read data from suppose report ZREP1 by executing it through report ZREP2. i want to read internal table from ZREP1 into ZREP2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 05:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431316#M824196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T05:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read internal table from report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431317#M824197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;May be ur problem will be solved by using the below syntax.&lt;/P&gt;&lt;P&gt;READ REPORT prog INTO itab [MAXIMUM WIDTH INTO wid] .&lt;/P&gt;&lt;P&gt;u can get the report into the internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 10:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431317#M824197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T10:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Read internal table from report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431318#M824198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;     Hope it'l b useful for u..&lt;/P&gt;&lt;P&gt; do a subroutine program in ur Zrep01 which has module called Reading Internal table Contents.. like Read table it_tab using key.. in your Second program Call the subroutine (Externally)&lt;/P&gt;&lt;P&gt;by mentioning it's program name..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 10:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431318#M824198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T10:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Read internal table from report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431319#M824199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Export the selected rows to the next program &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXPORT final TO MEMORY ID 'ABC'.

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;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INITIALIZATION.

IMPORT the internal table from the first program 
IMPORT final FROM MEMORY ID 'ABC'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&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 11:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431319#M824199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T11:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Read internal table from report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431320#M824200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I know what are you pointing to.&lt;/P&gt;&lt;P&gt;the report from which you want to take out values must be an sap report which you cannot change without access key.&lt;/P&gt;&lt;P&gt;Am i right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes then in this case you have to use user Exist or badi to fulfill your  requirement.&lt;/P&gt;&lt;P&gt;through this you are still modifying the progam indirectly.&lt;/P&gt;&lt;P&gt;You add an include which you can modify urself and extract out or insert any data you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 19, 2008 5:44 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 11:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-internal-table-from-report/m-p/3431320#M824200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T11:46:52Z</dc:date>
    </item>
  </channel>
</rss>

