FLOW_EXCEL_OUTPUT_R error in the downloaded csv file

Hello,
I'm trying to use the functionality of the FLOW_EXCEL_OUTPUT_R as follows:
href="f?p=&APP_ID.:14:&SESSION.:FLOW_EXCEL_OUTPUT_R&P_REGION_ID._en"
Where the computation for P_REGION_ID is:
SELECT region_id  FROM apex_application_page_regions
WHERE        application_id = :app_id
AND page_id = :app_page_id
AND region_name = 'CSV export'
In the downloaded CSV file i get the following:
- the first row: +<||div id="report_33994800669487811_catch">+
- the last 2 row: +<||pre>report error:+
ORA-06502: PL/SQL: numeric or value error: character to number conversion error<||/pre>
(|| - sign is so I can show the tags in the post)
The rest of the data is downloaded ok.
But still how can i get rid of these errors?
Thanks,
Adela

It seems that the problem was caused by the "_en" termination (FLOW_EXCEL_OUTPUT_R&P_REGION_ID.*_en*).
But is there any way to get rid of the <||div id="report_33994800669487811_catch"> <||/div> tags from the begining, respective the end of the CSV file ?
Thanks,
Adela

Similar Messages

  • Error for the uploading csv file to database

    Hi i tried to upload the csv file to database and i am getting error as
    <cffile action="read" file="#data_dir_upload#/di_audit_corp_upc_ldr_tbl.csv" variable="di_audit_corp_upc_ldr_tbl">
    <!--- loop through the CSV-TXT file on line breaks and insert into database --->
    <cfloop index="index" list="#di_audit_corp_upc_ldr_tbl#" delimiters="#chr(10)##chr(13)#">
        <cfquery  datasource="#request.dsnCAO#">   
                <!--- SET ANSI_WARNINGS OFF      --->
             INSERT INTO [dbo].[di_audit_corp_upc_ldr_tbl]
                                ( cpt_dpt_cd,cpt_com_cd,sub_com_cd,con_upc_no,pid_lng_dsc_tx,pid_sht_dsc_tx)
             VALUES
                      (<cfqueryparam value='#left(trim(listgetAt('#index#',2,',')),2)#' cfsqltype="cf_sql_char">,
                       <cfqueryparam value='#left(trim(listgetAt('#index#',3,',')),3)#' cfsqltype="cf_sql_char">,
                       <cfqueryparam value='#left(trim(listgetAt('#index#',4,',')),5)#' cfsqltype="cf_sql_char">,
                       <cfqueryparam value='#left(trim(listgetAt('#index#',1,',')),13)#' cfsqltype="cf_sql_varchar">,                  
                       <cfqueryparam value='#left(trim(listgetAt('#index#',5,',')),25)#' cfsqltype="cf_sql_varchar">,
                       <cfqueryparam value='#left(trim(listgetAt('#index#',6,',')),12)#' cfsqltype="cf_sql_varchar">)    
       </cfquery>
    </cfloop>
    Error:
    An error occurred while executing DTS package to import data.
    Invalid list index 6.
    In function ListGetAt(list, index [, delimiters]), the value of index, 6, is not a valid as the first argument (this list has 5 elements). Valid indexes are in the range 1 through the number of elements in the list.
    i am unable to solve this issue can any one will help me to solve this issue
    Thanks,
    Kiran

    I take it your are trying to use a csv file to insert new data into a database, using flex and coldfusion?
    if so, then I would load the file in flex using cffile in ColdFusion and then use Load Data if you are using MySQL
    This can show you more about it.
    http://blog.tygate.com/?p=75
    We get very large csv files ftp'd to us every week, and we have to load them in to the db. this works for us.

  • BEA 9.2 Portal issue: downloaded CSV file contains embedded html code

    We have J2EE application using BEA 9.2 Portal framework, and one of the page has feature to generate report( in pop up window) in CSV file format. As per the history from previous developer, BEA 8.1 didn't have this issue but, after mirgration to 9.2, they started having file download error( incomplete contents ..). To overcome this issue they commented out setting content length to HttpServletResponse as attached below, but this, now, causes html page source code of the parent page( where submit button is clicked to generate csv file report) being rendered along with actual report in the downloaded CSV file. Has anyone have this sort of issue? If so, can you please share your thoughts? or any thoughts in general?
    BEA 9.2 with Portal framework, JDK 15, JSP, Beehive NetUI, Sun Microsystem Solaris server
    Here is the source code that avoids setting content length and reasoning behind it..
    private static void setResponseHeadersForCSVFile(HttpServletResponse response, String filename, int contentLength)
    String mimeType = mimeTypes.getContentType(filename);
    response.reset();
    response.setContentType(mimeType);
    // DON'T explicitly set the content length, since the length of the String or StringBuffer that contains
    // the contents of the CSV file will be character encoded when it is actually written to the output stream, based
    // upon the character encoding of this JVM App Server's settings. So let the JVM App Server framework apply the character
    // encoding AND set the final and truly correct content length header at the time the contents of the String or StringBuffer are truly
    // streamed back to the user.
    //response.setContentLength(contentLength);
    response.addHeader("Content-Disposition", "attachment; filename=\"" + filename + "\"; size=" + contentLength);
    }

    1) Yes, the old content.tld is available as part of a web library module as a taglib.tld file. The module is: wlp-services-web-lib.war, which can be found in your bea/weblogic92/portal/lib/modules directory.
    2) The new API is accessible from the ContentManagerFactory class. This provides access to INodeManager, ITypeManager, ISearchManager, etc. The new API is contained within the com.bea.content.federated package. The 8.1.x API in the com.bea.content.manager package including RepositoryManager, NodeOps, SearchOps, etc. has been deprecated with 9.2.
    3) Yes, via the new I*Manager implementations. The entitlement support is for application-scoped visitor roles. Make sure you're using the ISearchManager when performing search operations. This will ensure secure results are returned.

  • I try to download the OS X Mountain Lion, and I keep getting an error saying, "The product distribution file could not be verified. It may be damaged or was not signed." Please Help!

    I try to download the OS X Mountain Lion, and I keep getting an error saying, "The product distribution file could not be verified. It may be damaged or was not signed." Please Help!

    If you have Intego VirusBarrier X6 installed
    1. Open /Applications/VirusBarrier X6.
    2. Click on the "Surf" button.
    3. Click on the "Ad Banner Filter" tab.
    4. Click "OFF" next to "Banner advertisement filter".
    5. Start the computer in Safe Boot, then restart the computer into normal mode.
    If don't not have Intego Virus Barrier installed
    1. Verify that the date and time is correct on the computer.
    2. Safe Boot once, then restart normally, then try downloading again.
    3. Try with a different user account if the issue persists
    If the issue persists
    Install Lion onto an empty partition (internal or external).
    Note: You can Use Disk Utility to live partition the internal drive and create a second partition large enough to install Lion.
    Start from the clean installation of Lion.
    Download Mountain Lion from the Mac App Store. Note that the original startup disk can be set as the destination for Mountain Lion during the installation process.

  • How can we a validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.

    How can we a  validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.

    Please see:
    http://www.bidn.com/blogs/DevinKnight/ssis/76/does-file-exist-check-in-ssis
    http://social.msdn.microsoft.com/Forums/en-US/01ce7e4b-5a33-454b-8056-d48341da5eb2/vb-script-to-write-variables-to-text-file

  • Error Reading up a CSV file

    Hi,
    I am doing a File (SalesData.csv) -> PI -> IDOC scenario and have created a DT, MT and also made FCC configuration in sender File Channel.
    However, when I run the scenario I get an error message in Channel Monitoring.
    CSV File:
    12,36,45,78,89
    2154,789,65,78,99
    This CSV file should be converted into an XML by FCC like:
    <MT_SalesData>
    <Data>12,36,45,78,89
    2154,789,65,78,99</Data>
    </MT_SalesData>
    I used FCC in the channel like:
    Document Name: MT_SalesData
    Document Namespace: actual namespace of the MT
    Recirdset Name: MT_SalesData
    Recordset Structure: Data,1
    Error in Channel Monitoring:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'Data.fieldFixedLengths' or 'Data.fieldSeparator' is missing Mandatory parameter 'Data.fieldNames': no value found
    What more information should I include in the FCC? If required I can change the DT.
    Entire content of the SalesData.csv file should be placed inside the Data tag, as is without any modification.
    Thanks
    Pankaj

    Hi Pankaj,
    Your file content conversion configuration is incomplete.
    Please check below link for the addtional parameters you need to specify:
    [http://help.sap.com/saphelp_nwpi71/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/frameset.htm]
    Please check if you have maintained following parameters:
    a. NameA.fieldFixedLengths or NameA.fieldSeparator
    b. NameA.fieldNames
    Regards,
    Beena.

  • How to add a SPACE as suffix to the last field in the downloaded text file?

    Hi Experts,
    By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
    fine.
    example current record1 : 010001                      354.999            26.000
    here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
    but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
    tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
    so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
    thanq

    Sorry...Typo error...Too many in the last few days -:(
    Wanted to say AFTER -:)
    Do it like this...
    FIELD1 TYPE XXX,
    FIELD2 TYPE XXX,
    FIELD3 TYPE XXX,
    SPACE(1) TYPE C,
    That way you should end with...
    26.000+SPACE
    Greetings,
    Blag.

  • Download csv file with strange file name.

    hi, guys:
    We installed Oracle APEX 4.2, and APEX listener 2.0 and Oracle 11g standard edition for our application. But sometimes when user tried to download csv file from an interactive report, the file name was a very strange one, sometimes even no .csv extension. could anyone give me a hint to find documentation about it?
    Thanks.
    Sam

    lxiscas wrote:
    a little more information about it:
    I found the file name is "&P16_DIP_START_DATE NOA", which we expect to generate a file named as " some date NOA.csv", but APEX does not recognize the value of variable. For example, if teh value of P16_DIP_START_DATE is 11/15/2012, we expect the file name as "11/15/2012 NOA.csv", but APEX will give us very strange file name replaceing every "/" with / I appreciate anyone who could help me on this issue. But We did not encounter this [roblem on APEX 4.1, OC4J and Oracle 11g R2 enterprise.
    Thanks.
    I just used to_char to output date without "/" and soleved it. The other way is to set application property-->security-->browser security with basic level. This only applies to APEX 4.2. I am lucky for that I am using Apex 4.2.
    Sam
    Edited by: lxiscas on Jan 14, 2013 10:08 AM
    Edited by: lxiscas on Jan 14, 2013 10:10 AM
    Edited by: lxiscas on Jan 14, 2013 10:20 AM
    Edited by: lxiscas on Jan 14, 2013 1:36 PM
    Edited by: lxiscas on Jan 21, 2013 6:50 AM
    Edited by: lxiscas on Jan 21, 2013 6:52 AM
    I can has editing?Suspect you are trying to explain that "/"s are being rendered as <tt>&amp;#x2F</tt>? If you want to include character entities in forum posts then you have to type the ampersand ("&amp;") as an entity itself, thus: <tt>&amp;amp;#x2F</tt>.Windows or *NIX filenames can't contain "/"s anyway, so you can't use them regardless of how APEX is rendering them. Using a <tt>YYYYMMDD</tt> format is also recommended as it follows date order when using character comparison semantics.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Downloading csv file does not ask for where to store file

    Firefox is set to "Always ask me where to save files".
    I have a WebService from which to download a download.csv file via a POST request (must be a POST request and not a GET request due to data issues).
    I'm using jquery.fileDownload.js in the Website to achieve this. When pressing the download button, the screen 'Opening download.csv' opens with the option 'Save File' preset. After pressing OK, an explorer window should occur to be able to choose the file location. But it is NOT shown. Instead nothing more happens.
    What could be the problem?
    P.S.: in other browsers it works fine.

    Hello gnittala,
    thanks for your response.
    1. MIME type is set correctly.
    2. When using this config, the file is downloaded correctly.
    Now I found out, what was the problem:
    the jquery.fileDownload.js plugin was deleting the internally used iframe too early, so that the explorer window could not be displayed. Keeping the iframe longer (at least until explorer window is shown, or easier reuse it in next download call) solves the problem.
    Astridr

  • Im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    i have been dealing with this same issue, tried to  turn off firewall and even turn of antivirud but still it gave me the same error.

  • Mavericks Update - Error message - The product distribution file could not be verified

    Help!
    Trying to download mavericks (from 10.7.5) as I have just had a new hard disk isntalled and need to start from scratch.
    Wanting to re download iphoto but I can't as I need a newer OS so trying to download mavericks from the app store. My internet is very slow and keeps cutting out so I have tried a few times but it's not working.
    Now I'm getting an error message - 'the product distribution fil could not be verified'
    If anyone can help that would be great.
    Or even let me know where I can get a copy of iphoto to suit OS 10.7.5 so I don't need to download a whole new OS.

    You're trying to download a 5 GB file. If your Internet connection is lousy, you won't have much success. Try another network.

  • Error message: The iTunes Library file cannot be saved. An unknown error occurred (-54).

    I opened iTunes and downloaded 2 songs from http://www.reverbnation.com. Shortly after I started getting this error message: The iTunes Library file cannot be saved. An unknown error occurred (-54). Anyone dealt with this before?

    == Error -54 ==
    From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Some of the old codes still apply to OSX although there is no formal list of OSX error codes.)
    First, try simply restarting your computer.
    iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814

  • Ok so I was getting the IOS 7 update and when i got it, it had an error during the download. so now it says if i want it to put it in restore mode, if i do will my ipod loose everything and if it does will i get it back

    ok so I was getting the IOS 7 update and when i got it, it had an error during the download. so now it says if i want it to put it in restore mode, if i do will my ipod loose everything and if it does will i get it back

    I went back to iOS 7 and my backup file is restoring but when its done nothing is on my phone still and only takes 11-15 minutes to restore the backup instead of taking 25+ minutes like usual so I guess the backup is corrupted. How can I fix this?

  • When I download Itunes my computer tells me there was and error in the download and I have to downlooad again.  I have tried three times.  My computer in brand new. So what could the problem be

    When I download itunes my computer tells me there was an error in the download and I need to re-download.  It tried three times to re-download and got the same error.  Any help for this?  My computer is brand new.

    Go START/ALL PROGRAMS/APPLE SOFTWARE UPDATE"
    If it offers you a newer version of Apple Software Update, do it but "Deselect" any other software offered at the same time.
    Once done, try another iTunes download

  • I am having problems downloading files from the web. After a number of files are downloaded, the system become sluggish, and then hangs. I traced the problem to the download history file: downloads.sqlite.

    After downloading a number of 1.0 MB files, the system became very sluggish, and I started to get lots of (Not Responding) messages when trying to download or just use Firefox for browsing. Using Performance Monitor, I observed that the Firefox executable was growing larger and larger - up to as large as 1.2 GB on a system with 2.0 GB memory. Page faults were off the chart.
    Looking for a similar problem, I found one that discussed the downloads.sqlite file becoming corrupted. I first noticed that this file was over 600 MB in size, so I deleted it. I then downloaded additional files, and observed that the new downloads.sqlite file would increase in size by about 150% of the size of each file that was downloaded. Once it would get up to 500 MB in size, the system started slowing down again.
    I don't know the purpose of this file, but it appears that it keeps a full copy of every file downloaded, which may be the function of a download history file, but it does not seem correct that the file should grow in size without limit, and thus impact the system.
    I would also appear that the Firefox executable is trying to read the entire contents of this file each time a new file is downloaded, which does not seem right.
    Temporary fix is to periodically delete the downloads.sqlite file when it gets too large and starts impacting performance.. Apparently it is smart enough to open a new file if the old one is not found. I am not sure what the correct behavior for this file should be. Apparently is does not re-initialize when a new Firefox session is initiated.
    Please feel free to contact me if more information is desired. I'm not sure what details you might need to troubleshoot this type of problem.

    Hi Katy, and a warm welcome to the forums!
    What is the exact name of the file?
    Is it aim.bin?
    Which requires either Stuffit Expander, or the Unarchiver to deflate.
    http://www.apple.com/downloads/macosx/systemdiskutilities/theunarchiver.html

Maybe you are looking for