2011 Dec 01 8:01 AM
Hello,
I have to develop a report though which we can find the list of unused program based on the selection date given in the selection screen. So, Is there any way through which we can find when was the Z* programs executes last time???
I checked with the transaction STAD and ST03N.. but I didnt find it helpful.. because I want to see the list of programs for the past 1 year.
Any suggestion will be helpful..
Thanks,
Regards,
Jhings.
Edited by: Jhings on Dec 1, 2011 1:31 PM
Moderator message: FAQ, please search for previous discussions of this topic.
Edited by: Thomas Zloch on Dec 1, 2011 12:20 PM
2011 Dec 01 9:50 AM
Hi,
Please look at table REPOSRC.
This has all the report programs with details of last usage and who changed it.
Hope this helps.
Regards,
-Sandeep
2011 Dec 01 9:54 AM
Hi Sandeep,
Thanks for the reply... I checked that table and it is having last change date of the code.. But my requirement is to find out the last execution date of the program.. Means.. when was the Z* programs runs last time.
Hope u understand my problem..
Thanks,
Regards,
Jhings
2011 Dec 01 10:05 AM
ST03 is the basic tcode for program Monitoring.
Use Tcode STAT, it will give details -TCode, Program/Report Name and User.
But this data is refreshed after certain period of time ,depending on the system configuration.
Hope it helps.
Thanks!
2011 Dec 01 10:09 AM
Hello Boby,
Yes it is true that the data which gives after running STAT Transaction is for certain period and.. it depends on the buffer size and the time which is configured at the time of configuration. But it will give maximum upto 15 days data. So, are you saying that apart from this there is no other way through which we can find the last execution date of a program???
2011 Dec 01 10:23 AM
Well yeah I think so ,as stat files gets overwritten time to time .
I remember a table FRUN but we never got any entries in it.Check your luck..