Incomplete download of OBIEE report with Javascript

Hi,
When I try to download a report ( containing Javascript code ) to excel, it does not do a complete download. The resulting excel sheet only contains a part of the result fetched by the report.
I when I try to do the same activity with a report that does not contain javascript, the complete result set is downloaded to excel.
Any help in this matter would be much appreciated.
Denu

Hi Joe,
I found out that this behavior is occuring in all my reports that have a hyperlink specified in the 'fx' whether the report contains javascript or not.
To cite an example
A report has only 6 columns. Out of which the first column contains a list of order numbers. These order numbers have hyperlinks on them
the following is the code in 'fx' section of the order column
''||CAST("Item Loc Order Revisions"."Order #" as char)||''
where I am using the session variable NQ_SESSION.RMS_URL.
On the dashboard, I have enabled the download link for this report.
When I try to download an excel format of this report, the resulting excel only has one record. While the report actually has 3 records.
I have tried with IE version 7, Mozilla firefox and Google Chrome. All of them provide the same results.
When I remove the hyperlink from the column, save the report, and try downloading it from the dashboard, I am able to see all the 3 records in the excel.
Thanks
Denu
Edited by: user10874114 on Dec 15, 2009 9:15 AM

Similar Messages

  • Error while integrating OBIEE report with EBS using Rich Content Container

    I am trying to integrate OBIEE report with EBS using Rich Content Container OAF functionality. I have followed the steps mentioned in oracle Note - Embedding Analytics in Oracle E-Business Suite [ID 974422.1]. When i run my page, the container region comes up with the error message - The requested URL /pls/ghrfpkd2/OracleSSWA.Execute was not found on this server. Can someone please help me with some documents on the steps to integrate OBIEE with EBS using Rich Content Container.

    I'm getting the same error on WebSphere 6.1.5. Is there any solution for this?

  • OBIEE report with Click button ( want to perform some actions)

    Hi Experts,
    My users want to make adhoc changes to an OBIEE report where I want to place a click button at the bottom of the report. Once the changes are done, They want to click the button so that the most current logical sql is captured and then it takes to another http url .
    If any one have worked or has any ideas on this, Please share. Thanks in Advance.
    S

    Hi S,
    Can you elaborate on what you mean by capturing the most current logical SQL?
    What you are asking is only going to be as difficult as it is to perform the above action. The button and the navigate are simple.
    John Minkjan shows you how to make a clear button here.
    Basically you leverage the OBIEE class XUIPromptEntry minibuttonOn.
    Here's the code (NOTE: You have to change the curly brackets to angular brackets):
    {div class="XUIPromptEntry minibuttonOn"}{a href="#" onclick="return PersonalizationEditor.removeDefaultSelection(false)"}Clear{a}{div}
    You can take this and modify it slightly to fit your purpose:
    {div class="XUIPromptEntry minibuttonOn"}{a href="(URL to move to)" onclick="(javascript function that performs your task)"}Do Action Button{a}{div}
    In the above, you will put the URL you want to navigate to in the (URL to move to) area. Then in the onclick function, you're going to want to write a javascript function that captures the latest logical SQL and have OBIEE call that function.
    All that being said, this effort hinges on whether or not a javascript function can perform your task.
    If you can elaborate on what you mean, I might be able to get you started on that function.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • The combination of report with javascript

    Hi guys,
    I want to use report combined with javascript as follows:
    <APPLET NAME="ASMGridAppAssembly" ...
    PARAM NAME="QueryTemplate" VALUE="..../Reports/PTSD/AsmNCMFRXQuery">
    <PARAM NAME="DisplayTemplate" VALUE=".../Reports/AsmGrid">
    <param name="Param.1" value=>
    <param name="Param.2" value=>
    </APPLET>
    document.ASMGridAppAssembly.getQueryObject().setParam(3,Param3);
    document.ASMGridAppAssembly.getQueryObject().setParam(4,Param4);
    Can I achieve this?
    Thanks,
    Tony.
    Edited by: Tony Hu on Aug 8, 2008 7:07 PM

    Mike - Huh?  If javascript is called to an active applet on the page that received Param.1 and Param.2 through param overrides in the html (like shown in Tony's post) they will absolutely override any static ones that are in the query template itself.
    Tony - you need to instruct the applet to run the query with your 2 new parameters, so add this line after setting param 3 and 4:
    document.ASMGridAppAssembly.updateGrid(true);
    Regards,
    Jeremy

  • OBIEE report with HFM and Essbase Data source

    Hi All,
    Just want your though can we get the data from HFM and Essbase data source in a single report i.e. for some account i want to show budget data from HFM and Forecast data from essbase in a single OBIEE report? If yes how can we model both Data source in rpd?

    It possible but the challenge is to try to align the account hierarchy and the entity hierarchy between Essbase and HFM. HFM is looking the data at a top side consolidation level where planning will have more granular details to forecast correctly. The best solution is either to build a custom table in to import both sources, or to use HFM data into Essbase, or to use EPMA. The best in class solution stays to align hierarchies and metadata across applications. We implemented BI Financials Dashboard for the General Ledger, built a custom Dashboard connected in Real Time to Planning and are installing OFMA to connect HFM. Once done, you can rationalize metadata if not done before and start to link the different data into single reports. You will also have to ensure the data is refreshed at the same time to avoid inconsistency.

  • Export Interactive reporting with javascript

    Hi,
    i have some problem when i try to export in excel my report created with Interactive Reporting.
    I use the javascript code inside the button and at onClick event i succeded only the file conversion in mhtml format.
    The next step is conversion from mhtml in xls format, but i think that the instance JooleObject don't.
    Below the code that i use:
    //**********Create the FileSystemObject
    var objFSO = new JOOLEObject("Scripting.FileSystemObject");
    var strMhtmlFile = "C:\\pippo.mhtml";
    var strExcelFile = "C:\\pippo.xls";
    //************Create the JOOLE Object for Opening Excel File
    var objExcel = new JOOLEObject("Excel.Application");
    //**********If Files Already Exist - Delete Them
    if (objFSO.FileExists(strMhtmlFile))
    objFSO.DeleteFile (strMhtmlFile);
    if (objFSO.FileExists(strExcelFile))
    objFSO.DeleteFile (strExcelFile);
    //**********Export to MHTML Format
    ActiveDocument.Sections["PDC_FIN"].Export(strMhtmlFile,bqExportFormatOfficeMHTML,true);
    //**********Make Excel Invisible
    objExcel.Visible = false;
    //**********Open MHTML File in EXCEL
    objExcel.Workbooks.Open(strMhtmlFile);
    //**********Save As Copy of MHTML File into .XLS
    objExcel.ActiveWorkbook.SaveCopyAs("C:\\pippo.xls");
    //**********Close EXCEL
    objExcel.Quit();
    Have you any suggestion? There are some libraries that i must import?
    I use Interactive Reporting Studio 11.1.1.3
    Thank you in advance.
    Flavio

    Hi,
    thank you for response.
    I use IR Studio (Desktop) and public the report in the workspace when the report is complete.
    Your suggestion work
    var strMhtmlFile = "C:\\pippo.xls";
    ActiveDocument.Sections["PDC_FIN"].Export(strMhtmlFile,bqExportFormatOfficeMHTML,true);but the problem is that when export the report directly in xls format, the formatting of the report is lose. For this reason i export befor in mhtml and after Open/SaveAS the report in xls format for mantaining the formatting.
    I think that the istruction
    //**********Open MHTML File in EXCEL
    objExcel.Workbooks.Open(strMhtmlFile);
    //**********Save As Copy of MHTML File into .XLS
    objExcel.ActiveWorkbook.SaveCopyAs("C:\\pippo.xls");
    on the objExcel variable (instance of JOOLEObject) don't work.
    I speak with my develop team and decide if adopt your solution.
    Thank you so much.
    Flavio

  • Updateable report with javascript calculation

    Hi all,
    I have an updateable report where the user fills in one column. I then need a simple multiplication based on the user filled in column and another column to populate into the final column.
    I have managed to do this using the following javascript in the page header
    <script language="JavaScript" type="text/javascript">
    <!--
    function calcit(pThis)
    var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
    html_GetElement('f03_'+vRow).value = html_GetElement('f02_'+vRow).value * html_GetElement('f01_'+vRow).value;
    //-->
    </script>Column f01 is a value in a table based on the SQL to create the report (AQLSCORE)
    Column f02 is what the user fills in (AQLERRORS)
    Column f03 is where the calculation is populated (AQLTOTAL)
    With AQLERRORS element attribute = onchange="calcit(this);"
    The problem I am having with the above is that it only works when f03 is a text field (i.e. the user can change the value) I would like the column to be non-editable (the user should not be able to change this field). If I make the column Display as text (saves state) the calculation returns a NaN error.
    When I change the calculation from a * to a + the value returned is 1undefined showing that the value from f01 is undefined
    Demo app
    http://apex.oracle.com/pls/apex/f?p=15328
    username: demo
    password: demo
    There are 2 pages one where the calculation is working but with AQLSCORE as a text field and another where it is returning NaN but with AQLSCORE as Display as text (Saves state)
    Any ideas how I can perform the calculation and protect the AQLSCORE column from the user
    Kind regards,
    Alex
    Edited by: user10942729 on 30-Jul-2010 08:12

    Thank you for your response.
    I have corrected the code as you suggested however it still causes the same error.
    I have very limited knowledge of java and html (probably not a good start I realise) but it seems that the javascript cannot see(??) the value in the AQLScore (f01) column when it is Display as Text(saves state)
    If I change the calculation to just make the value = the AQLScore (f01) without the parseInt syntax 'undefined' is returned. With the parseInt 'NaN' is returned.
    I will keep looking for an answer
    Cheers,
    Alex

  • Download link for report in OBIEE 10g

    Hi All,
    On dashboard page, we have link for the report. Our requirement is, beside the report link, Can we put a link to download the same report. Business wants users should have quicker access to download the report. So, they want a link to download report without opening it.
    -Regards
    Mayuri Shah

    Hi Mayuri,
    Possible with GoUrl.Add a gourl in this format to your dashboard object,
    Check this, Go URl in OBIEE
    Rgds,
    Dpka

  • Integrating BPM default reports with OBIEE

    Hi All,
    Can we integrate ORACLE BPM with OBIEE reports? if yes How ?
    Here is my scenario, in oracle BPM we have 4 reports  unattended task reports,task priority report,task cycle time report... , We need all these reports should execute from OBIEE
    Regards,
    Francis

    We would like to have the reports directly from the Web based system on to the OBIEE dashboard without configuring anything in RPD.And I would like to win the lottery without even buying a ticket. :-)
    You can embbed HTML content in a OBIEE Dashboard. Have a look at the Answers, Delivers, and Interactive Dashboards User Guide:
    http://download.oracle.com/docs/cd/E10415_01/doc/nav/portal_booklist.htm

  • OBIEE Integration with ADF - Reports with bind variables

    Hi,
    I've managed to integrate obiee with ADF by following the steps described in:
    http://www.oracle.com/technetwork/middleware/bi-publisher/adf-bip-ucm-integration-179699.pdf
    This is all fine and all but what about reports with complex queries where bind variables are needed?
    In short I need to send specific values from ADF application as parameters to the query of the report before building it, then create it and download the file as pdf.
    I don't have problems with building the file and downloading it when the query in the report has no bind variables, but when it does I do not know how to send them to the report.
    I can't seem to find such an implementation or example anywhere and I am stuck.
    Could anyone please point me in the right direction, eighter by providing a solution, or a link to such an example?
    Thank you!
    P.S.
    I'm using OBIEE 11.1.1.6.0 and JDeveloper 11.1.2.1.0
    Mihai Cornean
    Edited by: 885382 on Apr 11, 2013 11:10 PM

    Hi,
    try the BI Publisher forum for question towards this product BI Publisher
    Frank

  • OBIEE: REPORT FROM 2 FACTS WITH ONE SHARED AND ONE UNSHARED DIM; POSSIBLE??

    Hi All,
    We have a typical scenario to build a report from 2 subject areas(ideally from 2 facts)
    Here is the Scenario: Creating a report which based on two facts(2 Subject Area's) and one common dimension and one unshared dimension.
    Example
    ======
    Dimension Date is common between Fact Transaction and Fact Credits.
    Dimension Credit Type is applicable only for Fact Credit.
    We have to build a report with the below mentioned attributes/metrics
    Dim Date. Attribute (*Common Dimension*)
    Fact.Transaction.Metric
    Fact. Credit .Metric
    Dim.Credit Type. Attribute (*Unshared Dimension*)
    Is this is possible in OBIEE..?
    Thanks,
    Govardhana

    Yes, you must use measure levels. Set the column level of each measure from the Transaction Fact to Total for the Credit Type dim.

  • Print or download ALV report with sort options

    Dear friends,
    How i can download into excel or print ALV report with sort options, like customer name column with similar values should not repeat in the print out or download file.
    Regards,
    Praveen Lobo

    Hi Praveen,
    Use this code, its working:-
    *FOR SORTING DATA
    DATA : it_sort TYPE slis_t_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    *          SORT W.R.T. CUSTOMER NAME
      wa_sort-spos = 1.
      wa_sort-fieldname = 'NAME1'. "field customer name
      wa_sort-tabname = 'IT_KNA1'. "internal table with records
      wa_sort-up = 'X'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    "this will sort the ALV o/p for customer with same name
    "now the name will not be repeated
    "records with same name will be grouped
    *          DISPLAY RECORDS IN ALV GRID
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program                = sy-repid "report id
        it_fieldcat                       = it_field "field catalog
        it_sort                           = it_sort "sort info
      TABLES
        t_outtab                          = it_kna1 "internal table
      EXCEPTIONS
        program_error                     = 1
        OTHERS                            = 2.
      IF sy-subrc <> 0.
      ENDIF.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir
    Edited by: Tarun Gambhir on Dec 31, 2008 1:13 PM

  • Two Dimensional Report - With FTP download and formatting in EXCEL

    Hi all,
    I have a ztable with customer,daily quantity , date as columns. I need to make a report with date as rows and customer as columns . If a new customer is added in the ztable , one more column should come in the report.
    Basically the internal table should change <b>dynamically</b>.
    I have to download this report into FTP and should save as .xls file. All formatting that are there in SAP has to appear in the Excel Sheet also.
    Is there any function module for Dynamic Internal Tables and make <b>formatting changes in EXCEL</b> ??
    Thanks in Advance..
    Vivek Krishnan

    for dynamic columns, i am explaining u how to create with an exmaple, check it,
    suppose itab has fields A, B, C.
    SO ITAB-C HAS THE VALUES OF C. NOW WE WANT A TABLE WITH VALUES OF C RIGHT!!.
    NOW BUILD A FIELDCATALOG LIKE BELOW.
    LOOP AT ITAB.
    LS_FIELDCAT-FIELDNAME = ITAB-C.
    LS_FIELDCAT-COL_TEXT = ITAB_C.
    APPEND LS_FIELDCAT TO LT_FIELDCAT.
    ENDLOOP.
    DATA: DREF TYPE REF TO DATA.
    FIELD-SYMBOLS: <TEMP_TAB> TYPE ANY.
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
    EXPORTING
    IT_FIELDCATALOG = LT_LVCFIELDCAT
    IMPORTING
    EP_TABLE = DREF.
    ASSIGN dref->* TO <TEMP_TAB>.
    <TEMP_TAB> IS THE REQUIRED DYNAMIC INTERNAL TABLE.
    NOW IF U WANT TO FILL THE DYNAMIC INTERNAL TABLE.
    DO AS BELOW..
    DATA: WA_DREF TYPE REF TO DATA.
    FIELD-SYMBOLS: <WA_TAB> TYPE ANY.
    CREATE DATA WA_DREF LIKE LINE OF <TEMP_TAB>.
    ASSIGN WA_DREF->* TO <WA_TAB>.
    FIELD-SYMBOLS: <FS1>, <FS2>.
    LOOP AT ITAB.
    ASSIGN COMPONENT ITAB-C OF STRUCTURE <WA_TAB> TO <FS1>.
    <FS1> = {SOME VALUE}.
    APPEND <WA_TAB> TO <TEMP_TAB>.
    ENDLOOP.

  • Problem with the Pivote Table order by Clause in OBIEE report

    Hello All,
    Can anyone help?
    I am developing a report with 3 columns
    1. Year
    2. Customer name
    3. Amount
    I need Year in Ascending & Amount Descending (Group by Year and then Desc by amount)
    In Table view data is displayed correctly, but in Pivote Table it’s not sorting correctly
    Table View ( This is correct)
    Year     Customer Name     Amount
    2009,     a1,     260,000.00
         a2,     152,030.00
         a3,     20,000.00
    2008,     a6,     193,080.00
    2004,     a7,     860.2
         a8,     114.7
    2003,     a9,     200,243,813.40
         a10,     91,351,364.10
    Pivote Table Results as follows:
    Year     Customer Name     Amount
    2009,     a1,     260,000.00
         a2,     152,030.00
         a3,     20,000.00
    2008,     a6,     193,080.00
    2004,     a7,     860.2
         a8,     114.7
    2003,     x,     26,374,818.00
    y, ....................
    a9, 200,243,813.40
    For year 2003 in place of 'x' value a9 value has to be shown........
    Regards,
    SMA

    Your post doesn't help a lot. Why it's still not solved ?
    If it's caused by the ascendant order, the only way that you have is to pivot your table :
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_transformation_table_to_pivot
    And then you can set all sort that you want.
    success
    Nico

  • How can I download footer details along with report in excel

    Hi,
    I would like to download dashboard page Footer details (user details, report runtime info and page number are included in footer of dashboard page) as well along with my report, when I download into excel. How would I achieve this?
    Please suggest!
    Thanks,
    SMA

    Hi All…Thanks in Advance
    I don’t understand why it's behaving so typically.
    There are two things here
    1.     When I create a report from Answers and use the hand button (top most left) set all the details. Download then and there itself to excel it’s showing the user info even though there no such info shown with report in Answers, This is working fine.
    2.     However when I place the same report and enable the print, download links for the same report on dashboard page and when I try to download the report to excel it does not show me the user details even though after enabling the footer details using hand symbol of edit dashboard properties.
    Here end user wants this functionality when ever he download’s the report from dashboard page (not the ad hoc report from Answers) user details should appear in his downloaded excel or something.
    Reg
    SMA

Maybe you are looking for