2005 Jun 21 5:56 AM
Dear experts,
i want to fetch audit log information from audit file
and place it in new file. so i debugged SM20 program and made below code. i am struck up here.
What logic subroutine i have to take from that program to continue from this to make text information.
could you pls tell me...i am really struck up here for past two days.
pls..
ambichan.
CALL FUNCTION 'RSAU_SELINFO_INIT'
CHANGING
AUDIT_SELECTION = AUDIT_SELECT.
TA-WHICHLOG = 'L'.
FILE_NO = 1.
CALL FUNCTION 'RSAU_READ_FILE'
EXPORTING
SELECTION = TA
SELECTION_AUDIT = AUDIT_SELECT
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
AUDIT_FILE_STAT = AUDIT_FILE_STAT.
how to proceed from this....
Message was edited by: ambi chan
2005 Jun 21 8:38 AM
Did i made my question more tough one? why no replies...from experts...
2005 Jun 21 9:14 AM
Hello,
I don't understand the question, you know french people are too bad in english
Regards
Frédéric
2005 Jun 21 9:26 AM
Sorry Frederic,
May be my explanation is too poor.
Let me explain my requirement in short and clear.
In screen i have To inputs FROM date,time and TO date, time.
When i execute this input, I want to fetch Audit log files(stored in applserver) corresponding to this date and append to new text file(my user file).
how to do this.
I used above two FM to fetch the files and file information.
but unable to create listing format such as usrname,client,mandt,trcode,msg etc....in text file.
do you have any idea how to do this.
ambichan
Message was edited by: ambi chan