How to Force Logoff from Portal in Custom Application

Hi All,
We have developed a Custom Component for the user to change password in Portal 7.3. As per the requirement ,after changing the password the portal should force logoff without further execution. We are able to change the password but not able to force a logoff . Any suggestions how this can be achieved.
Regards,
Srinivas
Edited by: Nivas209 on Feb 17, 2012 10:23 AM

Hi Detlev,
I am using the below link , for session termination and Force Log-off.
http://help.sap.com/saphelp_nw73/helpdata/en/19/667bae77684887bea80129800fd701/frameset.htm
I am able to force a log off, but the desktop inner page only gets logged out.The Masthead and Top level remains the same(Not Logged Off) .
If i do a refresh in my browser everything gets logged off and Login screen appears.Now how can i do a browser refresh/reload in that script.
I tried with few things it doesn't work. Please suggest on this.
Regards,
Nivas209

Similar Messages

  • How to force user to enter supplier/customer name in captial letters in R12

    Dear all,
    Could anyone pls advise how to force user to enter supplier/customer name in captial letters in R12? Can I do it using OA framework personalization?
    HY

    Pl post exact versions of OS and EBS.
    The ability to do this exists in forms (professional user interface) using forms personalization, but does not exist in the OAF (self-service) interface, AFAIK. See related MOS Doc 399892.1 (Is It Possible To Restrict Employee Name Entry To All Upper Case in the PUI And SSHR ?) for some details.
    Pl confirm by opening an SR with Support.
    HTH
    Srini

  • How to force logout of portal user

    Hi all,
    we're currently facing trouble with portal users being "locked" in the portal. They are not locked in the ume sense, but when trying to logon they are only able to see navigation framework, and no content. The only content we're using in the portal is MSS/ESS, so the content we're trying to load is from R/3.
    My idea is to manually log out the user in trubble from the portal.
    Now; I can see see active http_sessions using the telnet Administrator session, but I can't find a way to force logout a user. Can anyone please tell me how to?
    We're using Portal SP11, and ESS/MSS SP7.
    I'm thankful for all input! Points will be handed out of course.
    Kind regards,
    Andreas

    hi,
       Try this code.This might help you.
    IPortalComponentRequest request=(IPortalComponentRequest) this.getRequest();
              IAuthentication Authen = UMFactory.getAuthenticator();
    HttpServletRequest req = request.getServletRequest();
    HttpServletResponse res = request.getServletResponse(true);
    //logoff user from Portal
    Authen.forceLogoffUser(req, res,"");
    The third argument is a string which is the redirection URL.
    Regards,
    Srinath

  • How to - Extract data from Cloud For Customer into SAP HANA system

    Hello Community,
    I have a requirement for extracting the existing data from Cloud for Customer into separate SAP HANA Box.
    Is it possible to achieve the same ? If yes, Please guide me for the same.
    Awaiting quick response.
    Regards
    Kumar

    Hi Kumar,
    In addition to what Thierry mentioned you could also use the C4C integration via standard Operational Data Provisioning (ODP) interfaces. This integration was acutally built for SAP BW and allows you to access any C4C data sources. From my perspective you can also build upon that for a native SAP HANA integration. Please also have a look at this guide: How To... load SAP Business Suite data into SAP... | SAP HANA.
    Besides that question let me also add the following: SAP Cloud for Customer already runs on SAP HANA since Nov. 2013. You may also use the powerful built-in analytics within C4C for analyzing data and any of your reporting demands. If your report should consider external data as well, you can combined the existing C4C data source with an external, so-called Cloud Data Source. More infomation is published in the C4C Analytics Guide: http://help.sap.com/saphelp_sapcloudforcustomer/en/PDF/EN-3.pdf.
    I hope this helps...
    Best regards,
    Sven

  • How to logoff from HCP Java Web application

    Hi all,
    I need to enable logoff from my UI5 application, based on Java EE / HCP.
    Authentication is enforced with SAML and SAP ID Service.
    I guess that, upon clicking a button, a request should be sent to the SAML IdP service in order to perform logout.
    However, I'm not sure how that is performed.
    Any help or link to documentation would be greatly valued.
    Thanks a lot
    Regards
    Vincenzo

    You are right, I guess my question is a good candidate for RTFM!
    I should have searched also on help.ondemand.com
    I just looked into SDN and ui5 sdk help.
    Thanks for your help
    Regards
    Vincenzo

  • How to update xml from portal

    Can i update weblogic.xml from portal(programmatically). i am using WL
    platform 8.1 sp2.
    Now i am manually adding each principal name.
    For ex:
    <principal-name>mark</principal-name>
    Can i achieve this programmatically from portal.
    Any solution
    TIA
    Mahesh

    this is what i have done but i dont know how to do the rest. i will apprecite any help from u.
    Edited by: man700s on Feb 16, 2010 6:58 AM
    REPORT  Z_XML_FILE_UPDATE.
    TYPES: BEGIN OF ts_staff,
             REF_IND(10)  TYPE c,
             Staff_No(5)  TYPE c,
             Name(50)     TYPE c,
             Room(3)      Type n,
             Phone(7)     Type n,
             Mail(30)     Type c,
           END OF ts_staff.
    DATA: t_staff TYPE TABLE OF ts_staff WITH HEADER LINE.
    DATA: w_staff Type ts_staff.
    DATA T_STRING TYPE TABLE OF STRING.
    DATA W_STRING TYPE STRING.
    call SCREEN 100.
    PERFORM upload_xml_file.
    PERFORM update_xml_tab.
    *PERFORM download_xml_file.
    MODULE USER_COMMAND_0100 INPUT.
    W_STRING = '<allstaff>'.
      APPEND w_string to t_string.
      loop at t_staff into w_staff.
      w_string ='<staff>'.
      APPEND w_string to t_string.
      if T_staff-Ref_Ind = 'X'.
      CONCATENATE '<Ref_Ind>' w_staff-Ref_Ind '</Ref_Ind>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      if T_staff-staff_no = 'X'.
      CONCATENATE '<staff_no>' w_staff-staff_no '</staff_no>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      if T_staff-name = 'X'.
      CONCATENATE '<name>' w_staff-name '</name>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
    if T_staff-room = 'X'.
      CONCATENATE '<room>' w_staff-room '</room>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      if T_staff-phone = 'X'.
      CONCATENATE '<phone>' w_staff-phone '</phone>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      if T_staff-mail = 'X'.
      CONCATENATE '<mail>' w_staff-mail '</mail>' into w_string.
      APPEND w_string to t_string.
      ENDIF.
      w_string = '</staff>'.
      append w_string to t_string.
    ENDLOOP.
      W_STRING = '</allstaff>'.
      APPEND w_string to t_string.
    ENDMODULE.               
    Edited by: man700s on Feb 16, 2010 7:01 AM

  • How to view file from portal?

    Hello All,
    The application i'm developing requires viewing documents linked to a SAP object from portal. I am able to checkin documents from portal ( using  'BAPI_DOCUMENT_CREATE2' ), but I have problem display/ viewing the document.
    EX: When a PO is displayed in portal, I should be able to view the documents attached to it if I click on the document number (created thru 'BAPI_DOCUMENT_CREATE2).
    Any kind of help is highly appreciated.
    Thanks,
    Chandra

    Hi Chandra,
    in case the DMS BAPIs are not sufficient for you, maybe the KM - DMS connector could help you here? In note 904558 and in the SDN at https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/e08533ae-8f6d-2910-ba9f-e9a6a363ec35 [original link is broken] you see more. In general the DMS content is here mapped to the portal KM.
    Best regards,
    Martin

  • How do i delete from portal.wwdoc_document?

    Hi,
    i followed the instructions of modpls user's guide and lama madi (?) an managed to build an application to up- and download files. but i store the files in my own tables. unfortunately all files uploaded are stored in portal.wwdoc_document too. I succeeded in building a report on wwdoc_document, but when i try to build a form or even when i try to manipulate wwdoc_document from sqlplus (as sysdba) i get an 'insufficient privileges'-error when i want to delete files.
    Access for select/delete for orcladmin is granted on wwdoc_document.
    So, what is my mistake?
    thank you,
    Ralf Schmitt

    Hi Ralf,
    try deleting from portal.wwdoc_document$ instead of wwdoc_document - it's an updateable system view on the same table and you can use it in-session.
    Otherwise if you wish, use portal.wwdoc_api.remove_document(name)
    Hope this helps
    Andrea

  • How to get hostname from targetlist in custom deployment procedure?

    When I make a simple procedure with a phase that will loop through a procedure hostname list
    and a hostcmd or directive inside that will use the hostname ex change a configuration file. How to get hostname from the hostname targetlist?
    I would rather not use $(hostname) or similar function if I can get the hostname from the target list.
    Edited by: user476601 on 2012-09-06 05:59

    I have tried that and cannot get it to work.
    I have tried to make a procedure with:
    parameter
    - parallel fase
    - step directive with hostname parm based on simple sh script (echo $hostname)
    - map hostname setvalue %TargetName%
    In a hostcmd step you cannot access %TargetName% directly
    it doesn't work. Please come with an example if you have tried it.
    /René

  • How do I upgrade from Portal 4.0 to Portal 8.1?

    I want to make sure that what I believe is really true.
    Is it ture that in order to upgrade from Portal 4.0 to Portal 8.1, I must first
    upgrade to Portal 7.0?

    Mike,
    The upgrade tools provided by BEA are from one release back, which means they
    work against WLP7, so if you are going to use these upgrade tools you would need
    to go from WLP4 to WLP7 and then to 8.1.
    Shane
    "Mike McAngus" <[email protected]> wrote:
    >
    I want to make sure that what I believe is really true.
    Is it ture that in order to upgrade from Portal 4.0 to Portal 8.1, I
    must first
    upgrade to Portal 7.0?

  • How to pull data from a c/c++ Application

    I am working on a project to instrument a product which runs on java as well as c/c++.
    Is there a way to pull data from a c/c++ application to a MBean?
    I am able to push the data through a custom TCP Adapter, But I could not get much help on a pull model.
    Also I would like to get some pointers on instrumentation techniques / patterns.
    Regards
    Chandramohan

    I'm not aware of any JMX out-of-the-box support for managing C++ applications with JMX or MBeans, but you can find some ideas on how this might be done in [this thread|http://forum.java.sun.com/thread.jspa?threadID=5240363] from [this very forum|http://forum.java.sun.com/forum.jspa?forumID=537&start=0].

  • How to call ejb from a Swing gui application client?

    Hi Everyone,
    I am new to EJB and I have question for calling an ejb from a Swing GUI application client. Can anyone give me an example of how my Swing GUI can call an EJB from a SUN ONE Application Server. If anyone can give me some insight, I appreciate it.

    I have looked up various sources and just can't get it to work. I know I have to use the lookup() method, but I have also seen lookups using IIOP://servename......
    Context ctx = getInitialContext();
    DemoHome dhome = (DemoHome)ctx.lookup("demo.DemoHome");
    or
    Context ctx = getInitialContext();
    DemoHome dhome = (DemoHome)ctx.lookup(java:comp/......)
    so can anyone tell what is the difference between using iiop://servername..... as the lookup string and java:comp/......
    and if using java:comp/ what does this mean? Does it mean that lookup() method is looking for the ejb somewhere in this directory. I would really appreciate if someone can give an example of a Swing GUI calling a ejb from an application server and how the code is actually doing the lookup in and what are each steps it goes through.
    Thanks

  • How to get data from screen for custom field?

    Hi,
    I have added custiom field in header for MIGO_GI transaction using BADI MB_MIGO_BADI by using Method PBO_HEADER, How to get the data from that field into method PAI_HEADER, if any body knows,please let me know.
    Thanks.

    hi
    you need to apppend your custom field in the GOHEAD structure , then automatically you we will get field value in the method IF_EX_MB_MIGO_BADI~PAI_HEADER with internal table is_gohead.
    Pls try once?
    Tks .. venkat

  • How to Transport iViews from Portal Dev system to Prod system?

    Hello friends,
    This is an urgent request and it would be of great help if you can give me a solution to this.
    We have a Development Portal and a Production Portal. There is no QAS Portal. We are on EP 5.0 and BW is 3.5. Coming to my question, I have created an iView on a Web Application Designer template and assigned it to a role on the Development Portal. The report displays well on the Portal. Now I want to move this newly created iView to Production Portal. I absolutely have no idea how to do this as it is generally a Portal person's work and I have been asked to do this as the Portal person is currently on leave. I need to move the iView to Production as quickly as possible and I would really appreciate if any of you can send me detailed steps on how to do this.
    The best way to say thanks in SDN is to assign points to helpful answers and I will not forget that.
    Thanks,
    Deepthi.

    Hi Deepthi,
    observe these links:
    Here is some material:
    How to Transport Models Within SAP Analytics
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/035be5d4-0a01-0010-b48a-d4c8c9b020b5
    Actually, those pieces are also included in my book "SAP NetWeaver Visual Composer" which is already available from SAP-Press ( http://www.sap-press.com/product.cfm?account=&product=H1932 )
    If Usefull Asain the points.
    Thanks,
    kiran.
    Message was edited by:
            kiran manyam

  • Just updated to 5.0.1 and lost everything... how to force restore from icloud?

    I'm a new Ipad user.  I -just- got it a couple days ago.  This morning it says there is an update and do I want to update.  I did.  Now -everything- is lost ... all my apps, all my data I've been putting in for the past couple days. 
    How do you force a restore from the icloud?

    Presuming that you have done a backup to iCloud this article tells how to restore: http://support.apple.com/kb/HT4859

Maybe you are looking for

  • Creation of new company

    Hai SAP Gurus We are in the process of getting new entity into SAP, company functionality would be similar to the existing company. We would like to  copy the config. of the existing company into the new company. Could you please guide me accordingly

  • NOT STARTING WITHOUT SUPPLY

    I have hp compaq610 running on windows8! 1)my laptop is not starting without a/c supply. 2)battery showing 30% full "plugged in,not charging" 3) and if i remove adapter wire after starting starting,laptop is going off!! plzz someone help i tried unin

  • Performance issues (Oracle 9i Solaris 9)

    Hi Guys, How do I tell if my database is performing at its optimum level. We seem to be having perfomance issues on one of our applications. There are saying it's the database, network, etc. Thank you.

  • Interactive report with row selector?

    I've just upgraded to APEX 3.1. I've been playing with all those amazing new features of interactive report but I miss one very important for me - a row selector. I used to have the traditional reports based on updatable queries with row selector tha

  • Reschedule after assigning additional/other resource

    Hi, I can't figure out a solution to the following. Say I have two tasks and I assign the same resource to both tasks. MS Project warns me that the resource is overallocated because both tasks are scheduleded to start on the same date. I reschedule t