Capturing the LOG OFF url click action in a Webdynpro application

Hi,
I have this requirement where I need to know when the User logs off in a webdynpro application.
I have several webdynpro applications, each independent, and each need to do some clean up tasks when the user clicks on the LOG OFF url in the portal login.
Is there some standard event attached with the LOG OFF Url of the portal login?
And could anybody please specify when exactly would the  <i>wdDoExit()</i> method of the application view(s) or the application component controller get's trigerred when the application is run from the portal login?
Thanks in Advance.
Regards,
Swapna Priya.

Hi Luciano,
I was successfully able to call the RFC from wdDoExit() method of the component controller.
Also I could successfully place a custom alert call when the user clicks on the LOGOFFurl in the portal browser.
Now I have one more pending requirement for me to completely use this cycle of events.....The Portal Browser close action i.e., 'X' action.
I did find a forum link with some code for the same but i did not understand where to place that code and have already raised a reply for hte same.
Below is the link:
/message/230174#230174 [original link is broken]
Do you have any idea about how to trap this?
Thanks for all your support
Regards,
Swapna Priya.

Similar Messages

  • Run time error occured while clicking the Log off

    Hello Experts,
    I have customized masthead file. In the masthead, when i click the log off link, the pop-up window will showing the Runtime error message. Its not working properly. I didnt make any changes in log off method. I traced the error,
    <%if (!isPreview){%>
              if (EPCM.getUAType() == EPCM.MSIE)
                   if(EPCM.getGlobalDirty())
                         // unsaved data on the page, display modified dialog
                        var val = window.showModalDialog('<%=GetLogoffConfirmUnsavedMsgURL(componentRequest)%>', '', '<%=LOGOFF_CONFIRM_MSG_ARGS_IE%>');
                        if (val == 'logoff')
                             disableWorkProtectCheck = true;
                             logoff();
                   else //no unsaved data
                        // data saved, nothing get lost on the page, display normal dialog
                      var val = window.showModalDialog('<%=GetLogoffConfirmMsgURL(componentRequest)%>', '', '<%=LOGOFF_CONFIRM_MSG_ARGS_IE%>');
                      if (val == 'logoff')
                          logoff();
              else
                   if(EPCM.getGlobalDirty())
                      window.open('<%=GetLogoffConfirmUnsavedMsgURL(componentRequest)%>', '<%=LOGOFF_CONFIRM_WINDOW_NAME%>', '<%=LOGOFF_CONFIRM_MSG_ARGS_NS%>');
                   else
                      window.open('<%=GetLogoffConfirmMsgURL(componentRequest)%>', '<%=LOGOFF_CONFIRM_WINDOW_NAME%>', '<%=LOGOFF_CONFIRM_MSG_ARGS_NS%>');
         <%}%>
    In this code having if condition if(EPCM.getGlobalDirty()) is set as true means, then only properly executed and it shows the Log off message. In my part it goes to the else part. Then it shows run time error message.
    I cannt able to find out the solution.Pls help me in this regarding.
    Regards
    Prakash T

    Hi,
    see if running SFC /Scannow helps. This basically restores missing/corrupt system files.
    Click Start/Run and type CMD
    Type SFC /Scannow
    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe):
    http://support.microsoft.com/kb/310747/EN-US/
    Please Reward Points if Helpful.
    Kind Regards,
    Vamsi.

  • HT4798 So, i logged off and click the arrow-in-a-circle, but no pop-up appeared, nothing happened really. How do i proceed?

    So, i logged off and click the arrow-in-a-circle, but no pop-up appeared, nothing happened really. How do i proceed?
    I forgot my admin password. Searched for answers but nothing helped. Using apple id to change the password hasn't helped either because nothing happens when i click where i should

    plus i haven't enabled the "allow this user to recover password with apple ID" and the lock is locked.

  • Masthead Log off link clicking time getting Exception.

    Dear Experts,
    Please give solution.I am facing exception when i clicking the log off link in the masthead.This is the Error.
    Exception ID:06:49_21/08/14_0011_9271950
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Application name : com.vendor.masthead
    Component : pcd:com.sap.portal.system/gpal_hidden_content/gpar/com.vendor.masthead/logoffConfirmMsg
    Component class : com.sapportals.portal.navigation.LogoffConfirmMsg
    User : Administrator
    at com.sap.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:786)
    at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:245)
    at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
    at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
    at com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:206)
    at com.sap.portal.prt.pom.PortalNode.service(PortalNode.java:590)
    at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:233)
    at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
    at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
    at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:520)
    at com.sapportals.portal.prt.connection.ServletConnection._handleRequest(ServletConnection.java:224)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:101)
    at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.prt.dispatcher.CustomHeaderFilter.doFilter(CustomHeaderFilter.java:58)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: com.sap.portal.prt.core.PortalRequestManagerException: PortalRuntimeException
    at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:347)
    at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:380)
    at com.sap.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
    at com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:222)
    at com.sapportals.portal.navigation.LogoffConfirmMsg.doContent(LogoffConfirmMsg.java:24)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.doRefresh(AbstractPortalComponent.java:358)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:203)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:129)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:292)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
    at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)
    ... 57 more
    Caused by: com.sap.portal.prt.broker.PortalComponentNotFoundException: getJSPResourceComponent failed
    at com.sap.portal.prt.broker.PortalAppBroker.getJSPResourceComponent(PortalAppBroker.java:461)
    at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:300)
    ... 68 more
    Caused by: com.sap.portal.prt.om.ObjectNotAvailableException: Object: [jsp/[email protected]] load failed
    at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:246)
    at com.sap.portal.prt.om.ObjectsManager.getObjectHandle(ObjectsManager.java:147)
    at com.sap.portal.prt.broker.PortalAppBroker.getJSPResourceComponent(PortalAppBroker.java:456)
    ... 69 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Error while processing jsp: portal module name = com.axis.masthead, JSP name = jsp/LogoffConfirmMsg.jsp
    at com.sap.portal.prt.servlets_jsp.JSPProcessor.processJsp(JSPProcessor.java:67)
    at com.sap.portal.prt.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:131)
    at com.sap.portal.prt.broker.PortalComponentItem.load(PortalComponentItem.java:371)
    at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:234)
    ... 71 more
    Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: [Error in executing the compilation process: [ Compilation Failed! Exit Code=1
    My portal  version is  7.4.
    Thanks for advance,
    Durga Rao.

    Hi Deepa,
    When i am clicking the Log off that time popping window level only exception getting.That to par to ear converted after deployed in server that time Log off and Log in iViews working but when i imported Studio and added jars updated ear file deployed that time it is not working.That time only i am getting the exceptions.
    That to i am not changed any code in this LogoffConfirmMsg.jsp .Only componentRequest is showing error that time i added this two lines of code
    <%@ page import="com.sapportals.portal.prt.component.IPortalComponentRequest"%>
    <%IPortalComponentRequest componentRequest = (IPortalComponentRequest)pageContext.getAttribute(PageContext.REQUEST); %>
    that's all.
    @Hi Etay,
    What your given that note not helping for me. Because we are using Version 7.4 SP 7.
    any other help please share me the solution.
    Best regards,
    Durga Rao.

  • Ipad is frozen, after sliding the log off bar the screen is grey and a small circular icon is spinning in the centre of the screen.

    My Ipad has been freezing up.  I just tried to log off and after sliding the log off bar the screen is grey and there is a small circular icon spinning in the centre of the screen.  Over half an hour now.  Has anyone run into this before?

    Try and hole the home button and power off button at the same time until the iPad shuts off,do not let to of either button until you see the Apple appear in the screen. This will reset your iPad without loosing anything and try power off with the slide bar again after you complete the steps.
    Hope this helps.

  • Capture the First Changed Date In actions Infotype In PA30

    Hi experts,
    I want to find out the date on which the actions record was created. Where can i find this ?.
    For ex if i am creating a record on 01.07.2011 with start date 25.06.2011 the change date would be 01.07.2011 in pa0000.
    If i change it on 10.07.2011, the change date would be 10.07.2011. I want to capture the date when i actually created it(01.07.2011). I tried the T.code S_AHR_61016380 . But it contains the log of the changes done from the second time.
    Can anyone plese help me?
    With thanks in advance,
    Syed Ibrahim .G

    hi prabhu,
    thanks for the reply. I tried the function modules and these function modules also return the logs of the data changed .
    But i need to get the log of the record when it was created first.
    For ex : for actions info type i created a record with start date as 20.09.2011 .When i tried the function module it did not return any values. Then, i changed the record i created for actions info type . now i executed the Fm , now i was getting the log for the data changed and not for created.Can some one throw light on this.
    With thanks in advance,
    Syed Ibrahim .G
    Edited by: SYED_ibbu on Sep 22, 2011 9:51 AM

  • Safari froze and when i forced the log off the icon disappeared, does any one know why

    Safari froze and after I did a force log off the icon disappeared, does any know why?

    I have been scouring everywhere for a solution to a similar problem where the audio would drop out for a second or two ever 5 or so seconds - regardless of whether we were streaming content or using an iPad and Air Play.
    I tried changing the audio channels on the ATV as suggested elsewhere and here - no luck. 
    Played with the settings on the Air port Express - no luck.
    We swapped the ATV to a different tv and it worked fine.
    Then played with the audio settings on the SONY Bravia - no luck.
    Swapped the audio out on the ATV to play through the Air Port Express and plugged in the some headphones.  NO AUDIO DROP OUTS!
    My deduction - a problem with the HDMI cable.  Borrowed a friend's cable - wasn't going to spend another $50+ if the cable wasn't the problem.  And lo and behold the HDMI cable was the problem.
    Only took 3 hours.

  • I have a small Spreadsheet created in xls format dependent on the use off url hyperlinks, when i send by email to Numbers on my ipad 2 I loose the ability to hyperlink what am I doing wrong

    I have a Small spreadsheet Created in XLS Format on my home PC when I email to my Ipad 2 and open in Numbers I loose the Hyperlinks
    what am I doing wrong, I also need to be able to generate and edit  hyperlinks on the I Pad as I maynot have a PC availiable

    This forum is dedicated to Numbers on Mac OS X.  So there maybe some people who have Numbers on an iOS device here but they seem to less active.  There is a forum for Numbers on iOS you can post in.
    The iWork on iOS forum is here:
    https://discussions.apple.com/community/app_store/iwork_for_ios
    I personally do not have iWork on any iOS device but can still ask questions that may help.
    1) are the cells with URLs completely empty after opening in iWork on the iOS device?
    2) can you show what the spreadsheet on the PC looks like?  specifically regarding the URLs?

  • I'm connected, but I cannot access iTunes on my iPod. The logging off trick won't work!

    Hey world! Since this morning, I cannot access iTunes on my iPod. I tried the logging out trick but it won't work...HELP!!!

    If you were to take a second and look at other posts, you would see that this is very common today.  Be patient, Apple will get it corrected.

  • Storing the output of BAPI for further use in Webdynpro application

    Hi,
    In my webdynpro application, a BAPI_A is called multiple times from a backend.
    All the previous outputs of the BAPI_A need to be stored in the webdynpro application as they serve as a complete set of input parameters for BAPI_B at the end.
    Can anybody shed light on this temporary storage mechanism of the outputs of the BAPI_A.
    Regards
    Meesum

    Hi Meesum,
    Your BAPI structure
    BAPI_A
    --Output (0..n)
    Field1
    Field2
    Field3
    Field4
    Value node structure
    vnBAPI_A (0..n)
    --vnResult (0..n)
    vaField1
    vaField2
    vaField3
    vaField4
    1. Declare objVnBAPI_A (between begin and end)
    2. Initialize in the vnBAPI_A in the wdDoInit()
    3. After each execution of the BAPI (BAPI_A), create the vnResult and populate the fields of vnResult (from the BAPI_A --> output)
    4. Add the vnResult object to objVnBAPI_A
    Hope this should help you.
    Regards,
    Santhosh.C

  • Turning the Sound off when clicking on a book

    I have published a document (in Robohelp6) and when you click
    on the book (in the left hand table to contents) it plays a sound.
    I didn't design it to play a sound, but it does. How do I remove
    it? I looked in properties but it shows no sounds attached to the
    file.
    (and yes I know that I can just turn my speakers off, but the
    users want their speakers on - )
    HELP

    While I never heard of this happening with CHM files, I
    suspect Colum has hit this one. It may vary from user to user
    though based on their settings and OS. We configured our software
    to do this years ago and there is no setting in the software
    itself.
    One question first. Does it happen with all help files or
    just yours?
    From your Windows control panel, select Sounds and Audio
    devices. Click on the Sounds tab. There should be a list of
    "Program events:" that trigger sounds. See if you can find the help
    call and turn it off. If that is where it is, you may have no
    control over it because it might be the way the operating system
    was set up.
    Hope this helps.
    John

  • How to capture the logged in user in SBO

    Hi All
    How can i capture which user is logged in sbo in that particular instance. Is there any possibility?
    Tha

    Hi,
    Try this one
    Dim SBO_Application As SAPbouiCOM.Application
    Dim strSBOUserName As String
    strSBOUserName = SBO_Application.Company.UserName
    Regards
    Arun TB
    Edited by: aruntb on May 20, 2010 4:53 PM

  • Capture the log of RFBIBL00 after submit

    When doing SUBMIT RFBIBL00 with DS_NAME = DIRECTORY
    if in the flat file of Directory there is a worng posting key the RFBIBL00 terminate
    with message "editing was terminated"
    If this error message occur when submiting the RFBIBLOO
    i need to find a way to retreive the message error since if this error message occur the processing is different
    in the RFBIBLOO i search for memory id where i can retreive the message but there is non. In fact it is calling FM MSG LOG i think
    Has anybody been in this situation before

    Hello,
    Try this,
    DATA y_list_tab TYPE TABLE OF abaplist.
          SUBMIT rfbibl00 WITH callmode EQ y_k_b
                          WITH ds_name EQ y_v_outfilename
                          WITH fl_check EQ y_k_keep
                          WITH XLOG EQ y_k_keep
                          EXPORTING LIST TO MEMORY
                          AND RETURN.
          CALL FUNCTION 'LIST_FROM_MEMORY'
            TABLES
              listobject = y_list_tab
            EXCEPTIONS
              not_found  = 1
              OTHERS     = 2.
          IF sy-subrc = 0.
            CALL FUNCTION 'WRITE_LIST'
              TABLES
                listobject = y_list_tab.
          ENDIF.

  • Specify log off page for each system in WebUI

    I am trying to define log off URL for the CRM WebUI. I have been able to define the URL on the technical profile. The problem for me is that the url points to a system specific page. In other words, when I define in the development system that I want to go to the logon page when I log off I use the URL of that points there. When this customizing later is transported to the quality system and later to the production system, the log off URL still points to the log on page of the development system.
    Is there any way to specify that this url points to the log on page of the system that were logged off?

    Hi Erik,
    this is not possible in the SAP standard AFAIK.
    The URL in the customizing of the technical role profile is read using the method CL_CRM_UI_TP_SRV->GET_URL_PART( ). In order to implement your requirement you could, e.g. implement a custom table containing the client, system name and URL. Additionally, you could then enhance CL_CRM_UI_TP_SRV->GET_URL_PART( ) using an implicit enhancement spot to read this custom table an return the entry for the system ID if present and the default customizing otherwise.
    Best,
    Christian

  • WRT54G - How do you clear the log files?

    How does one "Clear" both the Incoming/Outgoing log files?
    Thanks.

    Turn the logs off and click save.  When it is confirmed that your settings were saved, go back into the logs and turn them back on.  Make sure you save your changes.  That should clear your log files.
    I hope that helps.

Maybe you are looking for

  • Problem Rescaling Clips-Blinky Motion

    Hi, So I was trying to fit the image in the viewer onto my CRT TV that I am using as an external monitor, and not it is not a broadcast monitor, using the TV safe box. When I use the Scale option of the Motion tab or when I do it manually in Wirefram

  • Elder "domain" file opens only new iWeb site

    Hi folks, [I'm a newbie on this site, tried to find the answer in other topics, but couldn't find....] While buying a new hard disk, I made a simple backup of my old folders on my Ipod. Importing user/library/application support/iWeb/domain on to my

  • Playlist help Please?

    I must be a doofus. I am trying to put a playlist on my mini and it is not working. I have my library on an external hard drive. I have created the playlist on iTunes. I thought I could just drag and drop the playlist to the iPod. That is how I trans

  • HT5312 I forgot my security question answers, how do I reset them?

    I forgot my security question answers, how do I reset them?

  • I AM NOT GETTING THE TAX TAB CAN ANY ONE HELP ME

    HELLO      I AM NEW TO SAP SD WHILE CREATING THE CUSTOMER I HAVE NOT GOT THE TAX OPTION CAN ANY ONE HELP ME