cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to get log of last execution of a program using SE38

Pavithra_madhu
Participant
0 Kudos
5,474

Hi all,

I have a background job and want to know whether that program run in PRD using SE38. How can I found that last execute date of the program and user who run the tcode.

Thank u.

Regards,

Pavithra

Accepted Solutions (0)

Answers (3)

Answers (3)

Sandra_Rossi
Active Contributor

Don't be confused, whatever solution you want to use (SM20, ST03N, UPL, SCMON...), the statistics data are kept for a limited amount of time, you must ask the system administrators what solution they propose to implement, and what are the restrictions, so that you all (administrators, requirement owners and you) choose a solution. When a solution is decided and implemented, then you can do the ABAP program based on the solution.

tom_wan
Product and Topic Expert
Product and Topic Expert

if you have enabled security audit log, you can try find it from SM20.

Online help:

The Security Audit Log (sap.com)

Pavithra_madhu
Participant
0 Kudos

we have not enabled SM20

tom_wan
Product and Topic Expert
Product and Topic Expert
0 Kudos

try ST03N -> choose a period -> Transaction Profile ->Standard: there you can search who executed which program, but impossible to find "when".

Pavithra_madhu
Participant
0 Kudos

In ST03N also shows RSABAPPROGRAM without program name. How to get program name??

tom_wan
Product and Topic Expert
Product and Topic Expert

If ST03N cannot show the program name, then I have no further idea 😞

(I think if you don't activate audit log or other tracing functions, it is impossible to find out who executed the program.)

Pavithra_madhu
Participant
0 Kudos

Hi all,

We are not enable audit logs at the moment so no way to get them to reports. Thanks all for ur replies.

ndomotor86
Product and Topic Expert
Product and Topic Expert

Hi Pavithra,

If you need more information about SM20 activation please check the following KBA:

539404 - FAQ: Answers to questions about the Security Audit Log

2191612 - FAQ | Use of Security Audit Log as of SAP NetWeaver 7.50

Best regards,

Norbert

SAP Product Support SAP