Encode & in Opendoc link to open a webi report

Hello,
We are trying to launch a webi reports from a dashboard  and we are using URL (opendoc command)
One of the parameters is called the company name which has an & sign eg ( ABC & Associates).
When we try to run the webi report it never populates the data because of the name containng an &.  We did try to convert the & to a %26. However this resulted in Xcelsius converting our % sign to a %25  giving us a final value of a %2526.
Is there a function available to encode the URL to solve this issue
AP

Hi,
Are you using Xcelsius 2008? Then the URL will be encoded automatically.
If you are using Xcelsius 4.5, then you will have to write a simple jsp (using java.net.URLEncoder.encode), and then use "XML data" data connectivity to connect to this jsp.
Hope this helps,
Bobby

Similar Messages

  • Error when trying to open a WEBI report with OpenDocument.jsp

    I have a weird problem, i'm trying to open a WEBI report with OpenDocument.jsp and I get the following error message
    An error has occurred: Could not find the document.
    the weird thing is that this error only occurs when i use Internet Explorer.  When i use the same link with Google Chrome, i see my report.
    How do I make this work, our standard web browser is Internet explorer.
    here is a sample link i use to call my report.
    http://<server>:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AVGrgQALGJZGipKCfjPPZ3g&sIDType=CUID
    Our BO environment is :
    BO XI 3.1 sp2 fp 2.3
    tomcat 5.5 front-end

    Hi,
    I don't know how much this solution will help you but it is worth trying.
    SAP Note: 1198844
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3131393838343426]
    Regards,
    Bashir Awan

  • Open the WebI report from Xcelsius dashboard

    Hi All,
    I would like to know how to open the WebI report from the xcelsius dashboard.
    Looking at the previous posts I followed the following steps to implement the same but that is not working.
    Inserted the component URL button and used the folowing link:
    http://servername/OpenDocument/opendoc/openDocument.jsp?sType=wid&sIDType=XXX
    But this is givingerre: " Internet Explorer cannot display the webpage"
    Also, tried the copying the reprot link, but that is opening the Infoview login page.
    I want the report to opened when we click the URL button.
    Could someone please provide me a solution.
    Thanks in advance.
    Regards
    Sindhu

    did you try passing the iDocID parameter? When prompted did you try to login to InfoView and check whether Report gets displayed?
    Ideally the URL should be as below:
    [http://<server>:<port>/OpenDocument/opendoc/openDocument.jsp?iDocID=<cuid_of_the_document>]
    If you want to bypass the logon screen,you need to modify the OpenDocument.jsp to pass logon token to the above URL i.e.token=+token where the +token is being retrieved by sdk.

  • Issue while opening BI4 webi report instance using CMC on IE8 browser

    Hi,
    Having issue while opening BI4 webi report instance using CMC on IE8 browser.
    Steps to reproduce the error:
    1. Login to CMC
    2.  View Webi History.
    3.  Open successful instance  (For the 1st or 2nd time reports are opening up, from the 3rd time it just freeze the session)
    4. After it get freeze we need to close the IE using Task Manager.
    Can any one please suggest a resolution for this issue.
    Thanks,
    Ganesh.M

    Hello Gokul,
    first thing is to check is if your chrome version is supported by your current BO version as specified in the PAM (is it?). If the chrome version is supported, and you still have an issue, then you can check with a sap support engineer.
    best regards,
    Victor

  • Cannot open the webi reports

    hi guys,
    i have a problem opening a webi report.
    Actually, CMS and Bo are installed in different server. The reports which are connected to cms are not able to load where as the report connected to standalone are loading properly.
    I'm not getting any error when i open the reports which are under cms but it just hangs on loading the report.
    How could i solve this problem?
    regards
    sunil

    hi Rongliang,
    this is the trace log of webi
    kdgWICDZCore.cpp:3592:enum wicdzCore::WICDZCoreStatusCode __stdcall wicdzCore::dgWICDZCore::getCurrentDocToken(class bo_utf8string &): TraceLog message 1
    2010/05/19 04:53:43.122|>>|E| | 2384|5672| |||||||||||||||expression failed: m_curDocPtr
    kdgWICDZCore.cpp:3592:enum wicdzCore::WICDZCoreStatusCode __stdcall wicdzCore::dgWICDZCore::getCurrentDocToken(class bo_utf8string &): TraceLog message 2
    2010/05/19 04:53:43.200|>>|E| | 2384|3192| |||||||||||||||expression failed: m_curDocPtr
    kdgWICDZCore.cpp:3592:enum wicdzCore::WICDZCoreStatusCode __stdcall wicdzCore::dgWICDZCore::getCurrentDocToken(class bo_utf8string &): TraceLog message 3
    2010/05/19 04:53:43.294|>>|E| | 2384|3712| |||||||||||||||expression failed: m_curDocPtr
    d:\Mira_RTM\src\Framework\export\iface\sdk\common\scomobjectbase.h:65: TraceLog message 4
    2010/05/19 04:53:44.903|>>|A| | 2384|3720| |||||||||||||||assert failure: (d:\Mira_RTM\src\Framework\export\iface\sdk\common\scomobjectbase.h:65). (m_ObjectLocale!=0 : class ATL::CComObject<class CComEventObjects>).
    d:\Mira_RTM\src\Framework\export\iface\sdk\common\scomobjectbase.h:65: TraceLog message 5
    2010/05/19 04:53:44.903|>>|A| | 2384|3720| |||||||||||||||assert failure: (d:\Mira_RTM\src\Framework\export\iface\sdk\common\scomobjectbase.h:65). (m_ObjectLocale!=0 : class ATL::CComObject<class CComEventDetails>).
    regards
    sunil

  • Opening XIR2 webi reports using C# code

    Hi all,
             Is it possible to open Xir2 webi reports using C# code.If so can u throw light on the same.Thanks in advance

    Check out the Dev Library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    You will find a scheduling Webi sample under the BusinessObjects Enterprise|Tutorials section.
    You will the viewing code under the Report Engine .NEt Developers guide section under Application Essentials.
    Jason

  • Open a webi report from a Dashboard components

    Hi All,
    I have created a dashboard using Dashboards 4.0.It has a bar chart,line chart,combination chart.all these chart on X-Axis have month names as dimensions and y - axis shows different measures.
    So now the requirement is the user wants to select any month from any one of the chart at one particular point of time.then the dashboard should open a Detailed Webi report( created in BI Launch pad) for the selected month and display that month data in a new window.
    I know that we have to use the URL button in Dashboards for linking a webi document.
    However i would like to know how to pass the selected month from the dashboard by selecting a particular month from any of the graph component as a parameter to the respective Webi report in BI Launch pad.
    Hence any body how to implement this in Dashboards please let me know the step by step process.
    Thanking you,
    Regards,
    Naga Nanda Kishore.

    Hi Kishore,
                Month name should be prompt for the Detail  Webi Report, so when u clicked on bar its going to carry that Month as Well. And Syntax for adding Month will be like below.
    Suppose if it is Sample Open Doc:
    /BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=Fq0JoFNoywYADK0AAADHRQkAABVdEABC
    So u have to use this Syntax for Month
    lsSMonth=+ Map the Cell where month is capturing. (Note:In  lsSMonth Month is next of Prompt for month in Detailed Report.
    And final URL will be
    "/BOE/OpenDocument/opendoc/openDocument.jsp?mistype=CUID&iDocID=Fq0JoFNoywYADK0AAADHRQkAABVdEABC&lsSMonth=+Selected Month"
           (Open Doc)                                                                                                                                                          (Sending         (Selected                                                                                                                                                                                       Month)                 Month)
    And For trigger the URL button you have keep trigger URL when Month Value changes(Based on Selection), means you have map trigger cell to destination of Bar chart Month Destination.
    Thanks and Regards
    Sateesh

  • Issue while opening saved web reports

    Hi,
    The web reports are saved as excel to local machine using 'Export to Excel' fuctionality.
    But when the excel report is opened from local machine BW system requests a UID/PWD.
    It is a Standard functionality when Hiearchy images are present in the web report.
    One solution is to create an anonymous log in for the BEX service or MIME service or create an alias for the BEX service and use the same in the URl. But we can not implement any of these solutions now.
    Is there any other solution existing for this like creating a class and create a service for the class and handle this logon issues at the class itself.
    Can anybody please let me know how we can handle this?
    Thanks in advance..

    Hello Gokul,
    first thing is to check is if your chrome version is supported by your current BO version as specified in the PAM (is it?). If the chrome version is supported, and you still have an issue, then you can check with a sap support engineer.
    best regards,
    Victor

  • Opening Drillable Webi Reports

    One of my colleagues developed two XI R2 Webi reports that enable the user to drill down.  These reports worked OK while in his own favourites folder but when saved into the repository no-one could successfully open them (not even the creator or Administrator).
    On trying to open either report, it would start to open and display the outer frame of the document, the two tabs within the document (one contains a table, the other a chart) would be visible but the tab content was not visible.  The InfoView session would then hang indefinitely.
    If a user copied the report to their favourites folder, they could then open it successfully and could refresh, drill up and down and resave it without any problem.
    We tried deleting the repository version and resaving it, but it was still the same.  As the users needed the reports urgently, I copied the reports to the relevant user favourites folders as a workaround and have just gone back to investigate further today.  However, today the reports are behaving normally for all users and I can't reproduce the problem.  The Windows 2003 host server has NOT been rebooted nor have any of the BOXI servers been stopped and restarted in the meantime.
    Has anyone else expierenced this type of problem?  If so, did you find out what was causing it?

    Check out the Dev Library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    You will find a scheduling Webi sample under the BusinessObjects Enterprise|Tutorials section.
    You will the viewing code under the Report Engine .NEt Developers guide section under Application Essentials.
    Jason

  • SDK Code for bulk opening of Webi reports and Save

    Hi,
    Is it possible to bulk open webi reports using SDK and save it again.
    Thanks,
    Chandra

    Hi Chandra,
    No, This script is for only opening the webi document & saves it back to enterprise without any processing.
    If your webi document have the refresh on open & last prompt value selected properties checked then you don't have to modify the code.
    If you want to handle the prompt as well, then you have to modify the code & write the application flow like below:-
    1. Logon to enterprise.
    2. get infostore service.
    3. get all the webi documents into infoobjects collection
    4. get engines services.
    5. load document instance.
    6. clear the prompt values & set it with new value.
    7. saves the report back to enterprise.
    The 6th point is mossing from the script. You can add that piece of code in the attached script also you can take help from the sample codes & Developer guide & API references.
    Thanks,
    Shailendra

  • Email links to open a web page do not display in my email using Firefox. They do display using Internet Explorer. Why?

    My email account on Network Solutions site no longer show links sent to me. Someone sent me an email with a link for me to click on to fill out an online form. The link did not display. If I forward the email to another account, I can see the links. If I open the email in Explorer, it also displays the link. Why does Firefox 18 not display the links?

    hello, please go through the steps covered in [[Websites look wrong or appear differently than they should]] - maybe they will contain a solution for the issue you've described...

  • OpenDocument URL to open a Webi Report

    hi,
    We are using OpenDocument URL to link Webi Documents to another one. Right now all the prompts are there in Webi Layer it self. In the new Project the universes will be pointing to BEx queries and they will have all prompts in the BEx layer itself. So in Webi layer we dont have to create prompts. My question is can we use same openDocument syntax(sample url when prompts are in Webi Layer--- http://Server:port/OpenDocument/opendoc/openDocument.jsp?
    sType=wid&iDocID=49543&sRefresh=Y&sWindow=New&lsSEnterYear=2006&lsMEnterState=Colorado) to pass parameters eventhough prompts are there at BEx layer?
    Also in case we are in the same session,by default iOpenDocument will take that logon token and SSO will happen. How do we force OpenDocument to Prompt for logon credentials even though the session is open.
    Could you please help?
    Thanks
    Aravind

    Hi Cuttle,
    This is a known question and there is also a record in our system. Thanks for your infomation!

  • A prompt or condition on a link before opening the target report

    How to prompting User to select a certain report with a certain hiearchy before displaying a linked report?
    Can someone help me with this matter please. Thanks.

    Thanks John thanks Snehal.
    There a change in my work. Regarding on linking.
    My report must now have, a column with cells with 3 links inside it.
    Is there any code for having 3 link names in one cell.
    For example:
    The cell must contains:
    Link1 Link2 Link3
    which has a corresponding report to be linked. Is this possible.
    ="<a href=http://servername/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sDocType=wid&sDocName=Report1'>Link1</a><a href=http://servername/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sDocType=wid&sDocName=Report2>Link2</a>"
    It only displays Link1 but I need to display Link2 as well. Can anyone help me with this? Thanks.

  • Xcelsius to webi report navigation

    Hi all,
    I need to create connection between Xcelsius 2008 and BO Webi 4.0 reports.
    When user clicks on Xcelsius chart it will navigate to the detailes webi reports with all the filters selected in xclesius.
    I dont know anything like flash variables,open document ,content linking etc.. Can anyone suggest me or provide me step by step procedure how to achieve this.
    It would be great help for me.
    Thanks in advance!!
    Regards,
    Neha

    Hi Neha,
    Check the below links for calling webi report from dashboard.
    Use Opendoc link for calling a webi report from dashboard.
    https://scn.sap.com/thread/2091817
    http://scn.sap.com/docs/DOC-50838
    http://scn.sap.com/thread/3480155
    http://events.asug.com/2013BOUC/Dashboarding%20&%20Visualization/8_26_13/0115%20Using%20OpenDocument%20to%20Enhance%20your%20Dashboards.pdf
    Regards,
    Anish

  • 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

Maybe you are looking for

  • HELP! "There are 309 files that don't belong in the project"

    I needed to reformat my OS, so I backed up all my data onto DVD+RW's. (Verbatim brand.) including my imovies. I copied the entire "blahblah.iMovieProject" folder onto the DVD, then copied it back onto the drive after the reinstall. But now when I cli

  • 6 minute Keynote with video clips keeps crashing when Export  to Quicktime?

    I have a very important presentation I need, it has some video clips in I created in LiveType, and I export to Quicktime, using the default settings, it keeps crashing. The last time I tried it was this morning, it processed for 2 hours, at the last

  • Suspect VBKD inconsistency.

    Hi gurus i have one question to ask . i tried to develop a adhoc report using QUERY and inforset. i join both table VBAP and VBKD togther with the fields VBAP-VBELN VBAP-POSNR join with VBKD-VBELN VBKD-POSNR after i search through the SE11 find out t

  • Raising alerts in an asynchronous messaging scenario

    Hi    I have a simple scenario involving asynchronous messages going from a SAP box --> ABAP client proxy --> XI --> Webservice call Since the call from the SAP box is asynchronous, I would like to get an alert to a particular email id - if the messa

  • I cannot download Adobe X in DOS

    My computer keeps telling me I cannot download Adobe X in DOS. I never had this problem before. Please help