How to find user who loaded the procs in DB

Hi guys how to find user who loaded procs in database ..and the date...
is there anyway..
i tried to look at all_objects..but it didnot workout..
thanks

That is correct. You will only have audit rows for item that you are auditing. I am suggesting you audit all DDL in a production database since production jobs should not perform DDL with the probable exception of truncate. This will provide this type of information going forward. It will not help you answer the question of who created the procedure last week?
Auditing is explained in the Security manual and the full comand syntax is available in the SQL manual.
You can easily write a purge the audit data to remove data once it is no longer of interest based on the date the audit row was created.
HTH -- Mark D Powell --

Similar Messages

  • How to find users who are running IE with different credentials ?

    How to find users who are running IE with different credentials ? 
    Is there any tool or a solution in the market will help or a i can use GPO or even Power Shell ?
    thnx & Regards ,,

    Hi Salman,
    Based on your description, we can use Windows Credential Manager to check this. Windows Credential Manager stores credentials, such as user names and passwords  that we use to log on to websites or other computers on a network.
    Regarding Credential Manager, the following article can be referred to for more information.
    Credential Manager
    http://windows.microsoft.com/en-in/windows7/what-is-credential-manager
    Manage passwords in Internet Explorer using Credential Manager
    http://www.thewindowsclub.com/manage-passwords-internet-explorer-10
    Please Note: Since the above website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Frank Shen

  • How to find users who are inactive.

    Hi I want to find users who left the company. I ran program rsusr200 in se38 but not understanding which option will clearly give me the invalid users. Also i had a doubt. Does users with password deactivated that the user left the company.
    Thanks in Advance for your help

    The "password" field in this report will not necessarily show you users who have left the company. The password may be be "active" since this is a new user and they have not yet logged on. You would need to compare as well the field "Created On". I would use the last logon field as an indicator of who may have left - if someone has not logged on in 90 days, that could be an indicator.

  • FM to find user who locked the object using enqueue...

    Hello,
    How can I find name of user who enqueued the lock object in ABAP ?
    Regards,
    Jainam.

    Hi Jainam,
    See the SAP documentation, e.g. [FAQ - Lock concepts|http://help.sap.com/saphelp_NW04/helpdata/en/cb/168237d30d974be10000009b38f8cf/content.htm]:
    How can I find out who is currently holding the ungranted lock? In other words, how can check the program after an ENQUEUE to determine which use is currently holding the lock so that I can let him or her know?                                 
    This graphic is explained in the accompanying text Answer
    When the ENQUEUE_... function module is returned, the name of the lock owner is listed in SY-MSGV1.
    If you don't want to attempt to lock an object and just check who might own a lock use function module ENQUEUE_READ. Lots of comments in the forum...
    Cheers, harald

  • How to find out, who locked the same row

    Dears,
    I have a problem,
    sometimes our user complain that, when he tyring to make a transaction to a specific customer's Account
    its says 'Some other user access the same account, keep trying...' (like this).
    and in this response I just kill that user's session. then he can make the transaction by reconnecting.
    sometimes my solution(killing the session) can not slove this problem.it stayed even 5/6 hours long.
    in this time,i cannot find any bloking session or such a long waiting session.
    In this Scenario..
    I need to find out who(SID,SERIAL#,USERNAME) locked the same ROW (not table).
    There are many users who are locking different rows of the same table at the
    same time. I need to find the one who locked my row.
    is it possible to find out, who locked the specific customer's Account ?
    I am trying to find out by the following query but failed.
    SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id
    SELECT *
    FROM (SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id)
    WHERE rowidd IN (SELECT ROWID
    FROM account_mas
    WHERE branch = '999' AND accout_no = '009990215454')
    please help me...
    My Database version- 10.2.0.4, windows
    Regards
    Halim
    Edited by: Abdul Halim on Oct 26, 2009 2:43 AM

    Just check with this query, find the lock and kill the session.
    select b.session_id ,a.SERIAL#, a.username "Blocker Details"
    from v$session a,dba_lock b
    where b.session_id = a.sid
    and b.blocking_others = 'Blocking';
    Regards
    Asif kabir

  • How to find out who deleted the central person ID of a pernr.

    Hi,
    I have a pernr 100 whose central person ID is deleted. I would like to know how can i find out who deleted it. Which table gives this information.
    Thanks & Regards,
    Soumya.

    It is stored as a relationship in HRP1001 & unless you have table logging turned on for this db table, I don't think you will be able to find out who deleted the Central Person. You can try running the Report RHCDOC_DISPLAY .
    ~Suresh

  • How to find out who deleted the standard table enteries

    Hi,
    Somebody has deleted entire KNA1 in one of our systems. Is there any way to find out who deleted the entries?
    Thanks & Regards,
    Kumaran Duraiswamy.

    Hi
    Look for help from an ABAPer. Go to SE11 for KNA1, use 'where-used list (ctrlshiftF3) and search for report that begin with Z* or Y* (perhaps LZ* or LY*, ie: function modules). See the ABAP coding if there is any instructions type:
      DELETE kna1 FROM xxx.
    Check too if the option &SAP_EDIT in tcode SE16N works in your system (see SAP Note 1420281 - CO-OM tools: SE16N: Deactivating &SAP_EDIT for instance)
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot it, if option &SAP_EDIT works in SE16N, check the tables SE16N_CD_DATA and SE16N_CD_KEY.
    Edited by: E_Hinojosa on Jun 24, 2011 11:04 AM

  • How to find out who deleted the directory in Unix

    Hi Experts,
    In my system some body tampered the directories, and more over some body deleted the bin directory under the /usr/sap/trans in Unix operating system. now i am checking to find out who deleted and for the more logs.
    i am unable to find out the user name and deleted directory logs..i know its completely related to the unix level but mean time i am searching for the same.
    Any ideas and clues will be heighly appreciated.
    -Srini

    To know the OS would have been helpful
    First ask the people around you if anybody did it, maybe he is man enough to admit...
    Try to find out who logged at the time when the directory was deleted.
    - check the OS syslog (/var/adm/syslog/syslog.log for hp-ux, /var/log/messages for linux)
    - try the last commando to get a list of who logged on when
    - check the command histories of the sidadm, root user, use the history command, or the h alias
    - check if there are scripts running, which regularly delete files
    As the trans directory might be NFS mounted to other servers, you might need to do the checks there too.
    Best regards, Michael

  • How to find out who deleted the archive logs

    Hi All,
    Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
    OS Version :-
    SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
    Database Version:-
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012

    888132 wrote:
    Hi All,
    Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
    OS Version :-
    SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
    Database Version:-
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012As explained by others, from oracle database there is no record if they are deleted from OS.
    But you can probably find the history of OS command been run with history command :). You can get the date and time.
    Following link can help
    http://stackoverflow.com/questions/99755/how-do-i-get-the-command-buffer-in-solaris-10
    http://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/
    http://www.linuxquestions.org/questions/solaris-opensolaris-20/in-solaris-command-line-how-to-get-the-previous-commands-573814/
    But i suggest you to post in Sun OS forum to get more details as its nothing to do with Database(in this scenario)

  • How to find user exit for the transaction PBAW

    Dear Freinds
                 In Recruitment ....PBAW(Job Advertisements--when we execute the
    transaction PBAW ...we can find create Advertisement...  > here will create posting
    in this screen i have to add a field  Status  . could you please let me know how
    i can add.. Is there any user exit through which i can add a field or there is any way...
    as it is standard..
    regards
    Vamsi.

    Hello Vamsi,
    This might be of help. It is a program to find user exits based on transaction codes. Just install it on your sandbox and see if it works for you.
    http://www.erpgenie.com/abap/code/abap26.htm
    KR,
    Peter Linn

  • How to find approvers who approved the shopping cart

    Hi All,
      My requirement is as follows:
      If I give the shopping cart document id, I should be able to find
      1) the list of approvers who approved the document
      2) how much time they have taken to approve the document
      3) any pending approvals for the document.
    Can anyone help me in this?
    Thanks,
    Sivagami R

    Hi..
       Here is technical details which will help if you are in SRM 7.0..
       The below methods are in the class /SAPSRM/CL_WF_EVENT_FACADE
       Pass the SC GUID to method 'GET_WORKFLOW_ID_BY_DOCUMENT'  .. get the header workitem id.
       1 . to get the current approvers list call the method GET_CURRENT_AGENTS..
       2.  to get the previous approvers list call the method GET_PREVIOUS_AGENTS.
      if you are in SRM 5.0 then use the below FM's..
    1 . call the FM BBP_PDH_WFL_WI_FROM_OBJECT_GETu2019 to get the header workitem id..
    2 . call the FM u2018BBP_WFL_DIN_APPR_FINALLIST_GETu2019  to get the list approver's for a SC
    3 . if you need the workitem details then call FM BBP_PDH_WFL_WI_DETAILS_GETu2019..
    Regards,
    Saravanan

  • How to find user who released a PO

    Hi all,
    I need a table-field (if exists) to determine the user that has released a purchase order.
    I can find which release strategy and respective status, but not the users that has released it.
    Can any help?
    thanks in advance
    FT

    Hello
    OBJECTCLAS = 'EINKBELEG'

  • How to find out who was the previous owner of an iPad?

    My sister has recently found an iPad 1 WiFi on a bus. To determine the actual owner she had a friend to reset the iPad to factory settings (not sure why though) and now all initial data is lost. Apple Store could not help much, as the iPad was sold by a 3rd party retailer.
    Does anybody know how to determine the previous owner (Apple ID, Device name or other) after a full reset? Would Apple be able to disclose previous Apple ID associated with the device?

    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    Best advice - Turn it in to the local police. Usually if no one claims it after a period of time, it will be yours. And your concious will be clear.
     Cheers, Tom

  • How to find out who made the entry or made changes to a documents?

    Dear All,
    As an administrator I mostly get the query as to made the entry in SAP Business One or who has made changes to the already created documents?
    Can you please advice

    Hi,
    Check this first: Query For Sales Order Amendments
    Thanks,
    Gordon

  • How to find exactly who lock the records

    hi:
    Session1: lock a record for example
    Select e.* from employees e where e.employee_id = 7034 for update;
    Session2: try to lock the same record:
    Select e.* from employees e where e.employee_id = 7034 for update nowait;
    After exception ora-00054 raised query this statement:
    Select Vs.Sid,
    Vs.Client_Identifier,
    Vs.Action,
    Vs.Status,
    Vs.Machine,
    Vs.Terminal,
    Vs.Logon_Time,
    Dmlock.Name
    From Dba_Dml_Locks Dmlock,
    V$session Vs
    Where Dmlock.Session_Id = Vs.Sid
    And Vs.Sid =
    (Select Distinct First_Value(Ash.Blocking_Session) Over(Order By Ash.Sample_Time Desc)
    From Sys.v_$active_Session_History Ash
    Where Ash.Session_Id = Sys_Context('USERENV', 'SID'))

    session #1
    21:28:14 SQL> Select e.* from employees e where e.employee_id = 206 for update;
    EMPLOYEE_ID FIRST_NAME           LAST_NAME
    EMAIL                     PHONE_NUMBER         HIRE_DATE JOB_ID         SALARY
    COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
            206 William              Gietz
    WGIETZ                    515.123.8181         07-JUN-94 AC_ACCOUNT       8300
                          205           110
    21:28:39 SQL> session #2
    SQL> set time on
    21:29:25 SQL>  Select e.* from employees e where e.employee_id = 206 for update nowait;
    Select e.* from employees e where e.employee_id = 206 for update nowait
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
    21:29:51 SQL> session #3
    21:30:18 SQL> SELECT Vs.sid,
           Vs.client_identifier,
           Vs.action,
           Vs.status,
           Vs.machine,
           Vs.terminal,
           Vs.logon_time,
           Dmlock.name
    FROM   dba_dml_locks Dmlock,
           v$session Vs
    WHERE  Dmlock.session_id = Vs.sid
           AND Vs.sid = (SELECT DISTINCT First_value(Ash.blocking_session)
                                           over(
                                             ORDER BY Ash.sample_time DESC)
                         FROM   sys.v_$active_session_history Ash
                         WHERE  Ash.session_id = Sys_context('USERENV', 'SID')) 21:30:44   2  21:30:44   3  21:30:44   4  21:30:44   5  21:30:44   6  21:30:44   7  21:30:44   8  21:30:44   9  21:30:44  10  21:30:44  11  21:30:44  12  21:30:44  13  21:30:44  14  21:30:44  15  21:30:44  16 
    21:30:46  17  /
    no rows selected
    21:30:49 SQL> Your results are duly UNDERWHELMING!

Maybe you are looking for

  • How to retrieve image from MS sqlserver2K

    hi there! Using jdbc-odbc bridge to connect MS SQL2K, I can write a big file into database by prepareStatement() & setBinaryStream(). But I can't get it back to the client by using ResultSet.getBinaryStream() due to an "Invalid cursor state". I even

  • Change scaling for a graph included in an HTML report

    I have an array included as a graph in a TestStand HTML report. It is a one dimesion array of 1000 elements. The array is filled by a custom 'C' code step (voltage reading from a Scope), based on the NI Example "DisplayArrayInReport". Is it possable

  • Importing from the "default package"

    Hi, I've got a class ("A") which contains an inner class ("Inner") in it, and I have another class ("B") which needs to use the inner class. To make the code more readable I would like to import the inner class directly into class "B", so that I coul

  • How do I reinstall OSX if I lost the recovery dvd?

    How do I reinstall OSX if I lost the recovery dvd?

  • One to Many Mapping Expression

    I have two tables. Invoice & Accounts An Invoice can have many Accounts associated to it(one to many) i need to select all the invoices whose accounts belongs to a particular category and region Invoice has invoiceNo Accounts has AccountID AccountReg