Issues with data exported in CSV format

Hi,
I'm wondering if anyone else is having problems with exporting system data as a CSV? I can successfully run an export, however many of the CSV files contain superfluous line breaks resulting in the comma delimiting not working properly when viewing the records in Excel.
Does this sound familiar to anyone else?
Cheers,
Cameron

Are you talking about the case where you export some records and when you open using microsoft excel everything looks as if in a text file? If so,then yes. Infact yesterday I was exporting and having the issue. Donot remember having the issue before the upgrade. What I did is opened a blank microsoft excel sheet.Then File>Open and chose the csv file.Then modified in the text import wizard to get it in the right format.

Similar Messages

  • Issue with data extracted to "loader" format

    I only just noticed something weird (yet probably not directly related to sqldeveloper)
    Using 3EA4, I see the following line when unloading a query result to "loader" format:
    CONTINUEIF NEXT(1:1) = '#'
    I assumed this is harmless , yet today I've noticed it cause sql*loader to systematically
    ignore the first character of every line in the data section of the .ldr file!
    I am using this format often as it conveniently bundles spec and data (ldr=ctl+dat),
    but have never paid attention to this glitch before. Could this perhaps affect this
    particular version of sql*loader only? Right now I only have access to the 10.2.0.1.0
    win32 version that comes with XE10g. Can someone confirm?
    If such a widespread (free, from Oracle, I assume attracted a lot of users) version
    is affected, wouldn't it make sense to not generate the offending line from sqldeveloper?

    Wow - on closer inspection I see sqldeveloper actually systematically includes
    a leading space, whicn can then be eaten by the CONTINUEIF while enabling
    the support for multi-line records.
    My problem only occurred because I had stripped that leading space.
    Every little thing counts, it seems :-(

  • Apply conditional formatting when a report is exported to CSV format

    Hello
    OBIEE dasboard has the option to export the report data to CSV format.
    But the problem is that on some columns of the report, it uses various different types of conditional formatting that tells, what to display when data is equal to one of those edge cases. So hence the report on the dashboard page shows accordingly which is fine.
    But when the report is exported to CSV format, no conditional formatting is applied and all the raw data is shown without any formatting.
    Is there any way to make sure that the conditional formatting is applied even in the data exported to CSV format.
    thanks

    CSV is supposed to be a data dump .. i dont think you can have formatting saved when u download csv file.. try downloading it to excel and changing it to CSV

  • Export Of Data In The .CSV Format With Column Headings On Top

    I'm trying to export data in the .csv format from a report (Crystal Reports XI Release 2).  When I export the data, the heading appears in the first few columns on the left hand side (i.e. columns "A" thru "G") for every row, rather as a column heading on top.  These header describe the data beneath it.  I tried various combinations of export options.  The file needs an extension .csv (or .xls) for the tool that uses the data.  Any suggestions how I can accomplish this ?

    Abhishek,
    I tried to apply your solution, but forgot that the Crystal Reports support desk updated my version of Crystal Reports XI to Release 2 for a previous problem.  My CDs are Crystal Reports XI Release 1.  Now I can't export at all until I figure out how to turn on the export option.  I do have access to older version (version unknown) that came with one of business system.  The options it has are "Character", "Tab", and "Delimeter" for "Separated Values (CSV)".  It does not have the option that you mentioned.  Is there a similar option with this older version ?  Lastly, How can I turn on the "Export" for "Crystal Reports XI Release 2" ?  Thanks ! ! !

  • Issue with Date Format

    Hi All,
    I m facing an issue with Date format in the prompt. I have used date presentation variables in my column formula as shown below:
    FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" <= DATE '@{todate}{2900-01-01}')
    The report returns data when I don't select any date range for start & end date prompts on the page. But when I select the start & end date values in the prompt, I m getting the following error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 10/22/2009 12:00:00 AM from 10/22/2009 12:00:00 AM does not match the specified format. (HY000)
    I included the following formulas for start & end date prompts:
    Start Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.1900' as date) end
    End Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.2900' as date) end
    Can you please help me resolve the issue.
    Thanks,
    Kartik

    Hi Nico,
    I tried putting the format that you mentioned, I m getting an error message.
    My prompts have the following formula :
    Start: case when 1=2 then License."Creation Date" else cast('1.1.1900' as DATE) end
    End: case when 1=2 then Time."Calendar Date" else cast('1.1.2900' as DATE) end
    My column formula has the following syntax:
    FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" between DATE '@{start}{1900-01-01}' AND DATE '@{end}{2999-01-01}')
    Error Message:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 11/17/2009 from 11/17/2009 does not match the specified format. (HY000)
    Can you please let me know if something needs to be changed.
    Thanks,
    Kartik

  • Show user entered date when ssrs report exported to csv format

    Hi All,
    How can I show date range parameter entered by user when ssrs report is exported to csv format.
    my csv output should look like this....
    Date : 01/01/2015 TO 01/31/2015 (user selected dates)
    ID,EmpFirstName,EmpLastName,Location
    1,Tom,Garry,NY
    2,John,Graham,NJ
    3,Ron,Lorrie,CA
    Thanks,
    RH
    sql

    Hi RH,
    You can add two textbox at the top outside the tablix and using expression to get the parameter value use have selected to display in the textbox as blew:
    TextBox1: =Parameters!Date.Value
    TextBox2: =Parameters!To.Value
    For Multiple value parameter you can use the expression like : =Join(Parameters!Date.Value,",")
    You can rename the two textbox' name in the properties as "Date" and "To"  then the two textboxs will display like belkow in the CSV report:
    Date                 TO
    01/01/2015      01/31/2015 
    ID   EmpFirstName    EmpLastName   Location
    1      Tom                  Garry                  NY
    2      John                 Graham               NJ
    3      Ron                   Lorrie                 CA
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Help exporting in csv format

    Post Author: Vivek Sharma
    CA Forum: Exporting
    Hello All,
    Version of Crystal Reports: 11.0.0.1282
    Wanted to find out if it is possible to export data from a main report and subreport together in csv format?  So far if I export in csv format it only exports data from main report and not from subreport.
    Thanks,Vivek

    Daniel and Atul highlight the two different kinds of data out processes that Essbase supports: targeted exports of selected parts of the database and full backup/migration-ready exports.
    You didn't state what you were trying to do, but you will want to follow one or the other approach, depending on need. I wouldn't, for instance, use a targetted export to write out the entire db -- it would be very slow (to put it mildly). By the same token, writing out the entire db to a comma delimted columnar file to get 50 records would be a bit of a time waster, too.
    Regards,
    Cameron Lackpour

  • Issue with Data Provider name in variable screen for BEx Analyzer

    Hello all,
    We got an issue with Data Provider name in Variable screen in BEx Analayzer.
    We want to change the DataProvider name there to Description of the report instead of its Technical name.
    Any inputs are appreciated.
    Thanks
    Kumar

    You have to create a workbook to do this.
    Refresh your query/report. In Bex analyser, there is one toolbar named BEx design toolbox, If you are not able to see it in analyser, right click on the toolbar space of BEx analyser and click on BEx design toolbox. Here, goto to design mode, by clicking on a sysbol like 'A'. after that place the curser where you want to see the Query description. and click on insert text (T) in BEx toolbox. click on it and check "Query description" in constant tab. in the general tab you need to assign a dataprovider, for that assign your query name in workbook settings (in Bex design toolbox). also check the "display caption" in general tab.
    Pravender

  • Issue with data dictionary -Table maintanance generator

    Hi all,
    I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered with the following errors:
    1)Field ZBCSECROLETOGRP-PORTALGROUP shortened (new visible length: 000032)
    2)0012 could not be generated
    3)In TCTRL_ZBCSECROLETOGRP field LENGTH has the invalid value 01
    My main motto is to create the table maintainace generator and transport to the furthur systems .
    Please help.
    ThnX in advance,
    Vishal..

    HI,
    Regenerate the table maintenance by selecting the checkbox of "Modified field structure" => new entry & then save.
    Also ensure that the new changes are not affecting old data bcz of data type changes. If that is the case, then delete the old records, regenerate table maint. & re-enter those records which you had deleted.
    Thanks,
    Best regards,
    Prashant

  • Issue with Date format - ABAP to XML

    Dear Users,
    We are currently facing an issue with the date formats in XML.
    We have a system (.Net), which has a webservice that we are calling for information from SAP. We created a Proxy class in SAP from the WSDL file and have attempted to use the method that gets us required information based on the Timestamp passed from SAP. However, the timestamp that the INPUT structure uses has a data element XSDDATETIME_Z.
    All we can send from SAP is a simple TIMESTAMP, but the .Net system doesn't accept it since it wants the timestamp in XML format i.e. <dd-mm-yyyy>T<hh:mm:ss>Z. SAP documentation says that the field should automatically do conversion from ABAP to XML format, but that doesn't happen. We don't want to build a string from Timestamp in the XML format and send it out since we might surely miss out on the different cases involved.
    Can anyone please suggest a way for us to send the date out in the required XML format?
    Many thanks!

    Hi Vijay,
    Look at the below sample code and it works fine, i guess there is something wrong in your code or conversion, post the actual code if you are still not able figure it out with the below example.
    DATA: l_xml_string TYPE string,
          l_dat_time TYPE xsddatetime_z.
    CALL FUNCTION 'CACS_DATE_GET_TIMESTAMP'
    EXPORTING
       I_DATE                         = sy-datum
       I_TIME                         = sy-uzeit
    IMPORTING
       E_TIMESTAMP                    = l_dat_time
    EXCEPTIONS
       DATE_NOT_FILLED_BUT_TIME       = 1
       DATE_HAS_NO_VALID_FORMAT       = 2
       OTHERS                         = 3.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL TRANSFORMATION id
      SOURCE root = l_dat_time
      RESULT XML l_xml_string.
    IF sy-subrc EQ 0.
    write: l_xml_string.
    ENDIF.
    Regards,
    Chen

  • Issue with Date Format for Presentation Variables

    Hi,
    I am using dashboard prompts to capture begin date and end date in presentation variables. The dates selected from calendar are in the format mm/dd/yyyy.
    In Asnwers I need to get a count of days between begin and end dates. I am using the column formula as shown:
    TIMESTAMPDIFF(SQL_TSI_DAY, DATE '@{pBeginDate}', DATE '@{pEndDate}')
    When ever I run the report from dashboard I get the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 1/1/2005 does not match the specified format. (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Transaction Dates"."Transaction Date", TIMESTAMPDIFF(SQL_TSI_DAY, DATE ''1/1/2005'', DATE ''1/2/2006'' FROM "Dates"')}
    SQL Issued: SELECT "Transaction Dates"."Transaction Date", TIMESTAMPDIFF(SQL_TSI_DAY, DATE '1/1/2005', DATE '1/2/2006') FROM "Dates"
    Can anyone help me to reolve this date format issue?
    Thanks,
    Aravind

    Hi,
    see this below links
    Issues with Prompts calender date
    Regards
    Naresh

  • Issue with Date Format in line Graph X-AXIS

    Hi all,
    I have a line graph, with data in x-axis and integer values in y-axis.
    I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
    How to change this format.
    Regards,
    Krishna Prasad

    Hi,
    Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
    select * from test
               where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
    cheers
    VT
    Edited by: VT on Oct 26, 2010 4:16 PM

  • Issue while exporting to CSV Format

    Hi,
    Pls help me...
    I have a report when i export that report to CSV format..
    some duplicate rows are coming...
    the two rows are exactly same and both the rows are displaying but i dont need this..
    i need distinct rows..how can i achieve this..
    Thanks in advance

    Hi,
    when i checked the distinct option...error is coming..
    Error
         View Display Error
    Error generating view. Error getting cursor in GenerateHead
    Error Details
    Error Codes: OAMP2OPY:ACIOA5LN
    Assertion failure: getFieldPosByKey(sKey) == n at line 67 of ./project/webquerymanager/customizedsql.cpp

  • Formatting issues with date mergefield in word document with switches

    I have placed date mergefield with switches in word template and getting the value from SQL , while printing unable to format the date as per appropriate switch.
    Example :  a) {={MERGEFIELD Date \@ "MM/dd/yyyy"}}
    b) {={MERGEFIELD Date \* MERGEFORMAT} \@ "MM/dd/yyyy"}
      Here Date is my Mergefield.
    Can someone suggest on this?

    Data considered as Text datatype in my case and getting this result from SQL query and replacing mergefield and not as Date datatype.
    So, formatting might not be working in this case.
    Any other suggestions??
    Check Paul's construction of a straight mergefield. If that doesn't work, try mine with the QUOTE. Not sure why you would use a calculation field when you are not trying to do a calculation. Paul (Macropod) knows far more about fields in Word than I do.
    Charles Kenyon Madison, WI

  • Data Export in XML format

    Dear SAP Gurus;
    I had developed a <b><u>HR Data Extract Report</u></b> to export data in CSV format, but one of our vender application needs data in XML format - any assistance in writing code will be highly <b>appreciated</b> and reward points are <b><i>assured</i></b>.
    Best Regards,
    Aslam Riaz

    Hi We are also in version 4.7.
    Use the code below as refefence.  It works.  Please close the issue with appropriate points if helps.  Good luck.
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK selscr WITH FRAME TITLE text-s01.
    PARAMETER:p_file TYPE rlgrap-filename MODIF ID fil." Output File Name
    SELECTION-SCREEN END OF BLOCK selscr.
    Data Declaratiion
    TYPES: BEGIN OF address,
            street(20) TYPE c,
            apt(10)    TYPE c,
            city(20)   TYPE c,
            state(2)   TYPE c,
            zip(10)    TYPE c,
           END OF address.
    TYPES: BEGIN OF person,
            name(20) TYPE c,
            ssn(11) TYPE c,
            dob(12) TYPE c,
            address TYPE address,
           END OF person.
    DATA: BEGIN OF employee OCCURS 0,
           person TYPE person,
          END OF employee.
    Data for xml conversion
    DATA: l_dom TYPE REF TO if_ixml_element,
                  m_document TYPE REF TO if_ixml_document,
                  g_ixml TYPE REF TO if_ixml,
                  w_string TYPE xstring,
                  w_size TYPE i,
                  w_result TYPE i,
                  w_line TYPE string,
                  it_xml TYPE dcxmllines,
                  s_xml LIKE LINE OF it_xml,
                  w_rc LIKE sy-subrc.
    DATA: xml TYPE dcxmllines.
    DATA: rc TYPE sy-subrc,
    BEGIN OF xml_tab OCCURS 0,
                  d LIKE LINE OF xml,
    END OF xml_tab.
    Initialization
    INITIALIZATION.
    At Selection-Screen On Value Request
    AT SELECTION-SCREEN.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Validating file
      PERFORM get_local_file_name USING p_file.
    Start-of-selection
    START-OF-SELECTION.
    Populate the internal table
      PERFORM populate_data.
    Create xml file
      PERFORM create_xml.
    END-OF-SELECTION.
    Down load the xml file
      PERFORM download_xml.
    *&      Form  populate_data
          text
    -->  p1        text
    <--  p2        text
    FORM populate_data .
      REFRESH employee.
      CLEAR employee.
      MOVE:   'Venu Test One'        TO employee-person-name,
              '111-11-1111'          TO employee-person-ssn,
              '01/01/1900'           TO employee-person-dob,
              '1111 Sanzo road'      TO employee-person-address-street,
              '111 A1'               TO employee-person-address-apt,
              'BALTIMORE'            TO employee-person-address-city,
              'MD'                   TO employee-person-address-state,
              '21209'                TO employee-person-address-zip.
      APPEND employee.
      CLEAR  employee.
      MOVE:   'John Smith'           TO employee-person-name,
              '222-22-2222'          TO employee-person-ssn,
              '02/02/1888'           TO employee-person-dob,
              '2222 John Smith road' TO employee-person-address-street,
              '222 B2'               TO employee-person-address-apt,
              'SANFRANSISCO'         TO employee-person-address-city,
              'CA'                   TO employee-person-address-state,
              '99999'                TO employee-person-address-zip.
      APPEND employee.
    ENDFORM.                    " populate_data
    *&      Form  create_xml
          text
    -->  p1        text
    <--  p2        text
    FORM create_xml .
      CLASS cl_ixml DEFINITION LOAD.
      g_ixml = cl_ixml=>create( ).
      CHECK NOT g_ixml IS INITIAL.
      m_document = g_ixml->create_document( ).
      CHECK NOT m_document IS INITIAL.
      WRITE: / 'Converting DATA TO DOM 1:'.
      CALL FUNCTION 'SDIXML_DATA_TO_DOM'
        EXPORTING
          name         = 'EMPLOYEE'
          dataobject   = employee[]
        IMPORTING
          data_as_dom  = l_dom
        CHANGING
          document     = m_document
        EXCEPTIONS
          illegal_name = 1
          OTHERS       = 2.
      IF sy-subrc = 0.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        sy-subrc.
      ENDIF.
      CHECK NOT l_dom IS INITIAL.
      w_rc = m_document->append_child( new_child = l_dom ).
      IF w_rc IS INITIAL.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        w_rc.
      ENDIF.
      CALL FUNCTION 'SDIXML_DOM_TO_XML'
        EXPORTING
          document      = m_document
        IMPORTING
          xml_as_string = w_string
          size          = w_size
        TABLES
          xml_as_table  = it_xml
        EXCEPTIONS
          no_document   = 1
          OTHERS        = 2.
      IF sy-subrc = 0.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        sy-subrc.
      ENDIF.
      LOOP AT it_xml INTO xml_tab-d.
        APPEND xml_tab.
      ENDLOOP.
    ENDFORM.                    " create_xml
    *&      Form  get_local_file_name
          text
         -->P_P_FILE  text
    FORM get_local_file_name  USING    p_p_file.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        CHANGING
          file_name     = p_p_file
        EXCEPTIONS
          mask_too_long = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE i007(zu).  " 'Error in getting filename'.
      ENDIF.
    ENDFORM.                    " get_local_file_name
    *&      Form  download_xml
          text
    -->  p1        text
    <--  p2        text
    FORM download_xml .
      CALL FUNCTION 'WS_DOWNLOAD'
        EXPORTING
          bin_filesize = w_size
          filename     = p_file
          filetype     = 'BIN'
        TABLES
          data_tab     = xml_tab
        EXCEPTIONS
          OTHERS       = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
       SKIP 5.
       WRITE:(15) 'The ', p_file , 'is created successfully'.
      ENDIF.
    ENDFORM.                    " download_xml

Maybe you are looking for