Log off button in a web report (bw 3.5)

Hi,
I'm trying to add a log off button in my default web template, but it seems not working properly.
My web template, including simple query result, without user input variable :
<HTML>
<!-- BW data source object tags -->
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="SET_DATA_PROVIDER"/>
         <param name="NAME" value="DATAPROVIDER_1"/>
         <param name="QUERY" value="ZTESTGC_QUERYLOGOFF"/>
         <param name="INFOCUBE" value="SUZ_C01"/>
         DATA_PROVIDER:             DATAPROVIDER_1
</object>
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="SET_PROPERTIES"/>
         <param name="TEMPLATE_ID" value="ZTESTGC_LOGOFF"/>
         <param name="STATELESS" value="X"/>
         <param name="USE_PAGE_WRAPPER" value="X"/>
         TEMPLATE PROPERTIES
</object>
<HEAD>
      <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
</HEAD>
<BODY>
<P><A class=SAPBEXBtnStd title="Log Off" href ="<SAP_BW_URL CMD='LOG_OFF'>&sap-sessioncmd=cancel"><nobr> Log Off</nobr> </A></P>
<P><object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="GET_ITEM"/>
         <param name="NAME" value="TABLE_1"/>
         <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
         <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
         ITEM:            TABLE_1
</object></P>
</BODY>
</HTML>
When I click on my button, i'm redirected on a blank page but :
- if i click on the back browser (IE6) button, I see query results again, without see logon screen.
- if i stay on the blank page and i relaunch my web template using WAD button 'Execute in browser ...' it doesn't ask me my logon information
Why ???
Thanks to help me,
CG.

Hi,
try something like this:
button, which calls javascript function
function logoff()
// releases the current session and calls the log out page
SAPBWOpenURL(SAP_BW_URL_Get()+'&CMD=LOG_OFF&REDIRECT_URL=/sap/bw/Mime/Customer/WebApplications/htm_logoff.html');
it works correctly.If you press the button you will be at first loged off and after that redirected to htm_logoff.html (it is a simple html site, which you have to build)
Regards
Erwin
Edited by: Erwin  Buda on Jan 9, 2009 3:31 PM

Similar Messages

  • SP 19 upgrade issue : Log off Button not working in Portal Masthead

    Hi All,
    We have recently performed an upgrade from EP 7.0 SP12 to EP 7.0 SP19 stack level.
    After the upgrade we are facing these 2 issues:
    1) Log off button is not working in Portal Masthead
    2) SSO to BW reports also not working.
    Any immediate pointers and help is highly appreciable.
    Regards,
    Shailesh

    Hi Tobias,
    Thanks for the reply.
    I have tried rebuilding and redloying the par file after removing the function "'releaseProducerSessions()' " which is not available in SP 19..but still the issue persists.
    Any other process to be followed?
    2) SSO is working for other stuff, and the issue is specifically for Bex iViews/Reports
    Regards,
    Shailesh

  • How to add a Button on SUS top-right corner ( Near Log off button)

    Hi Experts,
    It's a bit urgent for me. Please give your valuable suggestions to achieve below scenario.
    My requirement is :-
    adding a button on top-right corner(near log-off button) of SUS screen.
    when that button is clicked, a pop-up should appear, which shows a list of supplier IDs.
    SUS user selects a supplier ID from this list.
    Subsequently, PO, Invoices and other documents should be filtered out based on supplier ID selected.
    Request you to help me how to achieve it technically. Thanks a lot.
    Regards,
    Ratnesh

    Hi,
    is that button really necessary or is it enough to achieve the functionality you are describing?
    If the latter, this is standard SUS.
    When you give that user the SUS admin purchaser role that user gets a 'find supplier' link in the menu at the left hand side.
    In here you can search for the correct supplier (or just press search without parameters and you get a list. When you click on one of the results the user will act as if it is an employee of that supplier. Including only displaying documents of that supplier.
    Regards,
    Robin

  • Signout/log off button for RdP users accessing 2012 R2

    I am configuring a 2012 R2 machine to provide remote desktop services to a group of users connecting via Wyse terminals
    These users currently access a 2008 R2 server
    These users are highly non-technical
    I am looking for a way to enable them to log off or sign out of their sessions from the desktop
    I don't want to force them to go to the Metro/Modern/Touch interface or have to use the Charms bar
    Any solutions for this desired user experience?
    Thanks
    Ben
    Thanks Ben

    Hi Ben,
    you can create Desktop Shortcuts using GPO:
    Logoff - calling
    C:\Windows\System32\shutdown.exe -L
    Discconect - calling
    C:\WINDOWS\system32\tsdiscon.exe
    Alternatively for the Metro UI there is a solution to create shutdown and logoff tiles. Have a look here:
    http://www.scottge.com/windows-tip-add-a-shutdown-restart-logoff-tile-to-the-windows-8-start-menu/
    Regards
    Eric
    Eric Berg -- http://www.ericberg.de -- MCSE: Private Cloud MCSE: Server Infrastructure MCSE: Desktop Infrastructure

  • Log off option for Default_IC technical profile

    Hi All,
    I am using Default_IC technical profile for interaction centre. Pl help to include Log off button in the Web UI.
    Anita

    Thank you, Laurens Brand, for your prompt reply.
    I tried the "Select All Text", no change.
    I have been using all of my add-ons for months now and have not installed any new ones for months as well, but do have several updates though. No, I don't have "Gmail No Logout" add-on.
    However, when I restarted Firefox with ALL add-ons DISABLED, they all came back. So it must be one of the add-ons' updates that is causing the problem. I guess I'll take some time to disable them one by one to see which one is causing the problem.
    I'll post my result here once I finished.
    Thank you.

  • Log off screen on click of UI Button

    Hello Friends,
    We have a WD ABAP application which we are going to use with the application URL. Currently I have created the Log off button with the help of below mention Blog. and the button is working fine for closing the window.
    How to close parent window in Webdynpro applications?.
    But this blog is useful for closing the parent window , I want the functionality when users run the application URL it should always ask for Login and when click on Log off button it should log off the user and again Login screen should appear.
    Currently because of browser cache or I don't know why its directly showing the application screen .
    Please suggest some solution .
    Thanks in advance
    Himani Saxena

    Hi,
    Application logoff will log off and close the window. check this help http://help.sap.com/saphelp_nw04s/helpdata/en/fc/04a5421935c511e10000000a1550b0/content.htm
    If you want to display login screen again you can use exit plug and pass your web dynpro application url again.
    Or you can design with outbound and inbound plugs accordingly.
    check this help docu for exit plug reference: http://help.sap.com/saphelp_nw04s/helpdata/en/45/1bc575ba064574e10000000a114a6b/content.htm
    If you dont want to close window. pass space to close_window parameter.
    Also check this article for ref: [Exit Plug in WDA|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0018077-f0c9-2b10-87af-eb9bb40776d4?QuickLink=index&overridelayout=true]
    Hope this helps u.,
    Thanks & Regards,
    Kiran.

  • Is it possible to add buttons for user feed back in Bobj WEBI report?

    Dear all,
    I am an ABAP Web dynpro developer. 
    As part of the workflow, i am displaying  a BOBJ Webi Report to the users.
    The requirement is to allow users Aapprove/Reject the data in the report.
    Is it possible to have user input or any buttons in the Webi Report?
    If yes, How to achieve this ? Please help.
    Thanks,
    Vamshi

    There is discussion option as an out of the box feature. Check this: BI launch pad 4.0: Participate in a discussion about a document

  • Print Preview in web report problem

    After Clicking Print buttonn on the web report, i select Print Preview from IE Explorer and here the variable values passed to the print function in web template, are getting displayed and actually it is part of URL , getting displayed in the Print Preview.
    any ideas ..
    i have already cleared the value of title and footer in page setup.
    and this is a junk data in the header in the print preview
    it will be something like this,
    User%20ID:%xyz%20printed%20 etc...
    actually i am passing below values to the print function,
    &P_FOOTER_RIGHT='+SYUSER + '&P_HEADER_LEFT='+REPTXTLG +
    '&P_FOOTER_LEFT=' +INFOCUBE

    Do you use a field for coloring a column or cell?
    If the coding is not too large it could be helpfull to post the coding as well.
    Regards,
    John.

  • How to run GINA when windows log off ?

    I test pGina program which was create from GINA. I want create program for logon windows with C#. I wonder when user log off windows why pGina can run application for login windows. I think application can run when start windows only . How pGina can run
    program when user click log off button ?

    Hi mmc01,
    I'm afraid you posted your question on the wrong forum. This forum is dedicated to Project Server concerns, the Microsoft enterprise scheduling & planning application.
    Please go to an appropriate forum in order to have an helpful hand.
    Cheers.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Removing "Log Off" from top bar

    I have been setting up some guest login pages for a test bed portal and have noticed that "Log Off" is no longer visible on the top bar next to my account.
    Any suggestions?

    This is pretty much what I would expect, wouldn't you?
    If you're not logged in (in other words, logged in as guest), you can't log off, so there shouldn't be a logoff button.
    Perhaps I don't understand you correctly . . . what would you expect the log off button to do if you're on the guest login page?
    Chris Bucchere | bdg | [email protected] | http://www.thebdgway.com

  • Log off issue in portal

    Hi all,
    Iam having an requirement on BSP with 2 pages and in first page i have certain input fields
    and search help for customer.
    The issue is that the  user will click the search help button and pressess the log off button on the
    workforce portal. After pressing the log off button the user able to come back to the initial screen
    but the search help screen for customer is not getting closed.So my requirement is to close the search help screen as soon as the user pressess the log off button.
    Can anyone help me out in this !...
    Thanks
    Nehru

    Hi All,
    Can anyone help me out in this issue.
    Anubhav do you any suggesstions on this.
    Regards,
    Nehru

  • Agile for Process v6.1 Log off

    Hi folks, I just installed an agile for Process v6.1 instance for training purposes.
    I noticed that there isn’t a Log off button, is that correct?
    How can I leave the system?
    Regards
    Carlos

    Instead of directly closing browser, always use File-->Exit menu. This is best practice because atleast it will solve cache related issue. Else sometimes though user logs with his own login, it gets logged as previous user.

  • Blank page opens and not able to log off

    Hi All,
    I am using MSS. There are 2 issues.
    1) One of my user has received a task in UWL. When he tries to open that he is getting a blank page. In R/3 the structure and all the things are fine.
    2) Also when he clicks the log off button dialogue box prompts to select yes or no , he gave YES but still it not getting logged off.
    I tried deleting cookies , temporary files and turned compatibility settings on to " "Display all websites in Compatibility View" but of no use.
    Please suggest on this.
    Thanks!
    Swarnaprakash

    Hi Swarnaprakash
    Might be some problem with browser, try accessing with the compatible browser and then check it. check the browser compability in service market place PAM. http://service.sap.com/pam
    Also check the default trace log file and search for the userid
    Best Regards
    Arun Jaiswal

  • SAP Web Gui does not completely log off.

    Hi Experts,
         I am having trouble with our web gui, I can log in without a problem and when i try to log out there is message shows that i am logged off but when i refresh the page it automatically logs in. It would only go back to the log on page if i exit the whole browser window. i am using mozilla for my web gui. any help on this matter would be much appreciated. 

    Hi
    Which version of Web browser ?
    and also refer the SAP Notes
    1777513 - WebGUI logoff does not work
    1903478 - Session remains open after the logoff
    BR
    SS

  • Log off pop when navigating from SAP CRM Web IC to Utilities transactions

    Hi Experts,
    I have created about 100 transaction launchers for ISU transactions, which are linked to the navigation bar in the Web IC. If I Click on this link which should open an ISU trnsaction, it doesnt open the ISU transaction. Rather it gives me a pop up as LOG OFF. The problem is most of the transactions are opening up this way, but there are only a few that doesnt open up and gives a log off error.
    The client mapping of CRM system and Utility system has been done.

    Hi Friends,
    I have configured a transaction launcher for ISU transaction code EL27 and EL29,
    I am facing the simular issue, when try to access these transaction from ICWC i face the same problem. Logged off successfully screen appears.
    Please let me know if you resolved this error.
    Thank you.

Maybe you are looking for

  • How to use Change doc Function Module?

    Fn mod:ZSUBTESTCHG_WRITE_DOCUMENT Import parameters               Value OBJECTID                        ZSUBTESTCHG TCODE                            SE37 UTIME                             00:00:00 UDATE                             09.03.2009 USERNAME

  • When I try to launch Adobe Photoshop, an error occurs that says, Error: 1

    When I try to launch Adobe Photoshop an error occurs that says:  Contact Adobe Support - Error: 1

  • Problem with converting psd file to jpeg

    I have completed a project with lots of layers and saved as a psd file including all the layers. I then flatten the image and save it as a jpeg. The jpeg doesnot look at all like the original psd. this is the only file I have ever had that has done t

  • How to setup context sensitive parameters

    Does anyone know how to setup context sensitive parameters? I am in 9.2 with Application 11.5.8. The requirement is if the user is entering one of the two parameters, the other one will be disabled. Thanks in advance.

  • Help!  Aperture 2.2 has become unstable.

    I have all the latest updates. I have 6 Gb RAM and am running Aperture off of a MacPro (Intel). Aperture crashes several times a day. Things that are guaranteed to make it crash: use of the loupe, use of shadow/highlight, use of White Balance and I s