Audit Transactions?

Hi,
I have turn on the audit function in database but I don't know how to track the record changes.
for example: I have a temp table with values '123' and update to "345".
I have checked the following 2 audit tables and want to see what data changes in the temp table. But I couldn't find any.
select *
FROM sys.aud$
where obj$name ='TEMP'
order by 4 desc
select *
from DBA_AUDIT_TRAIL
where obj_name ='TEMP'
order by 5 desc
I am using database 9i (9.2.0.3), can anyone give me some hints?
Thanks.

The audit trail is stored in the SYS.AUD$ table. It's contents can be viewed directly or via the following views:
* DBA_AUDIT_EXISTS
* DBA_AUDIT_OBJECT
* DBA_AUDIT_SESSION
* DBA_AUDIT_STATEMENT
* DBA_AUDIT_TRAIL
* DBA_OBJ_AUDIT_OPTS
* DBA_PRIV_AUDIT_OPTS
* DBA_STMT_AUDIT_OPTS
The audit trail contains alot of data, but the following are most likely to be of interest:
* Username : Oracle Username.
* Terminal : Machine that the user performed the action from.
* Timestamp : When the action occured.
* Object Owner : The owner of the object that was interacted with.
* Object Name : The name of the object that was interacted with.
* Action Name : The action that occured against the object. (INSERT, UPDATE, DELETE, SELECT, EXECUTE)
refer the following links:
http://www.oracle-base.com/articles/8i/Auditing.php
http://www.oracle-base.com/articles/9i/SecurityEnhancements9i.php#FineGrainedAuditing
http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/audit.htm
Total questions: 17 (16 unresolved) , mark the question as answered if you satisfied with replies.
Announcement: Forums Etiquette / Reward Points
Posters, please mind these common-sense rules when participating here:
- When asking a question, provide all the details that someone would need to answer it. Consulting documentation first is highly recommended.
- When answering a question, please be courteous and respectful; there are different levels of experience represented here. A poorly worded question is better ignored than flamed - or better yet, help the poster ask a better question.
- It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
- See more tips in the FAQ
Thanks for doing your part to make this community as valuable as possible for everyone!
- OTN http://forums.oracle.com/forums/ann.jspa?annID=718

Similar Messages

  • SAP license auditing transaction code

    Hi,
    Which t-code will be used for analyzing SAP user license audit?
    Regards
    Kishore

    We can use USMM and SLAW and following is the link for the same.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/ee/ee133bfae0750ce10000000a11402f/content.htm
    Steps
    1)Categorize the user like cat 1 etc before starting the audit.
    2)External communication to SAP should be on to send the results to SAP,.
    Please let me know if there is something else you have done.
    satish kumar

  • How do I get the Audit Intersection to appear in HFM Grids?

    Hi ,
    I want to query data in HFM that was loaded via FDM (multiload). When I look at the grid, there is no Audit Intersection option.
    How do I get this to work?
    Thanks

    You can view these transactions only if you have set up your consolidation rules file to store these transactions. You must use the HS.CON function with the Nature parameter in the rules file. If the HS.CON function is not used or if the Nature parameter is not specified in the function, the system will not generate any audit transaction detail during the consolidation process.

  • Built-in Audit Framework in SAP XI

    We used to custom build audit/transactional data repository in EAI tools if not available out-of-box. 
    For example:  Let's say a file with 1000 accounting transactions dropped from a legacy system.  XI loads the file, transforms and maps to IDOC and then posts an IDOC for each transaction in the file.  We need to have audit of how many files received, how many transactions and IDOCs processed, how many are posted successfully etc.
    Is XI providing any built-in audit or transactional capability for this, instead of writing this in XI.
    Thanks and appreciate your feedback.

    Hi,
    Between Runtime workbench and SXMB_MONI , XI provides all the information you mentioned as audit information. You could refine your search filters for getting precisely the information you are looking for.
    Thanks,
    Naveen

  • TSV_TNEW_PAGE_ALLOC_FAILED during run of SAP licence Audit

    hello,
    when trying to process the SAP License Audit transaction YSALSA on PSO with the full data amount a runtime error " TSV_TNEW_PAGE_ALLOC_FAILED" occurs.
    I checked the runtime error and found the following.
    The amount of storage space (in bytes) filled at termination time was:
    Roll area...................... 2718352
    Extended memory (EM)........... 2002743520
    Assigned memory (HEAP)......... 1996993152
    Short area..................... " "
    Paging area.................... 131072
    Maximum address space.......... 4294967295
    These are the parameters set for memory
    abap/heap_area_dia: 2000683008
    abap/heap_area_nondia: 2000683008
    abap/heap_area_total: 2000683008
    it is a 64 bit HP-UX system.
    I would like to know if there is any other solution rather than changing the memory parameters.
    Thanks,
    Rajiv

    Hello,
    Its a memory issue, In ST22 you can see how much memory was occupied and how much was requested.
    Sometimes this could be due to other program or activites which have consumed larger parts of memory and other programs can not get there share. Have you tried at the times where there is less workload.
    As suggested in other post, You can increase the memory accordingly.
    Regards,
    Vamshi.

  • DB Audit from App Server

    Hello guys,
    I'd like to audit transactions, coming from App Server.
    We have an application, that uses one database account, and all the connections to the database are coming from the App Server, obviously. That's why I cannot log the client IP, OS-User etc.
    What would you recommend to me to meet my this requirement ?
    11gR3, no DB Vault.
    Thanks a lot,
    Regards

    Hi Vlad Visan,
    Thank you for the reference, it gave an idea to me.
    You mean, this should be set by during the development process on application ?
    It's an enterprise application, I'll discuss on this, but not sure if they can optimize the codes fastly for this usage.
    If you have any other solution or an idea, let me know please
    Have a nice day

  • Read attachment details of Audit Question (PLMD_AUDIT)

    Hi Experts,
    Kindly request you to assist me on the below.
    I'm trying to build a solution using ABAP for a requirement, where the logic has to find the attachment details of an audit question or action on the audit transaction (PLMD_AUDIT).
    For example, please see the attached:
    Screen shot 1.--> I'm not able to build the solution to check whether an audit question/action is having an attachment.
    Screen shot 2.--> If the attachment exists, then how to get the attachment and send an email.
    Appreciate your valuable inputs.
    Thank you
    Mahendra

    Hi Experts,
    Kindly request you to assist me on the below.
    I'm trying to build a solution using ABAP for a requirement, where the logic has to find the attachment details of an audit question or action on the audit transaction (PLMD_AUDIT).
    For example, please see the attached:
    Screen shot 1.--> I'm not able to build the solution to check whether an audit question/action is having an attachment.
    Screen shot 2.--> If the attachment exists, then how to get the attachment and send an email.
    Appreciate your valuable inputs.
    Thank you
    Mahendra

  • DBMS_XMLGEN package

    Hi
    I have a table with following colums
    table name :TRANSACTION
    columns:
    ID
    STATUS
    CREATEDBY
    CREATED ON
    I want to generate an xml for the colums with the following format
    <transactions>
    <transaction>
    <id> 1</id>
    <status>A</status>
    *<audit>*
    <createdby>LINI</createdby>
    <createdon></<createdon>
    *</audit>*
    </transaction>
    <!--more transactions -->
    </transactions>
    can it be dione using DBMS_XMLGEN package? I am not able to insert *<audit>* tag in between. Please help

    Maybe this:
    SQL> declare
      x   int;
    begin
      x :=
        dbms_xmlgen.newcontext (
          'select id "id", status "status", xmlconcat(xmlelement("createdby", createdby), xmlelement("created_on", created_on)) "audit" from transaction');
      dbms_xmlgen.setrowtag (x, 'transaction');
      dbms_xmlgen.setrowsettag (x, 'transactions');
      dbms_output.put_line (dbms_xmlgen.getxml (x));
    end;
    <?xml version="1.0"?>
    <transactions>
    <transaction>
      <id>1</id>
      <status>A</status>
      <audit>
       <createdby>LINI</createdby><created_on></created_on>  </audit>
    </transaction>
    </transactions>
    PL/SQL procedure successfully completed.?

  • How can i  get report no of user login in system

    Hello
    how can i  get report no of user login in system
    means user license login per day in system
    what is strategy of SAP against licenses audit
    how can i manage my license users ??????????
    Jayesh

    Hi Jayesh
    You can use the Audit Transactions. Set the Audit Profile with Tx SM19 and then report with Tx SM20.
    You can also use the programs CCUINIT and CCUEVAL. Report CCUINIT initialises the measurement of current users and report CCUEVAL will provide the report and the logs for you to download.
    Also regarding the licensing of users,
    Refer to http://www.sap-img.com/sap-overview/help-to-understand-sap-licenses.htm
    and https://websmp104.sap-ag.de/licenseauditing
    You will get everything you need
    Rohit

  • MIR7 - Error5808

    Hello,
    we have a problem with the Park Invoice (MIR7).
    On the general ledger block of the logistics audit (transaction MIRO) the field BEWAR (transaction type) is present, which are not supported.
    The field BEWAR is filled, yet the error comes: "Field Trans.Type is a required field for G/L account 0001 39130" (Error F5808).
    Why aren't contents of the field accepted?
    Regards
    J.V.
    Our System:
    SAP ECC 6.0 - SAPKH60302

    Dear J.V,
    not sure if you still have this issue but:
    For MIRO to automatically fill the business area it must be able to
    uniquely identify a business area.
    This means that for multiple materials each one must have the same
    business area for IV to fill the vendor line item.  This does not
    appear to the case here so MIRO is not able to determine whether it
    should use the business area it is able to determine or none at all
    so it uses none.  This is the way the system is designed.  To correct
    his I recommend reviewing your material set-up and try to correct
    any business area inconsistencies.
    The System fills the Business Area in the Vendor Item if a Business Area
    can explicitly be determined from the Offsetting Entries. If several
    Business Areas were used for the Offsetting Entries, the Field in the
    Vendor Item IS NOT FILLED.
    Because 'several' Business Areas are used the Field in the Vendor Item
    is not filled.
    If you repeat the Simulation with only Items with the same Business Area
    the system will set the same in the Vendor Item.
    1) To eliminate the Error F5808 you would have to change the Setting in
    Transaction OBC4, and set the field to 'optional'
    Field Status Variant : xxxx
    Group                : xxxx
    Additional Account Assignment
    Business Area        : Required  > change to Optional
    This should allow an Invoice posting with several Line Items including
    including different Business Areas.
    2) Also, please check the field status of the posting key in OB41.
    3) To determine the field 'Business area' automatically in the creditor
    line, you select the field 'Business area B/S' in Transaction OB65
    (financial accounting).
    Hope that helps,
    Jon

  • MM - MIR7 - Field BEWAR- Error F5808

    Hello,
    we have a problem with the Park Invoice (MIR7).
    On the general ledger block of the logistics audit (transaction MIRO) the field BEWAR (transaction type) is present, which are not supported.
    The field BEWAR is filled, yet the error comes: "Field Trans.Type is a required field for G/L account 0001 39130" (Error F5808).
    Why aren't contents of the field accepted?
    Regards
    J.V.
    Our System:
    SAP ECC 6.0 - SAPKH60302

    In config you can define the field status for Posting Keys and Field Status groups.
    View your GL a/c in FS00, check the FSG.
    Go into config, ****, Document, Line item, FSG
    View the settings for your FSG
    Underneath that there is the PK definition, you can see the settings for field status per PK.

  • CONCSUB WITH PARAMETERS IS FAILING

    Hi,
    I am using CONCSUB command in one of my shell program, where in it will get the parameters from report. Below mentioned is my command.
    CONCSUB $p_userid_passwd AR "Receivables Manager, RP" $p_user_name WAIT=Y \
    CONCURRENT XXRP XXFND_SEND_MAIL $v_conc_request_id "$p_to_role" "$p_from_role" "$p_subject" "$p_body" "$p_dist_list" '""' LANGUAGE=AMERICAN
    The parameters are running text like some times in p_subject i will get big description like 'emailing transaction report'
    this parameter is splitted into three and supplied into rest parameters.
    As per developer guide if we have running long running text we need to enclose first in double quotes and then again in single quotes. When I am doing in that way it is showing all errors results. Sometimes all values get merged into one thing.
    Please help me how to differentiate when they are passing like above mentioned.
    Regards,
    nagendra

    Error is that for pl/sql script five parameters but through variables when I am sending to concurrent program they are splitting into 8 parameters.
    like i am passing these parameters to pl/sql script
    452024, DC.DKHOO, DC.DKHOO, rp audit transaction report, please find, RP_EMAIL_DIST_LIST2
    then in shell program it is being shown as
    452024, DC.DKHOO, DC.DKHOO, rp, audit, transaction, report, please, find, RP_EMAIL_DIST_LIST2
    The problem with concsub is that it will consider space as ','. So it is placing comma after every space. In the developer guide itself only they mentioned we can double quotations and single qutotions.
    '"this is an example"'. This works fine when you are passing manually. But when sending programatically like this '"$P_SUBJECT"'.  Then I am getting value as $P_SUBJECT in place of valuePlease let me know how to use running text value parameters in CONCSUB.
    Regards,
    Nagendra

  • SAP Accounts Statistics

    Hi Experts,
    I have two questions, hope you could help me.
    (1)How to work out all SAP user accounts' login times in a month?
    (2)How to work out the SAP peak concurrent users?
    Thanks!
    Jason

    Hi,
    Execute the Transaction SE16 then give the table name as usr02 and select execute.  In the next screen give date range.  Using this you can find the requested information.
    You can also use audit transaction sm20/19  and use the programs CCUINIT and CCUEVAL. Report CCUINIT initialises the measurement of current users and report CCUEVAL will provide the report and the logs for you.
    You can use the se38 to execute the program.
    With Regards,
    Krishna.

  • IP address of material doc

    Dear MM guys,
    Any method to find out which IP address a material doc been processed?
    Even via any audit transaction.
    Our scenario is 3 persons share a sap user account but not per work shift, we would like to find out who executed a corresponding GR material doc.
    Thanks in advance.

    Hi,
    This issue can be solved like this . While posting the MIGO in any of the reference fields of header or texts fields let them maintain their name or any other code so that this can be easily identified through  tables like mseg or any other . also sap stores the time of entry so that through that you can identify .
    Regards,

  • BACKGROUND_USER

    Hi Friends,
    My sap system shows that a user BACKGROUND with user type as background last logon recently. Is there anyway to check which program is used to access this background user ? or any way trace file that provides a detailed information about this user activities or access recently?
    Please provide your inputs.
    Thanks in Advance.
    Thanks and Regards,
    Vimal

    Hi Vimalan, There are multiple ways to trace this user activities.
    1. You can activate trace only fo this user using st01, st05 and st05.
    2. You can use security audit transactions to check what activity has been perfromed from this user thru tcodes sm19 and sm20(this option will work only when security audit loggin is activated in you SAP system).
    ++  : Were you able to solve your Printer getting locked probelm ?
    Hope it helps.
    Regards, Amber S | ITL

Maybe you are looking for

  • Error publishing reports from BW

    Hi, I am facing some issues while publishing reports from BW system. I have taken care of all the settings mentioned in Integration Kit guide. We are using BOXI 3.1 SP3  OS:windows 2008 (64-bit) The error that we are getting is: "0000000001 An error

  • Do you need to generate HTML table rows from XML in InDesign?

    General issue: you export XML and you get a bunch of content for xml elements that were a table in inDesign. But they don't have any rows, just cell after cell. What will make rows in your output? Solution: XSLT; you need to use the @aid:tcols attrib

  • Help! iPhone 5 works with iCloud for Contacts and Photo Stream, but Not Music!

    Okay, totally stumped! I have an iPhone 5, which, new, I restored from wife's iPhone 4 backup, remotely (3 Months ago). I just signed into our family Apple ID, chose the most recent backup, and did a restore. So, contacts, and photos and Apps backup

  • My iphone 4 is dead with water damage. Is there a way to recover data from the dead phone.

    My iphone 4 is dead with water damage. Is there a way to recover data from the dead phone. Could any one help where exectly the memory chip (not RAM) resides in the phone. Is it on the motherboard or a seperate component in the phone?

  • Deleting Error Logs: It is fine to do it?

    Today my Messenger: Mac 8 Beta application crashed and created an error log, I sent it to apple. After that, I was able to find the location of the file in the system/library/logs/ in a "Error Diagnostic" (I don't remember the name of the folder) fol