10-16-2008 10:14 AM
Hi
I want to see when was a program last run.
it was run manually..I have seen all threads, but cud'nt find answer.
Regards
Manu
10-16-2008 10:15 AM
10-16-2008 10:19 AM
Hi,
Check the Program : RSSTAT20 ( This program gives program run last date ,time)
Regards,
Omkaram.
10-16-2008 10:39 AM
thanks for d reply
but as i told u i have seen all the threads related to this
... this program is not there in ECC6
but i hope this is for transaction stat
which is not solving the purpose as well
10-16-2008 10:19 AM
Use tcode STAT . Enter the program name , user * , define your date period to find out.
10-16-2008 10:40 AM
10-16-2008 10:48 AM
look in the table FRUN
u can also use the following code
there is a useful SAP Enhansement S38MREP1 wit Exit exit_saplsabe_010(Transaction CMOD).
You can place coding to protocol program start here.
Your coding will be called at each program start.
Example:
INCLUDE ZXREPU01
TABLES: zslog.
CHECK progname(1) = 'Z' OR progname(1) = 'Y'.
SELECT SINGLE * FROM zslog WHERE progname = progname.
IF sy-subrc = 0.
ADD 1 TO zslog-calls.
zslog-last_date = sy-datlo.
UPDATE zslog.
ELSE.
CLEAR zswnlog.
zslog-mandt = sy-mandt.
zslog-progname = progname.
zslog-calls = 1.
zsnlog-last_date = sy-datlo.
INSERT zslog.
ENDIF.
COMMIT WORK.
for specific z programs
you could add the Application Log functionality to your program. Transaction SLG1. There are some standard functions to call the log functionality.
10-16-2008 10:27 AM
Hi Manu,
Please check the table TADIR AND TRDIR. Which gives you all the information of the report .like when the report is last executed ..
Regards,
Tarak.
10-16-2008 10:38 AM
thanks for d reply
but as i told u i have seen all the threads related to this
these tables have n such information