Script for currently connected users

I need to capture the user who runs a custom in oracle ebs r12.1 report, anyone know a script to get the desired output?

HI Mushtaq,

You can use script below to find it running all applications of conurrent:

SELECT DISTINCT c.USER_CONCURRENT_PROGRAM_NAME,round(((sysdate-a.actual_start_date)*24*60*60/60),2) AS Process_time,.
a.request_id, a.parent_request_id, a.request_date, a.actual_start_date, a.actual_completion_date,(a.actual_completion_date-a.request_date) * 24 * 60 * 60 AS end_to_end,.
(a.actual_start_date - a.request_date) * 24 * 60 * 60 LIKE lag_time, d.user_name, a.phase_code, a.status_code, a.argument_text, a.priority
Apps.fnd_concurrent_requests a, apps.fnd_concurrent_programs b, apps. FND_CONCURRENT_PROGRAMS_TL c, apps.fnd_user d
WHERE a.concurrent_program_id = b.concurrent_program_id AND b.concurrent_program_id = c.concurrent_program_id AND
a.requested_by = d.user_id AND status_code = 'R' order of Process_time desc;

Kind regards

A H E E R X

Tags: Oracle Applications

Similar Questions

  • Get a variable name for a connected user

    My application displays dynamic elements based on the value of a variable userid i.e. If userid is 1, all the items in my collection of table with 1 user ID will be displayed in a tilelist component.

    What I want to do, is to have a log in the system which will connect users but also to get the ID for this specific user and set it as my userid variable in my application, so the app knows what the user is connected and can display information related to that user.

    My mysql table that stores all users has the columns user ID (the value I want which is specific to each user) user name and password.

    I've been using this tutorial that lets the user open a session and if the connection is successful, a message is displayed, but this solution does not have the application store that the user is connected through userid: -.

    http://cookbooks.Adobe.com/post_Create_a_login_system_with_Flex_and_PHP-7243.html

    Can someone give me advice on how to do or what I need to do to change this example to get the user ID for the user that is logged into my userid variable in my application please or recommend something similar?

    This is the PHP code. Let me know if you need Flex code as well. I tried to comment as much as possible. Let me know if you need clarification on any room.

    \n";
         $xmlOutput .= "\n";
         $xmlOutput .= "$message\n";
         $xmlOutput .= "$data\n";
         $xmlOutput .= "$function\n";
         $xmlOutput .= "\n";
    
         echo $xmlOutput;
    }
    
    ?>
    

    Sorry for the late response. I had to attend a workshop.

  • Current connected user returning 'anonymous' in the environment of the client only.

    Hi all.

    We are having trouble getting to the user currently logged on our faces / ADF / BPM Workspace application running at the customer.

    First of all we try this:

    Director main = ADFContext.getCurrent () .getSecurityContext () .getUserPrincipal ();

    Or

    String userName = ADFContext.getCurrent () .getSecurityContext () .getUserName ();

    Or

    FacesContext.getCurrentInstance () .getExternalContext () .getRemoteUser ());

    And all variants of this return 'anonymous' as a user.

    I don't know if the two problems are related, but if we try to get through WorkflowContext we had a warning "not secure", followed NullPointerException.

    As this code:

    IWorkflowContext wfContext = ADFWorklistBeanUtil.getWorkflowContext ();

    String userName = wfContext.getUser ();

    Output:

    < 3 December 2014 11:03:34 BRST > < WARNING > < oracle.soa.services.workflow.worklist > < BEA-000000 > < < >. WorkflowService.getWorkFlowContext () - the application with context path: / workflow/InfraeroUI is not secure. It is strongly recommended to secure the applications of task details. >

    < 3 December 2014 11:03:34 BRST > < error > < infraeroui.mbean.AbrirPecBean > < BEA-000000 > < Erro na inicializacao:

    java.lang.NullPointerException

    at oracle.bpel.services.workflow.worklist.adf.ADFWorklistBeanUtil.verifyContext(ADFWorklistBeanUtil.java:767)

    at oracle.bpel.services.workflow.worklist.adf.ADFWorklistBeanUtil.getWorkflowContext(ADFWorklistBeanUtil.java:722)

    at oracle.bpel.services.workflow.worklist.adf.ADFWorklistBeanUtil.getWorkflowContext(ADFWorklistBeanUtil.java:677)

    at infraeroui.mbean.AbrirPecBean.initialize(AbrirPecBean.java:230)

    ...

    I guess that our problem if the same thing that these unanswered question here:

    https://community.oracle.com/thread/3562505?start=0 & tstart = 0

    Despise these errors, if I look for the user name (I know is the current) in LdapIdentityStore (see below), he finds the user properly.

    Ctx JpsContext is JpsContextFactory.getContextFactory () .getContext ();.

    LdapIdentityStore ldapIdentityStore = (IdentityStoreService.class) ctx.getServiceInstance (LdapIdentityStore);

    UserManager uMgr = ldapIdentityStore.getIdentityStore () .getUserManager ();

    User name is "t808835673".

    User user = uMgr.searchUser ("t808835673", new ReadOptions());

    String name = user.getName ();

    System.out.println (Name); t808835673, found.

    Some info from the environment:

    WebLogic Server: 10.3.6.0

    Middleware: 11.1.1.7.1

    I guess it is a matter of settings for weblogic/bpm.

    Thanks in advance.

    Gabriel Stabel

    Well, we found a solution.

    In our case, the problem was a parameter missing (automatic by JDeveloper removal v11.1.1.7.1) in our page human task workflow configuration file (_TaskFlow.xml).

      
          bpmWorklistContext
          #{pageFlowScope.bpmWorklistContext}
          
        
    

    Without this parameter, we had a problem in the customer environment, but not in ours. Probably of slightly different versions components question about.

    With this setting the code below works in both environments.

    String userName = ADFWorklistBeanUtil.getWorkflowContext().getUser();
    
  • Enter the Total of the current connections/users in Flex

    Hello

    I know that this can be answered in a number of ways, and I tried to search for him.

    I want to know how can I know how many users are connected to the same FMS application into a flex application:

    public function totalConnectedUsers():void{
    
    lblText1.text = "There are a total of " + bindableUserVariable + " Users Connected to the Stream Now";
    
    }
    

    Thanks for the help.

    Took a bit of time, but here it is:

    http://www.fmsguru.com/showtutorial.cfm?tutorialID=48

  • Restricting the views to DISPLAY ONLY the rows CreatedBy current connected user

    I want to user Oracle views - restrict the view to DISPLAY ONLY the rows CreatedBy / current OwnedBy signed / authenticated user!

    What are the different approaches, I have something with;
    setNamedWhereClauseParam, but this must be called on each ManagedBean in the constructor, as I have now!
    This approach caused the button Edit/Save which simply calls the commit to stop working. In a complete view of all the lines, there is no problem, with
    the button requesting validation the selectedRow in af: table.

    Other means?

    Thank you

    It does not appear that your view object extends the framework with custom code extension class in dealing with populating the bind variable by default.

  • I was using Microsoft Fix and one of the messages for me was that "more than one user is currently connected to this computer"

    While checking on Microsoft 'Fixit' to see if everything was working OK, I got a message saying as follows: more o no user is currently connected to this computer. »

    I can't understand this because I am the only user on my computer.  No other Member of my family is using my computer, so can you help me this please?

    Thank you.

    Hi Deepak B,.

    Thank you very much for your help.  I did as you suggested.  First: the Safety Scanner did not find a malware, etc. on my computer, which is really good.

    Second - accounts - outside myself - on my computer. I was surprised to see there was a guest account as well as mine.  I now extinct 'guest account '.  I can think about is my daughter and her husband who make us visit once a year.  April, my daughter knows a lot about computers, so I think that it is the culprit!

    That is the problem solved, and I am grateful for your help.

    ElmGrove

  • session remote desktop connection logon message: another user is currently connected to this computer

    I'm trying to figure out how to make a remote desktop connection without the user on the computer, as I log to get to kickoff. When I start the DRC while the other computer is in use, I get a message saying... session remote desktop connection logon message another user is currently connected to this computer. If you continue, this user should disconnect from this computer. Do you want to continue?

    Click Start / Help, then search for help on the "fast user switching".

  • I want to know what I need to look at when buying a router for 50 concurrent users, 1 server connection information

    Original title: router Question.

    Hi all

    not sure if this is the right place to post but I was looking for some information about routers. specifically, I want to know what I need to look at when buying a router for 50 concurrent users, 1 server connection information. specifications, etc.

    Thanks :)

    Some routers will define a limited number of simultaneous connections. Domestic routers rarely do because the assumption is that the environment will not include such a high number.

    Ideally in a commercial environment you would separate on the hardware connection since the hardware firewall. It depends on the type of connection (ADSL?).

  • No - CC Acrobat Pro XI asking for another connection of CC users account

    I work for my company and I'm having problems with non - Creative Cloud Acrobat Pro XI and deleted the software CC.

    I have a user (Jon) that uses the old PC (Jane). Jane had a creative cloud account and a few apps installed CC. Jane uses this PC is no longer, and now Jon a. Jon didn't need all these apps CC and need XI of Acrobat Pro installed.

    I run remotely on the computer under my admin account and uninstalled all Adobe products, then I downloaded and run the cleanup tool of creative cloud to the title of administrator rights and selected to clean everything. I then restarted the computer and ran to the cleanup tool again make note of course showed upward in its list to remove. I then installed the Acrobat Pro XI non - CC version that uses the key to series of our company. After installation, when I try to run Acrobat, I get a window of creative popping cloud by saying that the license for Acrobat has expired and I need login account of Jane CC to activate it. This version of Acrobat is not linked to his account, and all traces of CC should be removed. Why did I get this activation message inviting CC connection for the other user? Especially after the so-called remove all creative cloud? I don't have any problems with this key on any other machine it's installed on, then why is this causing a questions?

    Computer is running Windows 7 x 64

    Hi MKDTransystems,

    Please click on "license this software" and follow these steps:

    1. If the next screen asks you to enter your serial number, please enter your enterprise serial key.

    2. If you are prompted to sign in at any time, please connect with identification code adobe to Jon who does not have a license CC associated with it.

    Please try this and let us know if it worked. If not, please send me the oobelib.log, amt3.log, pdapp.log files in the directory tmp % of the machine.

    Thank you

    Rahul

  • Usually, there is a way to upgrade for current users of the software at a reduced price. I don't see something like that for Lightroom 6. I have to pay full price just to upgrade to the new version of standalone LR6?

    Usually, there is a way to upgrade for current users of the software at a reduced price. I don't see something like that for Lightroom 6. I have to pay full price just to upgrade to the new version of standalone LR6?

    Just go to the products

    Scroll to Lightroom and click on buy and then replace I want to buy lots of upgrade. The price is $79.

  • WLST script - how to configure clientID for factory connections?

    We are on Oracle weblogic 10.1.3.6 and WLST script to create the new queue, subjects and connection factory. Here is excerpt from node by us using

    def createCF (cfname, cfjndiname, xaEnabled):

    print 'START createCF() '.

    CD ('/JMSSystemResources/' + '/JMSResource/' + ModuleName + ModuleName)

    CF = create (cfname, "ConnectionFactory")

    FC. JNDIName = cfjndiname

    cf.setDefaultTargetingEnabled (true)

    # Set enabled XA transactions

    If (xaEnabled is "true"):

    cf.transactionParams.setXAConnectionFactoryEnabled (1)

    cf.transactionParams.setTransactionTimeout (3600)

    CD ('/JMSSystemResources/' + ModuleName + '/JMSResource/' + ModuleName + '/ConnectionFactories/' + cfname + '/ClientParams/' + cfname)

    # Define the strategy of the customer ID.

    cmo.setClientIdPolicy ('Unrestricted')

    # Set subscription sharing policy

    cmo.setSubscriptionSharingPolicy ("feature")

    Print "END createCF()".

    The code above works perfectly well. In addition, we would like the ClientId value for the connection factory. We tried with the following and both failed with "AttributeError: setClientID.

    cf.setClientID ('myClientID')
    cmo.setClientID ('myClientID')

    Pointers to the right function, would be a great help. Thank you

    Connect ("weblogic', ' passwd ',' t3: / /: 7001'")

    Edit()

    Try:

    startEdit()

    module = cmo.createJMSSystemResource ('testModule')

    resource = module.getJMSResource)

    print 'creating connection factories. "

    resource.createConnectionFactory ('Test_CF')

    ConnectionFactory = resource.lookupConnectionFactory ('Test_CF')

    connectionfactory.setJNDIName('jms/aia/Test_CF')

    connectionfactory.setDefaultTargetingEnabled (true)

    connectionfactory.getClientParams (.setClientId('12345'))

    # connectionfactory.getTransactionParams (.setTransactionTimeout) (3600)

    # connectionfactory.getTransactionParams () .setXAConnectionFactoryEnabled (true)

    # connectionfactory.getLoadBalancingParams () .setLoadBalancingEnabled (true)

    # connectionfactory.getLoadBalancingParams () .setServerAffinityEnabled (false)

    Print "Test_CF Created"

    Save()

    Activate (Block = 'true')

    Print "JMS configuration made all the changes enabled."

    except Exception, e:

    dumpStack()

    print ' Exception occurred while creating JMS resources:, e. Report this error to the team of Directors integration AIA'

    Undo('true','y')

    stopEdit('y')

    Disconnect()

    Exit()

    Best regards

    Vivek Vishal

  • I'm not qualified for this promotional offer for current users. Why?

    I'm a happy user of original Design Premium CS3 for a few years, I would switch to the CC, but after giving my serial number, I have a message: I'm not qualified promotional offer (for current users of the previous version). No idea why? Thanks for the replies, Ha

    Depends on what type of license you have, retail or volume, as far as I know.

    Better, you contact the Support from Adobe to consult about it: http://helpx.adobe.com/contact.html

  • Sqlplus very slow connection for a particular user

    Hi Experts,

    I am faced with a particular problem.

    DB version: 11.1.0.7 on Solaris 5.10

    Sqlplus connection to the database is going very slowly for a particular user (APPS) - it takes 30 seconds or more
    For all the other users on the database, it's normally.

    There is no trigger connection for all users...

    I see TNS-12535: TNS:operation errors in alertlog has expired.

    Any help in getting this issue is highly appreciated...

    Thank you...

    Hello

    Looking at your question, this is the only thing that comes to mind first - blog

    http://viveklsharma.WordPress.com/2012/01/27/sqlplus-connection-slow-library-cache-lock/

    HTH
    Anand

  • Draw the users currently connected to the Application

    Hello
    I want to see the list of users currently connected to the Application.

    I had put the Option 'Sign-On Audit' profile to the level of "Mule".

    Now I am tracking in the database using option "security: users-> monitor ' and yet the below sql query. I get a different output of two channels.

    Select distinct fu.user_name User_Name, fr. RESPONSIBILITY_KEY responsibility
    of fnd_user fu, fnd_responsibility en, icx_sessions ic
    where fu.user_id = ic.user_id AND
    Fr.responsibility_id = ic.responsibility_id AND
    IC.disabled_flag =' no AND
    IC.responsibility_id is not null AND
    IC.last_connect such as sysdate;

    Please let me know how to check the users currently connected to the application and their connected at the time.

    Thanks and greetings
    Amith

    After successfully completing the 'Purge Signon Audit' request I tried to track users, it shows all users connected to the Application today. He does ' t display the users who are currently connected to the application server.

    This is expected behavior since you have "ic.last_connect such as sysdate;" in your query. If you want to check the users that are connect in the latter in the past (15/30 minutes or 1 hour), please refer to:

    Note: How 295206.1 - Total number of users connected to ORACLE Application
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=295206.1

  • ACS 5.4 ASA 8.2.5 disable AAA for the particular user

    Hello!

    I want to disable journaling Ganymede + for the particular user. This user is used only for automated (python script) pooling of vpn tunnel ASA (limited command set - permission on ACS) group to verify the number of users authenticated via VPN. The problem is that this user generate a bunch of logs according to authentication authorization and accounting on ACS. Is there a solution, disable Ganymede + newspapers on ACS for this particular user? Maybe it is possible to modify the AAA on ASA to not connect this particular user?

    Thanks in advance.

    Hi Pawel,

    You can create filters collection for that specific user. When you configure monitoring filters & Report Viewer does not record these events in the database.

    Navigate to: Configuration of the analysis > System Configuration > filters Collection > add a filter

    What follows is the attributes that can be used. You must use the user.

    -Access service

    -User

    -Mac-add

    -Nas - IP

    Example: We get several hits of ASA by 'user' and we want ACS to ignore it. Create a filter by using the user. ACS must now ignore any attempt from the IP Address of the NAS.

    Jatin kone
    -Does the rate of useful messages-

Maybe you are looking for

  • the fan runs full speed at the beginning upward

    HP Pavilion p6-2037cb bought 19/01/12.  Windows 7.  There is no error message. When I turn on the computer after it has stopped all night the fan running at full speed.  This has happened several times in the first month.  The first time, he stopped

  • Wireless network does not connect

    "At the time to choose a wireless network to connect to, the computer keeps turning of ' acquire a network address" to "not connected".  Can I have a virus?  The key of wireless network has been re-verified.  The wireless card find several near by ne

  • Jump design units

    What is the unity of design for BlackBerry Bond? I see it has the same size screen as Z30, but ppi is slightly different: Jump: 294 Z30: 295 Is it possible to update your documents, it speaks of the classic, some people might think that Classic have

  • The unit private lists

    Is there a way I can limit the private lists of subscribers so that they can: (1) do not have access to this feature or (2) limits the amount of subscribers per list?

  • CISCO IOS

    Hello!!! I have question for CISCO IOS.  How will I know? What CISCO IOS support SSH version 1 $2? and it is possible to update CISCO IOS Cisco 7200 routers series for supporting SSH