Application Development and Automation 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: 
Read only

logic problem.

Former Member
0 Likes
459

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

3 REPLIES 3
Read only

Former Member
0 Likes
385

Did i made my question more tough one? why no replies...from experts...

Read only

0 Likes
385

Hello,

I don't understand the question, you know french people are too bad in english

Regards

Frédéric

Read only

0 Likes
385

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