Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Program last run date

Former Member
0 Likes
2,731

Hi ,

I need the last run date of any program. The program would have been run for the last time some 3 years ago like that. Where do we get this data.

ST03N and STAT does not seem to be useful as they donot give run date if the run date is very long back as in this instance.

Thanks & Regards,

Vishnu Priya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,016

hi

good

i dont think you can get the data of the program that has been run 3yrs back,if it is a smartform or sapscript program than you can check with sp01 and if it is a report than you can check inAL01 but i dont think they ll return you 3yrs data.

thanks

mrutyun^

7 REPLIES 7
Read only

Former Member
0 Likes
1,016

Hi Priya,

chk this table FRUN

Read only

0 Likes
1,016

This table FRUN does not have entries in my system.

Read only

Former Member
0 Likes
1,016

Hi,

chack stat transaction

check following threads

hope this helps

Read only

anversha_s
Active Contributor
0 Likes
1,016

Hi,

try this.

v can query the Table TVAVRV as follows:
 
select single low
from tvarv into last_date
where name = 'LAST_RUN_DATE_END'
and type = 'P' "variable
and numb = 0. "variable
 
* Assign last run date to variable 
last_date_end = last_date."variable
 
* update the run date in TVARV table
clear tvarv.
move 'LAST_RUN_DATE_END' to tvarv-name.
move 'P' to tvarv-type.
move 0 to tvarv-numb.
move sy-datum to tvarv-low.
modify tvarv.

Rgds

Anver

Read only

Former Member
0 Likes
1,017

hi

good

i dont think you can get the data of the program that has been run 3yrs back,if it is a smartform or sapscript program than you can check with sp01 and if it is a report than you can check inAL01 but i dont think they ll return you 3yrs data.

thanks

mrutyun^

Read only

Former Member
0 Likes
1,016

Try,

BP_FIND_JOBS_WITH_PROGRAM Fm

Read only

Former Member
0 Likes
1,016

Hi,

If you know the job name of that programme if it used to execute in the background then through sm37 u may check the latest run .

For on-line no idea .

Cheers.