Open Document WEBI

Hi All,
I am using OPEN Document link to create master detail report in Web Intelligence. Link is working fine with my user ID, but when I handed over this report to end user it is throwing following error while opening the link. "Cannot build the query or generate the report (WIS 30351)" Seem to me an authorization issue, we are using single sign on to login into BI 4.0 SP 6. My user has admin rights in BW whereas the end user has been given with query access.
    As this link will call webservice so is there any specific authorization for this or if this is some other issue.
Please suggest.
regards,

Hi Sunder,
Thanks for your reply, as it is working perfectly fine with my user and few other users who have admin rights in BW so I don't think this could be the patch related issue. The only problem I am seeing right now is authorizations, I gave admin rights to this user in BI 4.0 but as it is single sign on so I am not sure which authorizations are required on BW side to allow this web service.
Any suggestion.
Regards,

Similar Messages

  • Open Document from a webi report

    Hi
    I am trying to open the webi document from a report and the data source is BW , can u guys help me out and give me the syntax
    thanks

    Hello,
    There no fine-grained control over the "Document Properties" frame specific to visibility of the "Created by:" field displayed, either in the Java Report Panel or DHTML Interactive Editor Extension Points. 
    You can try editing the Interactive Editor JSP file that controls that panel - it's relatively straightforward - but that would take your deployment out of support.
    One way for definiteness would be - instead - to modify the "createdby" Web Intelligence document property to something else, using ReportEngine Java SDK:
    documentInstance = reportEngine.openDocument(id);
    properties = documentInstance.getProperties();
    properties.setProperty(PropertiesType.AUTHOR, "pookie");
    documentInstance.setProperties(properties);
    documentInstance.save();
    Of course, this isn't what you want if you want to keep the "Created by:" field, but merely prevent it from being displayed in the viewers.
    Sincerely,
    Ted Ueda

  • Creation of Open Document from WEBI

    Hi,
    Can any explain me Open Documents procedure for WEBI...i am trying to create but its not working ...
    Thanks in Advance...
    Regards
    Sanjeevkumar.D.Belagal

    Check artical numbers 1297204,1422248
    And make sure with your admin, opendoc is configured at server side.
    Thanks,
    Anil

  • Linking a WEBI report through hyperlink in a webpage using open document

    Hi All,
    I have a hyper link in a web page which when clicked should open a WEBI report. I created it using the open document feature.
    Once clicking on the link, InfoView login credential page is displayed. After logging in the report runs.
    My client does not want the login page to be displayed since most of the users does not remember their password (since SSO is implemented).
    He wants to bypass this login page so that most of the users can directly view the reports.
    Question:
    Is there a way to achieve this i.e without asking for login credentials or by passing this?
    Possibilities :
    1: To create ID's for all the people (which I think is not a feasible option in my project)
    2: Create a guest account with minimum privileges and share the password with all the users.
    Note:
    1: I use BO XI R 3.1.
    2: No SDK is installed to do any programming.
    Any suggestion are most welcome.
    Thanks in advance
    Shreyas

    Hi Shreyas,
    Manual Easy Way for doing the activity in SAP Business Objects 4.0:
    This method is useful if we have a special system account that we want everyone to use.
    You will notice that all we do is generate a logon token using the appropriate username, password and CMS variables. Then we append the token onto ivsLogonToken.
    Note: The numbers on the url after /BOE/portal represents the timestamp of the last patch or install.  You can put whatever you want under the number section and Business Objects will automatically redirect to the appropriate start.do
    Step I:
    Go to the SAP BusinessObjects\Tomcat6\webapps\BOE\WEB-INF\eclipse\plugins\webpath.InfoView directory and edit custom.jsp
    Step II:
    You can copy the contents from the custom.jsp that I’ve provided below to your custom.jsp.
    Cutom.JSP File
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.security.*"%>
    <%@ page import="java.net.*"%>
    <%@ page import="com.crystaldecisions.enterprise.*"%>
    <%@ page import="com.crystaldecisions.sdk.plugin.admin.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="com.businessobjects.webutil.Encoder" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <%
    //BO Session and redirect to Infoview
    IEnterpriseSession enterpriseSession;
    /* * Set Enterprise Logon credentials. */
    final String BO_CMS_NAME = "bi4server";
    final String BO_AUTH_TYPE = "secEnterprise";
    final String BO_USERNAME = "Daya";
    final String BO_PASSWORD = "admin@123";
    ILogonTokenMgr logonTokenMgr;
    String defaultToken = "";
    * Log onto Enterprise
    boolean loggedIn = true;
    try {
    //Create session token
    enterpriseSession = CrystalEnterprise.getSessionMgr().logon(Daya,admin@123, BI4SERVER,Enterprise);
    logonTokenMgr = enterpriseSession.getLogonTokenMgr();
    defaultToken = logonTokenMgr.createWCAToken("", 20, 1);
    //Redirect with token attached to the ivsLogonToken parameter
    response.sendRedirect("http://"+BO_CMS_NAME+":8080/BOE/portal/1205291547/InfoView/logon/start.do?ivsLogonToken="+Encoder.encodeURL(defaultToken));
    catch (Exception error)
    loggedIn = false;
    out.println(error);
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    </body>
    </html>
    Edit the username,Password & BOBJ Server Name'in BOLD Letter
    Step III:
    Stop tomcat, then delete contents in the SAP BusinessObjects\Tomcat6\work directory.
    Then start tomcat again and the work directory will be regenerated with new code.
    Step IV:
    Trusted Authentication:
    Trusted Authentication is a component of Enterprise authentication that integrates with third-party single sign-on solutions, including Java Authentication and Authorization Service (JAAS). Applications
    that have established trust with the Central Management Server can use Trusted Authentication to allow users to log on without providing their passwords.
    This method is really cool because users don’t even have to know their passwords.  Basically with this method you can log into another system and if that system has the appropriate user name, you can pass it to the custom.jsp and then it will log you into BI Launchpad.
    In addition, you don’t need to create any java code for the enterprise token setup.
    Step V:
    In the CMC, go to Authentication, then select Enterprise.  Check Trusted Authentication is enabled, then click on New Shared Secret.  Finally download the shared secret key and keep it somewhere secure
    Step VI:
    Copy global.properties from <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\BOE\WEB-INF\config\default into <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\BOE\WEB-INF\config\custom.  Then using Notepad or another text editing utility, edit the following properties
    sso.enabled=true
    trusted.auth.user.retrieval=WEB_SESSION
    trusted.auth.user.param=UserName
    trusted.auth.shared.secret=<secret code from properties file you created in step 2>
    Step VII:
    Go to the SAP BusinessObjects\Tomcat6\webapps\BOE\WEB-INF\eclipse\plugins\webpath.InfoView directory and edit custom.jsp
    <\!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page language="java" contentType="text/html;charset=utf-8" %>
    <%
    //custom Java code
    request.getSession().setAttribute("MySecret","32efbfbd35efbfbdefbfbd4363efbfbdefbfbd694aefbfbdefbfbd227530efbfbd5742efbfbd13efbfbd2befbfbd1fefbfbdefbfbdefbfbdefbfbd4e49efbfbd41550cefbfbd15703619d8b8efbfbd6cefbfbdefbfbd57efbfbd0defbfbdefbfbdefbfbd0605efbfbd6dc59b2728efbfbd");
    request.getSession().setAttribute("UserName", "Daya");
    %>
    <html>
    <head>
    <title>Custom Entry Point</title>
    <script type="text/javascript">
    function goToLogonPage() {
    window.location = "logon.jsp";
    </script>
    </head>
    <body>
    <a href="javascript:goToLogonPage()">Click this to go to the logon page of BI launch pad</a>
    </body>
    Edit the username(Daya) variable
    Step VIII:
    Stop tomcat, then delete contents in the SAP BusinessObjects\Tomcat6\work directory.
    Then start tomcat again and the work directory will be regenerated with new code.
    Hope this help you as well.
    Thanks,
    Daya

  • Web Analysis 9.3.1: Error occured while opening document. Document ID = {0}

    Hi Experts,
    I am having an issue while opening a web analysis dashboard report. When I try opening it, web analysis runs for about 15 mins & then throws following error:
    Error occured while opening document. Document ID = {0}
    The report opens with its header having company log & two buttons, but data grid remains empty.
    The source of Grid is Essbase. The tunning parameters in Essbase.cfg file are in place.
    Could anyone please through more observation on this issue. Let me know if any further information is needed!.
    Kindly suggest me any way to resolve it.
    Thanks,
    Krishan

    The isapi (if you use one) timeout setting might be smaller than the time essbase needs to retrieve te information.
    but most probably the analysis applicationserver jre heapsize is either to small or needs to much time to allocate it. Be sure to increase heapsize and set max equal to min (try 800mb, if your hardware has that resource)

  • Unable to open Document in Webi Rich Client

    Hi All,
    I am facing problem when I try to open any webi report in WRC.
    It shows "Loading document...." message every time I open a file regardless of the fact I import it from CMS or take it from local m/c.
    Tried following steps given in SAP note but that didn't help.
    UClear the Java plug-in cache :
    Start -> settings -> control panel -> java
    Under the General tab -> Temporary Internet Files, click Settings
    Click Delete Files
    It is working fine with other machine. I am using BO 3.1 Sp2 FP2.1.
    The one thing I would like to mention was that few days back I tried installing FP2.6 but it failed in halfway so nothing got installed.
    I checked in control panel it is still showing version Fp2.1.
    Please let me know if anybody has faced the similar issue and found resolution for it.
    Thanks,
    Chandra

    This seems to be machine specific hence can be a problem with .lsi file being corrupted
    move the .lsi file from current location to some other and login again .. the .lsi file will be re-created. try opening report now

  • PDF export with link to document defaulting to "Open a web link" instead of "Open a file"

    I have a MS Access database and I'm trying to export reports to PDF (I have Acrobat XI Pro) that include a hyperlink to another document on the same drive on my computer.  I have tested this with hyperlinked email addresses, and emails export fine to PDF and are still functional, opening a new email in Outlook.  The hyperlinks to documents work fine in MS Access, opening a Word, PDF, or other document when clicked.
    When I export to PDF, the links to documents say, "This document is trying to connect to: file:" and my filepath.  If I say "Allow," the link tries to open in my default web browser, which comes up blank.  I've tested this on other computers in our office too.  When I right-click the link, I have the option to "Open weblink as a new document" -- this opens the document successfully, but won't be very helpful or fast for our staff.  When I examine the link with Tools - Add or Edit Link, I see that the link's action defaulted to "Open a web link" when the PDF was created.  This seems like it should be "Open a file."  To see if "Open a file" would work in theory, I tried creating a test button in a blank PDF and made the "mouse up" action "Open a file" and linked to various documents on my computer.  Each time, the button does not react to being clicked at all, like nothing happened.
    I also tried making a basic Word doc with just the hyperlink to another document.  It works fine in Word, but, when saved as a PDF, the hyperlink does the same behavior-- tries to connect to the web instead of opening the file on the computer.
    I have a lot of experience building Acrobat PDF forms and working in Acrobat, and I'm almost certain I've created links that open another file on the computer in Acrobat before, but I'm out of ideas and an internet search isn't turning up much.  I welcome any suggestions for things to try.  Thank you!

    This is what I currently have, and it attempts to open in a web browser.  Do you know of a setting in Acrobat I might need to change, or any other solution to tell Acrobat to open the "file:" URL as a document, not try to start the web browser?

  • "Cannot open document. (Error: INF) Deski docs in WEBI not opening

    Our users are receiving the following error within WEBI when oppening DESKI documents. "Cannot open document. (Error: INF). WEBI files open fine, DESKI files do not.
    I want to break something.
    Any ideas? Many thanks

    We are also having the same issue - personal (i.e. my favorite) Webi documents saved prior to today cause the error: Value Cannot be Null (Error:INF). New Webi documents or documents in the corporate repository are functioning properly.
    Any ideas on how to fix issue is greatly appreciated.
    Thank you

  • Office Web Apps - open Document

    Hello,
    we have a Problem with opening Documents in SharePoint 2013 with Office Web Apps.
    By clicking the Document in SharePoint, Internet Explorer will we open and asked: "Show all content"
    By clicking the Button, the Document will be shown by Office Web Apps.
    By opening the Document in Firefox-Browser, the following Message appears:
    Although this page is encrypted, the
    information you have entered via an unencrypted connection
    will be transmitted and can be easily read by third parties.
    If this information is actually sent? By clicking "continue" - nothing happens!!!!!
    Is there a Problem with the Certificate?
    I´m looking Forward for some helping Hands.
    Thanks a lot...!!!
    HoGa

    Hi HoGa,
    Please enable "Display mixed content" as Tools->options->security->Internet->custom level->under miscellaneaous.
    Here are some useful links for your reference:
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_vista/only-secure-content-is-displayed/b5b31a5b-0b6f-4b6d-bf28-741ad30e9f37
    http://support.microsoft.com/kb/2625928
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/keep-getting-message-only-secure-content-is/b69346b3-1321-419f-aeeb-ab2d6bb7bbc6
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Open Documents with Office Web App - SharePoint 2013

    We have configured Office Web App for our SharePoint 2013 Farm and in Site settings, Site Collection Features,  have disabled "Open Documents in Client Applications by Default" . Out of 15 sites, all documents in 13 sites open in Office
    Web App. One of the 2 sites where the document still open using Client Application is a Wiki site.
    Advanced propertied for the libraries settings has been set to "Use the server default (Open in the browser)". Anything else to check to open documents in Office Web App?
    Thanks
    MP

    Hi,              
    As I understand, you encountered the issue when you want to open documents with Office Web App.
    Check things below:
    1. In the library setting->advanced setting, you can choose the open in the browser to see if the same situation will occur.
    2. Check if you have not enable the Open Documents in Client Applications by Default feature.
    If you choose Activate to enable the Open in Client feature (documents will open in the client application), or
    Deactivate to disable the Open in Client feature (documents will open in the browser).
    You can go to Site setting->site collection administration->site collection feature->Open
    Documents in Client Applications by Default to set the feature.
    The article below is about how to set the default open behavior for browser-enabled documents.
    https://technet.microsoft.com/en-us/library/ee837425(v=office.15).aspx
    The article below is about how to configure office web apps for SharePoint 2013.
    Configure Office Web Apps for SharePoint 2013
    Best regards
    Sara Fan
    TechNet Community Support

  • Not able to open a webi document in java

    final String CMS = "pundl10492:6400";
              final String userID = "administrator";
              final String password = "";
              final String auth = "secEnterprise";
              IEnterpriseSession enterpriseSession = null;
              try
                   ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = mySessionMgr.logon(userID, password, CMS,auth);
                   System.out.println("Session created : "+ enterpriseSession.toString());
                   if (enterpriseSession != null)
                        IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
                        ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
                        final String query = "SELECT SI_ID, SI_NAME FROM CI_INFOOBJECTS WHERE SI_KIND = 'Webi' " +
                                                      "and SI_NAME like '%Least Accessed Documents%'";
                        IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(query);
                        IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        int docId = objInfoObjectWID.getID();
                        System.out.println("docID : "+docId);
                        DocumentInstance doc = reportEngine.openDocument(docId);
                        FileOutputStream l_fos= null;
                        String fileName = "morcom" + "_" + userID+ "."+"xls";
                        l_fos = new FileOutputStream("D:\\_workarea\\MORCOM_POC\\reports\\"+fileName);
                        BinaryView docBinaryView = (BinaryView)doc.getView(OutputFormatType.XLS);
                        byte[] b = docBinaryView.getContent();
                        l_fos.write(b);
                        System.out.println("File created");
              catch(Exception e)
                   e.printStackTrace();
    I am trying to open a document and the code iam using is given above. I am using BO XIR3 and i get
    Exception in thread "main" java.lang.NoClassDefFoundError: com/crystaldecisions/celib/trace/h
         at com.businessobjects.sdk.plugin.desktop.webi.internal.d.<clinit>(Unknown Source)
         at com.businessobjects.sdk.plugin.desktop.webi.internal.WebiFactory.makePlugin(Unknown Source)
         at com.crystaldecisions.sdk.occa.pluginmgr.internal.PluginMgr.getPluginInterface(PluginMgr.java:291)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:409)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:361)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:712)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:566)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:167)
         at BOTest.main(BOTest.java:42)
    error at this line:-
         IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(query);
    Can anyone give a code snippet for opening a webi document in release3. The same code works in release 2.
    Thanks
    Shruti

    You have a "NoClassDefFoundError", so a code snippet won't help.
    XI Release 2 -> XI 3, then jar files have been renamed and object files refactored.
    You've ended up with mixed XI Release 2 and XI 3 jars.  
    Remove your jars and re-add from XI 3.
    Sincerely,
    Ted Ueda

  • Unable to open a Webi document : 'alertDlg' is undefined

    Hi,
    Since few days, I have the following warning "alertDlg is undefined" when I try to open a Webi document.
    The only way to see my document is to see him in modification mode.
    My environnement : Bo Xi 3.1 SP3 + IIS 6.0
    Somebody has already had this probleme?
    Thanks

    Hi,
    For this, if the user is added in admin group the reports will open. Otherwise assign admnistrator privileges to the mentioned Id and check.
    If you don't like to do so try this 'move the report to another folder and then move it back, it works'.
    All the Best
    Madhu....

  • Webi OpenDocument "Opening Document"

    We are trying to run our report from our custom front end application.  We are using the OpenDoc syntax.  I am able to open the document successfully in the Web Intelligence Rich Client.  But, when I call it from the front end, I get the login screen for InfoView; I think I log in, then I get the "Opening Document" pop-up window and it never goes away.
    How can I see where the problem exists?  Are errors logged anywhere?
    Theoretically the error could be URL (constructed by the front end) or the database. 
    But we are using an ODBC connection to a SQL Server database.  I do not see any information in the ODBC trace log either.
    Any assistance greatly appreciated.
    Thank you!

    Hello
    If you are opening from a front end System, That system also contains the Java Virtual machine .
    Just check out that one.
    Just do one more try
    open the same link from the where the BO is installed or where JVM is available. then you observe the difference.
    And also you can by pass the user name like this
    You can try this
    OpenDocument app, here "C:\Program Files (x86)\Business Objects\Tomcat55\webapps\OpenDocument\WEB-INF\web.xml"
    Open it in notepad and search for the parameter opendoc.authentication.default
    And set it here.
    Then all open docs URL will use same authenticationu2026.
    Thanks
    Santhosh V

  • WIS 30902 Error when opening a webi document from Rich client

    Hi ,
    When I try to open a webi document from local folder or import from CMS in Webi Rich client, I get the following error message.
    "An error occured while checking the document security. (WIS 30902)"
    Has any one come across this issue?
    Thanks,
    KartheeK

    In our case, we could initialize Webi Rich Client (Webi RC) successfully , but later we found that any disruption in Webi RC client connection will corrupt the client ..\LocData files used by client to dock to the CMS, causing WIS 30902 error.
    At first we thought just deleting the ..\LocData Client .lsi files fixed it. Unfortunately, there are a collection of files and folders in ..\Loc Data involved in the authentication. We already found that complete deinstall of Webi RC didn't work. Now we know the problem is in the \My Business Objects Documents\LocData values.  Deinstall of Webi RC does not delete them.
    It sounds scary, but isn't. The Webi RC will download the refreshed files it needs automatically from the CMS. However, it won't overwrite the old bad ones, and you have to do that manually.
    Solution.
    1. Logout of Webi RC. Make sure it is not running in taskmgr.
    2. Go to the client ..\My Business Objects Documents\LocData folder.
    3. Delete all the files and folders, or rename by adding .bak extension.
    4. Logon with Webi RC
    5. Corrupt files will now be resynchronized to CMS
    -Doug Grant, Haworth BI / Business Objects Architect

  • Adobe Acrobat documents continue to open in web browser...

    Hi,
    I have a situation with 
    Web application general setting "Browser File Handing" set to strict in the general settings. Also tried changing to permissive, does not help.
    Site collection "Open Documents in Client Applications by Default" feature Enabled
    Document library advanced setting "Default open behavior for browser-enabled documents" set to Open in the client application.
    The documents still open in the browser. Any suggestions? Can serverfiles.xml help?
    Regards,
    Arsalan.

    There is no server-side solution. This is a client-side application configuration. It is basically an ActiveX plugin that Adobe Acrobat installs to handle opening documents in the browser, SharePoint has no control over it.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for