Skip to Content
0

Need some information about Audit log Function module RSAU_READ_FILE

Mar 02, 2017 at 05:43 AM

176

avatar image

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'

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers