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.

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.

  • 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

  • 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

  • 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

  • Delete ITS session

    Hi all,
    I am use a IFRAME to show webgui ITS in my WDA.
    It's work correct and all good. But when i press navigate link on leave this frame, i see in SM04 that session not shut down. And when i call FRAME again, new session created and my AUFNR is blocked by old session.
    How can i destroy session when i call webgui transaction again?
    App points for you.
    Thanks!

    Hi,
    I had your same problem...
    I resolved it (maybe) with these function module: TH_USER_LIST and TH_DELETE_USER.
    Try to add this code in WDDOAFTERACTION method of your view (with iframe):
      types:
        T_UINFO type standard table of uinfo with default key .
      data:   lt_userlist          type t_uinfo,
              ls_user              type line of t_uinfo.
    Check user session
      call function 'TH_USER_LIST'
        TABLES
          list = lt_userlist.
    Kill current frame session
      read table lt_userlist into ls_user with key TCODE = wd_this->tcode protocol = '1'.
      if sy-subrc = '0'.
        call function 'TH_DELETE_USER'
          EXPORTING
            client = sy-mandt
            user   = sy-uname
            tid    = ls_user-tid.
      endif.
    I hope to be helpful.
    Edited by: Salvatore Giannotti on Dec 20, 2007 2:08 PM

  • MDB and its session...

    I have a message driven bean deployed in a J2EE application. Is there any way that I can get to the Session object that was used to create this MDB?
    Thanks,
    Jason

    yes paul it is possible,
    presently we are using same logic by passing form's session ID to the script.
    as we already have that session ID available as long as form is active. but,
    it would benefit me more for my application,if that happens in reverse fashion.
    reason being, we wanted to imitate the same logic once used in our old 2.5 application. but i don't think it is same with 10g, as database server is different from applicaiton server.
    thanks
    nvs

  • ITS / IAC session management?

    ERP2004 old style 4.7 MSS iviews (ie 60.1.18)
    Having problems with IACs (based on essinmss iview).   
    1st time user navs to the iview fine and all works.  2nd time in they get the 'Start SAP Easy Access' front screen instead of the IAC transaction.  If user clicks the 'log out' link on the IAC before navigating away then they can get back in the 2nd time. 
    So looks like this is an ITS session management issue. 
    Our Basis guys  are telling me that ERP2004 integrated ITS doesn't have a/the rz10 parameter to switch on the session management so that when navigating away from an IAC it shuts the session properly.
    Anyon got any experience with this? Hints tips etc...
    TIA
    J

    I have posted this in another post with same issue. Just putting it here for anybody trying to find solution.
    Note 918265 - SAP GUI for HTML in EP: /!\ Session not fail-safe /!\
    Note 827375 - Integrated ITS 6.40: ~disconnectonclose and IACs
    These notes are talking about upgrading ITS to higher support packages:
    external ITS 6.20 patch level 22
    NetWeaver 2004 Integrated ITS 6.40 Support Package 16
    NetWeaver 2004s Integrated ITS 7.00 Support Package 7
    and upgrading Netweaver kernal to Patch 68.
    Regards,
    Parimal

  • ITS, New user session denied due to memory bottleneck

    Dear Friends,
    We were facing the following issues
    1) when we access Shopping cart functionality (using Internal ITS)
    through web and it is given error
    500 SAP Internal Server Error (Error: New session was refused due to
    memory bottleneck). For every error in web, we could find the entry
    in SM21 as mentioned below,
    10:39:35 DIA 000 300 PHG02777 W0 D ITS, New user
    session denied due to memory bottleneck.
    10:39:35 DIA 000 300 PHG02777 W0 3 ITS, User
    session could not be created
    10:39:35 DIA 000 300 PHG02777 D0 1 Transaction
    Canceled ITS_P 027 ( )
    2) ST22 Dumps: SYSTEM_NO_SHM_MEMORY
    We have followed SAP note #Note 1232973 - SYSTEM_NO_SHM_MEMORY short
    dump and increased the parameter abap/shared_objects_size_MB from 320
    to 640.After that we have not any SYSTEM_NO_SHM_MEMORY error and we
    monitored in SHMM transaction about the free memory and
    available. Before this change, we used to clean manually the ICF shared
    memory when it got accumulated with high value. This implies that the
    problem regarding SYSTEM_NO_SHM_MEMORY is solved.
    But still we were facing issues mentioned in point no 1). When we have
    more than 100 sessions. This is occurring more from 8:00 CET to 12:00 CET
    (peak load)
    Later we changed the value of abap/shared_objects_size_MB from 640 to
    1664 and also we reduced em/initial_size_MB from 12Gb to 11Gb (since we
    are not using full amount of em initial size).
    ****Important *****
    after this change we are facing more often related to point no 1).
    Moreover, We could find the following in the trace file of W0 as,
    Trace file of W0 is showing,
    Tue Apr 14 12:38:42 2009
    WARNING => ipl_MemAvail already 80 % memory used (itsp:
    highwater = 80 %) [itsplmem.c 534]
    ***LOG W0D=> NULL& [itspxx.cpp 697]
    ERROR => itsp_OpenSession failed rc = 1, send icf error page
    [itsplxx.c 878]
    ***LOG W03=> [itsplxx.c 879]
    ERROR => ipl_OpenSession returns 1(ITSPE_FAILURE) [itsplxx.c
    881]
    ERROR => Raise Last error:[27 from: itspxx.cpp :699]
    [itsplxx.c 1214]
    ERROR => RaiseError(sapdext) ITS_P:27 [itspxx.cpp 699]
    Since the parameter itsp/max_eg_mem_percent was set to 80.
    It is not clear that from which memory layout the eror is occuring.
    According to note :Note 785365 - Extended Global Memory (EG) increased
    from 2 GB to 8 GB
    we could see that The size of the EG is obtained from the total of the
    parameter values em/global_area_MB and abap/shared_objects_size_MB
    We would like you check the system and update us about the memory
    layout defined in our system, more specically em/global_area_MB (we are
    planning to increase the value according to note SAP Note 742048) from
    896 (current) to 1200 (10 % of em/initial_size_MB) and reduce the
    abap/shared_objects_size_MB from 1664 to 640 .
    Any help will be highly appreciated.
    Thanks
    Venkat

    to 1)
    You can monitor the ITS memory usage in transaction SITSPMON, but you are on the right track with increasing em/global_area_MB.
    If you see its sessions lasting for a long time, then you might need to adapt the session timeout to save memory (TIMEOUT of your icm server port). Have a look at note [885580 - Integrated ITS: Configuration Parameters|https://service.sap.com/sap/bc/bsp/spn/sapnotes/index2.htm?numm=885580] for details.
    Regards, Michael

  • How to deal the timeout session in BSP application

    Hello everybody,
    inside a BSP application, I want to inform the user that he is near to reach the timeout of its session.
    So I wonder how to know the lifetime of the session and how to calculate the time from its connection.
    Anyone of you can help me on his topic?
    Thanks in advance.

    Starting point: <a href="/people/mark.finnern/blog/2003/09/24/bsp-in-depth-confusion-between-stateless-stateful-and-authentication">BSP In-Depth: Confusion between Stateless, Stateful and Authentication</a>
    The trick will be to after each roundtrip set a JavaScript timer tied to a alert statement. The weblog gives you ideas of what values you want to look at.

Maybe you are looking for

  • A small doubt in credit management

    hi, i have a small query related to credit management,  Eg: For customer XXX there is 1000/- as credit limit.  He has used all the total amount which is shown in credit exposure 999%. How the system behaves or what is the impact on credit exposure th

  • How do you close multiple folders at once in IPhoto?

    What is the keyboard command?

  • Lightroom 4 no longer removes cancelled edits

    In the early days of Lightroom there was a problem where if you cancelled a edit on a raw file in Photoshop without changing the file (maybe you opened in error) you still ended up with a tiff or PSD file that then needed manual deletion. This was co

  • How to export from FCP to Flash .FLV ?

    Hello All; Could someone explain how I export a Final Cut Studio project to .FLV ? I read many places that it can be done but I do not have any such option (That I can find) on the FCP File menu or File Export menu. Currently, I'm exporting to Quickt

  • Upgrade to 2004s : R/3 Plug ins 2003_1

    We currently have  R/3 Plug ins 4.6C_2003_1 can we upgrade to NW2004s - BI 7.0 without upgrading R/3 plug ins. ( I undersatnd we wont be able to use new Business content if we do this ). Thanks, BP