Application Development 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: 

Last run date of a ABAP program

Former Member
0 Kudos

Hello All,

I need to find the last run date of a ABAP program , It is being scheduled in foreground not background.

I did check in ST03, ST03N, STAT and STAD but its not giving the last run date of the program , Pelase do let me know if any other way around to find the information.

we are using 4.6c

Thanks!!

Sai

6 REPLIES 6

Former Member
0 Kudos

This is not possible.

You can get the Last Date time rume of an ABAP only if it's a scheduled job.

Only possibility is to built your own logic (eg. updating a Z table with abap name, date, time, ... ).

Hope this helps,

Erwan

Former Member
0 Kudos

-Pavan

Former Member
0 Kudos

If the program has a transaction code and users use the transaction code to execute it in foreground, then you should be able to find the transaction code history in the transaction STAD or the others you mentioned (provided your admin kept those logs).

Former Member
0 Kudos

You can find the last run date of a ABAP program from the database view TRDIR field UDAT.

this is "last change date" > not "last run date" 😉

Former Member
0 Kudos

Hi Sai

You can find out who last ran the Z program using transaction Code ST04.

1. Run transaction Code ST03

2. Under Workload, select the option "Total". You can look at daily, weekly or monthly timeline

3. Click on "Analysis View"

Hope this helps

Parveen Marks