HELP IR Download filtered saved report to CSV

Hi there
My enquiry is to do with the saved reports feature in Interactive Reports Apex 4.1
I create a default IR report and then I subsequently define a filter on this report effectively limiting the displayed output to the rows of data I want to see. I then save the report which is now a 'private' report. If I run the 'saved' (with the filter condition) IR report it displays the data correctly, with the 'saved' report displaying the correct data on the screen I then click Actions->Download and then select CSV - the entire 'primary' report is downloaded -- The filter is ignored!!! Surely the Actions->Download should 'know' that I want download the report that's being displayed (just run) on the screen?
I think that when you click on the CSV icon the report is re-submitted - How can I get the CSV download to apply the filter that I've defined in the saved report.
I've searched this forum and found the following similar question being asked
Re: Problem with export from a saved interactive report
Interactive Report Download to csv problem
how to download only filtered data in csv?
Re: Download Saved Report in IR 4.1
Thanks in advance
PS: Is the above an undocumented feature of Apex IR Reports?
Edited by: boketi on Sep 25, 2012 7:05 AM

Hi Sathish,
Thanks for your comment.
I agree with just a 'default' report the CSV download always gives what is displayed on the screen. If you then define another report with a filter condition and run this 'private' report 'sometimes' the CSV download gives the origional primary report, ignoring the filter condition. Please see the attached links as other people are also getting the same problem.

Similar Messages

  • Help in download & Printing of report

    Hi all,
    we are developing one web application in that one my jsp page generate report in table format, This jsp page is having two buttons one for downloading and another for printing .When I click on download button that report should be downloaded into either word document or excel document.when i click on Print button that Report should get printed out.
    Please help me how to do this functionality.I need a way to start with.....
    Thanks in advance
    Namrata

    namratasingh wrote:
    When I click on download button that report should be downloaded into either word document or excel document.Is CSV also fine? This is the easiest, if you already have a collection of data behind. Otherwise look around for reporting API's, such as Jasper Reports and Crystal Reports.
    when i click on Print button that Report should get printed out.Is your HTML/CSS semantized? Is the data already displayed as HTML on the page? Then provide a CSS style for the [print media|http://www.w3.org/TR/REC-CSS2/media.html] and call Javascript window.print(); on click.

  • Download from Interactive Report to csv is not working

    Hi there,
    when I try to create a download form my interactive report I get an empty csv/pdf.
    I just checked with other report pages where the download functionality is working - but the settings seem the same.
    In the interactive report properties I've set the check boxes for csv and pdf and it is also displayed properly then on the report page. But when I click on the download (csv or pdf) just an empty document is opened.
    What settings can I check now - what might be the reason for the error?
    BR & thank you,
    Lena

    Keerti,
    You're using the "Display Condition" of the Interactive Report Region (IRR) to show the report or not.
    If you have multiple selects just use a PL/SQL expression as in:
    :P1_MULTI_1 IS NOT NULL
       AND :P1_MULTI_2 IS NOT NULLNow, if that works for you lets take things a little further... You don't need the second submit button all the time (I'd get rid of it entirely but you seem to really want to hide the region until a selection is made). I did the following:
    1. Updated the display condition of the report to use a PL/SQL expression.
    2. Set the display condition of the submit button to the opposite of the IRR.
    3. Added the item name of the select to the interactive report attributes > Advanced Attributes > Page Items to Submit.
    Now the go button can be used for everything.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    Edited by: Dan McGhan on May 14, 2009 12:28 PM
    Updated as only clicking "go" works with Page Items to Submit.

  • Download Saved Report in IR 4.1

    Hi,
    I have a query regarding saved reports feature in Interactive reports 4.1
    I saved a normal report by adding some control breaks etc and make it more readable.
    I then saved it. Now if I want to download my saved report - I can't.
    It always downloads the default report layout.
    Can anyone help how to do this?
    Many Thanks,
    Jas

    Hi Nico,
    I'm using Apex 4.1.
    The odd thing is that for some reports the download to csv of the 'private' report works OK, others don't work OK -- It's weird. And I'm defining the filter conditions and saving the report in the same way.
    A similar post was raised by Robert G. Re: Problem with export from a saved interactive report
    I appreciate your comments
    Thanks
    Boketi

  • Blank report for CSV format

    Hi,
    I need help me to generate a report in csv format. I am using .rtf template and able to view HTML, PDF etc..
    But for .csv format the report is blank.
    Below is how my csv output should look, If possible please give a sample .rtf template or etext template to generate the below output..
    R
    R,SENDER,RECIPIENT,SEQUENCE NO,THRESHOLD,DATE AND TIME OF ANALYSIS,DATE AND TIME OF REPORT CREATION
    R
    H,xxxxx,zzzzz,02142004,100,20040701052407,20040701062407
    R
    R,IMSI,DATE FIRST EVENT,TIME FIRST EVENT,DATE LAST EVENT,TIME LAST EVENT,DC(HHHMMSS),NC,VOLUME,SDR
    R
    P,999990000000001,20040630,,20040630,,14408,43,12962331,178027
    C,999990000000001,20040630,125959,20040630,235959,14221,33,,321904
    R
    R
    R,IMSI,DATE FIRST EVENT,DATE LAST EVENT,DESTINATION OF EVENTS,NC,DC(HHHMMSS),SDR
    A,999990000000001,20040630,20040630,+39,3,60115,73027
    A,999990000000001,20040630,20040630,+34,10,50000,100000
    R
    R,END OF REPORT
    T,22
    Since I was not able to generate csv report using .rtf template , I tried using etext template and it worked little bit...
    Can you also let me know how to add column headers like above in etext template..
    Thanks,
    Shiva

    Hi,
    Remove HTML from select.
    Add this to page HTML header
    <style>
    #apexir_PARTY_NAME{width:260px!important}
    </style>Br,Jari
    Edited by: jarola on Jan 21, 2010 9:32 AM
    Code corrected

  • IR Saved Report  - Download to CSV downloads Primary Report

    Hi there
    I'm using Apex 4.1, I login to my Apex application NOT using the developer interface (the developer buttons are not visable at the base of the page) as an end user would see.
    If I run an IR report and then create a filter on the Primary report the report runs OK. I then click Actions -> Download and then Download the report output to a CSV file (correctly filtered) to a Excel spreadsheet. I then Save this report giving the report a Name and Description. I then logoff from the Apex application. So far so good.
    I then login back on to my Apex Application. When I choose and run the Saved Report (described above - not the Primary report) the saved report runs correctly (applying the correct filter condition), HOWEVER when I then click on Actions - Download I seem to get the Primary report downloaded as a CSV file into my Excel spreadsheet - the filter condition that is applied to the saved rerport is ignored for the Downloaded CSV file. The File Downloaded is a new CSV file generated in Apex as reported in my Firefox 'Downloads' list.
    Does anyone know if this is a Bug or have I not set up the IR correctly.
    Thanks in Advance
    Edited by: boketi on Aug 13, 2012 3:18 PM

    boketi wrote:
    Hi Mehabub,
    Many thanks for the quick response.
    Did you test this in version 4.1 of Apex? I logged on to Oracle's 4.2 Early Adopter Beta Site and did the same and the IR works fine! Maybe it's a strange problem in 4.1 although I doubt it as with such a problem there would be a lot more noise on this forum. Could this be related to the 'theme' that I'm using? As the theme I'm using was origionally developed for Apex 3.2 and I don't think IR reports were around in 3.2?There is a good chance that it has to do with the theme or the upgrade from Apex 3.2. Interactive reports existed in 3.2 also user defined reports. But a lot of changes were made to the IR logic since 3.2 (introduction of multple standard reports, etc.).
    I just tested your case in my Apex 4.1.1 version in an application that was also upgraded from 3.2. And the data was stored correctly into a csv file.
    But it is useing one of the standard themes that was also updated.
    Did you set the compatibility mode of your application to 4.1?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#AEAPI2329
    begin
       apex_util.set_compatibility_mode(<application id>, '4.1');
       commit;
    end; Just because the environment is Apex 4.1 does not mean you application runs in 4.1. mode.

  • When Export ssrs Report to CSV file runtime filters not working

    The Runtime Filters not working when Export SSRS Report to CSV format

    Hi PatilPriti,
    As for my understanding, the filter worked fine when you preview the report,
    but it did not work when you export the report to CSV format. I tried to export the report to CSV file on my side, and the data was shown as expected. I guess the issue is due to the parameter or filter. please try to export to Excel format to test again
    and make sure you created the filter correctly. Please refer to the following
    blog about how to add a filter in SSRS:
    http://arcanecode.com/2010/07/12/adding-filter-parameters-to-sql-server-2008-reporting-services-reports/
    If the problem is not resolved, i would appreciate it if you could give us
    detailed description of your problem.
    It’s better to provide the table structure and some sample data, it will help us move more quickly toward a solution.
    Thanks, 
    Wendy Fu

  • ORA-20876: Stop APEX Engine message in CSV download from Interactive Report

    Hi,
    1 particular Interactive Report in our application produces the following error message in the CSV file, if we attempt to download the report: -
    ORA-20876: Stop APEX Engine
    All other reports work OK, there is another thread here with the same issue, but no resolution was posted: APEX 4.1 ORA-20876: Stop APEX Engine
    Has anyone else come across this issue?
    Apex version is 4.1.0.00.32
    Thanks,
    Mike
    Edited by: Mike, UK on Mar 6, 2012 9:39 PM

    Hi,
    what happens if you take the query from IR report and create a new classic report?
    On this report enable csv export and then try the export.
    Maybe that (format) data are causing export to fail.
    Try to export just one row in your IR report (and classic report), so that you add where rownum < 2.
    Regards,
    Aljaz
    Edited by: Aljaz on 6.3.2012 23:11
    Edited by: Aljaz on 6.3.2012 23:29

  • Error while downloading report into CSV or EXCEL

    Hi All,
    I am facing a strange problem while downloading data in excel or CSV format. I have created a report that is nothing but output of direct database request. The report is running fine and able to download data but since yesterday it is throwing error: -
    [nQSError: 17001] Oracle Error code: 1455, message: ORA-01455: converting column overflows integer datatype at OCI call OCIStmtFetch.
    [nQSError: 17012] Bulk fetch failed.
    Sometimes it starts download and after fetching some data it throws this error. The report is bulky and generally it brings around 40 k rows.
    Can anybody faces this error or have any idea about this. Please give some suggestion as I have searched it but not reached to any conclusion. Thanks in advance.
    Thanks
    Ashok

    Hi Thomas,
    Following is the logic implemented in RFC which is giving XSTRING as export parameter
    STEP1      create a dynamic internal table
               Create field catalog for the table   using LVC_FIELDCATALOG_MERGE
                   CALL METHOD cl_alv_table_create=>create_dynamic_table
                        EXPORTING
                           it_fieldcatalog = it_fieldcat
                         IMPORTING
                           ep_table        = dyn_table.
                  CREATE  EXCEL SHEET BY SENDING FIELD CATALOG AND DATA TAB
    STEP2 # Convert text table to xstring.
            CALL FUNCTION 'SCMS_TEXT_TO_XSTRING'
              IMPORTING
                buffer   = l_content
              TABLES
                text_tab = lt_data_tab
              EXCEPTIONS
                failed   = 1
                OTHERS   = 2.
    STEP3  *# Psss Data to Netweaver
              PERFORM pass_data_to_nw USING is_import
                                      CHANGING es_attachment_metadata.

  • Download of saved views of an interactive report

    Hi all
    When I am on a saved view of an interactive report and choose 'Download', I always get the data of the actual worksheet but not that form the saved report.
    Has anyone a solution of this problem?
    best regards
    Gerhild

    Hi Dan
    that posting contains a good deal of information about REPORT_ID of an IR on rebuild environment or updating application, but nothing about saving IRs to file.
    But in the meantime I detect the following issues:
    1. using the Repot Id Item of Advanced Attributes, you get the behavior I had described above.
    2. if you keep Repot Id Itemr of Advanced Attributes clean, the current view of the IR is downloaded to the file.
    3. Therfore I thing, that the given REPORT_ID in the Item set in Repot Id Item of Advanced Attributes is only saved once, when loading the page, but not when the current view is changed by asynchronous javascripts (AJAX function apex.worksheet.ws.pull). But the funktion for downloading data of IR (apex.worksheet.ws.download ? - body of function is emty) uses the content of that item obviously.
    I had a look at that scripts, but don't found the link between a variable of javascript and the Repot Id Item. For this reason I wasn't able to check this by eding the javascript of APEX; but I think this will be the only way to get the expected behavior.
    Best regards
    Gerhild
    Edited by: gaselmeyer on Aug 27, 2009 1:08 PM

  • Download Reports in CSV or pdf format

    Hi to all,
    i'm trying to download a report in CSV format that implicate the list of more than 400.000 users and their resource assigned.
    As i know, Sun IDM before generating this file is going to execute a task that return the list of this 400.000 users, and only after
    that IDM ask me with a window alert if i want to only to "View" or if i want to "Save" the CSV file.
    I noticed that in the moment that IDM is asking me if i want to save and where to save, i wasn't logged in IDM, so
    i'm able to see only the task that is executed with success and the list of users in the task but any CSV or request to save CSV file.
    Do you think that i need an open IDM session with the same IDM user that i execute the report in the moment to save the CSV?
    And what about the task that was already executed: how can i download the CSV without executing another time the task?
    Thanks in advance
    Best Regards

    I noticed that in the moment that IDM is asking me if i want to save
    and where to save, i wasn't logged in IDM, so i'm able to see only the
    task that is executed with success and the list of users in the task
    but any CSV or request to save CSV file.The following method converts a finished report to a string in CSV format:
      public static String printReportsAsCSV(String taskName, String sep, Locale locale)
        throws WavesetException {
        TaskManager tm = Server.getServer().getTaskManager();
        RepositoryResult er = tm.getExtendedResult(taskName, null);
        if(er != null && er.hasNext()) {
          ReportRenderer rend = new ReportRenderer(locale);
          StringBuffer sb = new StringBuffer();
          while(er.hasNext()) {
            TaskResult tr = (TaskResult)er.next().getObject();
            WavesetResult res = tr.getResult();
            if(res != null && res.getResults() != null && res.getResults().size() > 0) {
              Report report = (Report)res.getResult("report");
              rend.renderToSeparatedText(report, sb, sep);
              return sb.toString();
        return null;
      }Usage example:
    System.out.println(printReportsAsCSV("All Admin Roles", ",", Locale.getDefault()));The report is stored in the repository as a TaskResult object, so you
    can also export it in XML form and process with XSL or something.
    Cheers,
    Vladimir

  • Apex 3.0: export a report as .csv file without any Enclosed By character?

    In Apex "Report Attributes page/Report Export" is possible to define the Enclosed By field.
    The default Enclosed By by characters are a double quotation marks (" ").
    Is there a way to export the report as .csv file without any Enclosed By character?
    Example line format:
    a) using default Enclosed By
    "value1";"value2";"value3"
    b) using ('') as Enclosed By
    'value1';'value2';'value3'
    c) using blank space as Enclosed By
    value1 ; value2 ; value
    d) without any Enclosed By character
    value1;value2;value3
    What can we do in Apex to export a report as .csv file with the line format example d)?
    Thanks for your help.

    Hi,
    There is no Out of the box feature in Apex to achieve this functionality. But what you can do is write a page process to generate the CSV that you want.
    For this what I will do is on the first page where you press the Button it will call a PL/SQL page process which actually generates the csv. You can keep the existing report only for display purposes. Find the below process which generate the csv that you require.
    begin
    -- Set the MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="filename.csv"');
    -- Close the HTTP Header
    owa_util.http_header_close;
    htp.prn('columnHeader1,ColumnHeader2,ColumnHeader3'||chr(13));
    -- Loop through all rows
    for x in (
    Select column1,column2,column3 from table;
    loop
    -- Print out a portion of a row,
    -- separated by commas and ended by a CR
    htp.prn(x."column1"||','||x."column2"||','||x."column3"||chr(13));
    end loop;
    -- Send an error code so that the
    -- rest of the HTML does not render
    htmldb_application.g_unrecoverable_error := true; --You can leave out this line if you still want to display the existing HTML report.
    end;
    This will show a download box, so you can download the csv file. The page process should be called before header and the condition should be the button press.

  • Saving report layout views without saving the filter criteria.

    We have a requirement from the client where after the user changes the layout of a report (ex. by adding/removing characteristics), the user wants to save the layout of the report without saving the filters of report. 
    I have two scenarios where I can get this to work.
    1. Pressing the u2018Save Viewu2019 button in the web report. And changing the query in Query Designer so that it does not have any filter variables in the u2018Default Valueu2019 section (all filters have to be in the u2018Characteristic Restrictionu2019 section). And in WAD turn 'On' the setting for u2018Reset Variable Values to Defaultu2019. I do not want to use this method because it means I have to change all queries that are in production.
    2.  The second way I get it to work is by Pressing the u2018Save Viewu2019 button and forcing the query to use a customized web template that references a master web template. In WAD neither the parent nor child web template has u2018Reset Variable Values to Defaultu2019 set to 'On', it is set to 'Off (Default)'.  I would like to figure out why this method works because no changes need to be made to the queries (filters can be on either side, u2018Characteristic Restrictionsu2019 or u2018Default Valuesu2019).  I do not want to use this customized web template for all queries because there are special layouts and labels that are not needed for the all other reports.
    So I know that there is a solution on the web template side, but Iu2019m not sure where the solution is. I want to figure out why scenario 2 works, and apply that to the default web template that runs for all queries. I compared the setting of both templates and I cannot find a difference. Please help!!
    We are running:
    SAP BW 7.0 Service Pack 22
    Web Application Designer 7.0
    Query Designer 7.0
    Thanks in advance, Points will be awarded!!

    Hi Sathish!
    If your table data is less than 3 pages (2 pages) then new section will start from 3rd page only.
    Each table is less than one page actually. But as I wrote the 2-nd section starts from the 2-nd page (what is excellent), but the 3-rd section starts from the 2-nd page as well (right after the 2-nd section), but not from the 3-rd page.
    If each table in section is with different format , it is good to go with TAB wise tables.
    Could you give any link where I could read about the TAB wise tables? Not sure I am familiar with it.
    Thank you!
    Andrey

  • How to generate reports in CSV format using content tracker

    Hi all,
    I have installed Content Tracker and Content Tracker Reports components.
    Using Content Tracker Reports I can able to view the Reports and there is also
    option for print.
    The requirement is to download reports in CSV format.
    Can anyone help?
    Thanks.

    Hi,
    Can you please help me with the following based on your feedback.
    1) I had created a dashboard page that has multiple analysis in it. The output of the dashboard page has to be generated in pdf format and for multiple Relationship Manager.
    2) I can add the above dashboard page to the agent to schedule for execution and send email for one specific relationship manager. But the issue I am facing is I need to do the same all of the 100s of relationship manager i.e. one agent for each RM. The solution I am looking for is to schedule the dashboard page to be executed using one agent and by passing RM codes one by one and sending the output file through email to the respecitive RM.
    Thanks & Regards,
    RR

  • Report Designer - Error while opening a saved report

    Hi,
    I am not sure if this is an authorization issue or configuration issue.
    When I try to open a saved report on Report designer, I keeping getting an error: Report Version is invalid: "0".
    Has anybody faced similar problem?
    We are on SP09.
    Regards,
    Payal.

    Payal,
    I am afraid, that your report might be corrupted. This might have happened, if in tx SE16 the version is changed. The Report XML displayed in SE16 for table RSERDATA, is limited to ca. 1024 charachters. When editing the version, after pressing the save button, the Report XML is cut off at 1024 charachters and the report is lost.
    Please do not set the report version in tx SE16!
    I will need to configure the program RS_REPORT_MAINTAIN, such that reports with version "0" can be saved with the minimum version 9.0.
    Until then I recommend the following procedure for Reports that are ok, but have the Version "0" bug:
    1) in tx SE38, program: RS_REPORT_MAINTAIN
        open your report with option "DT" (designtime)
    2) Switch to Edit mode.
        Make a backup copy of the report using the "Save As" Button.
        You can copy the Report XML to the clipboard using Ctrl-A, Ctrl-C
    3a) Open a dummy report in RS_REPORT_MAINTAIN created previously with
          Report Desginer ( --> The version is set to 9.0).
          Switch to edit mode and paste the Report XML and Save.
      or
    3b) Debug FUNCTION rs_bex_report_load_rfc.
          Open a report and change the value of E_REPORT_VERSION to "9.0"
          before leaving the function.
    Hope this helps, karim
    P.S.
    I will update note 1016224

Maybe you are looking for

  • How to sync two computers (or more) without iCloud?

    i need to sync (or copy) iCal, Notes, Remembers, Adress Book between two computers working on Mountain Lion. How can i do without using iCloud or other cloud?

  • DVD will not start on my G4-flat panel

    I have a G4 flat panel and a G5. I recently installed Tiger on my G4. I just bought a DVD from europe, but it can work both on european and american DVD players. This DVD works on my G5. But when I instert it in my G4, it doesnt even appear on the de

  • How much RAM & CPU should I allocate for Windows 7 Ultimate?

    I am in the process of setting up my new 27" iMac i7. I'm brand new to Apple computers so this is a learning curve for me! I have installed Parallels Desktop 5 so I can run Windows 7 side by side with Snow Leopard. Now I am trying to install Windows

  • How can I save my login for website ?

    My iPad no longer saves my login even when instructed to "remember me". It used to before the update last week. Is there a setting that is stopping Safari from doing this.

  • Extensive and dependent forms

    Hello everyone. The scenario is the following: There is some forms that need to be fill out sometimes by the customer side and others by company side. The initial form will be filled out by the customer and some of those data are required on the anot