Closing ITS Sessions

Hi,
We migrated our ISR services to Integrated ITS. ISR has a main service QISR from which we can call the required services. The new service is opened in a new window. All the services called from QISR are custom services. These custom services have their own HTML templates and Java Script (JS).
Earlier on Standalone ITS if we choose "Quit" from the main QISR, along with the main QISR session all the sessions of the subsequent services gets closed.
This is not happening in Integrated ITS. If I quit the main QISR service, only the main QISR session gets closed. All the sessions of subsequent services still hang around. (I can see them in SM04)
These custom services doesnt have the "Quit" option within them. How to close these sessions on closing their browser window? Can we use the onunload event..?
I saw the thread [Close ITS-Session|Close ITS-Session] but couldnt be able to close it using JS or by different means.
Can somebody post the JS code? or any other ideas on closing the sessions?
Thanks,
Ravikanth
Edited by: Ravikanth Tunuguntla on Jan 25, 2009 3:30 PM

Any ideas please?
Regards,
Ravikanth

Similar Messages

  • Integrated ITS : Session killed but memory still reserved

    Hi,
    I'm a basis guy, new to portal technology.
    Our users launch webdynpro  from EP6 Portal, the HTTP request our SAP ECC6  system (web as kernel 700) with integrated ITS. One of the user session has been lauchned yesterday, and was still running this morning that lead to a memory bottleneck. Because of that no more HTTP user was able to logon to the application server.
    The user session has therefore been killed using transaction sm04, now the users ara able to reach again the server.
    BUT, in transaction SITSPMON I can see that the memory session has not been entirely released, the ITS session still appear (without hte user name)
    same thing in transaction ST02, where 80% of the extended memory is used with ... 3 users connected.
    I have already checked sap note Note 742048 (- Integrated ITS, memory requirement in application server), our memory parameters doesn't seem to be the problem (em/global_area_MB  =1024 ).
    My question : Is there an other way to kill an ITS session ?
    How can I retrieve the used memory ?
    Any useful help would be highly appreciated.
    Best Regards.

    Hi,
    I'm a basis guy, new to portal technology.
    Our users launch webdynpro  from EP6 Portal, the HTTP request our SAP ECC6  system (web as kernel 700) with integrated ITS. One of the user session has been lauchned yesterday, and was still running this morning that lead to a memory bottleneck. Because of that no more HTTP user was able to logon to the application server.
    The user session has therefore been killed using transaction sm04, now the users ara able to reach again the server.
    BUT, in transaction SITSPMON I can see that the memory session has not been entirely released, the ITS session still appear (without hte user name)
    same thing in transaction ST02, where 80% of the extended memory is used with ... 3 users connected.
    I have already checked sap note Note 742048 (- Integrated ITS, memory requirement in application server), our memory parameters doesn't seem to be the problem (em/global_area_MB  =1024 ).
    My question : Is there an other way to kill an ITS session ?
    How can I retrieve the used memory ?
    Any useful help would be highly appreciated.
    Best Regards.

  • ITS sessions

    My SAP system is ECC6.0, My issue is When i close an webgui ITS session it is still active in sm04. we have to manually terminate the session in sm04

    Hi,
    Use ~singletransaction = 1 parameter on your ITS Services.
    Hope this helps,
    Iván.

  • ITS sessions in WebDynpro JAVA

    Hi experts
    We are developing a WebDynpro JAVA application in WAS7.0.
    In one view, we show a ITS page into iframe object. When open this page, in SAP transaction SM04 is showed the ITS session, but when we navigate back, to other page, or close navigator, the ITS remains open in SAP.
    If we open the ITS page directly in navigator and close them, the ITS session disapears in SM04.
    Any idea to solve this?
    Thx for advice

    Hi
    httpwatch is a tiny utility that allows us to monitor the http requests .
    you can get it here.
    www.httpwatch.com
    Using this you will be able to understand when the Sessions are being logged off
    in both of your scenarios.
    Regards
    Rajendra

  • ITS Session.........

    How do you kill a ITS session after exiting a browser?
    Currently the service in SICF is setup for external access for our websites but when the use closes the browser the user session that's the service is logged into is still alive.  I've tried to use ~SINGLETRANSACTION = 1 but that doesn't seem to work since this isn't a webgui interface.

    I don't see how the S2 would affect the parameter.  We have other themes we are using that don't contain numbers and it still doesn't disconnect.
    The landscape of our website is not of the usual where a user automatically comes into the site starting up the SAP ITS session.  They start at the front end of the site then once a item is added to the basket it is then the SAP ITS session will start and they can go back to the front end to pick up more products to add.
    I've tried it on another one of our website and it's still not working when they close the browser.  What occurs when the session timeout in the SICF is not set?  When will the session end?
    ~COOKIE     0
    ~SOURCES     ZW20
    ~DISCONNECTONCLOSE     1
    ~THEME     BN
    ~TRANSACTION     ZW20
    ~USERAGENTCHECK     0

  • SSO / Logon Ticket: Taking over ITS session

    Hi,
    we have an serious SSO issue.
    <u><b>SCENARIO:</b></u>
    <b>User A</b> logs in the portal and accesses SAP EBP via ITS (HTTP link within Enterprise Portal opening a new Browser Window and launching https://buyer.test.xxx.intranet.com/scripts/wgate/bbpstart/!). <b>User A</b> close the browser window where EBP is launched and logs off the Portal but does not close the browser window where the Portal was accessed. On the same client machine and same browser window <b>User B</b> logs in the Portal and access SAP EBP via ITS the same way the <b>user A</b> did before. If we now look at the users settings in SAP EBP ITS he has the user details from <b>User A</b>. Hence <b>User B</b> has the ITS session of <b>User A</b>. On the other hand within the Portal the users are recognized correctly after login.
    <u><b>SETUP:</b></u>
    Portal load-balancing.
    EP URL: https://portal.test.xxx.intranet.com
    ITS EBP URL: https://buyer.test.xxx.intranet.com
    <u><b>ISSUE:</b></u>
    The SSO ticket should be killed after logging off the portal.
    System versions:
    6.0.2.33.0.Enterprise_Portal_Support_Package_2
    6.0.2.33.0.ContentManagement_Collaboration
    J2EE patch level 33
    ITS 6200.1017.50954.0, build 730827 (620 patch level 17)
    Regards,
    Adam Kreuschner

    Hi Adam,
    it looks to me like the Portal SSO ticket is destroyed at logoff but not the EBP SSO ticket. This is a normal behavior within the portal, because SAP EP can only destroy its own session identifiers, not those created by third-party tools.
    For your SP2 version there is a solution for this kind of problems as described in SAP Note 696294.
    It describes how to set some UME properties in order to redirect at logoff to a special site. This should be a site that destroys the session of EBP (EBP Log-Off URL?!?).
    Hope this helps,
    Robert

  • Close ITS-session under NW7.0

    Hi!
    Is there a way to get open ITS-sessions for a user and close one/all of them programmatically? I checked CL_HTTP* classes and ICF-SAP Help, but without success.
    Regards,
    Thomas

    Gave it up finally.

  • ITS session timeout

    I have a problem when someone closes out of a ITS session in the web browsers by using the “X” in the upper right hand corner of the browser there is an SAP session left hanging out there. If you go into transaction AL08 the session stays out there for hours. How do I get the session to timeout? Is this an SAP setting or an IIS web server setting?

    Hi Chris,
    in ITS 6.20 you can set this by using service parameters (AKA ~ Parameters). These values are set in <itsroot>/6.20/<Instancename>/services folder. Either in global.srvc for all services or in <servicename>.srvc for one specific service.
    ~timeout => time (in minutes) of inactivity till the session is deleted
    not to mix up with
    ~usertimeout => time (in hours) till the log on cookie expires
    HTH
    Ralph

  • ITS Session produces lock entry in SM12

    Hi
    I'm new to the ITS technology.
    I have to integrate a Dynpro into a WebDynpro.
    Me was told to use the Iframe component in WebDynpro to integrate the "normal" Dynpro via ITS.
    In a prototyp I have a WD-View, let's call it View1, where I can press a button to navigate to a second view (view2) where my Iframe is included. The Transaction is called automatically.
    That works fine so far. The dynpro is visible in the webdynpro.
    Now to my problem.
    If I navigate back with the WD-Navigation button to the view1 and then with my button to the view2 again, the Transaction (that is called autom.) says that the data is already locked by me.
    I assume that the first session is not closed with using the webdynpro button.
    (A lock entry is listed in SM12)
    How can I tell the ITS-Server explizit to end the session?
    Thanks for your help!
    regards, Tom

    Hello Tom,
    what type of ITS service are you calling? It sounds as it isn't a SAP GUI for HTML (~webgui=1) service. What does the service looks like? Which ITS parameters are defined?
    I wonder why the ITS service does not use the Distributed Session Management provided by many of the SAP clients. However, SAP GUI for HTML brings its own client session management with it. Though it is not supported by SAP, the parameter ~disconnectonclose (that is responsible for that client session management of the SAP GUI for HTML) also can be turned on for so called EWT or IAC services of the ITS. You can find more information in note 689291. Please attend to the notes!
    With best regards,
      TJ

  • One Entity closed its operations due to running in losses how HFM Consider?

    Hi Can any one explain me step by step process in a complete Gamut, procedure for the below
    Our Group reporting came to know that in the middle of the year one entity is running in losses thought that it should be closed immediately assume that they were already implemented Hyperion Financial Management.
    What is the first step we should do in the HFM Appplication? and next step in the FDQM? and in the rules file,? and in terms of Parent; child relationships and in terms of its preservation of data

    Hi, I'm trying to understand:
    1. Have you already implemented an HFM application which already runs in production?
    2. Were you in the process of implementing an HFM application, while the news of that entity arrived?
    3. Have you already published reports, without knowing that the company should be shut down?
    4. Have you just received a notification that the entity will be handled as closed down in the next publication?
    It might help to better define your problem, if you can answer the above questions.
    --Kostas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Closing IIOP session

    Hi,
    I have searched the archives and have seen many people ask how IIOP sessions are closed, but as yet no answers.
    Oracle docs say two things:
    1. Connection closes when all objects are deactivated. I have tried calling .remove on all my ejbs but it does not close the session.
    2. Setting session timeout. Docs suggest that calling oracle.aurora.net.Presentation.sessionTimeout(N); sets session timeout so that the session will time out this after N seconds after the last request. This does not seem to work, although it does seem to have the effect of keeping the session alive for that time after the client disconnects. I am accessing from webserver so would prefer not to restart webserver to disconnect session.
    I have also tried calling sessionCtx.close(), but no luck. I must admit this did not come from docs, but it was there so I tried it.
    Any ideas?
    Cheers
    Nic
    null

    in 817 on the client, you can do:
    import oracle.aurora.AuroraServices.LogoutServer;
    LogoutServer logout = (LogoutServer)ic.lookup(GIOP_SERVICE + "/etc/logout");
    logout.logout()
    similarly you can lookup
    /etc/login and authenticate()
    or /etc/timeout and setTimeout()
    also on the server you can register your own end of call callback to exit. see 817 demos.
    null

  • SSRS report security by expiring its session

    Hello all,
    We are using SSRS 2008 r2 for Reporting as its financial services company so, too much scope for reporting .
    Here, i am facing some problems let to security when users opens report and forget to close anymore report still stay opens for a hours i get suggest that to expired session for report after 10 minutes . How to achieve this please help.
    also ,  instead of login to application users are opening report from browser history .
    Dilip Patil..

    Hi Dilip,
    According to your description, you have reports which can be accessed by a lot users. Now you want to expire the session 10 minutes after the user has no operation on the page. Right?
    In this scenario, we can embed javascript code in the report page. Keep the page monitoring the event on page. If there's no mouse click/move, key press event for 10 minute, it will redirect/close the page. Please go to the Report.aspx file, it locates at
    C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportManager\Pages. Embed the code below:
    <script type="text/javascript">
    var load_time = null;
    var down_time = null;
    function window.onload(){
    flag = false;
    load_time = setTimeout(function(){
    location.href("http://server name/Reports/Pages/Folder.aspx");
    },600000);
    function clear(){
    clearInterval(load_time);
    if(null != down_time){
    clearInterval(down_time);
    down_time = setTimeout(function(){
    location.href("http://server name/Reports/Pages/Folder.aspx");
    },600000);
    function document.onmousemove(){
    clear();
    function document.onmousedown(){
    clear();
    function document.onkeypress(){
    clear();
    </script>
    Then the report will redirect to the Report Manager page if it's timeout.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Urgent Req: Closing the sessions in EP?

    Hi All,
    If i'm accessing the SAP Transactions throurgh Iviews in EP,if the user closes the EP directly instead of loging Off, the SAP transactions iviews remains stateful.
    I want to know is there any posibility of killing that session or restricting the session.
    Help appreciated.
    Thx
    PRadeep

    One way to force a logoff when the browser is closed would be to import the Masthead iView into Eclipse and add the following Javascript code :
    var closing;
    window.onload = function() {
         closing=true;
    window.onunload = function() {
         if(closing) {
              EPCM.raiseEvent("urn:com.sapportals.portal:user", "logoff", "");
    With this the DSM terminator is called whenever the user leaves the portal for another website or closes the window.

  • Logoff BSP closing application and closing SAP session.

    When I'm closing my  BSP appication by closing browser ,SAP session are not ending.I need to implement logoff functionality into my BSP application.
    Please send me some sample code for logoff from BSP.

    Use this..it worked for me.
      Restart of BSP test application IT00 use sap-sessioncmd=open:
    Example:
    http://myServer.sap.corp:1080/sap/bc/bsp/sap/it00?sap-sessioncmd=open
    Ending the application externally:
    Example:
    http://myServer.sap.corp:1080/sap/bc/bsp/sap/it00?sap-sessioncmd=close&sap-exiturl=http%3a%2f%2fwww.sap.com

  • Closing a gui without closing its parent

    hi,
    I am building a GUI that is opened up by another GUI. My problem is that when I close that new GUI, it closes all the other ones that I have open. It is because I am using System.exit(0);
    My question is, what do I need to do to just close the new smaller GUI that I have opened, without closing the rest?
    thanks in advance...

    Yup its because of System.exit(0);
    you need to this.dispose();

Maybe you are looking for

  • Create a submit button on Acrobat X fillable application.

    How do I put a submit button on an Acrobat X fillable application?  This application should come back to me via email once it is filled out.  Person should also be able to save the form for their files.

  • Using Adobe SendNow and so many people not receiving the mail!

    Using adobe sendnow and so many people not receiving the mail! How do you stop or limit the messages going to spam/junk? Is that where they are going? Please help!

  • Re: Report painter

    Dear Sapmates, I am working on Report painter. I created cost center planning report using Report painter. I used the library 1AB to create my report. I created my report in two environments one in Test (working good) and other one in Development cli

  • Rescheduling Sales Order vs Production Order (Components)

    Hi gurus, Transaction V_RA rescheduling sales order with different filters. We need a transaction similar to V_RA that rescheduling sales order and production order (for availability check of components). Does it exist?? I will reward points to all a

  • IOS 6.0.1 won't connect to wifi

    I used to connect at home and now I can't. All my other devices (iPhone, iPod, iPad) connect. I can also connect my phone at work and other locations, just no longer at home. I have iOS 6.0.1. I downloaded that a few weeks ago. It worked for awhile a