Limiting the no. of users for a particular application in Portal?

Hi,
I want to know how this can be done. Following is the requirement:
1)I have an iView in Portal which is showing some BSP appliation. Now i want to restrict the no of users to only 600 for that particular iView only i.e. even though our portal can have 1000 concurrent users but if 600 concurrent users are already accessing that particular BSP iview, then the 601th user will not be allowed to access that iView & still browse around in portal. So whenevr any user goes out of the BSP application & the values goes less than 600, then only new users can go in.
2) same req as above but for diff kind of iviews i.e. PAR based, WebDynpro etc.
one thing i would like to clear is that the figure of 1000 is actually the portal session & the figure of 600 comes from the Backend sessions.So if the backend seesion through portal reaches 600, i have to stop showing the application,& instead show some message..
Any kind of ideas are welcome..
Regards
Gaurav
Message was edited by: Gaurav Gandhi

Hi Gaurav,
> HttpSession by an HttpSessionBindingListener,
> reacting on valueUnbound
Google is your friend
See http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpSessionBindingListener.html and http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpSession.html - explanation at the class definition as well as for setAttribute.
> if i develop something like a proxy, i would be a very
> probability that with all these manipulation, the
> final iView loading will take time & it will be slow
No. You would have to define the iView as URLIsolated and then redirect by using request.redirect(destinationString) to the original component, passing the parameters as request parameters to the destinationString.
We are just in contact with SAP why the J2EE RequestDispatcher does not work to include and if there at least is a workaround for embedded iViews.
All your proxy iView would do is getting the HttpSession, putting the session (or it's ID) in a static HashSet, registering by this (implementing HttpSessionBindingListener) through setAttribute to the session, reacting on valueUnbound (removing the session/ID from the HashSet) and counting the number of members in the static HashSet. I think this will need about 20 ms (plus redirect).
Hope it helps
Detlev

Similar Messages

  • Need Report to see list of authorised users for a particular Trans.Code ?

    Hai SAP Gurus,
    Kindly tell me a Transaction code which is useful to see list of authorised users for a particular Transaction code. Ex J1ID
    Reply me pls

    Hai,
    Using SUIM, I got List of authorised users for a particular Transaction code.. But Few Users who are not in the list can using the Same Transaction Code in BackGround.. How to see those users list..
    Kindly Reply me pls

  • Change the status of the notification center in iPhone programmatically or atleast read what the status is  for a particular application

    Is it possible to control and change the status of the notification center in iPhone for a particular application.
    1)      In the application push notification is implemented.
    2)      Once this application is installed we can see the app in the notification center.
    3)      There is an option to ON or OFF
    4)      In the application we need an option to check if the above option is ON or OFF.
    5)      If the option is OFF we need to provide the user an alert stating that  in the notification center has it option off and here we have to provide an option to user to switch ON the option at the notification center.

    Well, I could find a fix for that.
    My mistake was that 1: I wasn't getting the correct ntype code for my value list type. And 2: I wasn't giving the Id name.
    The new result came as this:
    statusObjRef = doc.getStatusRef();
    statusHome = IBeanHomeLocator.lookup(session,statusObjRef);
    status = statusHome.findUniqueByNameType("Drafting Agreement", 1);
    doc.setStatusRef(status.getObjectReference());
    In case anyone has this problem, you should check the collection of values internal id, that's the actual ntype code (the number you send on the second parameter).
    But I could still use help having some advice on the Master Agreement elements handling (getting data from the master agreement or the data thas is being edited at the moment before saving).
    If anyone could give some advice, they would be very welcome

  • How to retrieve the Sapscript layout changes for a particular Transport request in development server after this Transport request so many requests created  ?

    Dear Abapers,
    I request the Abapers kindly reply for this blog
    I want to retrieve the sapscript layout changes for a particular transport request in development server after that many transport request created and moved to quality ? 
    I checked in SE03 transaction the transport request was there.  But I want to retrieve the existing transport request which is not moved to Quality?
    Is it possible to retrieve the existing transport request in development which is not moved to quality ?
    Like how we retrieving the programs using versions in development server,  In the same way I want to retrieve the sapscript layout in development server ?
    Thanks & Regards
    Muzeebur Rahiman.S

    Hi,
    There is no version management for SapScript or Smartforms .
    When you write "transport request in development which is not moved to quality" - was the transport ever released and exported from the development system? If yes, and if the "Transport files" are still available in "Transport directory" (or if the transport files were backed up and could be retrieved), the transport could be imported again. If the TR was not exported, you are out of luck, I believe...
    I would not recommend you do it on your own even if you happen to have enough authorizations (consult with Basis and/or Transport Admin, if you have one in your organization). I would not recommend that it's imported on a development system or QA system, even if the transport contains no other objects - only the SapScript form in question. Import it on a "sand-box" that gets overwritten by system copy from time to time... Once the transport is imported, you should have the old version of SapScript in that system and could analyse the changes and perform manual merge.
    cheers
    Jānis

  • No data in Application failure Analysis report for a particular application alone.

    Dear All, 
    We are not able to get the data in Application Failure Analysis report from Appadvisor for a particular application(say ABC) alone, whereas it works fine for different application. Also,we could get the data from other reports(such
    as Application status,Problem distribution analysis,etc) for the same application(ABC). PFB snapshot for your reference.
    Thanks in Advance.
    Regards,
    Rajesh Kumar C

    Hi,
    Is there any error message when you run Application Failure Analysis report for the specific application?
    Does this application have any failure alerts?
    You may also look into operation manager even logs to check is there any errors or warnings.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to get the trace file name for current running application?

    Hi, I want to know if it is possible to get the file name directly for current running application instance which is launched by javaws.
    There is a property "deployment.user.logdir" tells the log directory, it would be great if a file name property
    is available. something like "instance.trace.file".
    Our application wants it because we would like our client send use the application log by clicking a "send error"
    button, the codes finds the trace file and compress it and send it by using a smtp server.
    In 1.5, we can do it by using a shell program.

    I found other asked it before, but I tried to set both properties, but neither works. my sun JRE version :java version "1.6.0_04"
    <property
    name="deployment.javaws.traceFileName"
    value="abcfefsfdsf"/>
    <property
    name="deployment.javapi.trace.filename"
    value="235235235"/>
    But it always write to one trace file with name lik javaws63645.trace

  • How to get the  ESS & MSS users in ECC 6.0  into portal

    Hi Experts
    How to get the  ESS & MSS users in ECC 6.0  into portal
    Thanks
    Daya

    Hi,
    You need to have SSO in between ECC and portal and use ABAP engine as your UME.
    then ECC users can directly login to portal using the same user id and password.
    Or you can create the ECC system in portal and user mapping should be done for every user to the ECC system.
    Thanks,
    gopal

  • What are events in LBWE for a particular application  area

    hi ,
    I would like to know what are events in LBWE for a particular application area extract structures.
    What impact and how does it relate to BW/BI

    Hi
    There are lot of discusions on EVENT in SDN you can search and kindly look below links:
    Events in LO cockpit
    LBWE events
    events
    and so many other discussions
    http://forumsa.sdn.sap.com/search.jspa?threadID=&q=LBWE+EVENTS&objID=c4&dateRange=all&numResults=15
    Ravi

  • The password I use for installing downloaded applications or installing basically anything isn't working but I didn't change it or let alone touched it. How do I fix this? I'm on an iMac 21.5 inch, Mid 2011 and Mac OS X Version 10.7.3

    The password I use for installing downloaded applications or installing basically anything isn't working but I didn't change it or let alone touched it. How do I fix this? I'm on an iMac 21.5 inch Mid 2011 and Mac OS X Version 10.7.3

    I've no idea why it has stopped working, but you could reset it:
    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/

  • I dont know the username and password for this dba application

    Hi,
    I dont know the username and password for this dba application. I installed the rmp file in /usr/lib. I will appreciate it if someone can sollve my prroblem.
    Thank you.
    'Dapo

    Hi,
    I dont know the username and password for this dba application. I installed the rmp file in /usr/lib. I will appreciate it if someone can sollve my prroblem.
    Thank you.
    'Dapo

  • HT4889 When I transferred my data from a 128GB Macbook Air to 256GB Macbook Air (brand new version as of 9/1/13) I end up with 188GB used!   I add up the size of Users, System, Library and Applications and it comes to 90GB.  What am I missing?

    When I transferred my data from a 128GB Macbook Air to 256GB Macbook Air (brand new version as of 9/1/13) I end up with 188GB used!   I add up the size of Users, System, Library and Applications and it comes to 90GB.  What am I missing?  How did I "use" up so much space in migrating from one Mac to another?

    Did you use the Setup Assistant available at the beginning of the new machine's setup process? Or did you use Migration Assistant later after you had set up the new machine?
    If you used Migration Assistant, you generally wind up with two accounts (the new one you set up on the new machine plus the old one you ported over) - that may explain your excessive use of space. In that case, you can either manually combine/remove all unnecessary duplicate files, or you can start over by using Command + R, wiping your drive, and downloading the OS. Once it's downloaded, use the Setup Assistant offered at the beginning of the install/setup process.

  • The password I use for installing downloaded applications or installing basically anything isn't working but I didn't change it or let alone touched it. How do I fix this?

    The password I use for installing downloaded applications or installing basically anything isn't working but I didn't change it or let alone touched it. How do I fix this?

    iMac 21.5-inch Mid 2011
    Mac OS X Version 10.7.3

  • What is the best Voice recognison for calling phone application

    What is the best Voice recognison for calling phone application in the market now, free or not ????
    Do you have any sugesstion

    In my Opinion.. Vlingo (Free) is the best voice rec phone dialer... It is the swiss army knofe of voice recognition for the iPhone.

  • How to find out the cost of SAP user for a particular user id

    Dear All,
    I got one issue like how to find out the cost of SAP user, i mean for a particular user id.
    Could you please advice me regarding this.
    Raghu

    Hello Raghu,
    I got one issue like how to find out the cost of SAP user, i mean for a particular user id.
    Could you please advice me regarding this.
    I think you need to reach out to BASIS consultant to check out the Cost involved for User ID for the SAP application.
    Regards,
    Sarthak

  • How to block users for a particular type of transaction?

    Hi SAP Experts,
    wishes for the day.
    TDS related entries should be passed from the accounting side but the tds entry has passed from MM side at my client place.and now they want to restrict the tds kind of entries to the MM users.How can i block the mm users for particular this kind of transactions.
    Full points will be assigned for the right solutions.
    Regards,
    Sumeya Offrin

    In the Control Data of FS00 there is field 'Authorization Group'
    Please Create an Authorization Group for those user ID who can post TDS entries.
    then Maintain this group for TDS related GL.
    Then others will not able to post to this GL.
    Regards,
    Alok

Maybe you are looking for

  • Payment proposal not generated throgh f110

    Hi FI Gurus, My problem will understand with the following scenario: I have one vendor having debit balance of 5000 and have many debit and credit trsanction including down payment of 6000. I haven't clear down payment through F-54. I executed f110,

  • Order of Index and Glossary in Printed Documentation

    In my RoboHelp HTML project, I'm adding an Index and Glossary to the Printed Documentation section layout. I want both files below the Chapter Layout icon. They both will go no further than the first icon above the TOC. The down arrow is grayed out.

  • Portal intergration

    Hi Experts, I am working on webdynpro abap,i need material on WEBDYNPRO ABAP  PORTAL INTEGRATION  if u provide me with screen shots it will be good reference to me. THANKS & REGARDS. krishna.

  • Advanced Data Grid e4x Failure (Bug?)

    Lets say I have an AdvancedDataGrid, a custom HierarchicalData descriptor, and the XML below. The HierarchicalData descriptor returns only the "a" named elements (e.g. <a><b att="1">foo</b></a>) for each row. <a> <b att="1">foo</b> </a> <a> <b att="2

  • Annoying firmware bug .

    Say you have one album by an artist, and also a single track not from that album (as I do for several artists). I have the "album" tag for the single tracks left blank. Now put both the album and the single track onto the iPod, and try to find the si