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

Similar Messages

  • How to transfer parameters to Webdynpro Java application ?

    Hello guys,
    I had developed a Webdynpro Java application "ZWD", it's URL is
    "http://jt-pldev:50000/webdynpro/dispatcher/local/ZWD_FLIGHT/ZWD".
    "ZWD" had 2 input parametere "InputField" and "InputField1" .
    Accroding to SAP Online Help  document, we can transfer parameter Webdynpro application .
    I want to transfer parameters to application "ZWD"  via URL
    "http://jt-pldev:50000/webdynpro/dispatcher/local/ZWD_FLIGHT/ZWD?InputField=Frankfurt" .
    But it failed.
    My questions:
    1. How to transfer parameter to Webdynpro Java application "ZWD" ?
    2. Does it possible that transfer input parameter to Webdynpro application and run the applicaiton via specific URL ?
    BR,
    Louis

    Hi Louis,
    You can refer to the following Bertram's article:
    [Inter-Application-Navigation in Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/user-interface-technology/wd%20java/wdjava%20archive/inter-application-navigation%20in%20web%20dynpro.pdf]
    The process of accessing the Application URL parameters is explained for Target Component.
    Regards,
    Alka.

  • How to assign the Thems into Webdynpro Java Application

    HI All,
                   I Downloaded the plugin for them editor and i add those plugins and i created the Them. Please any one can help me how to add that Them into Webdynpro java application.

    Hi ep bhargav,
    You can check this link.....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ccb6bcf4-0401-0010-e3bc-ec0ef03e13d1
    Re: webdynpro theme editor
    Thanks.
    Venkat.

  • How can I debug webdynpro java application?

    hi,
    How can I debug webdynpro java application?
    Thanks

    Check this document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
    Also check this sdn thread Re: DeBugginng The WebDynPro Application particularly shailesh kumar posting
    /padmanaban
    Edited by: Padmanaban on Sep 26, 2008 1:55 AM

  • How to integrate webdynpro java application in HTML pages?

    hi EP GUrus
                i need to re design an Webdynpro java application into web home page. there is one home page designed is wd java . now i have to redesign the page and i have make some web content like training calender new schemes and all which they manually update daily
    thanks in advance
    johny

    hii  sir
               currently we have an application which is accessing through internet using url .that applicalion is wd java application which is need to redesign with dynamic contects

  • 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

  • Lauching webdynpro java application

    hi gurus
    our scenario is like this..
    when employee fills the educational assistance form (customized webdynpro java application) and clicks on the submit button , it should go for approval..while manager opens the workitem it should lauch the same WD form in display mode with approve and reject button. and when he approves ..it should update the data base & it should sends a intimation mail to the employee that his application has been approved...
    MY QUESTIONS :
    1) how to trigger a event from WD java application to start this workflow ...
    2)  how the values can be passed from WD application container to workflow container .i got some ideas by reading some forums for this i want to use SAP_WAPI_READ_CONTAINER , where i want to use this function module
    3) it is better to use the user decision step for the approval process ? . if i am using this then i want to send the form as a attachment in user decision step,  how it can be achieved ?
    4)what all r the other settings i want to maintain .

    3) it is better to use the user decision step for the approval process ? . if i am using this then i want to send the form as a attachment in user decision step, how it can be achieved ?
    I would definitely prefer to open a form with "Approve" and "Reject" buttons instead of having it as an attachment in a user decision step. Especially if it is a application where a user never approves without opening the attachment. For example i may not prefer to approve a leave requisition without viewing it! In that case it will just be an overhead for the user to open the form manually everytime before approving. So make a decision on this based on the use of your application.
    Moreover it is not that tough either (atleast from a workflow perspective) to launch the webdynpro from UWL. Create a custom task and create appropriate entries in transaction SWFVISU (hope you are on or above ECC 5.0) to link your task and WD application. Thats it your application should be ready and shud be launched from UWL.
    But definitely in a custom application your webdynpro developers need to do a lot of work (as we did one in our previous projects) irrespective of whether it is launched directly as a task or as an attachment.
    Performacewise providing "Approve" and "Reject" will just increase one RFC call from your application (to complete your workitem).
    Thanks,
    Prasath N

  • Reusability of Adobe form created in SFP in a WebDynpro Java application

    Hi Experts,
    Can some one advise me how I can use the pdf form created in ABAP side (Transaction SFP) in the WebDynpro Java application?
    What is the procedure to include this pdf object in the WebDynpro application development?
    Regards,
    Shobhit

    Hi,
    You can add customised UI elements by a right click in your library pallette/ ot by dragging the ui elelments into the pallette. Like wise you can put your layout into the library pallette and reuse them. You may refer the Adobe life cycle designer (ALCD) help for it.
    the second option i meant was after designing the layout in the SFP transaction, click on the PDF preview tab in the layout. Save the PDF.
    NOw on developing the Java application, open the ALCD and use tools-> import to import the PDF you have saved.
    Regards,
    Anto.

  • Pass a table from my webdynpro JAVA application to an RFC in R/3

    Hi All,
    I need to Pass a table from my webdynpro JAVA application to an RFC in R/3. How can I do that?
    Regards
    Sarath

    Hi,
    Please have a look at this thread,
    Pass Table as Input to Adaptive RFC
    Regards,
    Saravanan K

  • Is it possible to Disable Right Mouse click In WebDynpro Java Application??

    Dear Experts,
    Is it possible to Disable Right Mouse click In WebDynpro Java Application??
    If yes then kindly suggest how.
    Warm Regards,
    Upendra Agrawal

    What is the use-case?
    Armin

  • Appying theme for Webdynpro java application.

    Hi Friends,
    I have change the font size and the content area of my WebDynpro java application which is a Standard Business package.
    I have already applied the theme in the visual admin,but when I make the changes to the theme it does not reflect on the application part.
    Please also let me know which specific theme values are to be changed.
    Request for all your inputs and solutions.
    Thanks,
    Shyam

    iViews used for application integration have a property called (technical name: LAF_Switch) like Send portal theme. This parameter defines if the portal will send to portal's style sheet definition. If so, the WDJ application will decide on some rules if or not to use the portal theme.
    [The SAP Note 1000889|https://service.sap.com/sap/support/notes/1000889] explains how a WD application decides whether to apply the portal theme or not. The note also gives you some hints to find out why the portal theme isn't getting applied.
    br,
    Tobias

  • WebDynpro JAVA Application iView

    Hello
    i m creating WebDynpro JAVA Application iView
    in the iView Type i select "create one iView for each application view"
    and then for testing i select
    sap.com --> acc_admin_welcome -- > com.sap.acc_admin.welcomeApp --> WelcomeApp
    when i click on the next button it gives an error
    "To continue, select at least one application view"
    how do i rectify this error
    useful answers will be rewarded
    Regards
    JM

    John,
    in an Java WD iVIew you can set up the two application coordinates to allow the use of your object.
    Select you <b>System </b>(i.e. SAP_LocalSystem)
    Therefore you must set:
    <b>Development Component Namespace</b>: sap.com/cc_admin_welcom
    <b>Object / Name Application</b>: WelcomeApp
    Award points for helpful answers.
    Best regards,
    Gianluca Barile

  • 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

  • How many connection opened for webdynpro java

    Hi,
        I have 2 webdynpro java application.The applications sharing  the same backend function module.Could anyone tell me
      How many connection will be established when the same user wants to open 2 different application but these 2 application shares the same function module.
    Thanks
    Kanai

    Hi,
    In webdybnpro ,each Model in an Application utilizes a seperate Connection.If u create JCO connection pool for the User then while connecting to backend
    1)The JCO connection pool Manager will open a new connection pool and opens the first connection.
    The next available connection from the pool is allocated to the model object.
    2)The model object is now able to invoke the required functionality in the ABAP system.
    3) When the connection is no longer required by the application, it is returned to the pool.
    4) The connection remains logged on to the backend system until either the next application
    request is received, or the connection timeout is reached.
    5) If no application requests arrive before the timeout is reached, the connection is flagged
    for closure.
    Note:-If an Application contains 2 models which are connecting to same ABAP system then second Model can be told to share the same JCo connection used by First model This is done by calling its setConnectionProvider() method.
    Regards,
    Sunaina Reddy T

  • How to create webservice in Webdynpro java

    Hi Experts,
          I need to develop one application in Visual Composer.Since VC doesn't support coding so i need to create Webservice in webdynpro java and use that webservice in VC.Can any one of you please suggest how to create Webservice in Webdynpro Java.
    Regards,
    Prasanna.

    Hi prasanna,
    Refer this links.
    /people/sridhar.k2/blog/2006/09/12/creating-and-exposing-bapi-as-web-service-and-using-it-in-web-dynpro
    BAPI Exposed as Web Service
    Connect R/3 from Java web application
    Web Dynpro integration with R/3
    http://help.sap.com/saphelp_nw04s/helpdata/en/82/6a0e7bbe744276bf393654b9b576ed/frameset.htm
    Regards,
    karthik.

Maybe you are looking for

  • Creation of Plant and Godown

    Dear Experts, We have created three plant within a company code, in this one is Godown and other two is manufacturing unit. The Godown is 25 Km far from these plant. We will have transaction of Stock transfer between these plants. Now the problem is

  • IChat and external webcam

    We have been using iUSBCam (http://www.ecamm.com/mac/iusbcam/) with our intel iMac's running OS X Leopard (10.5). This allowed us to change the video settings from within iChat to switch between the built-in isight camera and an external usb camera.

  • How to delete all back ups on itunes

    Hi long story cut short i think i need to delete all my back ups off of itunes is there a way i can do this not single files but everything so i can start again?

  • Jagged edges in vector in Illustrator cs6

    Hello, I am new to Illustrator and I just atempted my first vector drawing.  The problem I have is that I finished all of the lines using the pen tool on all the outlines.  I saved it as an svgz file and then I selected all of the lines and converted

  • Access Denied When Compiling

    I have no problems using the javac command to compile files normally but when I try to compile using the following command - javac - sourcepath <c:\test>  *.javaI am getting the following message - Access is denied.Does anyone know what might be caus