Refreshing of WebDynpro iView when application is Expired

Hi All,
I am hosting a webDynpro application on Portal using WebDynpro iView.
In the Application, I am passing the portal user who has currently logged in, using an iView property Application Parameter property as follows
pUser =<Login.UserId>
In the pUser variable i am getting the value of currently logged in portal user, which is used beigned used in Application .
When WebDynpro application is getting expire as specified by Expiation property of Application, and when we again click on the link specified at the expiration Link,  application gets refreshed but the iView is not getting refreshed and the logged in user is not passed agian.Only when we click on the iView again the portal user is passed to application.
Is there any way by which the we can refresh the iView when application is expire.
Or is there any way by which we can pass the portal Role again WebDynpro application is expire
Thanks in advance.
Regards,
Shruti.
Edited by: Shruti Shah on Jan 7, 2008 5:40 PM

Hi Shruti,
You can use the UME APIs to get the logged in user.
something like the below
IWDClientUser user=null;
    IUser iuser=null;
     try
             user=WDClientUser.getCurrentUser();
             iuser=user.getSAPUser();
             if(iuser==null)
             msgMgr.reportException("null  SAP user",false);
             else
             msgMgr.reportSuccess(iuser.getUid());
        catch(Exception ex)
Award points if helpful.
Thanks
Prashant

Similar Messages

  • Refresh WebDynpro IViews

    HI All
    We have a WebDynpro  Iview which is getting data from BW. For every 1hour data is extracted from R3 and sent to BW.I would like to refresh my webdynpro iview when ever there is data from R3 to BW.  My iview should refresh if there is any data extract from R3 to BW.
    Can we use UWL for this??
    Any suggestions will be appreciated.

    Hi,
    It is impossible to refresh webdynpro view from the outside. The refresh can be done only after some action in your webdynpro application (button click, lead selection change and so forth).
    I think the only way for you is to put TimedTrigger on you view. It generates an action and in action handler you can check whether the data from R3 to BW were extracted and refresh your application data if needed.
    Regards
    Pavel

  • Function or method which returns the full PDC path of webdynpro iview

    Hi All,
    I have created a webdynpro application and created a webdynpro Iview in portal and attached this view to a role.  I am looking for any standard function module or method which returns the full PCD path of the webdynpro iview, when it executed from portal.
    Regards,
    H.K.Hayath Basha.

    Well in ABAP, we don't have portal APIs to access potal catalog info.
    The only available Portal Interface is IF_WD_PORTAL_INTEGRATION
    Abhi

  • Webdynpro iview page

    How to refresh the webdynpro iview page in portal

    HI,
    Do you want to refresh web dynpro java iview through code or refresh the portal iview automatically.
    For refreshing through web dynpro java use ui element : TimedTrigger in NWDS
    [TimedTrigger  |http://help.sap.com/saphelp_nw04/helpdata/en/03/7c6b40dde0980ae10000000a155106/frameset.htm]
    Automatic refreshing portal iview though [caching mechanisms |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/71d7b8dc-0701-0010-dfba-881dba1b5b95?QuickLink=index&overridelayout=true].
    regards,
    Mahesh.

  • Webdynpro iView - Supply Portal Stylesheet

    Hi!
    In a webdynpro iView when I try to change the property 'Supply Portal Stylesheet' to 'No' and I save the property don't change.
    Portal 04s SP12
    Can someone help me?
    Regards,
    Matteo

    Hi,
      any news about this topic?
    I have the same problem in my SP12 portal.
    Any suggestion?
    Thank you.
    Regards
       Leonardo

  • Error when copying a webdynpro iview for one environment to an other

    I am currently setting up a training environment for test purposes.
    I have to copy some webdynpro appplication iview.
    I do the export of the i view but unfortunatly when I import my webdynpro Iview, there are many properties in the new system  that are missing such as application name which give the link to my java application.
    Of course the iview doesn't work.
    Do you have an explanation why the properties are missing? A resolution since I try many time the import.
    Regards,
    Julien

    Hi Julien,
    Please check the status of SLD and JCO in content administrator >> Web dynpro in the portal (new enviroment).
    then deploy your wd applciation.
    then create the transport package - export for webdynpro appplication iview. and import in the new enviorment
    Hope this will help you.
    BR
    Arun Jaiswal

  • How I do to show my customized iView before the application be expired?

    I have a problem in my Web Dynpro Application when it expire, because after this moment, when the user try do anything inside the application, the portal show a stand error page saying that my application has expired.
    My application is in authentication mode and running inside of Portal. I want to do my own iView inside my application an show it before be invalidade the session or force the user to do the login in the Portal again.
    I'm using the NW 2004, service pack 16.
    What the best way to solve this problem?
    Regards
    Luciano

    Use
    myDialog m_dlg = new myDialog(appletFrame);Instead of
    myDialog m_dlg = new myDialog();

  • SAP Portal Network - WebDynpro iView and SAP Application iView sharing

    Hello All,
    I've read about the restrictions in SAP Portal supporting the WSRP standard for application sharing. Mainly WebDynpro iViews and SAP application iViews sharing is not supported. That is in the case of a SAP Portal as producer and Non-SAPPortal as consumer.
    I'm interested in a WebDynpro iViews and SAP application iViews sharing in a only-SAP Portals Network, where SAP Portals act as producer and consumer.
    I've heard about the Remote Role Assignment and Remote Content Copy that are used in such case. I would like to ask if anyone knows if these can help overcome the restriction in sharing WebDynpro iViews and SAP application iViews that is present with WSRP? And if the advantage of WSPR, that is the application execution and rendering on the producer side, and as follows decreasing of bandwidth usage, is remaining in the case of the Remote Role Assignment and Remote Content Copy.
    Thanks,
    Mladen

    Hi Manish,
    for sharing content between SAP and non-SAP Portals, your case, refer to
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/23fb36cad10d23e10000000a1553f7/frameset.htm
    All the possibilities and restrictions of WSPR in the case of SAP EP are explaind there.
    For sharing content between only SAP Portals refer to my other thread:
    Portal Network - Content Sharing
    Hope it helps you!
    Mladen

  • Webdynpro application has expired

    In our XI 7.0 system we started to get the below error message suddenly.
    500 internal server error
    The webdynpro application has expired.Restart the application using the application or the following link "webadminapp'.
    I would appreciate all your suggestion.

    Please check oss note 842635.It may help.
    Regards
    Amit

  • 'java.lang.NoClassDefFoundError' when displaying ESS webdynpro iviews

    Hi,
    We are running ECC5 backend & EP6 SP9. I have done the following :
    (1) Applied via SDM the XSS components & ESS 60.2 Business Package in EP6
    (2) Configured SLD
    (3) Create/Maintain necessary Jco Destinations
    (4) Create necessary System landscape (SAP_Webdynpro_XSS and etc)
    (5) Activated integrated ITS 640 in ECC5
    When I try to access any ESS webdynpro iviews from the Portal, for eg the Address iview :
    https://Portalhost.domain/webdynpro/dispatcher/sap.com/essusaddr/Per_Address_US
    I received the following error :
    java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/progmodel/api/IWDEventId
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructors(Class.java:865)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:68)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:38)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:775)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:329)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:352)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         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:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Any idea what went wrong ? Appreciate your help.
    Thanks,
    Joanna

    Hi Joanna,
    You can find information abt ESS from the following links
    https://websmp203.sap-ag.de/ess
    http://help.sap.com/saphelp_nw04/helpdata/en/52/01fc3f17c2c342e10000000a1550b0/frameset.htm
    Regards
    gEorgE

  • Webdynpro iview form portal on internet

    Hi ,
    I 've a strange problem .
    I'm using NWDS04 SP13, EP6.0 SP13.
    Problem
    1) I 'm pulling web dynpro iviews to the portal.
    2)They are working fine on LAN,WAN.
    3)when i 'm accessing them from internet IP(real ip)
    first screen is coming with all the data.
    when i click on the button or drop down
    problem
    ===============
    Application expired .need to refresh .
    Although i 've set the expiration time 1hr.
    problem is coming only through internet .
    i 've to made some changes or ??
    plz help very very Urgent
    Regards
    Vikas

    Hi,
    I can think of 2 possible reasons
    1. Firewall between portal in internet and R/3 in intranet. In this case you need to open up firewall ports for the iView to work.
    2.. The domain of Portal and the domain of R/3 system may be different. SSO will not work. Try user mapping
    Hope this helps.
    Thanks and Regards,
    Prasanna Krishnamurthy

  • Webdynpro iview in HTML iframe

    Hello,
    I'm trying to put a portal webdynpro iview in a html iframe,
    and when I do it the screen just repeatedly refreshes and never loads,
    but when I try the normal webdypro dispatcher address on the iframe it
    works just fine. The problem with it is that I can not do any portal eventing
    that way.
    Any suggestions?
    Thanks in advance for any answers,
    Udi.

    Hi,
    Hmm, we are trying to access the application from a regular html file, using either the direct link to the iView/application or the quick link.
    For example:
    <HTML>
    <HEAD>
    </HEAD>
    <FRAMESET FRAMEBORDER=0 BORDER=0  ROWS= 200,50 >
    <FRAME FRAMEBORDER=0 NORESIZE NAME="Blabla"
    src="https://<server>.../irj/servlet/prt/portal/prtroot/pcd!3aportal_content!....">
    </FRAMESET>
    </HTML>
    Brgds, Caroline

  • WEBDynpro Iview timeout.

    Hi,
    I have a new webdynpro iview and i would like to set a timeout on it.  Currently when i access the iview and view the content, my sap connection stay open on the backend side.  I want to limit the connection to 5 minutes on the R/3 side.
    If i click on the iview and leave this iview open, the connection remains open until i close it.  I ant to limit the connection time to the backend to 5 minutes
    I am running nw70 patch 16 on 4.6c backend.
    If you have any suggestions, please let me know.
    Thanks
    Jean Seguin

    Hi,
    You can try setting the expiration time of the application. Right Click on Application -> Properties. Browse and Expiration Time, this time is in milli sec.
    Thanks

  • Page cannot be displayed(error in ABAP Webdynpro iview)

    Hi All ,
    I am trying to create ABAP Webdynpro iview. When i try to preview it...i am getting "Page cannot be displayed". I checked the Web AS connection and it is working fine. Please put on some light on this.
    Regards
    Rahul

    Hi Sharma,
    Better U check the  Iview parameters(Application name,and Namespace).
    Also check it out in deployed content.
    Regards
    Nandha.

  • Download functionality in EXCEL and PDF format to the  Webdynpro iView

    Hi Expert,
                      I am using NW 7.0 ehp1 sp3. I developed some Webdynpro RFC model application for the product catalog of the material related data.
    Now my requirement is to provide the download functionality in EXCEL and PDF format to all of these Webdynpro (java) iView.
    How we can achieve this requirement? In which part of the webdynpro application we have to write the code?
    Someone can help me very clearly in steps to achieve this?
    Thanks,
    Kundan

    Hi,
    I don't think it is possible to redirect the html stream of the Web Dynpro iView to a PDF / Excel document, since it essentially would mean you have to call the Web Dynpro application again, maintaining the state and context of the iview itself
    However, using (for instance) the JExcelApi (Excel) or iText (PDF) you could create documents using the data displayed in your Web Dynpro iView, which has the added benefit you could design and layout your PDF / Excel documents in a more suitable layout for printing (most WD applications look horrible when printed)
    Cheers,
    Robin

Maybe you are looking for

  • How can I convert Appleworks files to Pages?

    I have old Power PC files, some Appleworks, some ClarisWorks. I have been exporting them to another Mac to convert. Is there a way to convert them on my current system? Mavericks? (which I regret)

  • All type of FAQ's. pls replyyyyyyyy

    i have many questions . pls replyy.. 1>  how to make checkbox in grid ALV? 2>what we have to write in FIELD EXIT? (which is MUST) 3>wat is the t code to see the object which are in BOR? 4>  tell all the details steps of performance tuning? 5> differe

  • Mac hangs for any ipfwd command with uid.

    Hi, I need to resolve problem with ipfw firewall. When I add any new route which filter based on uid, I lost all connectivity and my Mac hangs. It only can be restored by power cycle. This is example of command I use: sudo ipfw add 100 allow ip from

  • Configure Universal Access in itunes means??????????

    I clicked "Configure Universal Access" in itunes, my device was removed from the list on the left hand side where devices are listed etc. What does this button do? All I have found out is that its to do with vision impaired and hard of hearing people

  • Cannot log in to blackberry id from curve 9360

    i'm using blackberry curve 9360. I can't change my sim card as when i changed it required me to log in to blackberry id. i can't log in using my id, always come out " unable login to your blackberry id account" what is wrong with it? i can login from