Skip to Content
avatar image
Former Member

Automatically save SM20 results to a file

Hello everyone,

I'm pretty new to SAP, so please be kind.

I've got the following task to fulfil: I'd like to periodically save the evaluation of the Security Audit Log/transaction SM20 to a defined location (OS basis would be ok), ideally with a timestamp as the filename.

I know that the SAL is also stored on the OS level as an *.AUD file, but I prefer the output of the transaction as it is more readable for me and such more easy to parse as I'd like to evaluate it using the ELK stack.

I'm already able to save/export the data to a local file manually (List > Export > Local File...) and also read about how to create a job but my problem is that I don't know what exactly is behind the process of the export. To be more precise: After defining the start conditions of the job I have to give the steps, but I have no idea which ABAP programs are behind the procedure of calling transaction SM20, define temporal limitations such as date and time, read the AuditLog, and export the result.

Best regards and thanks in advance,

Maren

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers