<?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: find out when a program has been run in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976717#M71021</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;The STAT file is refreshed periodically (or more correctly, when its size limit is reached). Due to performance reason, this has to be so. Which means, the FM is going to give you only a limited history data (maybe a few hours, maybe a few days; depending on when the last file refresh happened).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can influence it a bit by increasing the file size but it will have a performance impact on the system (and your program will also take longer to read a larger file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are interested in keeping the statistics, you may wish to create a Z table, and periodically run a report in a batch job (say every few hours), this report should update the data from the file to this table (ensuring no duplicate records are inserted and so on). You can then do the reporting on this Z table. This will not be a full-proof option, but may do. (For a full proof option, you will have to replicate SAP's statistics recording functionality or tweak it to update Z table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2005 17:01:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-12T17:01:53Z</dc:date>
    <item>
      <title>find out when a program has been run</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976716#M71020</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;To find out when a program has been run, I've developed a z program that uses FM SAPWL_STATREC_READ_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However sometimes, the FM can't read the log file, and also I've known that a program was executed but it isn't on the tables return by the SAPWL_STATREC_READ_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 15:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976716#M71020</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2005-07-12T15:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: find out when a program has been run</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976717#M71021</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;The STAT file is refreshed periodically (or more correctly, when its size limit is reached). Due to performance reason, this has to be so. Which means, the FM is going to give you only a limited history data (maybe a few hours, maybe a few days; depending on when the last file refresh happened).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can influence it a bit by increasing the file size but it will have a performance impact on the system (and your program will also take longer to read a larger file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are interested in keeping the statistics, you may wish to create a Z table, and periodically run a report in a batch job (say every few hours), this report should update the data from the file to this table (ensuring no duplicate records are inserted and so on). You can then do the reporting on this Z table. This will not be a full-proof option, but may do. (For a full proof option, you will have to replicate SAP's statistics recording functionality or tweak it to update Z table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 17:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976717#M71021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T17:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: find out when a program has been run</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976718#M71022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by refreshed - is it deleted? I thought that the stat file is rewrite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just tell me if there are any other circumstances that clears the file: a rebot, etc... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2005 09:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976718#M71022</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2005-07-13T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: find out when a program has been run</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976719#M71023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I understand, the file is deleted (and recreated) if it reaches the size specified in the parameter settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is an excerpt from help (do a search on 'statfile' in the help documentation..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&amp;lt;b&amp;gt;Options for reorganizing statistical data (for all servers)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete seq. statfile after cumulation if size &amp;gt; (default: 100Mb).&lt;/P&gt;&lt;P&gt;This parameter specifies from what file size the system should delete the statistics file. The statistics file is required for individual statistics and is therefore not deleted until the file size has passed a specified maximum file size. Of course, the file is only deleted if it was completely processed by RSSTAT80 or RSSTAT83 .. &lt;/P&gt;&lt;P&gt;Max. no. of records cumulated per call (default: 20.000).&lt;/P&gt;&lt;P&gt;This is the maximum number of entries in the statistics file that can be processed by RSSTAT80 or RSSTAT83 in one session. This parameter is used to restrict the runtime of the collector.&lt;/P&gt;&lt;P&gt;Options for reorg of application statistic data (valid for all servers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Delete appl. statfile after cumulation if size &amp;gt; (default: 30Mb).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;This parameter specifies from what size the system should delete the application statistics file. Of course, the file is only deleted if it was completely processed by RSSTAT88 or RSSTAT89 . &lt;/P&gt;&lt;P&gt;Max. number of records cumulated per call (default: 20.000).&lt;/P&gt;&lt;P&gt;This is the maximum number of entries in the application statistics file that can be processed by RSSTAT80 or RSSTAT83 in one session. This parameter is used to restrict the runtime of the collector."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 09:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976719#M71023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T09:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: find out when a program has been run</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976720#M71024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the Application Development Expert Matthew Billingham on the searchsap.techtarget.com:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In R/3 Enterprise release 4.7 and beyond, you can use the ABAP Coverage Analyzer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until then I must deal with the reboots and the STAT file size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 14:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-out-when-a-program-has-been-run/m-p/976720#M71024</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2005-07-14T14:17:00Z</dc:date>
    </item>
  </channel>
</rss>

