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

Similar Messages

  • How to track session in Webdynpro Java application

    Hi All,
    How to get the session reference of any Webdynpro Java Application . My purpose is that thr is one WD application is getting launched , now if suppose user didn't perform any action on it and session for that application got expired . After the session got expired i have to update the table with the status . So to track that i need the session reference of WD application which i m looking for .
    How could i get the same . Kindly help me on this .
    Thanks & Regards,
    Mitul.

    Hi ,
    HttpSession session = request.getSession(false); //get the current session, if there is no session yet, return null
    if (session == null) //forward to first page
    else //do normal work
    Then u can update ur session right ,
    Regards ,
    Venkat

  • Call stateless session bean EJB 2.0 from Webdynpro Java UI

    Hello,
    Can someone please tell me asto how to call a stateless session bean EJB 2.0 from Webdynpro Java UI?
    The NWDS version is 7.0.
    Thanks and Regards,
    Arya

    Hi Aryadipta
    Please check this pdfs
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10&overridelayout=true
    Steps for calling stateless session bean in Webdynpro java
    Go to NWDS -> open perspective ->j2ee
    select EJB Module Project ->create a project with name
    Open the Project -->RC on ejb-jar.xml -> Select new --> EJB
    Give name to EJB Bean (First letter should be in capital letters)
    select the type of bean as Stateless session bean and give the package name to store that EJB bean.
    After that Expand ejb-jar.xml and then select the <projectEJB> 
    Double click on this on method  tab double click you will get business method where we will create the methods for business logic
    Double click on projectEJB and then RC on bean tab and write required business logic in bean window as follows(based on requirement we will design a business logic).
    After writing the business logic go to project -> rebuild
    Till now we have created one EJB jar file
    then go to File-->Enterprise Application Project -->create a project (projectEAR)
    After creating a project click on next-> here we will have ear projects and then we select specific project required for our application.(here select projectEJB)
    After that Calculate EAR project will be available on j2ee explorer.
    Right click on <Bean> here
    select New->Web Service->give a name to webservice and select Default configuration type as simple SOAP
    -->click next -> Finish.
    That webservice and related are created in ejb-jar.xml .
    Expand the ejb-jar.xml.and double click on < webservice>
    RC ProjectEJB -> Build EJB Archive RC on CalculateEAR ->Build applicationarchive.
    Expand the projectEAR->RC on CalculateEAR.ear->Deploy to J2EE Engine
    Double click on calculateEAR.ear ->Webservice navigator tab ->we eill servers expand the node
    select the specific WebService  
    Here we test the webservice by click on Test and test it.
    After that go to Web dynpro perspective ->create one webdynpro Project and one component
    RC on model> Select import Web Service model(last)>give model name and package
    and select radio button as local file system or URL
    Go to WSnavigator->copy the WSDL path and paste it in model WSDL path and click on finish.
    from here onwards steps are same as that adaptive RFC model
    Hope it helps
    Thanks
    Tulasi Palnati
    Edited by: Tulasi Palnati on Aug 26, 2009 12:15 PM
    Edited by: Tulasi Palnati on Aug 26, 2009 12:43 PM

  • Session expired application Webdynpro java

    HI:
    I am developing an application in WebDynpro Java (J2EE Engine 7.0), which does not run in the portal but is simply displayed on the WAS server.
    The problem is I need to catch the exception from the code to not get the error 500: session expired.
    I can not change the session time from the properties of the application because it is a customer requirement with 15 minutes session expires.
    How I can resolve this?
    Thanks and best regards.
    Maria Elena

    HI:
    I've been reading the note and I have a question.
    To change the error page, it is in the web.xml, for example:
    <error-page>
    <error-code>500</error-code>
    <location>/customerrors/500.jsp</location>
    </error-page>
    With this code if I have a 500 error, will launch the jsp (500.jsp).
    my question is: where I have the web.xml?
    Do I have to develop a J2EE aplicaion or is directly in my WebDynpro application or is on the server?
    Thanks and best regards

  • ESS Webdynpro Java Employee enqueue / lock

    Hi,
    the ESS-WebDynpro-Java Applications (f.e. esspdata, essadr, ess~cats) lock the employee in HCM Backend System. How long is the duration of the lock, is it possible to customize the duration?
    Regards

    the lock is valid till the session in these services is valid, ie its just like using pa30 to edit your details, as soon as you exit
    this is released, this cant be controlled for services but as a portal session this can be set for timeout if the user is idle!

  • Problem while deploying a webdynpro java application in NWDS 7.1 version

    HI All,
            I got the below error when i deploying the  webdynpro java application in NWDS 7.1 version..help me out...........................................
    Exception:
    com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[Ecc]
    NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
    because of deployment or down engine( service ).
    Reason: Object not found in lookup of
    tcbldeploy_controller.
         at
    com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
    .java:64)
         at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:118)
    Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1118]
    NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
    because of deployment or down engine( service ).
    Reason: Object not found in lookup of
    tcbldeploy_controller.
         at
    com.sap.engine.services.dc.api.session.impl.SessionImpl.createCM(SessionImpl.java:320)
         at
    com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.<init>(DeployProcessorImpl.ja
    va:136)
         at
    com.sap.engine.services.dc.api.deploy.impl.DeployProcessorFactoryImpl.createDeployProcessor(
    DeployProcessorFactoryImpl.java:26)
         at
    com.sap.engine.services.dc.api.impl.ComponentManagerImpl.getDeployProcessor(ComponentManager
    Impl.java:46)
         at
    com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
    .java:58)
         ... 1 more
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object
    not found in lookup of tcbldeploy_controller.
         at
    com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
         at
    com.sap.engine.services.jndi.implserver.ServerContextRedirectableImpl.lookup(ServerContextRe
    directableImpl.java:80)
         at
    com.sap.engine.services.jndi.implserver.ServerContextImplp4_Skel.dispatch(ServerContextImplp
    4_Skel.java:555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
         at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136
         at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pro
    cess(ApplicationSessionMessageListener.java:33)
         at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    First check is Java stack is running ?
    make sure J2EE_ADMIN user not locked.
    Ans please check password in secure area. check password in secure store should be correct.
    may be you can try with restart of SAP and DB.
    All the best
    regards
    nag

  • CATS webdynpro Java - working times in weekly view

    Hi Team
    1.  Start & end time in Weekly view : Requirement is to allow shift planning employees to enter their working times in  weekly view itslef. But as I had discovered that it is possible to enter it only in dailuy view of webdynpro Java application in ERP 6.0.
    I came across a better Webdynpro ABAP application which exactly fits the requirement but it is part of EHP5, getting a mini upgrade for one application was also rejected. is it possible to implement in a short period of time without great impact ..anybody experienced on this?
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/30/e67780e37f4f5a90105a9e9205660f/frameset.htm
    So I am again back to finding way to enhance the weekly view.I read all teh therads...didnt find anyone successful
    2. Default Attendance type & target hours & start & end times from Infotypes : CATS0002 exit is called only when we go to next step ,is there any other way to default as soon as CATS screen is loaded ?
    Any help would be greatly appreciated & rewarded.
    Thanks
    Edited by: Nidhi Guglani on Mar 10, 2011 5:17 PM
    Edited by: Nidhi Guglani on Mar 14, 2011 12:10 PM

    Hi Suresh,
    Thanks for your valuable inputs. I went and looked into the java file and found bit different.I dont see how they are getting the column headers like Saturday,Sunday,Monday...
    Basically I need to keep one 'Submit' button on top of my table and on click, it should populate 8 hrs in the correspounding column.For eg. if its monday, it should default 8 hrs in monday column so  that user dont have to manually type it in and also save these working hrs in the backend system without further click on 'Save' or 'Review'.
    I still need to check with the ABAPers regading the user exit.
    Also, Is it possible if I create a custom webdynpro application where I can use a BAPI that takes in the current day from my webdynpro and update the cats database and send an export parameter with success or error message.
    Thanks
    Anjana

  • Transport of activity from Quality to production for webDynpro Java applica

    Hi,
    can anybody tell me how do i go for transporting activity in webdynpro java applications from quality to production server.
    i have done some changes in webdynpro code  and deployed in quality system. i have created activity and now want to transport that to production so that the changed functionality should reflect in production system.
    Its urgent so your quick suggestion will be appreciated.

    Hi,
    can anybody tell me how do i go for transporting activity in webdynpro java applications from quality to production server.
    i have done some changes in webdynpro code and deployed in quality system. i have created activity and now want to transport that to production so that the changed functionality should reflect in production system.
    Its urgent so your quick suggestion will be appreciated.
    Hi Vijayalaxmi,
    Following are the steps for transporting the content from DEV to QA
    1. Check in the activity into DTR and activate it. Once it is activated successfully it will show green
    2. Now go to transport view and release the activity by drilling down in waiting... node.
    3. Once the activity is released it becomes available in the Consolidation tab of CMS.
    4. Import the activity in consolidation tab
    5. Assemble the components in the Assembly tab.
    Once you assemble an .SCA file is created in \usr\<SID>\trans\CMS
    6. Copy this file manually and deploy it using SDM in QA.
    Hope it clears your doubts
    Best Regards,
    Ravi

  • Display filesystem in Webdynpro Java Tree UI

    Hi,
    I want to display a filesystem structure and its files in a Webdynpro Java Tree UI. I am using Netweaver CE 7.11. The root node of this tree should be the local filesystem on C:\ or a network share for example, which the users can browse and select a file. Therefore I want to display a filebrowser in my Webdynpro Java.
    My problem is how to access the filesystem and bind it to my tree UI.
    Are there any examples or tutorials reagarding to this?
    Any help would be appreciated
    Thanks in advance.
    Regards, Bernd

    I'd say if you want to browser the user's file-system, you'd need to call a WebStart application, or even an Applet.
    In case you wanna use the local file-system you can start with somethig like:
    File[] listRoots = File.listRoots();

  • How to export a Webdynpro java DC, for reuse in another system

    Hi Everybody,
    I am having a Webdynpro Java DC, i want to give that DC to another person to import into his system and work.  i am doing a export of that DC and creating a zip file.  But when we are trying to import it in another system, it is giving errors.  When trying to build, its not showing DC options at all,  DC-> buid or deploy options are not visible, when right clicked over the DC.
    Am i doing it in a wrong way.  Can anybody help me.
    thanks & regards,
    Ravi

    Hi Ravi,
    Are you working with local DC?
    Then you can take ur dc in the following way..
    Find where the dcs are stored in ur system..
    <Some File Path> .dtc\LocalDevelopment\DCs\<your dc package>\
    There will be a folder with your project name.
    Copy that folder and Paste in the other system under the same folder structure.
    ie., the copied folder need to be pasted here
    <Some path> .dtc\LocalDevelopment\DCs\<your dc package>\
    Once you copied,Open your NWDS and go to DC perspective.In the Local DCs.
    Go to Local Development -- > My Component
    Right Click on 'My Component' and click on 'Refresh'.
    Your new project will appear under the 'My Component' hierarchy.
    Right Click on your project and Choose 'Create Project'.
    Now Proper dc will be available for you to work on.
    If you are facing any problems, let me know.
    Best Wishes
    Idhaya R

  • Webdynpro ABAP or Webdynpro Java?

    Hello experts.
    I want to learn to develop WebDynpro's
    Do you which of the two tools do you recommend? webdynpro java or webdynpro abap.
    Greetings

    Hi Lupe ,
    Although both technologies have same functionalities but even then they are not identical.
    Following are some of the differences:
    Language :-  First difference is the programming language used as the names Webdynpro ABAP and Webdynpro JAVA reflect. In ABAP Webdynpro, along with ABAP coding, RFCu2019s are also supported via Service call. Unlike Webdynpro ABAP, we cannot do ABAP coding in Webdynpro JAVA. Instead RFCu2019s and Web services are created and used in it to serve this purpose. In addition to Web services and adaptive RFC, Java Beans is another model supported by Webdynpro JAVA.
    Design Time Environment :-  Webdynpro ABAP requires ABAP Workbench (SE80) while SAP Netweaver Developer Studio is necessary for designing Webdynpro JAVA applications. So, additional installation is required. This studio reduces the development effort and utilizes some visual tools for creating components which can be reused.
    Storage :-  Applications developed using Webdynpro ABAP are stored centrally in ABAP server whereas in case of Webdynpro JAVA, the code remains on the client machine that is developed using a tool called Netweaver Developer studio. So, due to the powerful version control system of Webdynpro ABAP, the load removes from the development machine which is not possible in case of Webdynpro JAVA.
    Skills Required :- For Webdynpro ABAP, a developer should have knowledge of ABAP programming, Development tools, Database concepts, ABAP Objects. However, Webdynpro JAVA requires skill set comprising java programming, java development tools and object-oriented concept.
    Performance:-  Large scale applications that involve large number of web users canu2019t work well on ABAP server. So, for robust and scalable applications, Webdynpro JAVA is preferred because of powerful J2EE server as proved by Sun Microsystems. However, small-scale or applications involving small or medium users can go well with Webdynpro ABAP. Thus, performance varies depending on the number of web users and one can choose ABAP or JAVA accordingly.
    So the decession is that its totaly based on your available skillsets and your scenario to be implemented.
    Thanks & Regards,
    Monishankar C

  • Date format problem in webdynpro java

    Currently, the date format that gets displayed in our webdynpro java application is MMDDYYYY...i am assuming this is because the web dynpro application has language resource set to en_US as its Current locale in the web dynpro deployed content section.  Howver i want it to display as DDMMYYYY. I have changed the default properties in visual admin for web dynpro from en to en_GB however this has no impact what so ever as the current locale is always set to en_US even after the change so am wondering this property is hidden some where else.  Now the web dynpro i am talking about is a adobe portal application. Could you give me any pointers as to where else i can look for or how i can change the current locale properly ??
    Regards
    Kalyan

    Hi.
    Also this link could help you.
    http://help.sap.com/saphelp_nw04s/helpdata/en/18/f3674039c6c549e10000000a1550b0/content.htm
    In special the table showing the order the locale is set in the web dynrpo application.
    Also it is shown in the last pages of this document, [Web Dynpro for Experts|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/58a7e390-0201-0010-abb1-8eec7eb7a2ec?quicklink=events&overridelayout=true].
    And finally you may use the sap.locale request parameter, how it's defined [here|http://help.sap.com/saphelp_nw04/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm]. You must add ?sap-locale=en_GB to url.
    Manuel Loayza.

  • 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.

  • BI Java SDK: Bex query in Webdynpro java

    Hi,
    I want to know is it possible to view a Bex query output
    in a webdynpro java application. There is a Bex query defined i just want to get the report of this query or atleast the output of this query. Also how will be the output structure? i am not familier to BI plz help. I did go though BI SDK documentation but did not help
    Vinay

    Hi Vinay,
    The BEx query output in webdynpro is with help connectors. the connector SAP query which you were speaking about is one of the four options. I hope this is the link what u were refering to link:[http://help.sap.com/saphelp_nw04/helpdata/en/6e/011e681cf74ab4b3acf73f77653405/frameset.htm]
    SAP Query is a component of SAP's Web Application Server that allows you to create custom reports without any ABAP programming knowledge. The BI SAP Query Connector uses SAP Query to allow applications created with the BI Java SDK to access data from these SAP operational applications.SAP Query offers users a broad range of ways to define reports and create different types of reports such as basic lists, statistics, and ranked lists.
    It would be a better option if  with JDBC connector because that worked for me in extarcting data from a different source system.BI JDBC Connector is aslo used to make these data sources available in BW, via BW's UD Connect.
    For the WD code i need to check.
    Please tell me if its helpful.
    Regards,
    Shaila.

  • Has anybody created Iview from "Webdynpro Java" component in CE7.1 ?

    Hi All,
           Has anyone created Iview from Webdynpro Java component in CE7.1.
    Because the wizard that appears for creation of Iview has only "Webdynpro ABAP"
    component.There is no option to create iview from "Webdynpro Java" component.
               Althought in portal content--->Template folder i can see there is also
    another template for "SAP Webdynpro iview" which i think is for the Java scenario.
    But issue is, its not coming in the wizard.Can anyone tell me how to make it appear in the wizard ? It will be of great help to me.
    Thanks and Regards
    Ashis

    Hi Ashis,
    your deployed webdynpros are published under "web dynpro applications". just copy the webdynpro from there and paste it into the portal content section.
    http://help.sap.com/saphelp_nwce10/helpdata/en/ce/e0d6f54ae641fc9566501cffaa8c6c/frameset.htm
    Hope that helps you.
    Best wishes, Jens

Maybe you are looking for

  • Character set Conversion Buffer Overflow Error

    Hi, I have got an issue while loading data from a flat file to a staging table. i.e., Character set Conversion Buffer Overflow. Suppose there are 10,000 records in a flat file, after running control file only 100+ records are loading to the staging t

  • Insert in Pre-Update...please help...

    hii all... i have master/detail block form.... Table - T_MAST (MASTER) M_CODE M_NO M_DATE M_PARTY M_DISC_AMT M_CHRGS Table - T_DET (DETAIL) D_MCODE D_MNO D_ITEM D_QTY D_PRICE D_AMT (Non-DB Formula item, calculates D_QTY * D_PRICE) D_TOT_AMT (Non-DB S

  • Will a Thunderbolt SSD work on bootcamp?

    I was wondering if this http://www.lacie.com/uses/products/product.htm?id=10549 would work on Bootcamp?

  • Itunes wont activate my iphone2G my phone is stuck at emergency call

    I restored my Iphone2G to factory settings, but itunes wont activate my phone. stuck at emergency call. i have a itune account already. But as i go along the activation itunes stopped at terms and conditions. pls help me out!

  • Inserting XML file (newbie problem)

    Hi All, With some help last week, I have been able to register some schemas on my XE database. I thought the next logical step would be to try and insert (and then retieve) an XML document into this schema. I've gradually been working my way through