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: 

Need some information about Audit log Function module RSAU_READ_FILE

former_member196331
Active Contributor
0 Kudos

hi,
i have one requirement I need to Get the Entries from the Function module.
RSAU_READ_FILE, the above Function module will give the output of Sm20, When ever we execute the SM20.

For getting the Entries i would like to Execute the above function module.

CALL FUNCTION 'RSAU_READ_FILE'
DESTINATION all_dests-rfcdest
EXPORTING
selection = ta
selection_audit = ta_audit
file_no_old = file_no
IMPORTING
end_reason = end_reason
end_info = end_info
counters = recordcnt
file_no_new = file_no
TABLES
syslog_in_table = entriestab_2
audit_file_stat = audit_file_stat_rfc
EXCEPTIONS
system_failure = 2 MESSAGE last_rfc_mess
communication_failure = 3 MESSAGE last_rfc_mess.

IF sy-subrc <> 0.
ENDIF.

In the above ta structure i can able to pass the values,
but ta_audit i am not able to fill it, I mean Which data i need to pass it.

I was debug the Standard source code After execute the SM20.

the ta_audit structure is filling by function module.

CALL FUNCTION 'RSAU_SEL_DUMP'
IMPORTING
itself = ta_audit.

Then ta_audit is filling. But If i run the RSAU_SEL_DUMP IN se37 it is not giving there is no output. But while running the Code it is ta_audit is filling.
How could i execute the RSAU_SEL_DUMP'

0 REPLIES 0