Get SM20 Audit Log from remote call.

Hi Experts,
I'm working with SAP JCo driver, I'd like to ask, is there any possibility to receive filtered Audit Log from SM20?
I couldn't find any BAPI or RFC interface, or information about specific table where information is stored.
Thanks in advance!
Best regards
Bartosz

Hi,
You can activate the internal audit system by setting the audit log parameters as described in the following table : 
Audit Log parameter settings Audit Log Parameter Set value to... 
rsau/enable 1 
rsau/local/file path to audit log file 
rsau/max_diskspace/local maximum space to allocate for the audit files 
rsau/selection_slots 3 
rec/client ALL
Thanks,
Hamendra

Similar Messages

  • Standard Web Service to get message audit log?

    Hi,
    Is there any standard web service to get the audit log of a message based on its message id?
    Thanks in advance.

    Standard web service is not available....however if you want to get the audit log details then you need to make a JCo call (if i am not wrong) to one of the SAP tables: XI_AF_MSG_AUDIT
    Regards,
    Abhishek.

  • How to extract audit log from R/3 into BW

    Hi, I have a request that how to extract audit log from r/3 into bw?
    Is there any datasource or infocube  I can use?

    HI ,
    Identify your Audit Log table and create generic data source for the same using rso2. 
    Regards
    BVR

  • Fetching Audit log from sm20 tr-cd

    Dear guys,
    I am asking this question from quiet long time..
    but no body replies with enough information....could somebody plz tell me,is this something vague job to do or my explanation is insufficient.?
    i debugged the code at SM20 program too..but i could not observe the suitable FM to fetch audit log texts and put in Internal tableshortly.Even though i went thru SECU FGroup..saw audit log related FMs.
    could somebody follow this post..i could reward points once i get answer for my question.
    Thanks in advance.
    ambichan

    Hi,
    You can activate the internal audit system by setting the audit log parameters as described in the following table : 
    Audit Log parameter settings Audit Log Parameter Set value to... 
    rsau/enable 1 
    rsau/local/file path to audit log file 
    rsau/max_diskspace/local maximum space to allocate for the audit files 
    rsau/selection_slots 3 
    rec/client ALL
    Thanks,
    Hamendra

  • How to get the entire database from remote server to my server

    Hi,
    I am running a web application with sample data. Now i need to access the original data through this application. But the original data is located in the other server which is located in Mumbai.
    Now i need the copy of that database to my system(Chennai). with minimum effort.
    It is very urgent...
    Thanks in advance...
    Chaitanya.

    Hi
    Nicolas is right. You can also take advantage of exp/imp utility. That would not only get the entire db in one file but also the size will be a fraction of the entire db size.You can search for DataPump (that uses expdp and impdp) utility to expedite the export/import process.
    For simple exp/imp you can do the following.
    From Remote site(MUMBAI) issue
    ORACLE_HOME\BIN\exp file=c:\fulldbexp09sept05.dmp log=c:\fulldbexp09sept05log.log FULL=Y userid=system/pwd@connectstringOfyourdb
    Get a copy of fulldbexp09sept05.dmp and place it on your local drive in Chennai
    On Local Site (Chennai)
    ORACLE_HOME\BIN\imp file=fulldbexp09sept05.dmp log=fulldbimp09sept05 FULL=Y userid=system/pwd@connectstringOfyourlocaldb
    By this you can take advantage of having a different db name on remote and local sites. This is a fairly easy exercise. You just need to be sure that in your TNSNAMES.ORA you have correctly defined the connectString for your db.
    PS: Create a database on local server with default settings.
    Make use of following to create appropriate tablespaces and users if you desire ie.
    1. On Remote Site open SQLPLUS session and issue this command to find out the tablespaces, datafiles and their sizes
    SQL>SELECT SUBSTR(file_name,1,60) FILE_NAME, tablespace_name, bytes
    FROM dba_data_files
    GROUP BY tablespace_name, file_name;
    Now create the tablespaces on local sites using the result of the above query.
    2. On Remote Site open SQLPLUS session and issue this command to spool user creation script.
    SQL>spool c:\createuserscript.lst
    SQL> SELECT 'CREATE USER ||' IDENTIFIED BY VALUES '||'"'||PASSWORD||'"'||' DEFAULT TABLESPACE '||DEFAULT_TABLESPACE||' TEMPORARY TABLESPACE '||TEMPORARY_TABLESPACE||';'
    FROM dba_users
    WHERE username NOT IN ('SYS','SYSTEM')
    ORDER BY username;
    SQL>spool off
    Now edit this createuserscript using any editor and replace " with '. Copy this file to the local server and run it using @. This will create appropriate users.
    Let me know if you have any problems.
    Regards
    Adnan Mashhadi
    Nicolas I am not sure as how to eliminate the " in my script. Any comment will be appreciated.

  • Tail command to read httpd log from remote machine

    hi!
    does anyone know how to read the httpd log file using the tail command froma remote machine?
    i have a mac using osx sharing the internect connection to other machines. this machine has the http server running on it and i would like to check the httpd log file (from this server) from my computer in the same LAN.
    can anyone help please??
    G5 2.5ghz dual   Mac OS X (10.4.4)  

    As Ashish rightly said, you need to use ftp/scp.
    You can create a shell script on unix machine. Which shall copy the file from Windows machine to Unix machine on particular directory. Then you may need to change permissions of the file.
    Once that is done, same shell script can call procedure in oracle.
    You can schedule this shell script in Crontab to run at specified time daily, if you the timing of availability of file.
    Regards,
    Arpit

  • How to get the job logs from sm35 by using the queue id and session name?

    hi all,
    can any one please let me know how to read the job log from sm35 by using the session name and queue id. i have the job name and job count but is it possible to download the job log by using the queue id and session name.
    FYI..
    i want to read this job log and i want to send it to an email id.
    -> i am using the job_open and submitting the zreport via job name and job count and then i am using the function module  job_close.
    but this is not working in my scenario i have the queue id and session name by using this two i want to get the job log is there any function module available or code please provide me some inputs.
    thanks in advance,
    koushik

    Hi Bharath,
    If you want to download it to the local file then you can follow the instructions in the below link.
    How to download Batch Input Session Log?
    Regards,
    Sachin

  • Write to audit log from Axis Handler

    Hi guys,
    Using PI 7.11 SP 04 I have deployed the com.sap.aii.af.axisproviderlib.sda containing the libraries for Axis.
    This is deployed fine and I can write my Handlers without trouble.
    There is only 1 issue bugging me and that is the writing to the Adapter Audit Log. In SAP Note 1039369 FAQ XI Axis Adapter it is described how to write to the Audit log.
    I can successfully write to the Channel monitor. But when I try to write to the Audit log data is still just written to the Channel monitor and not the audit log.
    So what I have done is:
    StatusAgent sa = (StatusAgent) getOption(Constants.MONITOR_AGENT_KEY);
    Hashtable ht = getOptions();
    ht.put("audit", Boolean.TRUE);
    ht.put("pivoted", Boolean.TRUE);
    sa.reportEvent(Status.OK, "This should be written to audit log but is written to channel monitor", ht);
    sa.reportEvent(Status.ERROR, "This should also be written to audit log but is written to channel monitor", ht);
    If i print the content of my hashtable in the channel monitor I can see that my entries are put into the table just fine. The 'audit' entry just seems to be completely ignored.
    Anyone have and suggestions?
    Regards,
    Daniel

    Hi Guys,
    I need to know what JAR file i need to download for the following packages from SAP PI.
    import com.sap.aii.axis.monitor.Status;
    import com.sap.aii.axis.monitor.StatusAgent;
    import com.sap.aii.axis.utils.Constants;
    I am doing AXIS custom modules and i need to write to the PI 7.1 Audit Logs.
    Thanks in advance.
    Raj

  • How to get the user log from the entried planning data ???

    Dear All,
    Could you help me to give the suggestion regarding that please .. ?? :).
    I have requirement to get the last user who in charge in modifying the planning data.
    Or in the other words, i'm gonna get the log from the entried planning data.
    e.g.
    1. Phase 1 - My Friend:
    Create the planning data :
    Country           Sales
    INA                 $1000
    2. Phase 2 - I update it and create new record.
    Country           Sales
    INA                 $1500          < modified >
    USA                $400           < new >
    Could i get the log from those records ??
    The log can be contain:
    the created user       &   modified user ??
    I just read the article regarding status and tracking system in BPS, but could i cover that requirement ??
    (Because i got that the status and tracking system for creating a workflow for planning).
    Or ..
    Is there other way that can fulfill this requirement  ???
    Really need your guidance all.
    Regards,
    Niel.

    Dear Mayank,
    Tks a lot for your responses.
    I've tried it but in BPS version..
    I saw in the document there is GUID (unique ID), could you explain me what the objective is ???
    I work out to plan to store the user created, date created, and planning level information in the log data.
    What do you think ..
    Is it better to display them in the BEx Report / another manual planning layout ???
    What did you display the log data in your case ??
    Still need your guidance ..
    Really - really thanks.
    Niel.

  • Monitoring audit logs from solution manager

    Hi All,
    Is it possible to moniotor the audit logs of other systems from Solution manager system..?
    If it can be done,please  throw some light on that ..thanks

    Can you please put some more info to the kind of monitoring you are looking for?. Is it on Security Audit log oor general Application Audit log?.
    Regards,
    Jagan

  • How to get the report name from the call stack

    Hi,
    I have a question about how to get the caller information dynamically in a function module.
    For example.
    ZGET_CALLER_INFORAMTION,
    get the caller name -- how ??
    Thanks in advance
    Best Regards,
    Johnney

    Hi,
    You can use SY_CPROG -  caller in external procedures, bye using this u can get the progam name.
    Regards,
    kavitha.k

  • FXO not disconnecting from remote call

    Hope this is the correct place to post my issue, I'm running CCME on a 2801 with IOS c2801-ipvoicek9-mz.124-11.T.bin, I can make calls ok and also receive them ok, my problems start when I do not answer the call; I have tested this using my mobile; when I call my land line it rings as normal but if I end the call from the mobile the phone keeps ringing for another two minutes, does anybody know what is causing the FXO to hold the call for another two minutes
    Many Thanks
    Martyn

    Hi
    I have the issue with AA from CUE, the FXO port stay off hook for a while, so if you can show me your config to see the AA it would be great.
    here is the mine
    voice class custom-cptone bolivar
    dualtone disconnect
    frequency 1450
    cadence 500 500
    voice-port 0/1/0
    supervisory disconnect dualtone mid-call
    supervisory custom-cptone bolivar
    no battery-reversal
    no vad
    cptone VE
    timeouts call-disconnect 5
    timeouts wait-release 5
    timing hookflash-out 100
    timing guard-out 300
    connection plar opx 105598 <---- AA RP
    station-id name L1 XXXXXXXX
    station-id number XXXXXXXX
    If I change the DN from the RP to an IP Phone and this not answer the call everything work as expected
    Thanks for any help you could give me

  • Cannot get eprint to print from remote sender

    I had a computer tech install the my HP Office Jet Pro 8600 and install the  eprint program on my new Toshiba laptop.We were able to get the email address for my computer and change this to a personal email eprint address.After installation when I sent an email to my printer from my phone I got a message that the email could not be delivered because the address failed. I am using an HP Office Jet Pro 8600 with Windows 7. The tech thinks that something is blocking the email but can't figure out what it could be. Anybody got an idea how I can get this to work?

    Hi Wavemama, 
    You go to www.eprintcenter.com, sign in, then on the right-hand side there is a "chat with an expert" kink. 
    - Josh M. 
    Although I work for HP, my posts and replies are my own opinion and not those of HP.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!

  • IPod 4 can't get FaceTime to log in or call

    Both my daughters have ipod 4. They were using FaceTime with no problems, then one stopped working and the only way she can login is as me. But then she can't FaceTime me as it says I'm unavailable. How do I get her login right? It won't take her Apple ID as far as I can see.

    Welcome to Apple Discussions!
    Try this. Go to video-->video settings-->TV Out-->Off
    Does that help?
    btabz

  • Sm19 audit log

    hi friends,
    I have activated audit log and i can able to view log with SM20. But I have one doubt .......is that audit log occupies space in file system only (or) Database level only? or it occupies both? is it possible to get this audit log from any table? never mind please clarity my doubt.
    thanks
    nani

    Hi,
    Please check below link.
    http://help.sap.com/saphelp_nw04s/helpdata/EN/03/37dc4c25e4344db2935f0d502af295/content.htm
    Anil

Maybe you are looking for

  • Safari 7.0 in Mavricks not working correctly

    Yesterday, I bit the bullet and loaded Mavericks (OS X 10.9). The upgrade went well, or so it seemed. Now I am having issues with Safari 7.0. Sometimes it WORKS, other times it CRASHES. When It CRASHES i have to resort to Activity Monitor and FORCE Q

  • Macbook with Thunderbolt setup

    i am very interested in the Thunderbolt display, i currently have a mbp and would love to use the thunderbolt as a dock to charge and do work on, what i dont understand is, why or how does the thunderbolt cable come into play? if the thunderbolt disp

  • Iphoto loses pictures from library

    Hope someone can help. I have no trouble importing pics from my camera or desktop into iPhoto. However, once I reopen iPhoto they've disappeared from the library and events. If I've put them into an album they're in there but no sign of them anywhere

  • HR report Category - only time period selection

    Hi experts, Do you know what is the name of HR report category which allow only time period selection? Thanks!

  • Won't sort in alphabetic order. Listed by type.

    The music on my iPod and iPhone does not go in order. They are in alphabetic order in mp3 formate then start over at A again for the AAC types. Is there a setting I clicked in iTunes that I don't know about? I have all my "singles" organized by genre