Getting the No of Users logged in the SAP system

Hi Experts ,
I have the requirement of finding the No of Users ( User Ids) logged into the SAP system.
Is there any database table or FM to retrieve this information.
Regards,
Abhishek Kokate

Hi Abhishek,
Check out transparent table : USR41 (User master: Additional data) This may be the table you want to use.
Or
You can use SUBMIT command with the above stated report (RSM04000_ALV) - export the output( ALV data) to memory and then retrieve to use it as you want (as an internal table).
example :
DATA  BEGIN OF itab_list OCCURS 0.
        INCLUDE STRUCTURE abaplist.
DATA  END OF itab_list
SUBMIT RSM04000_ALV
  via selection-screen
    EXPORTING LIST TO MEMORY
      AND RETURN.
* To read from the memory
CALL FUNCTION 'LIST_FROM_MEMORY'
  TABLES
    listobject = itab_list
  EXCEPTIONS
    not_found  = 4
    OTHERS     = 8.
Hope this is help full to you  !!
Salil.

Similar Messages

  • Restrict the number of users logging onto the JAVA engine

    hi
    IS it possible to restrict the number of users logging on the JAVA Engine, if YES, how ?
    Thanks
    Jonu Joy

    Thanks for the replies, here's a little more info...
    We're working on project which allows a company to buy user licenses to access our portal.  So if a company has bought 5 licenses, the 6th user for that company will not be able to login.
    *Note: We treat each Access Key in the portal as a company.
    The way we determine if the user belongs to a company is by the AccessKey that is assigned to that user. We're not depending on IP addresses at all.
    Hope this clears the issue !
    I think we'll have to write some custom code to accomplish this.
    Thanks,
    harman

  • Where is the password for user SDM stored in sap system?

    Hi SAP Gurus,
    We recently changed the password of the user j2ee_admin in our dual stack system where our UME is ABAP.
    Now, we have made changes in the su01 and configtool but after the system restart, the user id j2ee_admin is getting intermittently locked.
    On starting the the JSPM/SDM, we found it still uses the old password so wanted to know that from where does the user SDM picks up the password and starts.
    Searched few blogs and found that it reads from secstore of configtool. Could you please help.
    Regards,
    Himanshu

    Hi Himanshu,
    SDM uses encrypted administrator credentials stored which are stored secure store to use deploy service.
    If you have changed the password, updated in secure store and is correct, the you should be able to logon to VA.
    If not, then
    Goto /usr/sap/SID/DVEMBGSXX/SDM/program/config and open sdmrepository.sdc file to see the values of SecStore.properties and SecStore.Key are pointing to correct path. You can verify this from configtool or config.properties in configtool folder.
    If you are not able to save this password in configtool, then refer 1228507 - Config Tool does not properly save password in Secure Store
    Regards,
    Divyanshu

  • How to find the number of users log into ESS for last three months

    Hi Team
    Is there any transaction / Report to find the number of users logged into the ESS and used the payslip tab. Is this possible to find?
    Waiting for hopeful replies.
    Regards
    Bhaskar

    Bhaskar,
    you can use google analytics,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b94044-7008-2b10-1680-c04e4526367b
    jo

  • Is it possible to get the active directory user name of the person

    Is it possible to get the active directory user name of the person who is logged onto a windows computer, when they are using your coldfusion site, the same way asp pages can do that?

    SECOND TRY TO POST THIS REPLY
    You have to turn on "Windows Integrated Security" and turn off anonymous login in the IIS web server, once that condition is met the cgi.AUTH_USER variable will be popluated with the domain/username of the user logged into the cient computer.
    If the user is using a windows browser on a windows client computer this will be done silently in the background.  Otherwise they will normally be presented with a login dialog box by the browser.

  • Determin how many user log on the site using JSP/Servlet?

    Hi all,
    Is there a way to determine how many user log on the site using JSP/Sevlet? I'm running Apache 2.x & Tomcat 4.x
    I'm trying to get a list of user currently log in the site.
    Please help!
    Thanks,
    -JN-

    You could use the HttpSessionBindingListener interface. Every time a user logs into the session put a user object into the session. The user object will implement the HttpSessionBindingListener interface. When the user object is added to a sessiion it recieves an event and it increments a counter. When the session times out or you invalidate the session because the user has logged out the user object will recieve an event and it can then decrement the counter.
    This will at least tell how many active user sessions there are.

  • How do I find the number of users logged on another server?

    I'm trying to ping other servers and find the number of users logged on that server. Any leads?

    Do you need maybe something like this?
    FINGER(1) UNIX Reference Manual
    NAME
    finger - user information lookup program
    SYNOPSIS
    finger [-lmMspho] [user ...] [user@host ...]
    DESCRIPTION
    The finger utility displays information about the system users.

  • How we know the Number of users logged into stratus?

    Hai,
    How can we  know the number of users logged into stratus? If we knows only,in our project we can check the users are valid/authenticated.can we check that?
    Advanced Thanx

    Stratus is adobe service which provides you with p2p id or say all your
    application's users a p2p id. Adobe doesn't have any admin section where you
    can manage/see all connected p2p users in your application.
    This you have to implement at your end in your application code i.e.
    authentication,validation and user counter.
    Thanks,
    Vivek.

  • Total no. of users logged into the database

    Can we find out total number of users logged into the database? I do not have DBA privileges.
    If it is not possible by a straight SQL then do I have any other options?
    Thanks.

    You can find the list of all users using the query "Select * from V$Sesssion_connect_info". This requires access to system tables. But this query gives the OS user information and not the database user information.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Krishnan:
    Can we find out total number of users logged into the database? I do not have DBA privileges.
    If it is not possible by a straight SQL then do I have any other options?
    Thanks.<HR></BLOCKQUOTE>
    null

  • Control the number of users logging in to the portal

    Hello,
    Is there any way to control the number of users logging in to the portal?
    Issue: We need to limit the users logging in Per Company (Access key).
    I read about the Activity Reporting in NW, and that would show us the stats, but does not let us control the logins.  I read all the forum posts on SDN about this topic, they were helpful, but none addressed our needs. 
    Has anyone implemented such functionality?  If we need a write a custom service or component to accomplish this, then which APIs should I be looking at?
    Our Portal Version: We are currently on EP6 SP2 PL 35, and in process of moving to NW.
    Any help on this would be much appreciated.
    Thanks,
    Harman

    Thanks for the replies, here's a little more info...
    We're working on project which allows a company to buy user licenses to access our portal.  So if a company has bought 5 licenses, the 6th user for that company will not be able to login.
    *Note: We treat each Access Key in the portal as a company.
    The way we determine if the user belongs to a company is by the AccessKey that is assigned to that user. We're not depending on IP addresses at all.
    Hope this clears the issue !
    I think we'll have to write some custom code to accomplish this.
    Thanks,
    harman

  • IPlanet 6.0 SP2 restart on Windows NT when a user logs off the server.

    UPDATE: We have found that the iWS 6.0 only restart with JDK 1.3.1 installed for JSP pages. What is the best JDK to use?
    iPlanet 6.0 SP2 restart on Windows NT when a user logs off the server. If a admin or joe developer logs into the server (C+A+D) and does what ever... When the
    person logs off the NT 4.0 box ... ALL the httpd process restart. We have 80 & 443 & Admin. The processes are running under a user account. Any one have an idea why the process are restarting?"

    Hi,
    You can use following JDK version for Windows NT.
    And please check it out whether WinNT-SP6 as been installed in winNT box.
    Window NT:
    SDK and JRE 1.4 http://java.sun.com/j2se/1.4/
    SDK and JRE 1.3.1_02 http://java.sun.com/j2se/1.3/
    SDK and JRE 1.2.2_011 http://java.sun.com/products/jdk/1.2/
    JDK and JRE 1.1.8_009
    http://java.sun.com/products/jdk/1.1/download-jdk-windows.html
    I hope this helps.
    Regards,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • Current Users Logged into the Portal

    Hi,
    In NW04 stack 11 is there a way to find out the current users logged into the portal? We have activated the Portal Activity Report but that does not seem to indicate CURRENT users... as in who's on the portal right now.
    Thanks,
    Kris

    Hi Kris,
    see 'Logged on Users' Iview
    Hope it helps
    Detlev

  • How can I backup my mac on a Time Capsule (connected with ethernet), without any user logged on the mac?

    Time Machine by default does not run when no user is logged in, there's some way to let backups run without any user logged on the mac?
    I need to backup 3 iMac connected through ethernet network to a Time Capsule.
    Some hint?

    If you use eithernet for your main connection then just plug the TC bridged into the network.
    If you use wireless for your internet connection then you can use the TC isolated from the network by ethernet.. but this is really only convenient on a desktop Mac.
    The instructions I put in this thread with screenshots.. see near the bottom.
    https://discussions.apple.com/thread/4817218?tstart=30
    It is a bit tricky so if you have questions ask back here.
    Just to say a USB for firewire external drive is faster and more reliable than a TC.. cheaper to buy as well.. although since you already have the TC that is not a concern.. but you can ebay the TC and buy a bigger and better external drive with the proceeds.

  • Sharepoint portal goes down Whenever a specific user logs into the portal

    hi All,
    Sharepoint portal goes down Whenever a specific user logs into the portal
    When a specific user logs into the portal , the iis goes down and no one able to access the portal.
    once we reset  iis then portal works fine .Please help us to identify the root cause for this issue.

    What is the error message it throws for everyone after that user user logged into the site. Did you encountered the same behavior for the other web application in the same farm as well?
    It would be worth to check health of that particular application pool and the account used for it during the time you face the issue.
    Veeramani.S

  • JSP session getting destroyed when second user logs in

    Hi,
    I am facing a session related problem in a small login program in jsp. I am using three jsp pages, login.jsp (user logs in), page1.jsp (creates a session and stores username) and page2.jsp (accesses session).
    Login.jsp:
    No jsp actually. Just a simple html form.
    Page1.jsp:
    String name=request.getParameter("Name");
    session=request.getSession(true);
    session.setAttribute("Name",name);
    Page2.jsp:
    session=request.getSession(false);
    if(session.isNew())
    System.out.println("new session created");
    String name=session.getAttribute("Name").toString();
    As expected, it works like session getting set at page1 and used at page2. It works good if users log in one by one. The problem arises when 2 (or more users with different logins) try to access the page at same time. When a new user logs in, the previous user session gets destroyed (session.isNew() becomes true and session Id changes).
    Is it the way I am using sessions (missing something), or there is some setting in tomcat server to specify maximum number of logins (sessions that can be handled).
    Regards
    Kamal

    Hi,
    Thanks for reply, but I guess the problem is not clear. Let me explain..
    A user logs in, he reaches first page (page1.jsp), here session is getting set. Then user goes to page2.jsp where application retrieves the information from session and uses it. It works all well.
    When two (or more) user logs in.. First user logs in, he reaches page 1, session is set. But then another user logs in (different id) and a session is set for him as well. Now the problem here is that session for first user gets destroyed at this point, which is unexpected (two sessions should not conflict, on different machines).
    Additionally, the problem does not happen necessarily at second login. eg. sometimes 4 users log in and when fifth one logs in, fourth gets logged out (session gets destroyed).
    I am not able to figure out, whether the problem is in code (given in first post) or there is some tomcat setting responsible for this behavior.
    Regards
    Kamal

Maybe you are looking for

  • Error when executing a Query through information Broadcasting

    Dear SDN, We have configured information Broadcasting in the Web Reports--- Scheduled and then when executing the following error is coming 500 internal server error - Microsoft internet explorer Error when processing your request What has happened?

  • How do I include the subject from an email in the body of a response email?

    First off, let me apologize if this is addressed somewhere else in the forum. I searched used many different variations on the theme, to no avail. So, yes, I am a former PC/Outlook user who made the "switch". For the most part, I couldn't be happier.

  • Does JNDI always return the same DataSource reference for a connection pool

    Hi, In my project, I have a class called DBConnect which has a method called getConnection(). This method returns a data base Connection object from the pool. I am doing this to avoid replicating code. Here, each time a database connection is require

  • Regarding opening a new pop up window

    In order to open open in a new window I have used the following two approaches 1.public void FormHelpUrl(ActionEvent actionEvent) throws Exception { FacesContext context = FacesContext.getCurrentInstance(); ExternalContext ectx = context.getExternalC

  • BC4J Temporary Tables

    Is there any way to customize the way bc4j creates its temporary tables? Specifically, I would like to change how this one is created. Right now it is:CREATE TABLE "PS_WebsiteService_10"   ID        NUMBER(20),   PARENTID  NUMBER(20),   COLLID    NUM