Possible to find session/user who ran SQL in v$SQLAREA ?

Using this:
select * from v$sqlarea where sql_text like '%2412982%' and sql_text like '%prms%' and module != 'sqlplusw.exe';
I am able to locate a particular instance of a piece of SQL being executed and stored in the library cache.
However, I would really like to know who run it but I never "catch them".
Is there a way?
1* select * from v$sqlarea where sql_text like '%2412982%' and sql_text like '%prms%' and module != 'sqlplusw.exe'
SQL> /
SQL_TEXT
SHARABLE_MEM PERSISTENT_MEM RUNTIME_MEM SORTS VERSION_COUNT LOADED_VERSIONS OPEN_VERSIONS USERS_OPENING FETCHES EXECUTIONS USERS_EXECUTING LOADS FIRST_LOAD_TIME INVALIDATIONS
PARSE_CALLS DISK_READS BUFFER_GETS ROWS_PROCESSED COMMAND_TYPE OPTIMIZER_MODE PARSING_USER_ID PARSING_SCHEMA_ID KEPT_VERSIONS ADDRESS HASH_VALUE
MODULE MODULE_HASH ACTION ACTION_HASH SERIALIZABLE_ABORTS CPU_TIME ELAPSED_TIME I
CHILD_LATCH
select it.company, it.product, p.description, it.transaction_code, ifsapp.km_util_api.conv_to_date_fmt(it.company,to_date(it.transaction_date,'YYYY-MM-DD')) order_date, it.reference, it.wareh
ouse_id warehouse, it.transaction_quantity, it.inventory_unit_of_measure, it.location_aisle, it.location_row, it.location_tier, it.lot_identifier, it.user_profile, it.reference_2, it.referenc
e_3 from ifsapp.prms_inventory_transaction it, ifsapp.prms_product p where it.company=p.company (+) and it.product=p.product (+) and it.company=upper('OKM') and ((it.lot_identifier like upp
er('%2412982%')) or ('' is not null and it.lot_identifier like upper('%%')) or ('' is not null and it.lot_identifier like upper('%%')) or ('' is not null and it.lot_identifier like upper('%%')) or
('' is not null and it.lot_identifier like upper('%%'))) and (('' is null or rtrim(it.product)=upper('')) or (rtrim(it.product)=upper('')) or (rtrim(it.product)=upper('')) or (rtrim(it.product)=
8328 3616 17240 1 1 0 1 1 1 1 0 1 2006-09-28/08:47:09 0
1 134719 134846 0 3 CHOOSE 166 166 0 07000004A8D88FB0 1040757058
Repetitive Distribution.exe 0 0 0 34410000 58880847 N
3

I think the SQL listed is wrong, as it only display the SQL created by Oracle whenever the user login, which is:
SELECT DECODE('A','A','1','2') FROM DUAL
And all subsequent SQL issued by the user during the session is not listed.
I am also in the midst of trying of get the user issuing the SQL :-).....MANY THANKS AHEAD....

Similar Messages

  • Find the Users who are Currently logged in

    Hi SDNers,
    I have Admin rights. Is there any way to find the Users who are Currently logged in?
    Please suggest.
    Thanks & Regards,
    Priti Rani Patnaik

    Hi Priti,
    Check the Connections table under Admin node which shows the users who are currently logged in along with the application users are accessing.
    Regards,
    Jitesh Talreja

  • How to find out users who have answered security questions

    Is there any report where we can find out users who have answered security questions.
    Please reply back to this.

    This might help you:
    Define a task template, reference the UserQuestionReport task definition:
      <TaskDefinitionRef>
        <ObjectRef type='TaskDefinition' id='#ID#TaskDefinition:UserQuestionReport' name='User Question Report' displayName='UI_REPTS_XML_USER_QUESTION_TITLE'/>
      </TaskDefinitionRef>Define desired variables
          <Attribute name='attrListField'>
            <List>
              <String>accountId</String>
              <String>policy</String>
              <String>loginInterface</String>
              <String>questions</String>
            </List>
          </Attribute>
          <Attribute name='attrMapField'>
            <Map>
              <MapEntry key='accountId' value='UI_REPTS_XML_REPORT_ATTR_ACCOUNTID'/>
              <MapEntry key='loginInterface' value='UI_ATTR_LOGIN_INTERFACE'/>
              <MapEntry key='policy' value='UI_SERVICEMODIFY_JSP_ACCOUNTPOLICY'/>
              <MapEntry key='questions' value='UI_ATTR_MIN_QUESTION_UNANSWERED'/>
            </Map>
          </Attribute>and the rest of the task template for a report definition.
    Hth
    Edited by: nickoarg on Feb 5, 2009 1:57 PM

  • How to find the user who has changed a field in a table

    Hello
        Someone has changed a field  cost center in my table so i need to find the user who hav changed it.Can anyone tel me how to find it.
    Regards

    HI ,
    Create a Z test program using the particular table and filed .
    Now goto SE38 and execute the program " RSDEPEND "
    give the ur test program and then execute . u will get the list of the last  change of ur program
    ( table and fields used inthis program)
    Another way :
    for data element :
    refer table 
      DD04L and get the user name
    for domain
    DD01L
    Edited by: shambhu sharan pandey on Nov 13, 2009 5:49 AM

  • How to find a user who created message in satelite system ?

    hi all,
    Does anybody know how to find a user who created message in satelite system, but when there is no business partner created for him in Solman ? In tx crm_dno_monitro, crmd_order or dnotifwl  there isn`t any information. Is there any Tx or something where i can check it ?
    Regards,
    M.

    Hi,
    BP should ne maintained for the user in satellite system as a identification in solman system.
    how you are trying to create a message in satellite system..
    if you are using help-> create support message then, you can get the message log details on the table BCOS_PROT.
    please update us
    Thanks,
    Jansi
    Edited by: shivjansi on Jan 25, 2012 7:44 PM

  • How to find the user who approved the workitem.

    Hi experts,
    I have created a parking/posting workflow.
    When the user Approves, parked document is posted and BKPF table is updated with WF-BATCH as user name.
    Now I need to find the actual user who approved the workitem for posting.
    My plan is:
    1. Find the workitem id using the BOR, company code, document no, year, task no.
    2. Find the user who processed the above obtained worktem id.
    Please let me know the tables for the above points 1 and 2.
    Or let me know if there is any other way to find the actual user.
    Regards,
    Karthik

    Hi,
    To get the workitem ID with respect to a specific business object instance make use of the FM SAP_WAPI_WORKITEMS_TO_OBJECT
    To know who processed the determined workitem either you can make use of the FM SAP_WAPI_GET_WORKITEM_DETAIL or directly read the table SWWWIHEAD and you can find the actual agent WI_AAGENT this is the field which says who has executed the workitem.
    Regards
    Pavan

  • How to find the user who deleted the contents of DSO.

    Dear friends,
    Can u please tell me ,how to find the user who deleted the contents of the DSO.
    The user has deleted the complete contents of the DSO. We need to find the user ,date and time.
    regards,
    Vijai

    Hi,
    If the user has used the manage option to delete the contents of the DSO then the changed by field will be updated by the users name. In case a program is used for the deletion then it wont be the case.
    Regards
    Govind.

  • How can I see for a particular TCode who were all the users who ran it ?

    I want to see who were all the users who ran a particular TCode e.g ZVPT today? Can I also do the same thing to see which users ran a particular program today?

    Hi,
      Use tcode STAD.
    Pls. reward if useful....

  • How to find the users who r assigned to profile sap_all through su01

    how to find the users who r assigned to profile sap_all through su01

    you can get into SUIM-->where used lists, check for users with profile SAP_ALL you can get a list of users who have
    it. and you can get into SUIM through SU01 from user information system link.
    you can execute RSUSR002 from SA38/SE38.
    RSUSR002  is the report which gets you the whereused list for profiles within roles, users.
    you can get it from transaction SECR ofcourse you are executing the same report.
    you can get from UST04 table and obviously USR04 also because sometimes you  miss some details from UST04 because of sync problems.

  • Find the user who completed a task

    How can I do to find the user who completed a task using the Find User operation?
    In the LiveCycle 8.2, in the Assign Task operation had the Form Data Mappins tab where I could store the Completed user id, and then use routes with conditions in the Find User Operations to define which routes the flow would follow.
    Thanks for any help!

    It must be a simple if..else conditional routing.
    The workflow will look similar to the following model:
    And the expression to compare the completed user and the next approver will look like following:
    Note: I am not sure if the taskResult's completedBy variable will hold the UserId or OID of the user.
    Nith

  • To find out the user who ran the report earlier.

    Hi,
    I need to generate a report to list out the programs which are accessed/executed by the user in SAP for a particular month.
    Could you advise me where this information will be available in SAP?.
    Thanks,
    Moderator Message: Frequently Asked Question. Please search for available information first.
    Edited by: kishan P on Oct 22, 2010 10:35 AM

    Hello Zerandib,
    on Oracle level all you could find out is that user SAPSR3 (or whatever the schema name
    is on your installation) deleted the record. It is not possible on Oracle level to identify
    SAP users who delete records. So if the SAP system doesn't log the change, there is
    no way of finding out via Oracle internal records.
    The best you could hope for is to identify the time when some specific record was deleted.
    You could use either Flashback Query, Flashback Version Query, Flashback Transaction
    Query or Oracle Logminer to accomplish this. Anyway these procedures aren't trivial and
    it is questionable whether the effort is justified for the result.
    Regards,
    Mark

  • Find all users who does not have access to a shared mailbox.

    Hi all,
    We are in the proces of setting up a hybrid enviroment with our E2010 towards Office365. As part of that, we want to move several batches of users. The first bunch if users we move should not use any shared mailboxes etc. but how do I find
    those? I can see there are powershell scripts that find users who has a shared mailbox and then list the permission - but that is kind of the opposite than what I want :)
    Browsing manually through users is not practical either as we have 10000+ mailboxes at the moment.
    Hoping for a quick reply :)
    /Trev

    It is not possible to accomplish this by using powershell. Easier one is to get the list of people who has access on something with below and do easier data manipulation in Excel :
    Get-Mailbox -Resultsize Unlimited | Get-MailboxPermission | ?{$_.isinherited -eq $False -and $_.user -notlike "*self*"} | select identity, user,accessrights
    [url=http://www.lepide.com/]Lepide[/url]

  • Text in VA02 - how to find the user who added the text

    Hi
    The user is adding text in the sales order through VA02, sometime after creating the order. This is not making any changes to the existing data, but adding the text in Header Text.
    When trying to findout who made the addition of text (not changes) from VA03 - menu - environment - changes ---it is not showing any details regarding this. Please guide me how to find out the user who made the addition of text in sales order through VA02.
    Thanks,
    Ravi

    Hi Ravi,
              I think there is no option available to find the name of the person who added text to the sales order.
             If the person who creates sales order, should also maintains the text we can find the name who created sales order. I am sure that u might be knowing the way.
           Still for the benefit of friends who r not aware, in the sales order> GOTO>Header data--> Sales tab.
    Regards,
    Ravi Duggirala.

  • How to find the user who never logon R3 system since system golive.

    Hi everyone,
    Our R3 system golive on 2005.Due to some reasons,we need to find out the users who never logon R3 system since system go live and want to delete it.Those large numbers of unvalued users has been created because of imprecise estimation before golive.So for now,we willing to remove those users by using some kind of method.and you know,the number of unvalued user are immense,so it's impossible to identify this kind of user by using T-code su01 one by one.
    Thanks in advance.

    Hi rong,
    Run report RSUSR006. One of the criterias is "Users with Initial Password"
    That should answer your question.
    Regards
    Juan

  • How to find the user who have restarted the schedular.

    Hi,
    We are using the cron trigger schedular to initiate the BPEL process.
    We use the oc4jadmin user to login into the em console of SOA.
    Somebody has restarted the schedular on production server which we can see in the log file.
    But is there any way to find that who is the exact user who has restarted it. I know the user has login with the oc4jadmin but can we check who the machine user(machine profile of that user).
    Becasue if we know that this was the machine user who has login into the EM console we can find it.
    Please help.l
    Thanks

    Hi,
    If the user has used the manage option to delete the contents of the DSO then the changed by field will be updated by the users name. In case a program is used for the deletion then it wont be the case.
    Regards
    Govind.

Maybe you are looking for

  • Problem with sound on my new Satellite L655-1FO

    Hello I bought a new Toshiba Satellite L655-1FO before 5 days , I install all driver on XP an my sound work ok , but today I connect my headphone and I didnt hear sound like music just some scratch sound and when I disconnect my headphones , there wa

  • How can I get the App store to resolve a problem?

    When I purchased a new Mac Book Pro last January I gave my old Mac Book to my son. A few days later I deleted my old iTunes account and ID and started fresh with same name, new password. Now I cannot update iPhoto because it came with the MBP which w

  • JVM bug with Turkish locale settings (windows)

    Hello, There is a serious bug in all versions of java virtual machine. When you set your locale settings to Turkish language, you can not install & use database driven java applications (that needs to create a database). For example; you can't instal

  • How to break a long project in 3 smaller timelines and assembling them back

    Hi, I'm presently working on a big project (a 90 min long documentary). I took advantage of tips from other user to speed up FCPX but now I'm at a point where I fell in need of a radical switch to give breath to my mac (btw I just switched to a new i

  • How to dynamic change Step Name?

    I have a step inside For Loop. I would like that step have different name related to loop Number. how do I do it? For example In Test stand, for i=0; i++;i<10 stepnamei end So in this way, If the step fail, I could know on which loop it fails. Please