Business Objects sessions bleeding together with OpenDoc reports

I have a custom application that logs a user into Business Objects, and calls OpenDoc using the generated loginToken. I store the Business Objects session in the application session. If you log into the application as one user and open a report with the following query:
<br><br>
SELECT
  mtf.id
FROM
  mtf,
  facilities,
  users
WHERE
  facilities.id = mtf.id
  AND facilities.id = users.facility_id
  AND users.login_name = @Variable('BOUSER')
<br><br>
The query runs correctly and returns the correct result. If you log out of the application without closing the browser window, log in as a different user and run the same report you get the result the first user got, as if the @Variable('BOUSER') was returning the first username.
<br><br>
Each user is logged into Business Objects with their own username, I have verified this in the code. I aslo verified that When the first user logs out of the application the Business Objects session is destroyed, and a new one created for the second user. Looking at the HTTP headers I have seen that when the first user logs in and opens a report the following cookie gets set:
<br><br>
HTTP/1.1 200 OK
Set-Cookie:
InfoViewses=3%261%2C8P%264E%3D1704Jk1XlRb8I5GtMTG1%2C8P%26Tn%3D%7B3%26.1%3D%7B3%262%3D1608%2C03%26O%3DFavoritesFolder%2C0P%7D%2C2z%26.2%3D%7B3%262%3
D1609%2C03%26O%3DPersonalCategory%2C0P%7D%2C2z%26.3%3D%7B3%262%3D1610%2C03%26O%3DInbox%2C0P%7D%2C2z%26U%3D3%2C03%7D%2C%3Fz%264F%3D1607%2C8P%26S5%2C8
8%26Tm%3D3650%2C83%265U%3D1705JEngK4tWp4tT87D21704Jk1XlRb8I5GtMTG1%2C8P%2635%3Dtestuser1%2C8P%2663%3Dtoken%2C8P%26pa%2C8P%262r%3Ddev-bo.company.com%
3A6400%2C8P%263k%3D%40dev-bo.company.com%2C8P; Path=/; HttpOnly
<br><br>
The second user who logs in already has this set with the same value, including the testuser1 string which is the username of the first user. This is the only place I can see the username getting passed around.
<br><br>
This is how I log users in to Business Objects and get the logon Token:
<br><br>
IEnterpriseSession session = CrystalEnterprise.getSessionMgr().logon(username, defaultPassword, cmsHostName + ":" + cmsPort, authType);
String logonToken = session.getLogonTokenMgr().getDefaultToken();
<br><br>
This is how I launch the reports:
<br><br>
String url = serverUrl + "/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&sType=wid&sRefesh=Y&iDocID=" + reportCuid + "&token=" + logonToken;
<br><br>
This problem does not occur with logging in and out of infoview. I am using Business Objects XI 3.1 SP2
<br><br>
Thanks for your help
<br><br>
Tim
Edited by: twkatadin on Dec 18, 2009 3:17 AM

When you log into InfoView, it creates a string representing the serialization of the Enterprise Session, and passes it to the client web browser as a cookie.
When you log out of InfoView, then it deletes the cookie.
The cookie is used for session persistence, such that the Enterprise Session will carry over to the different web apps that comprise the InfoView portal.
The difference with invoking OpenDocument is that there's no mechanism for logging off the session within OpenDocument, and OpenDocument uses the same cookie (since OpenDocument is invoked from InfoView, it needs to know the Enterprise Session under with the requester is logged onto InfoView).
So one possible workaround is to not pass the DefaultToken - it's used for failover - but rather the WCA token (createWCAToken).
The WCA token is valid only for the lifetime duration of the EnterpriseSession that generated it.   Since you're keeping around the Enterprise Session yourself, and you do log it off, the serialized session in the cookie should be invalidated on the subsequent call.
Sincerely,
Ted Ueda

Similar Messages

  • Can Business Object Universe be used with other BI Tool

    Post Author: help_eachother
    CA Forum: Semantic Layer and Data Connectivity
    Hi,
    Can Business Objects Universe be used with other BI tool ?
    Thanks

    Post Author: amr_foci
    CA Forum: Semantic Layer and Data Connectivity
    like wat tools...
    i heared in an oracle session that their business intelligence system would be able to connect to other business intelligence system ex, business objects
    but i dont know how it works,, or even anything about oracle BI
    good luck

  • Session completed successfully with errors reported in error tables.

    Which table would contain the errors for this error message?
    "Session completed successfully with errors reported in error tables."
    The Snp_Exp_Txt table?
    Edited by: user8702914 on Mar 2, 2011 11:28 AM

    Sutirtha,
    The FLOW_CONTROL option must be set to 'Yes', as it is the CKM that creates and populates the E$ table. If it was set to 'No' there would not be any 'errors reported in error table' as the error table would not exist.
    Cheers
    Bos

  • Business Objects XI R2 SP2 with Tomcat and Security Manager enabled

    XI R2 SP2 Unix server:
    I need to start the tomcat that is embedded in Business Objects with Security Manager enabled. Is there a writeup on how to do that? This changes the port that tomcat runs on, so do I just change all references to the port that it is currently running? Is it that simple?
    Thanks for any advice!

    It sounds like an issue that would need to be troubleshot by an engineer. Can you open  a message with support?
    Cluster members for client tools are defined in the windows registry. Does infoview work?
    Regards,
    Tim

  • Business Objects Enterprise and publishing Access Database reports

    Hi,
    I have searched the forum but cannot find anything to help me so any help would be appreciated
    I have an access database on a shared drive that I want to publish a report for.
    On the BO server I created a system DSN to the database through a mapped drive.
    I use the publishing wizard to configure the report but I am getting the following error when I try and run the report:
    Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: -1023 ]
    I have also gone in on the Business View Manager and created the connection and it connects successfully.
    I have successfully published Sybase and SQL reports but I just cannot get the connection to the Access Database to work.
    Thanks in advance,
    Sinead

    Try using UNC to point to the database.  In other words,
    servername\sharepoint.
    Also, make sure the service account of the server processing the report (I don't think you mentioned what type of report it was) is running under a domain user account that has access to the share (rather than the default local system).  You can set this in the CCM.

  • Demo version for SAP Business object server

    I would like to try the Business object server to work with Crystal reports. could you please let me know the download link for the latest available version of the BO Server/Web Intelligence /Dekstop Intelligence. Is there any demo version available for me?

    Hi,
    Crystal reports u can get it for demo  but Bo Server, webi u cannot u need to install it or the other thing u can do is to take a remote access form somewhere(on monthly basis at a  minimal cost ) and try playing around .

  • Crystal Report LDAP authentication with SSL to Business Objects XI 3.1 SP3

    Hi,
    Here is the issue
    Business Objects XI 3.1 SP3
    Crystal report 2008
    LDAP is configured with SSL and working great within BO.
    In Crystal report 2008, enterprise authentication worked, but not LDAP with SSL, I got "Security plugin error: Failed to set parameters on plugin.
    If I try with LDAP with no SSL, everythingu2019s fine.  Do I have to setup something on the "workstation" side to be able to user LDAP with SSL ?
    *I already tried to disable firewall
    Thanks for your help

    Hi,
    check SAP Notes 1320510 and 1272536
    Hope that helps.
    Regards
    -Seb.

  • Reporting of recursive tables with Business Objects 6.1

    Post Author: pk7
    CA Forum: Publishing
    Can anyone tell us how to traverse recursive tables with Business Objects 6.1?  For example, let's say you have an Employee table with Emp_ID, Name, Manager_ID.  Like so:
    Emp_ID  Name   Manager_ID
    1           Jeff           4
    2          Grace        3
    3           Stacey      1
    4           Wayne      null
    The task is to report the hierarchy of employees starting with one employee (e.g. Grace) and showing who ALL of her superiors are.  Desired result would be:
    Grace
          Stacey
                Jeff
                       Wayne
    We have seen the expanation the seems to require the duplication of a table but we prefer not to have the same data stored in multiple tables.
    Thx!

    Hi Dan,
    Thanks for your response. However, what I meant by client installation is exactly as what you have said below.
    I start the BusinessObjects Enterprise XI 3.1 Setup, go to custom install, which shows up the following options-
    Client Components
    Web Tier Components
    Server Components
    Database Access
    etc. etc.
    Initially I unselected all, drilled down Client Components and just installed the Developer Components. But the code used to fail with an InvalidCast exception when we used to cast an InfoObject to a Report as following-
    Report report = (Report)infoObjects[1];
    This code used to work fine with earlier installations of business objects.
    This happened with all 3 of us who installed just the Dev components. To get over this we installed the whole Client Components and the above problem got resolved.
    And now we realize that even the whole Client Comp is not enough because it gives the casting problem while doing the destination stuff.

  • Looking for a tool to search text fields in about 1000 reports installed on Business Objects Xi R3

    Hi,
    i am looking for a tool, program that can search all our reports installed on Business Objects Xi R3 for specific content in text fields and formulas.
    We used a couple of years ago .rpt inspector, that worked pretty well for our purpose.
    Unfortunately  this is Win XP & Win Server 2003 only, so we can't reuse it anymore.
    (I know there are way of getting WinXP that in a VMware, but that is not an option in our company.)
    So i am interested , if there is another tool out there, which can help us?
    regards Alex
    btw we are using Business Objects XI R3 (SP7) with reports deisgned on crystal reports designer 2008

    Hi,
    i am looking for a tool, program that can search all our reports installed on Business Objects Xi R3 for specific content in text fields and formulas.
    We used a couple of years ago .rpt inspector, that worked pretty well for our purpose.
    Unfortunately  this is Win XP & Win Server 2003 only, so we can't reuse it anymore.
    (I know there are way of getting WinXP that in a VMware, but that is not an option in our company.)
    So i am interested , if there is another tool out there, which can help us?
    regards Alex
    btw we are using Business Objects XI R3 (SP7) with reports deisgned on crystal reports designer 2008

  • Bug with Business Objects 3.1 Client installation. Very annoying indeed.

    I have faced a few issues while developing with the Client installation (which includes the Client Development SDK) of business objects 3.1.
    Some of the code just don't work with the client installation. They give Invalid cast exceptions. The same code will work fine with the server installation.
    For a simple example, consider the following straightforward code to set the destination-
    String query = "Select SI_DEST_SCHEDULEOPTIONS, SI_PROGID "
              + " From CI_SYSTEMOBJECTS Where SI_PARENTID=29 and "
              + " SI_NAME='CrystalEnterprise.DiskUnmanaged'";
            InfoObjects destinationInfoObjects = infostore.Query(query);
            InfoObject infoObject = destinationInfoObjects[1];
            //Set the options for the disk unmanaged destination
            DestinationPlugin destinationPlugin = (DestinationPlugin)infoObject;
            DiskUnmanaged diskUnmanaged = (DiskUnmanaged)destinationPlugin;
            DestinationOptions destinationOptions = diskUnmanaged.ScheduleOptions;
            DiskUnmanagedOptions diskUnmanagedOptions = new DiskUnmanagedOptions(destinationOptions);
            diskUnmanagedOptions.DestinationFiles.Add("C:\\");
            diskUnmanagedOptions.UserName = "your_username";  //Change these according to your logon settings.
            diskUnmanagedOptions.Password = "your_password";
            schedulingInfo = publication.SchedulingInfo;
            schedulingInfo.Destination.SetFromPlugin(diskUnmanaged);
    This code will give an invalid cast exception as follows-
    System.InvalidCastException: Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'CrystalDecisions.Enterprise.DestinationPlugin'.
    This happens at the line -
    DestinationPlugin destinationPlugin = (DestinationPlugin)infoObject;
    Now, this code works fine on a box where the server is installed.
    I have noticed this with a few other areas as well where the code fails with client installation but works on the server. This is really annoying because all the deveopers now have to install the server on their boxes.
    It is actually worse if just the Client Developer SDK is installed (and not the whole client). You would expect that just the SDK installation would be enough for one to do the coding. But doesn't work at all.
    Have others not faced this issue?

    Hi Dan,
    Thanks for your response. However, what I meant by client installation is exactly as what you have said below.
    I start the BusinessObjects Enterprise XI 3.1 Setup, go to custom install, which shows up the following options-
    Client Components
    Web Tier Components
    Server Components
    Database Access
    etc. etc.
    Initially I unselected all, drilled down Client Components and just installed the Developer Components. But the code used to fail with an InvalidCast exception when we used to cast an InfoObject to a Report as following-
    Report report = (Report)infoObjects[1];
    This code used to work fine with earlier installations of business objects.
    This happened with all 3 of us who installed just the Dev components. To get over this we installed the whole Client Components and the above problem got resolved.
    And now we realize that even the whole Client Comp is not enough because it gives the casting problem while doing the destination stuff.

  • Business Object XI 3.1 Integration with Siebel CRM 8.1.1.1

    Hi Experts,
    We are planning to Integrate Business Objects XI 3.1 with Siebel CRM 8.1.1.1.
    Our requirement would be creating BO Universes on top of Siebel CRM Business Layer (Business Components) and expose these Universe for Ad-hoc reporting using Web Intelligence at InfoView portal. In addition we would like to leverage Siebel CRM Authentication and authorizations (positions) as well with Integration Kit.
    Found some of docs on BO with Siebel integration using crystal designer. But not on creation of Universe and then WebI Reports.
    And also found that Siebel Web Desktop for Ad-hoc reporting within Siebel portal. Not sure how it is similar to BO Web Intelligence reporting.
    Can any one please guide us the different possible options to achieve this requirement.
    Regards,
    Ravi Kumar Garre
    Edited by: Ravi Kumar Garre on Jan 27, 2010 5:56 PM
    Edited by: Ravi Kumar Garre on Jan 27, 2010 6:03 PM

    Hi Paul,
    I've left SAP on March 31th, 2011, so my information may not be 100% accurate.
    As far as I know, in Business Objects Suite XI4.0, there will no longer be Siebel Integration kit.
    Instead, Siebel related integration features are moved back into core products such as Crystal Reports and BOE.
    This means, you no longer need to have an installer for Siebel integration kit, when you installed Crystal Reports, it will bring you to Siebel connectivity after you install Crystal Reports. So does BOE.
    The similar approach applies to other integration kits as well such as SAP, PeopleSoft, JD Edwards, Oracle EBS.
    In Crystal Reports and BOE XI4.0, the Siebel integration feature remains with some improvements (check the product document for detail when you get XI4.0 BOBJ suite.)
    For Webi/Universe accessing Siebel request, I have no further update since then.
    You may want to go through your sales representitive/support channel to raise enhancement request/new feature request officially and get feedback.
    Hope this helps.
    Thanks and Regards
    Carlos Chen

  • Use a dynamic list of email addresses to email a report via Business Objects Server 11

    Post Author: wolfgang666
    CA Forum: General
    I use Business Objects Server version 11 to distribute reports via email but was asked if there was a way to only send the reports to those people listed in the report (which changes daily) instead of the entire distribution list. I can create a list of email addresses as a variable within the report but can't find any way to pass it to the Business Objects server "To:" field located in the destination screen. I would expect to see some option for sending to some value located in the report but alas no such option is evident. This seems like a feature the product should be capable of doing as it is so basic. Any other way to do this that anybody can think of? Any help is greatly appreciated. Thanks.
    Matt Frazier

    Hi Alan,
    The simplest thing would be to simply use the Import Wizard to create a BIAR file and then back up the required CR's and instances to the BIAR file. So for instance you would use the "Import Folders and Objects" option. So the source system would be the system you are decomissioning and the Destination would be the BIAR file. Once that is done you can use the BIAR file to import the report content into another system in the future.
    <<Text removed>>
    Kind regards,
    John
    Edited by: Matt on Oct 10, 2011 10:20 AM

  • Calling business object in report ?

    Hi,
    i want to call bussiness object method in my report as that method will give me the data which i need to display in my report. But i dont know how to call business object it's method in ABAP report  and how to pass parameters to it.
    Plz help me out as  this is very urgent.......
    Thanks,
    rahul

    Hi Rahul,
    You have posted your query in a wrong forum, but still this is the solution:
    You can use macro SWC_CALL_METHOD from include <CNTN01> or directly a FM called SWO_INVOKE.

  • Problem with an extended business object

    Dear experts,
                  I am extending a standard business object for sales BUS2032, with the name ZBUS2032.  To the new bus ( ZBUS2032 ) I have added a new method by assigning a custom function module developed by me for a requirement. I have released the method it is fine and I am able to use this newly created method in my work flow. But when I added an another method to this object its not getting reflected when I tried to use it my work floe ( Not in the available method options for the object ZBUS2032 ).
    Please help me in this front.
    Regards,
    Murthy.

    Hi I got the solution

  • SAP Business Objects Access control with BI4.1 and enterprise authetication

    Hi Team,
    We are on BI 4.1 with enterprise authentication. We are using IDM (oracle waveset 8) for access management. Currently we receive request from IDM and we manually configure user in BI4.1. We are now planning to automate this process, like as soon as user request place request through IDM , his access wil lget configure in BI 4.1
    can we achieve this using SAP Business Objects Access controle or with any other method ? Need your guidance
    Thanks,
    Nivedita

    Hi Andrea,
    1. you configure the BOE Server with the SAP authentication for your SAP server
    1b you configure trust between the portal server and the SAP system
    2. you import the portal iView template as part of the SAP Kit into the portal server
    3. you create a new system (or use an existing one) in the portal system landscape and configure the properties of the Crystal Enterprise properties
    4. you create a new iView based on the portal iView template
    ingo
    I have some difficulties to create a new system, I don't know witch option i should choose.
         System (from template)     
         +BI JDBC System
         BI ODBO-Compliant OLAP System
         BI SAP Query System
         BI XMLA-Compliant OLAP System
         EP 5.0 System
         HTTP System
         JDBC System
         KM Lotus System
         KM WebDAV System
         KM Windows System
         SAP system using connection string
         SAP system using dedicated application server
         SAP system with load balancing
         Web Service System using WSDL URL+
         System (from PAR)
         com.sap.km.cm.repository.manager
         com.sap.km.common.domino
         com.sap.netweaver.coll.appl.gw
         com.sap.netweaver.coll.appl.sync
         com.sap.portal.httpconnectivity.urlsystem
         com.sap.portal.ivs.sl.connector.helper
         com.sap.portal.runtime.application.soap
         com.sap.portal.systems.bi
         com.sap.portal.systems.datasource
         com.sap.portal.systems.EP5
         com.sap.portal.systems.jdbc
         com.sap.portal.systems.sap
         com.sap.portal.systems.webservices
         com.sap.portal.unification50.template
    Thanks a lot
    Selvam

Maybe you are looking for

  • How to call a form in report

    How can i call a form in a report?

  • Preview window has no text

    since installing the worst upgrade ever, maverick, mail no longer displays the mail's text in the preview window - it is simply blank. it also has killed firefox, but that's another problem....

  • Restrict pdf from opening in preview

    i'm creating a pdf that has all sorts of interactive elements. i would like to find a way which wouldn't allow the user to open the pdf in preview. apparently, the pdf shows a watermark (necessary for copy right, but should only show up when printed)

  • Idoc to XI to FTP BATCH process

    Hi, I have a scenario to send idoc from SAP R/3 to FTP server using XI. In this scenario, the interface should be executed in batch once in every hour. How can I schedule the interface in BATCH running for every hour? Please explain in detail if poss

  • How to deploy Business components from DEV to QA and PROD

    I developed Business components in my development database using JDEVELOPER and would like to port it to QA and then production. Because XML files have all your constraint names in there, which will be different in my QA and Prod., how do I make if w