Logoff Portal users beyond a certain number

Dear All,
We are interested to implement a solution wherein if the number of users increase to a particular number say 5000 in portal, they are automatically logged off. I heard that this can be done by customizing the header module file com.sap.navigation.masthead. par. Can someone help in this regard.
Please note that we have already tried to restrict users by defining 300 max. users per server node as well as from the load balancer but still the portal is not able to take the load.
Thanks
Ankur

Hi Ankur,
But at the same time a user may have multiple sessions running on a server node.
Regards,
Biroj...

Similar Messages

  • How to restrict user to insert certain number of records (urgent)

    i have master detail Form. My requirement is as following.
    1) In master block user enter other information and enter suppose 5 in text item.
    2) Then 5 rows should be display in detail block. and user couldnt enter more than 5 records in detail block.

    i hope understand,
    To close a query when :max_record = TO_NUMBER(:global.max_rec) and
    keep count of the number of records retrieved,
    create a POST-QUERY trigger.
    IF :parameter.max_record = TO_NUMBER(:global.max_rec) THEN
    ABORT_QUERY;
    ELSE
    :global.max_rec := TO_CHAR(TO_NUMBER(:global.max_rec) + 1);
    END IF;
    :parameter.max_record = number record you want retrieve and set in PRE-FORM
    Hope help you

  • Count total number of existing Portal users..Urgent

    Hello All,
    im working on EP6 SP9 (and SP12).
    I would appreciate if anyone would please guide me - How can I retrieve total number of existing Portal users (<b>using code</b> & not Activity Reporting).
    This is kinda urgent....please I request you all.
    Thanks in Advance.
    Warm Regards,
    Ritu R HUnjan

    Hi ritu,
    Check this code. This will give you the total no of users and the names of all the users:
    package com.hcl;
    import com.sap.security.api.ISearchResult;
    import com.sap.security.api.IUser;
    import com.sap.security.api.IUserFactory;
    import com.sap.security.api.IUserSearchFilter;
    import com.sap.security.api.UMFactory;
    import com.sapportals.portal.prt.component.AbstractPortalComponent;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    public class PortalUsers extends AbstractPortalComponent
         public void doContent(
              IPortalComponentRequest request,
              IPortalComponentResponse response)
              try
                   IUserFactory userfactory = UMFactory.getUserFactory();
                   IUserSearchFilter userfltr = userfactory.getUserSearchFilter();
                   userfltr.setMaxSearchResultSize(5000);
                   ISearchResult userResult = userfactory.searchUsers(userfltr);
                   int size = userResult.size();
                   response.write("<table><tr><td bgcolor=Green>"+ "Names of the user are:"+ "</td></tr></table>n");
                   while (userResult.hasNext())
                        response.write("<table border=0>n");
                        String uniqueid = (String) userResult.next();
                        IUser user = userfactory.getUser(uniqueid);
                        response.write("<tr><td>"+ user.getDisplayName()+ "</td></tr>n");
                        response.write("</table>n");
                   response.write("<table border=0><tr><td bgcolor=Green>"+ " Total no of users "+ "</td></tr>n");
                   response.write("<tr><td bgcolor=Red>"+ size+ "</td></tr></table>n");
              catch (Exception e)
    I hope this solves your problem
    Regards
    Pravesh
    PS: Please reward points if answer is helpful.

  • Help in estimating number of dialogue steps for portal user scenarios

    I am looking for your expert advice in determining the number of dialogue steps for SAP portal users in the following scenarios:
    1) External users accessing a SAP portal to access utilities services such as viewing bills, paying bills, update meter readings etc. The system needs to support 6000 concurrent users.
    2) Internal users (customer service agents) accessing IS-U, CRM (potentially BW) via an internal SAP portal. The system needs to support 2000 concurrent users. .
    It would be extremely helpful to hear from anyone that has been involved in SAP portal implementations who could advise me on number of dialogue steps to use for each user scenario.
    Many thanks,
    Celia

    I am looking for your expert advice in determining the number of dialogue steps for SAP portal users in the following scenarios:
    1) External users accessing a SAP portal to access utilities services such as viewing bills, paying bills, update meter readings etc. The system needs to support 6000 concurrent users.
    2) Internal users (customer service agents) accessing IS-U, CRM (potentially BW) via an internal SAP portal. The system needs to support 2000 concurrent users. .
    It would be extremely helpful to hear from anyone that has been involved in SAP portal implementations who could advise me on number of dialogue steps to use for each user scenario.
    Many thanks,
    Celia

  • Maximum Number of portal users

    Hi,
    Can anyone help with what is the maximum number of portal users there can be. Our company portal is Internet facing and we have a lot of external users with portal accounts. Is there a limit on the number of such people allowed? Thanks for any help.
    Lakshmi.

    Hi Lakshmi,
    You might want to refer to this thread.
    "Number of Users logged on to Portal Server?"
    Good Luck.
    Sandeep Tudumu

  • Number of Portal Users

    Hi,
    How to find the number of portal users logged in?
    Thanks,
    G. Sathya Priya

    Hey
    You can browse through this hope it will help you
    Re: Portal on-line users counter
    Also there are user activity tables under portal schema, u can also use those tables for such reports
    Regards

  • Maximum number of portal user

    Hi,
    Does anyone know if there is any practial limit in the number of users that we can define in Portal 3.0.9.8.2? We are planning to create more than 190,000 portal users.
    Thanks.
    Wade.

    Having 190,000 portal users in 3.0.9.8.2 should not be a problem. My.Oracle.com has well in excess of 350,000 registered users currently..
    Best Regards,
    Harry

  • How to Restrict same portal user from other node

    Hi
    In my application, we charge customers for each portal user logins. But, i found that, they can share same user logins amongs number of people.
    I don't want to allow the same portal user login into the application if that user is already logged in and it's session is still active.
    Here is the Scenario :
    User A is logged in to the portal from terminal AA. Now, User A agin tries to logg in to the portal from terminal BB. I don't wnat to allow user A to log in from terminal BB bcuz user A has active session from terminal AA.
    Can anyone know how to implement this??
    thanks in advance.
    Srini

    Hi Srini!
    We have solved this problem with our own login portlet. Before the final login we've got to check (from the certain table) how many logins there are currently with that username.
    But there is a problem. If the user closes the browser without logoff, the session remains active. There is a cleanup job, which removes those session in some hours. Still it is not very elegant.
    Regards,
    Jari

  • Portal User details and credentials for a J2EE application?

    Hi,
    I am trying to access a J2EE application which is deployed in  SAP Web Application Server. I want to maintain the security of this application depending the portal user. So I want to get the user id of the portal login to my J2EE application. For Example:
    A user with id "super" is logging into portal I want the userid "super" in my J2EE application how to get the userid to my J2EE application's servlet. Is this possible? If possible please tell how I can acheive it?
    Can I do it by creating HTTP System? If possible can u tell me where can I set the URL?
    Thanks,
    Ashok.

    hi,
    Certainly you can get the user id of the portal login in your J2EE application by using UME api's
    IUserFactory userFact = UMFactory.getUserFactory();
    getUserFactory().getUser(String uniqueID)
    getUserFactory().getUserByLogonID(String logonID)
    Also have a look at this
    http://help.sap.com/saphelp_nw04/helpdata/en/15/abdc3ed98f7650e10000000a114084/frameset.htm
    Instead  of url iview, it would be better to use AppIntegrator
    Also have a look at this
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/webinars/using the user management api with ep applications.pdf
    Hope it helps...
    Regards,
    Ganesh N
    Hope it helps...

  • Read Portal User ID in BW report to filter records

    Hi,
    I need to filter my records in BW report based on the
    business partner who logs into Portal.
    (BW report is getting called thur IView in Portal)
    Is there any way i can fetch the Portal User id
    during the execution of BW report? so then i can filter
    records by writing code in user exit.
    I tried using variable sy-uname, but it populates
    the BW user id and not portal user id.
    Please reply if anybody knows solution to this query.
    Thnx in advance.

    Abhijit ,
    My understanding:
    You need to filter the query by the Business Partner ID and not by User name and Business Partner number and BW User ID are both different.
    If you want to filter by User name:
    Why don't you try using SSO through EP and that way you would get the ID of the person logged in.
    If you are using user mapping:
    Or what you could do is maintain the mapping in an info object/table in BW and query against the same.
    If you are using Business Partner:
    Populate the business partner master which will have the user name attached and that way you would be able to get the Business partner ID.
    Arun

  • Use hardware to generate a certain number of pulses using PXI-5652

    Is it possible to generate a certain number of periods (turn on the output for a predetermined amount of time using hardware with micro-second resolution) using the PXI-5652.

    Hello Matt,
    If you had a Vector Signal Generator, this would be more controllable using something similar to this forum.
    Otherwise, the only way to control time on the 565x would be to use OOK modulation scheme. This will allow you to turn on the signal for a little time On and Off.
    There is a shipped example called "565x Digital Modulation.vi" (on versions 1.3 and later of the RFSG driver) that can perform this task. Basically it uses the function named "niRFSG Configure Digital Modulation User Defined Waveform.vi" to write the user bit sequence and with property nodes you will configure the OOK scheme and the symbol rate (refer to specifications of your card for the possible values).
    Hope this helps,
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • Portal user ID  read in abap webdynpro.

    Hi All,
    We have developed on web dynpro application for Dealer Portal. The Dealer logs into the portal with his ID. How can we capture this Portal User ID of the Dealer in our application.
    The Portal User ID and the R/3 User ID are different.
    I have followed the given steps...
    Step 1
    Within the Main Window of your ABAP Web Dynpro application, select Inbound Plugs tab. Now double click on the Startup Plug Named 'DEFAULT' (or what ever you have called it if you have changed this since window was created).
    Step 2
    Within the plug method HANDLEDEFAULT Add a new importing parameter below 'WDEVENT' parameter call it IV_USER of Type UNAME.
    Step 3
    Now within the code section of the plug method HANDLEDEFAULT you can freely assign the value of IV_User to an attribute of your component controller. i.e. wd_comp_controller->userid = IV_USER. Alternatively you could assign it to a wdp context node / attribute.
    Please note this value will not be available with the WDDOINIT of your main view as WDDOINIT method of this view is called before the window HANDLEDEFAULT method. Put your code into the method WDDOMODIFYVIEW of your main view instead.
    Step 4
    Double click on the webdynpro Application, within the Parameters tab add a new parameter. You should just be able to use the F4 help on the param column and select the IV_USER entry.
    Step 5
    Save your application nad activate your web dynpro
    With the 'Content Administration' tab of your portal
    Step 1
    Create an iview of type ABAP Web dynpro specifying the application name as that of your created wdp (must be exactly the same).
    Key information for creating iView:
    Create as iView template (select template as SAP Web Dynpro iView)
    namespace = sap (check service name in SICF if this is not correct)
    Application Name = ZWDA_EXAMPLE(name of your wdp created in se80)
    Application Parameters = IV_USER=
    Step 2
    Save and setup any other details required when creating any other iView
    but not able toget user id .
    Rakesh

    Hi,
    Why don't you use the sy-uname to get the login details of user.
    Portal users are mapped to R/3 system, so using sy-uname will definitely give the user details.
    Function module to get employee details by passsing user name
      CALL FUNCTION 'HR_GET_EMPLOYEES_FROM_USER'
        EXPORTING
          user               =  sy-uname
          iv_with_authority = space
        TABLES
          ee_tab            = lt_ee_tab.
      IF lt_ee_tab[] IS NOT INITIAL.
    Passing employee number to export parameter
        READ TABLE lt_ee_tab INTO ls_ee_tab WITH KEY user = sy-uname.
        IF sy-subrc = 0.
          ev_pernr = ls_ee_tab-pernr.
        ELSE.
          ev_failed = gc_failed.
        ENDIF.
      ELSE.
        ev_failed = gc_failed.
      ENDIF.
    Does this help?
    Thanks,
    Rahul

  • Change history of User for Business Partner Number attaching and removing

    Hi Experts
    Is there any t-code in SRM which will show change history of User for Business Partner Number attaching and removing.
    Thanks--
    Guru Prasad Dwivedi

    Serene,
    I am not too sure if anyone can DELETE a Payment Term linked to a BP. The system would not allow this.  If at all a Payment term was deleted, I don't think it can be traced.
    It is therefore very important to use Proper user authorization so that only people authorized to do certain things are doing it and not everyone.
    Suda

  • Portal Users Mapping...

    Hi experts,
    I have a query . now we have 20 SAP R/3 Licenses and 1000 Portal Licenses now we are able to successfully carry out the SSO with R/3 but the problem is how are we going to map the 1000 users to 20 SAP R/3 Ids ? Can some one please help me on the same at the earliest.
    Regards,
    Sam

    Hi Arun,
    You can create a group based on the portal users and map the Group to the to the R/3 Ids .
    The number of persons in the Group is purely on your wish.
    But do remember all the persons in the group will  be able to view the same data in the mapped R/3 id.
    If all portal users are going to view same data then you can group them in one group ID and map it to the R/3 id.
    Otherwise based on the data that portal user wants to view form a group and then map it to the corresponding R/3 ID.For instance form 20 groups with 50 members each and map each group to the corresponding R/3 Id.
    Hope it helps.
    Regards,
    Vivekanandan

  • Exporting and Importing Portal users from Source system to Target system

    Hi All,
    I have exported all portal users from source portal in to file Users.txt do i need to convert this file in to some other format so that i can import these users in Target portal.
    any links documents
    Regards,
    Murali

    Hi,
    If you look in to User.txt
    I have role also i have deleted role in User.txt uploded file with rest of the otherdata including group it it able to create users.
    so in Nut shell let's say
    1. UID-Murali
       Role- Manager
      Group- HRGroup
    user existing  in DEV and i want to trnasfer data to PRD
    Role:Manger should exist in PRD, and group is not mandatory optional
    but the link http://help.sap.com/saphelp_nw70/helpdata/EN/ae/7cdf3dffadd95ee10000000a114084/frameset.htm
    says while uploading users role is optional it throws waring but i got error.
    i am bit confused.
    Now let's sau there are 10 users, 10 roles and 2 groups in source system if i want to export all users,roles,groups to target system what sequnce i have to follow without getting any error , warining is there any restriction on number of users, roles, groups i know file size should be less than 1MB.
    Points are on the way.
    Regards,
    Murali

Maybe you are looking for

  • Drobo not working after 10.5.8 update

    My drobo stopped working after 10.5.8 update. Now I lost all my data on the drobo. this doesn't make me happy.

  • What is a Business Process Repository and where do we get it in SAP?

    Hi, What is a Business Process Repository and where do we get it in SAP?

  • Limit map issue 10g

    We created a limit map variable using a OLAP DML program and refer it via a view as follows. While the view got created all columns show up as undefined type. This probably means it is not finding the limit map definition? Any clues as to what needs

  • Using Calendar Year Month in query designer to populate a Month Structure

    Hi Is it possible to create a query that has a standard structure of Month Columns (Jan-Dec) with each month column populated by the correct 0CALMONTH (similar infoobject) value?  I would also like to be able to filter this by the correct year select

  • Change Currency in Document Flow

    SD Experts, I am noticing that when I display document flow under invoice the amount is displayed in EUR, however all documents are created in USD. Where can I change the currency so that when I display it document flow everythign shows USD. We only