<?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: Reading Archived Data Through SAP Query Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744819#M1459142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; hi Manthan,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Yes I used these FMs and read the data without any problem for normal ABAP reports. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; But SAP query report is the problem. Is it advisobale to modify the SAP query generated report source code? since it is a system generated report.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Isuru&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, do not adapt the SAP generated report source. The reason is: every time someone re-generates the query from tx. SQ01 your changes will be lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could add the functionality Manathan gave you to add to the infoset of said query - but to be honest: in my opinion that is shooting nuclear rockets at flies. Also you run the risk that every change of the infoset (add a join/delete a join) requires adjustment of said coding you applied ... and where will you be then? Fancy repairing the same query over and over again? Try talk sense to your client - go for a Z-report here ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Mar 2010 09:40:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-17T09:40:37Z</dc:date>
    <item>
      <title>Reading Archived Data Through SAP Query Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744816#M1459139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear SAP Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My client archived their SAP data in a particular year range and all the &lt;STRONG&gt;Z reports&lt;/STRONG&gt; have to modified to &lt;STRONG&gt;read these archive data&lt;/STRONG&gt;. Normal ABAP reports can be modified to read the archive data without no problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there are two &lt;STRONG&gt;Z SAP query reports&lt;/STRONG&gt; which should be modified the same way so it will be able to read archive data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best method for this? Does SAP Query tool provide facility to read archive data? or do I have to append the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&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;Isuru Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 05:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744816#M1459139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T05:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Archived Data Through SAP Query Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744817#M1459140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try and read the archived data using the following function modules&lt;/P&gt;&lt;P&gt;ARCHIVE_OPEN_FOR_READ&lt;/P&gt;&lt;P&gt;ARCHIVE_GET_NEXT_OBJECT&lt;/P&gt;&lt;P&gt;ARCHIVE_GET_NEXT_RECORD&lt;/P&gt;&lt;P&gt;ARCHIVE_CLOSE_FILE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could include these in your zsap reports for getting the data or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; you could design your reports like &lt;STRONG&gt;Mrityunjay&lt;/STRONG&gt; did in his report in the Thread link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4178899"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manthan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 05:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744817#M1459140</guid>
      <dc:creator>manthanraja</dc:creator>
      <dc:date>2010-03-17T05:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Archived Data Through SAP Query Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744818#M1459141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Manthan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I used these FMs and read the data without any problem for normal ABAP reports. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But SAP query report is the problem. Is it advisobale to modify the SAP query generated report source code? since it is a system generated report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isuru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 06:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744818#M1459141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T06:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Archived Data Through SAP Query Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744819#M1459142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; hi Manthan,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Yes I used these FMs and read the data without any problem for normal ABAP reports. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; But SAP query report is the problem. Is it advisobale to modify the SAP query generated report source code? since it is a system generated report.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Isuru&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, do not adapt the SAP generated report source. The reason is: every time someone re-generates the query from tx. SQ01 your changes will be lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could add the functionality Manathan gave you to add to the infoset of said query - but to be honest: in my opinion that is shooting nuclear rockets at flies. Also you run the risk that every change of the infoset (add a join/delete a join) requires adjustment of said coding you applied ... and where will you be then? Fancy repairing the same query over and over again? Try talk sense to your client - go for a Z-report here ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 09:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744819#M1459142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T09:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Archived Data Through SAP Query Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744820#M1459143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Isuru , i agree with Mylene here and advise you to go for a  Z report which I suggested in my reply above .. in the link .. &lt;/P&gt;&lt;P&gt;It will take some convincing by you .. but is ultimately in the good of your client ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manthan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 09:47:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744820#M1459143</guid>
      <dc:creator>manthanraja</dc:creator>
      <dc:date>2010-03-17T09:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Archived Data Through SAP Query Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744821#M1459144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Aug 2010 07:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744821#M1459144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-22T07:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Archived Data Through SAP Query Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744822#M1459145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isuru ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar requirement in which the Z reports have to be modified to fetch data from archive.&lt;/P&gt;&lt;P&gt;Could you pls help me with a sample program you have done so that I can understand how you have used the FM's to fetch &lt;/P&gt;&lt;P&gt;data from archive. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Abhilash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 07:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-archived-data-through-sap-query-report/m-p/6744822#M1459145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T07:45:05Z</dc:date>
    </item>
  </channel>
</rss>

