Extraneous html included in Report Export (csv) for Version 3.1

Hi, I'm not hopeful of anyone being able to resolve my problem, as none of my colleagues are experiencing it, which occurs in my application for all new reports that I have created since the upgrade to 3.1 (from 3.0).
I have many existing reports which utilise the Report Export facility and they still work as they should. However, for any new report created after the upgrade, the file created contains an html tag:
At the top of the first column: div id="report_1562114506105406_catch"
with the corresponding tag at the bottom of the column /div
Initially, I thought that the complexity of the report might have been relevant, but not at all. I have added report regions to existing pages with an SQL query of SELECT sysdate FROM dual
I deleted and restored an earlier version of the application, but the problem recurred. As I said, my colleagues cannot reproduce the issue (happily - for them!) and neither could I when I created a new application (using the same theme - Blue and Tan), but I still experienced the problem with my application working at a colleague's PC. Also, if I activate the Report Export for an existing report, the file created is fine, which seems to indicate the problem relates to the report creation rather than the Report Export facility.
Any suggestions gratefully received,
David

Additional info
Where previously I thought that the number included in the "_reportnnnnnnnnnnnnnnnn_catch" was randomly generated, I have now found out that it is actually specified within the "Print URL" on the Print Attributes tab.
This doesn't seem to be any different to the other reports (that were created before the upgrade), but of course until now I had no reason to view the Print Attributes tab, so was unaware of this.

Similar Messages

  • Report export (CSV) results in page not found error

    Hello,
    I'm having this strange error which i cannot seem to figure out. I have enabled report export through CSV in a report (report attributes). When i click the link in the report i get a page not found error (http 404). At first i thought it was a problem with the http-server. But as other applications (on different databases) don't have this problem i'm thinking it has to do with this apex-instance. Till 2 days ago it did work on this instance too.
    I'm really out of ideas, so if anyone can push me in the right direction i would really appreciate!
    Apex 3.2
    DB 10.2.0.4
    Thanks,
    Patrick

    Does this compare to the same as the url for your page?
    Has your server changed?
    Have you changed the dad file recently?
    have you checked the Apache access/error logs right after the 404 error is encountered ?
    Gus..

  • Financial Reporting - Exporting Batch for Command Line Scheduling Issue

    Financial Reporting 11.1.2.2
    When I export, a successfully run scheduled batch, for command line scheduling the xml file that is exported only has the following information in it. I think that it is missing alot of information.
    Any ideas what I am doing wrong, if anything?
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <JOB_OBJECT OBJECT_ID="0">
    <DATA_SOURCE_USER_CREDENTIALS DS_PASSWD="" DS_USER_NAME=""/>
    <HR_USER_CREDENTIALS HR_PASSWD="" HR_USER_NAME=""/>
    <OUTPUT_OPTIONS>
    <HTML VALUE="No"/>
    <MHTM VALUE="No"/>
    <PDF EXPORT_PDF_FOLDER_LABEL="" VALUE="Yes"/>
    <SAVE_AS_SNAPSHOT VALUE="No"/>
    <PRINT VALUE="No"/>
    </OUTPUT_OPTIONS>
    </JOB_OBJECT>

    Hi again,
    I am not sure if you can extract the formatting to Excel... I had also issues.
    Can you please try to retrieve the report into Excel via Smartview? Check page 136 of  http://docs.oracle.com/cd/E40248_01/epm.1112/smart_view_user.pdf
    Regards,
    Thanos

  • Interactive reports / export CSV

    Hi everybody,
    We've got a problem with Apex 4.0.1.00.03 and the interactive reports.
    Ours applications are beyond a proxy server in SSL security, and the problem is when we do an export in *.csv with an interactive report with IE (7, 8 or even 9) there is a bug and we've got this message:
    Internet Explorer can't download f from appw.xxx.xx.ch
    We'haven't this kind of bug or message while we're using Chromium, Firefox, Safari or Opera, only IE.
    Does anyone got this kind of architecture and this sort of message or bug with IE and the export ?
    Best regards
    Chrispi

    Bump.
    Will it be possible in Apex 4 with Websheets may be?

  • Export CSV for Windows

    I am having an issue exporting as a CSV to use on Windows. Specifically I am trying to export a table setup so I can import it into Outlook for contacts.
    Its seems that when I export to CSV, even if I choose the Windows encoding option (Western - Windows Latin 1) the CSV file does not use Windows return characters.
    When I open the file up in Notepad in windows everything is on one line with the "box" character where the returns should be.
    As such Outlook can't import the file.
    Doing a find/replace to fix the return characters is easy enough, but this seems to be an annoying bug that should be fixed.
    Choosing a Windows encoding option should use Windows return characters, right?
    Anybody else experienced this? Have a fix that doesn't require manually doing a search/replace on the csv file after export?

    Hello
    As you are new on the forum you may ignore that here we are not Apple emplyees, just users trying to help other users.
    So we can't help you for that except perhaps that an AppleScript would be able to make the needed changes in the final document.
    I ask you to go to "Provide Numbers Feedback" in the "Numbers" menu and explain your requirements to Numbers team.
    Yvan KOENIG (from FRANCE jeudi 4 octobre 2007 21:08:47)

  • Oracle Export Error For version 9.2.0.6.0

    I can run an export with owner='my user' however when i set it to run as full =Y i get the following error at the end:
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 933 encountered
    ORA-00933: SQL command not properly ended
    ORA-06512: at "SYS.DBMS_RULE_EXP_RL_INTERNAL", line 311
    ORA-06512: at "SYS.DBMS_RULE_EXP_RULES", line 142
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_RULE_EXP_RULES.schema_info_exp
    . exporting user history table
    . exporting default and system auditing options
    . exporting statistics
    Export terminated successfully with warnings.
    Can anybody indicate what the problem may be ?
    Many Thanks

    It seems that the problem is caused by double quoted user names.
    See Metalink Note:206512.1 - EXP-8 and ORA-903 or ORA-933 When Exporting From Oracle9i Release 2 (9.2.0.1)

  • Expense Report Export does not create Invoice in AP

    Hello,
    I have created several expense reports in AP (Running EBS R12, I am not using iExpenses), but when I use the Expense Report Export request, the invoices are not created. I have looked online and found some plausible solutions. None of them have worked: I've made sure the Employee payment method is set up; the Usage rules for payables are also set up for Employee Expenses in the payment processing transaction type. In the Payables Option screen, I have selected the Automatic Employee as a Supplier option.
    Here's the Expense Report Export log:
    Payables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    APXEXPER module: Expense Report Export
    Current system time is 29-APR-2013 11:09:53
    **Starts**29-APR-2013 11:09:54
    **Ends**29-APR-2013 11:09:55
    Start of log messages from FND_FILE
    Begin Receipts Management - Holds
    Process Hold Each Scenario
    Determine whether to place Holds
    Process Hold All Scenario
    Determine whether to place Holds
    Process Hold BothPay Scenario
    Determine whether to place Holds
    Process Obsolete Holds
    Obsolete Holds
    Obsolete Both Pay Holds
    Begin Processing Individual expense reports
    Fetching expense report...
    Expense Report Number : **110**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Expense Report Number : **REEMBOLSO 25ABR2013**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Expense Report Number : **TEST_ASTRID_EXPENSE**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Expense Report Number : **TEST_EXPENSE_AGSV**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Expense Report Number : **101**
    Transfer Attachments option(Y/N):Y
    Fetching expense report...
    Credit Card Expenses Fetched = 0
    Credit Card Invoices Created = 0
    Call Payables Open Interface
    Expenses Fetched = 5
    Invoices Created = 0
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 4105067      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-APR-2013 11:09:55
    What else do I need to do? Am I missing something?
    Thanks in advance,
    Astrid

    I found the answer and I am posting it here in case someone else needs it:
    You need to run the Expense Report Export with the Debug Switch on (you can find this under the request's parameters). When the output is ready, just select "View Log..." and search for the "REJECT CODE"; it will let you know what went wrong with your expense report. In my case, the suppliers I was using had invalid liability accounts. As soon as I updated them, the invoices were generated.
    Regards,
    Astrid

  • Csv-export with dynamic filename or include a report footer?

    Hi All,
    I have a question regarding the exported csv file contains a variable value as part of the file name.
    I read the following thread and example from Denes here:
    http://htmldb.oracle.com/pls/otn/f?p=31517:39:2021865942697087
    How to generate Excel file name
    I created a test page per instruction and I could successfully duplicate the effort and verified the csv file contains the variable value if I click on 'export to CSV' from the link.
    However, the application I am working on is slightly different. Basically in page 1, there is a 'download' button which branches to the page 2. And in page 2, in Layout and Pagination section, the value for the Report Template is set to Export CSV. In REport Export session, I set enable CSV output to Yes and file name is: &P20_REPORT_DATE..csv. Of course, I also have a hidden item &P20_REPORT_DATE whose value gets set in page process before header. Note: in this case, the user never really see the search results on screen when they click on the 'download' button which is different from the above example.
    When I run the application, the file name simply doesn't show up correctly, instead it is &P20_REPORT_DATE.csv. It appears that the value of the P20_REPORT_DATE is never set.
    Also, is there any way I could include a report header or footer to indicate when the report is generated?
    Your help is greatly appreciated.
    Thanks,

    Hi all,
    I'm using Application Express 3.1.1.00.09.
    What I want to do is include the current date in the report filename. I created an item on Page 0 called P0_CURR_DATE, which is the value of "select current_date from dual". So, the filename I attempted to create is Vendor_&P0_CURR_DATE._report (notice the & and the . are included).
    When I click the report csv report link, the popup window shows file name as Vendor__report.csv (that's two underscore characters with no characters in-between).
    I think that I have figured out my problem. I originally created the item on Page 0, as "Display as Text (does not save state)". So, after I change the item to "Display as Text (saves state)", the csv report filename becomes Vendor_28-JUL-08_report.csv .
    I guess that's the pitfalls of being a newbie!
    Thanks to all who offered help and suggestions.
    Bryan
    Message was edited by:
    BryanG

  • How to aviod html tags from Report column heading while export to csv

    Hi All,
    How to aviod html tags from Report column heading while export to excel.
    We used like Employee<br> Department in column heading, but the problem is the <br> tag also exporting into csv file.
    If any column data 3/2009 formatt the it will exporting as marh 2009.
    Please help on this.
    Thanks,
    Nr
    Edited by: pnr on Jul 5, 2011 5:00 AM

    Hi Nr
    Here is how I approached this problem.
    Go to report attributes tab
    under column attributes check PLSQL radio button.
    Create a function to return the heading of your report as shown below in your database.
    create function get_heading return clob as
    v_request VARCHAR2(20) := V('REQUEST');
    v_col_heading CLOB;
    begin
    IF INSTR(v_request,'FLOW_EXCEL_OUTPUT',1) > 0 THEN
    v_col_heading := 'Employee Number:Employee Name';
    ELSE
    v_col_heading := 'Employee breaktag Number:Employee break tag Name';
    END IF;
    return v_col_heading;
    end;
    Type the function below under ( Function returning colon delimited headings:) as follows.
    return get_heading;
    Similarly for data base it on PLSQL function body returning SQL and follow the same approach as headings.
    Hope this helps.
    Thanks
    Sukarna
    Edited by: user513776 on Jul 5, 2011 2:24 PM
    Edited by: user513776 on Jul 5, 2011 2:27 PM

  • Dynamic file name for report export to csv

    If "Enable CSV output" = "YES" for a report region titled "Invoices", the default file name is "Invoices.csv". If I have a parameter, Pn_MONTH, for the month (e.g. Jan 2010, Feb 2010, etc.) and the report only shows data for that month, I would like to have the resulting file named "Invoices_Jan_2010.csv".
    I've tried setting the Report Export Filename to "Invoices_&Pn_MONTH..csv" and setting the region title to be "Invoices_&Pn_MONTH." but the resulting file name is coming up as "Invoices_.csv"'. I even tried "Invoices_:Pn_MONTH.csv" just to be sure but that makes it "Invoices_:Pn_MONTH.csv"'.
    How can I get this to work?

    This same method works for generating dynamic column headings from other page items, but I've never tried it for the download file name.That's the problem. The parameter P_MONTH is itself a page item and this is not consistent with other dynamic substitution. Looking at the page source, the export link is
    f?p=102:9:8985946323211742:FLOW_EXCEL_OUTPUT_R2805111921107129_en-uswhere presumably "FLOW_EXCEL_OUTPUT_R2805111921107129_en-us" is an application process and "2805111921107129" is the internal id of the region. The filename is not part of the link.

  • Html codes in export of report as csv

    Hi Experts,
    My requirement is to download a report details as csv on the click of a link.
    The steps i followed are
    1. Created the report of type SQL Query (pl/sql function body returning sql Query) ; No user Interface template ; Report Template as 'Export: CSV'
    2. Created an item, based on its value the above report would be displayed
    3. Created a html region to contain the javascript which would set the value of the above item and then sumit the page.
    Now the issue is on the click of the link as in the javascript, the page prompts to save the report content as csv. This CSV contains html tags along with it.
    Can some one point me to the place were i am wrong ?
    My APEX version is 'Application Express 3.0.1.00.07'
    Thanks in Advance
    bala

    The last lines added to the csv contents are
    </td></tr>
    <tr><td></td></tr>
    <tr><td></td></tr>
    </table>

  • Include page items along with report in CSV export file

    I have a classic report and several page items asa apart of a classic report region. They represent various calculations based on the report.
    When I export the report it does not include page items in it. Is it possible to include page items as a paart of the report export?
    Thanks,
    Gagi

    GagiVel wrote:
    I have a classic report and several page items asa apart of a classic report region. They represent various calculations based on the report.
    When I export the report it does not include page items in it. Is it possible to include page items as a paart of the report export?No. Report exports include the rows returned by the report, not the contents of the report region.

  • 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.

  • FR Report export to CSV file

    Hi,
    I need to export FR Report to CSV file. This is should be done on adhoc basis. For this I have created a command line scheduler. Can we export the report to external directory in CSV format rather than in HTML or pdf?
    There is concept Bursting to CSV? Whether this export the data CSV file? How to use this one?
    Thanks in advance...
    Thanks,
    Naveen Suram

    I'm not sure there might be a third party tool which could help you export AUTOMATICALLY (or maybe even writing a MAXL report script)?
    You can export to xls from Hyperion, but I don't believe it can be automatic or scheduled.
    You have to be careful as the xls files that are created by exporting aren't really Microsoft Excel files, they are some kind of email storage containers incl. binary encoded html files as attachment. Those files are basically saved emails containing html attachments, but not plain, the attachments are binary encoded.
    (I did this investigation to see if OpenOffice could open the attachments in a more readable way, but unfortunately not).
    Cheers, Iain
    Added Clarification: Iain Curtain on Mar 12, 2010 10:20 AM

  • Report export to csv - no data found in report

    Hi all,
    I've followed the steps to export my report to a csv file. In the Report Attributes, Report Export section I have:
    Enable CSV output: Yes           Separator: ,           Enclosed By:
    Link Label: Export
    Filename: Changes.xls
    But when I open it in excel, no data found is the only test showing in cell A1.
    Is there something else I need to do? I don't understand why it's not exporting my report - there is data on my screen in the report.
    Thanks,
    Dave

    Dave,
    Have a look in my blog:
    http://deneskubicek.blogspot.com/2007/03/csv-export-problem.html
    There is an explanation on how to avoid that.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for