Passing date to xcelius dashboard using openDocument.jsp

Hi.
I created a xcelsius dashboard that uses WEBI report through live-office connection. this dahsboard was uploaded to BO server (InfoView), and I am using openDocument.jsp to view it. ht ejsp gets parameters that I use to set prompts.
Well, for numbers and strings it works fine, but when I try to pass dates, I get the following error:
I am using Xceslis 2008
Cannot Access External Data
For input string: "31/12/2010" (LO 26000)
I am using the following URL to open the document:
http://nextgen-zone:4400/OpenDocument/opendoc/openDocument.jsp?sKind=flash&sRefresh=Y&sDocName=AOF_test_XCLSS_2&sPath=[Help]&lsSK4=2&lsSK1=1&lsSK2=Udiii
The parameters are passed to some cells in the excel sheet (using Flash Variables in the Data Manager), and it then passed to the Live Office using "Modify Object" -> Prompt Setting.. and then selecting "Choose Excel data range" and selecting some  cell (from the Live Office menu in excel).
I put some "debug" table in the dashboard, and I see that the date is passed OK to the sheet, therefore, I think that the problem is when the parameters values are passed to the WEBI/Live Office from the sheet, and not from the jsp to the dashboard.
How can this issue be solved ?
Thanks  a lot,
Ehud.

Try to bind a constant value (same as the one you pass over the flash variable) to the parameter of your LO connection and see if it works. I do believe that the value passed can be a problem here (you may need a key and not the descriptive value).
Regards,
Stratos

Similar Messages

  • I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vecto​r signal analyzer ) to measure such as RF frequency or power on the instrument​? Thanks

    I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vector signal analyzer ) to measure such as RF frequency or power on the instrument?
    I just want to set something on the front panel that will execute the Serial parameters first and then pass these settings to vector signal analyzer
    Thanks
    Phong

    You transfer data with wires.
    Frankly, I'm a little confused by your question. I can't think of any reason why you would want to pass serial parameters (i.e. baud rate, parity) to a GPIB instrument. Please explain with further detail and attach the code.

  • Import CSV/Excel data into Flex Datagrid using Java/JSP

    Hi,
    Is there any way we can import excel/csv data into flex datagrid component.
    I see that is been done using php in this site. http://code.google.com/p/as3xls/
    Any help would be appreciated.
    Thanks in advance

    You can store the list of data from the Excel sheet that you have read already into an ArrayList
    Then go through the JDBC tutorial, and learn how to insert a single record into the table.
    After you understand how to insert a single record, you can iterate through the ArrayList of data and insert them into the table in the database.
    If you know JDBC, see if you can use OR Mapping frameworks like Hibernate or iBatis, they make it very easy to manage database in Java.

  • Passing data to MIGO screen using BAPI

    Hi Friends
          I have PO header and item details data in Ztables seperately. now I want fetch these data and should display in MIGO transaction screen to do the GR by using BAPI function module.
    Please help me how to solve this problem.
    Thanks & Regards.
    Rajsekhar
    Edited by: Sekhar on Mar 4, 2008 7:16 AM

    Hi
    Try this
    DATA: rspar_tab  TYPE TABLE OF rsparams.
    rspar_line-selname = 'SX_DOCNU'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = '002'.  "Idoc number
    APPEND rspar_line TO rspar_tab.
    SUBMIT rbdmon00
    WITH selection-table rspar_tab
    via selection-screen
    AND RETURN.
    Cheers
    Joginder

  • Passing date parameter from prompt

    Hi experts
    I am getting some problem while passing date from a dashboard prompt.
    In RPD i have changed the date column properties as DATE only so that i will get the DATE part of the data not the time stamp.
    Now in the dashboard prompt i added a prompt for the date column.
    I initialized the date prompt with a server variable of sysdate
    when i am running the dashboard i am getting default value in the prompt(04/15/2011)
    when i am changing the date it is selected as(04/15/2011)
    but when i am clicking the 'Go' button the date is converting to 2011-04-15 00:00:00 due to which my report is not running and i am getting error as
    View Display Error
    A date value was expected (received "2011-04-15 00:00:00").
    Error Details
    Error Codes: QABPH2PO
    can anyone help me to pass only date part
    thanks in advance
    regards
    Gourisankar

    Hi J / Srikanth
    Sorry to restart the thread again.
    As we discussed i have downloaded the patch and applied to my windows 32 bit machine.
    But now when i run the report the report is running only for the default value(Server Variable) which is specified to the prompt. when i change the date there is no effect to the report.
    When i drill down to the report i found that the date column(is prompted) is changed to teh server variable name which is might be the cause.
    any input on this???
    regards
    Gourisankar

  • WEBI Opendocument.jsp link

    I am trying to use OpenDocument.jsp to open another WEBI report based on the drilled values of the first report. I have come accross two problems:
    1) How can I use a URL in a crosstab without it showing every combination of the fields in the URL? (i.e. I want the cross tab to show Region level information but I also want to drill down to a more granular level whilst following this with the URL)
    2) If one of my parameter values includes any spaces the open document link doesn't work even if the parameters are URLEncoded.
    Any ideas?

    I think I have worked it out!
    Please see the example below:
    =
    If(IsError(ReportFilter([Customer : Branch Number])) OR Count([Customer Name]) > 1;
      If(IsError(ReportFilter([Customer Name])) OR Count([Group Corporation Name]) > 1;
        If(IsError(ReportFilter([Group Corporation Name])) OR Count([Salesman Name]) > 1;
          If(IsError(ReportFilter([Salesman Name])) OR Count([Sales - Sector Name (INV)]) > 1;
            If(IsError(ReportFilter([Sales - Sector Name (INV)]));
              "Error in report";
              [openDocumentURL] + "&sReportName=Sector&sRefresh=Y&lsMSector=" +
              URLEncode(ReportFilter([Sales - Sector Name (INV)])) +"'>View sector level info</a>");
            [openDocumentURL] + "&sReportName=Salesman&sRefresh=Y&lsMSalesman=" +
            URLEncode(ReportFilter([Salesman Name])) +"'>View salesman level info</a>");
          [openDocumentURL] + "&sReportName=Group&sRefresh=Y&lsMGroup=" +
          URLEncode(ReportFilter([Group Corporation Name])) +"'>View Group Corp level info</a>");
        [openDocumentURL] + "&sReportName=Cust&sRefresh=Y&lsMCustomer=" +
        URLEncode(ReportFilter([Customer Name])) +"'>View customer level info</a>");
      [openDocumentURL] + "&sReportName=Branch&sRefresh=Y&lsMBranch=" +
      ReportFilter([Customer : Branch Number]) +"'>View branch level info</a>")
    What this does is it basically checks the level of information displayed in the Cross-tab (useful for drill-down) and returns the corresponding hyperlink.
    I hope this is useful to someone.
    Edited by: Andy Lord on Jul 15, 2008 11:22 AM

  • OpenDocument.jsp in BI On Demand

    Hi all,
    I'm trying to use opendocument.jsp funcionality in BI On Demand and I could not achieve my objective ;). I want to drill down from a Xcelsius to a Webi, is it possible? has anyone done it before? which are the steps)
    Many thanks!

    Ideally,  this should work making an open document call.  For example,  it is possible to integrate a report into Sales Force Dot Com using open document.
    https://bi.ondemand.com/open_doc/open_document?iDocID=whatever&sType=wid
    lsS can be used for a parameter.
    lsM can be used for parameters

  • Passing a date range to a Crystal Report using OpenDocument

    Hi,
    I am trying to call up a Crystal report in InfoView using a hyperlink with the OpenDocument function call.
    It is working fine with the following URL:
    http://<server name>:<port>/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ARcnOcErTA1FidjRJ_sT0Yw&sType=rpt&sRefresh=Y&lsSCompany+Code=1300&lsMCost+Center=[12345],[67890]&lsSCost+Element=0000100123
    However, once I added the date range into the parameter string, like this:
    http://<server name>:<port>/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ARcnOcErTA1FidjRJ_sT0Yw&sType=rpt&sRefresh=Y&lsSCompany+Code=1300&lsMCost+Center=[12345],[67890]&lsSCost+Element=0000100123&lsRFiscal+Year+Period=[Date(1,1,2011)..Date(1,9,2011)]
    It returns an error message, "An error has occurred: java.util.Date ", to my browser.
    I am wondering if I am missing any Java library or Java class path.
    Any thoughts are appreciated.
    Joyce
    Edited by: Joyce Chan on Aug 30, 2011 12:25 PM

    How do I check if the parameter passing in is in date type?
    the following is exactly what I've tried:
    &lsRFiscal+Year+Period=[Date(2010,10,10)..Date(2010,10,15)]
    Would the error message be logged in the server, maybe I can find more information for the error log?

  • Help needed: clarifying the use of beans to pass data from database to JSP

    Hi everyone,
    I am sure you all get fed up with being asked this question as I can see it is asked a lot when googled, but the answers given have not cleared things up for me.
    Anyway, I have a JSP page that contains a text box, submit button and a select box of size 10. The user enters a search string and the form submits the data and reloads the same page. From the code you can see the Name property of the bean is set.
    <jsp:useBean id="vtm" class="FinalYearProject.Types.VtmType" scope="page" />
    <jsp:setProperty name="vtm" property="NM" value="${param.NM}" />I then need to be able to use that name to query a postgresql database. I have a JDBCConnector class with the method:
        public ResultSet searchTable(String NM ) throws SQLException {
            String[] names = NM.split(" ");
            NM = "";
            for(int i = 0; i < names.length; i++) {
                NM = names[i] + "%";
            return stat.executeQuery("SELECT * FROM vtm WHERE nm ILIKE '" + NM + "';");
        }This method however can be changed.
    My question really is what is the best way for me to take the name, get the resultset and pass back the VtmType objects to the jsp so that I can populate my select box, and where should each part be handled i.e. the JSP page, the VtmType, the JDBCConnector.
    I may be going about it completely the wrong way and using beans incorrectly, but I just cant seem to get my head around the problem.
    Any help would be much appreciated,
    Thanks.

    Hi,
    Thanks for the help, I actually found some literature about the JSP Model 2 and realised that was what I needed to do. I have now re-written everything and it has made my life a lot eaiser, typically this was before I checked back on this post though!
    Anyway, I now have JSP pages requesting Servlets which create beans and call classes that access the database. The servlet then forwards the beans and where necessary a small of html to another JSP. Like you have suggested.
    One problem I have now however, is that the user needs to be logged in to access some of the pages. An error page with the correct message is displayed to the user when it is processed via the servlet.
    //Servlet detects an error
    request.setAttribute("errorMsg", "1");
    gotoPage("/loginError.jsp", request, response);
    //JSP detects which errorMsg to display
    <c:set var="errorMsg" value="${requestScope.errorMsg}" />However, when the user does not sign in and clicks a link which is blocked the JSP forwards directly to the error JSP.
    //Tests to see if user is logged in
    <c:if test="${empty user.username}">
        <jsp:forward page="/loginError.jsp">
            <jsp:param name="errorMsg" value="3" />
        </jsp:forward>
    </c:if>The problem with this is that the only way I can see of checking the errorMsg type is with:
    //JSP checks which errorMsg to display
    <c:set var="errorMsg" value="${param.errorMsg}" />Which is different to how I determine the errorMsg from the Servlet. Is there a way of getting the errorMsg type that is the same for both actions?
    Thanks.

  • Pass data from servlet to jsp using sendRedirect

    Hi,
    I am passing data from servlet to jsp using forward method of request dispatcher but as it doesn't change the url it is creating problems. When ever user refreshes the screen(browser refresh) it's re-loading both servlet and jsp, which i don't want to happen. I want only the jsp to be reloaded.
    Can I pass data from servlet to jsp using sendRedirect in this case. I also want to pass some values from servlet to jsp but without using query string. I want to set some attributes and send to jsp just like we do for forward method of request dispatcher.
    Is there any way i can send data using attributes(without using query string) using sendRedirect? Please let me know

    sendRedirect is meant as a true redirect. meaning
    you can use it to redirect to urls not in your
    context....with forward you couldn't pass information
    to jsps/servlets outside your own context.Actually, you can:
    getServletContext().getContext("/other").getRequestDispatcher("/path/to/servlet").forward(request, response)I think the issue here is that the OP would like to have RequestDispatcher.forward() also update the address in the client's browser. That's not possible, AFAIK. By the time the request is forwarded, the browser has already determined the URL of the servlet, and the only I know of way to have the browser change the URL to the forwarded Servlet/JSP is to send a Location: header (i.e. sendRedirect()). Remember that server-side dispatching is transparent to the client. Maybe there's some tricky stuff you can do with JavaScript to change the address in the address bar without reloading the page?
    Brian

  • How to pass SQL command parameter using OpenDocument

    Hi !
    I have a dynamic List of values configured in Business View manager, used across multiple reports.
    The data source for this LOV is a SQL Command which accepts a static parameter named stringParam. I need to pass this static parameter in the URL using OpenDocument command. How can I do this?
    I tried
    http://bobjdev/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?spath=[ReportFolder]&sDocName=WebReport.rpt&stype=rpt&lsSstringParam=ABC
    but it still prompts me to select the parameter. I need to avoid this prompt.
    Any help, please.

    Hi,
    I would recommend to take a look at the documentation in order to identify the correct syntax for your URL
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]
    Regards,
    Shweta

  • Pass data to JSP from HTML?

    I can pass the data in a HTML form without problem if the form is in the same jsp file. I have no problem to pass data from one jsp file to another one. But when the jsp file has to take the data passed from calling HTML file and has to receive the data from the same jsp file, then the data from other HTML file will be null the first time runing the code, then second time will be passed right. If I shut down computer run the code again, same problem until the second time. Please tell me why if any of you know!

    yes. The first part is HTML file which use the form to pass v_progname, the second part is a jsp file, it suppose to get the data in v_prgname, but the first time to run this code always get null, then the second time get the right data?
    <html> <head> <title>CTI</title>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> </head>
    <body bgcolor="#FFFFFF"> <form name="theForm" enctype="text/html" method="post"
    action="http://titan.ssd.loral.com:7778/ifs/jsp-bin/ifs-cts/jsps/uploadfilehome.jsp">
    <table border="1" cellspacing="0" cellpadding="4">
    <tr> <td bgcolor="#FFFFEE"><font face="Arial, Helvetica,sans-serif" size="2"> Communication racking Item </font></td> <td colspan="5"><font face="Arial, Helvetica, sans-serif"size="2">SATMEX-6-2 </td>
    <input type="hidden" name="v_sidname"value="/expctl/dev//comm_tracking.edit_document">
    <input type="hidden" name="v_schema"value="migra2">
    <input type="hidden" name="v_cti_number"value="SATMEX-6-2">
    <input type="hidden" name="v_progname"value="satmex-8">
    <input type="hidden" name="v_doc_id"value="5131"> </tr> </table><br>
    <input type="submit" value="Upload Document">     
    <input type="reset" value="Reset"></form></body></html>
    uploadfilehome.jsp as following:
    <html><head>
    <%
    String v_program=request.getParameter("v_progname");//this is the parameter passed from html file, //with a problem?
    WebUILogin login = WebUILogin.getWebUILogin( request );
    String step = WebUIUtils.getUTF8Parameter(request,"step");
    //String path=WebUIUtils.getUTF8Parameter(request,"path");
    String path="/home/scott/satmex-6";
    String windowID=WebUIUtils.getNewWindowID();
    %>
    <SCRIPT LANGUAGE="JavaScript1.2">
    var path="<%=path%>";
    var jsWindowID="<%=windowID%>";
    </script>
    <%
    if ( null == step )
    step = "get";
    %>
    <SCRIPT LANGUAGE="JavaScript">
    function AutoLogin() {
    document.loginform.userName.value == "scott";
    document.loginform.passWord.value == "tiger";
    document.loginform.submit();
    function PkeyPress(event)
    if (document.layers)
    if (event.which==13)
    document.loginform.submit();
    else {
    if (window.event.keyCode==13)
    document.loginform.submit();
    </SCRIPT>
    <%
    if ( step.equals("try") )
    login.processRequest(request);
    %>
    <SCRIPT LANGUAGE="JavaScript1.2">
    window.location='../jsps/uploadhome.jsp?path='+path+'&windowID='+jsWindowID;
    </script>
    <%
    // check to see if we have already logged in before...
    if ( null != login.getSession() )
    %>
    <SCRIPT LANGUAGE="JavaScript1.2">
    window.location='../jsps/uploadhome.jsp?path='+path+'&windowID='+jsWindowID;
    </script>
    <%
    else
    %>
    <title><%=login.getJspResourceString(JspResourcesID.LOGIN_TITLE)%></title>
    </head>
    <body bgcolor="#FFFFFF" onLoad="AutoLogin();" onResize="return false;">
    <form METHOD=POST NAME="loginform" ACTION="uploadfilehome.jsp">
    <INPUT TYPE="hidden" NAME="userName" VALUE="scott">
    <INPUT TYPE="hidden" NAME="passWord" VALUE="tiger" onKeyPress="PkeyPress(event);">
    <INPUT TYPE="hidden" NAME="step" VALUE="try">
    <INPUT TYPE="hidden" NAME="action" VALUE="Login">
    </form>
    </body>
    </html>
    <%
    %>

  • Passing values using OpenDocument

    I am using the following URL to open a document.  The document opens and refreshes but the values in the URL are not passed.  The report opens and displays the prompt. 
    http://servername/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=wid&iDocID=459743&sRefresh=Y&lsSShipTo:=(16150)

    Well, there was an old issue with the sType blanking out parameters.
    So I'm out - perhaps open a SAP Support Message?
    Sincerely,
    Ted Ueda

  • Passing data from JSP to existing iView in Portal

    Hello Experts,
    I'm new to EP and Web DynPro. Please provide your guidance for the following scenario:
    There are 2 iViews in different pages.
    iView 1(Web DynPro Java application) - its running in portal
    - created by other person long time back - it takes input from user to create a support message
    iView 2(JSP page)
    - since iView 1 is very generic, I have to create one more iView, which is simple & specific to user request, but should pass the data to the iView 1, which in turn will create a support message.
    My Question:
    Is it possible to pass data from my JSP page(in iView2) to the running application in iView1?
    (I don't have access to the code of the running application- so i can't use Client Data Bag or sessions)
    If the above condition is possible, then is it possible to hide the iView 1, so that user doesn't need to see the iView 1 when they submit data?
    Please guide me with sample code or links.
    Thanks in advance,
    Aruna Thamilmani

    You could have the Applet make a request to the server (via URLConnection).

  • Passing data from EJBs to JSPs

    Hi all, I'm trying to enhance an exercise I've been working on. I have a couple of beans "ProductBean" and "ProductBasket". I want to add items to the basket and then display them to the screen. I am getting an error when trying to use the Vector object in the JSP. I'm not sure how you go about passing data around from a bean to a JSP, should I be using a servlet to dispatch data from a bean to a JSP?
    Once clicking the submit button on my HTML form and the item has been added to the basket how would you recommend I read the basket contents back out to the screen using my existing code below?
    Cheers in advance for any help.
    <html>
    <body>
    <jsp:useBean id="shop1" class="shop.ProductBean" />
    <jsp:setProperty name="shop1" property="*" />
    You clicked: <%= shop1.getTitle()  %>
    <br /> <%= shop1.getPrice() %>
    <jsp:useBean id="basket1" class="shop.ProductBasket" />
    <%
         for(int i=0; i<v.size(); i++){
             System.out.println(v.elementAt(i).getTitle()+"<br />");
    %>
    </body>
    </html>
    package shop;
    import java.util.Vector;
    public class ProductBasket{
         Vector v = new Vector();
         public void addToBasket(ProductBean bean){
              v.addElement(bean);
    package shop;
    public class ProductBean{
         private String title = new String();
         private float price = 0.0f;
         private String description = new String();
         private String artist = new String();
         private String type = new String();
         public String getTitle(){
              return this.title;
         public void setTitle(String title){
              this.title = title;
         public float getPrice(){
              return price;
         public void setPrice(float price){
              this.price = price;
         public String getDescription(){
              return this.description;
         public void setDescription(String description){
              this.description = description;
         public String getArtist(){
              return artist;
         public void setArtist(String artist){
              this.artist = artist;
         public String getType(){
              return type;
         public void setType(String type){
              this.type = type;
              <form action="basket.jsp" method="post">
                   <input type="hidden" name="title" value="Java Demo" />
                   <input type="hidden" name="price" value="12.99" />
                   <input type="hidden" name="description" value="Sun MS CD - excellent!!!  MUST BUY" />
                   <input type="hidden" name="artist" value="Sun MS" />
                   <input type="hidden" name="type" value="cd" />
                   <input type="submit" value="Submit" />
              </form>

    1) There are no EJB's in this code. JavaBeans are not EJB's!
    2) You never import the Vector class into your jsp, nor do you declare the variable 'v' in it. Thus, the errors.
    3) Vectors are legacy components and should no longer be used. Use List implementations instead. Or better yet, abstract your collections entirely from your JSP by using JSTL.
    4) If you're going to use Beans in your JSP, don't use scriptlets to access their properties, use the bean access methods. Read the JSP tutorial for examples.

Maybe you are looking for