Export to CSV

Dear Experts,
We are on BI 7.0 and we came across the following problem :
When we wre exporting to CSV from Web template in Portal, each £ sybmol is accompanied by  
ie.£ 1500 (where it should have been £1500).
When exporting to Excel/ excel 2000, it is working fine. And we export it Excel and save it as CSV, it's showing the values with £ sign only. But my client is not happy to export to Excel and then save it to CSV.
Has anyone come across with this?
Is there an outstanding update / OSS Note / patch etc. from SAP to correct this issue?Or is it more likely  IMG seetings issue ?
Thanks

Hi Swapna,
There is one way to export to CSV and below are the steps that we follow.
1.     Execute the ABAP program Z_BI_QUERY_TO_CSV as batchjob. The previous csv file with same name will be removed from the SAP BI server. Then the program will execute the query (selection on the selection-screen).
2.     The query is executed by the OLAP processor.
3.     The OLAP processor will read the values for variables in the user-exit EXIT_SAPLRRS0_001 (RSR00001) (enhancement concept BEXVAR).
4.     The data is selected from DSO or infocube.
5.     The data is formatted to cvs-format (separator is selection field for the program) and saved on the SAP BI server in the directory DIR_CSV.
6.     After those files are created, the program Z_BI_COPY_FILE_TO_DESKTOP can be used to copy the files from the SAP BI server to your local PC. Must always be executed in foreground because there is interaction with the desktop.
7.     You can choose the local directory on the selection-screen.
I hope this will help you.
All the best,
Praveen

Similar Messages

  • 10g exporting to CSV using client_text_io is not working correctly.

    I have an odd issue which i could do with some help with. I run an function that exports to CSV based on an pre defined record group.
    This has been working fine for many months with various customers. Recently a new customer used it and they have 28k rows in his record group and the export is actually not exporting correctly.
    The record group has a record count of 28331.
    The CSV produced has only 3756 in my CSV file. These are the last 3756 records in the Record group so its as if its overwriting the data as it goes yet all smaller datasets work
    FUNCTION fun_export_csv (vgraphid NUMBER, p_filename VARCHAR2)RETURN BOOLEAN IS
      out_file                      client_text_io.file_type; 
         i                                             NUMBER;
      lv_line              VARCHAR2(5000);
    BEGIN
    rg:=populate_group('RG11_EXP');               
    synchronize;
    lv_line:= ('"GIN","Gin Date","PO Num","PO Required Date","Mat Num","Mat Description","Supplier Part No","On Time Delivery(Yes-1, No-0)"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    For i in 1..get_group_row_count('RG11_EXP') Loop--this count is 28331
    lv_line:= ('"'||get_group_number_cell('RG11_EXP.col1', i )                 ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.grn_date', i )                 ||'"'|| ',' ||'"'||                                          
         get_group_number_cell('RG11_EXP.po', i )       ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.daterqd', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.item_no', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.desc', i )                    ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.part_no', i )               ||'"'|| ',' ||'"'||
         get_group_number_cell('RG11_EXP.ontime', i )                    ||'"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    END LOOP;     
    client_text_io.FCLOSE(out_file);
    RETURN TRUE;          

    Hello,
    Try to insert a "synchronize" instruction from time to time:
    i  pls_integer := 1;
    Loop
      If mod(i, 500) = 0 Then
         synchronize;
      End if ;
      i := i + 1 ;
    End loop;
    ...<p>But keep in mind the the CLIENT_TEXT_IO generate a lot of network traffic, so it is better and faster to generate the file on the A.S., then after transfer it to the client machine.</p>
    Francois

  • How export to csv work in safari browser? In my application export to csv open like a raw data in new tab. But other browsers working great!. Need to open in a csv file or save it as a csv file.

    How export to csv work in safari browser?
    In my application export to csv open like a raw data in new tab.
    But other browsers working great!.
    Need to open in a csv file or save it as a csv file.
    Please suggest me. Thank you in advance!.

    Hi Adrian,
    Why don't you try any another software for opening CSV files then Notepad ? According to my experience, you can use these softwares to open an CSV files and they are:-
    Microsoft Excel
    Open Office Calc
    Google Docs
    Also there is an additional tool available known as CSV viewer. You may try this, download it from here http://www.csvviewer.com/
    I've never used Notepad for opening CSV files, because sometimes it contains some symbols which are not not at all compatibile with Notepad.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Hide column in SSRS is not working while exporting to CSV format.

    Hi,
    I have a report where some columns are hidden based on parameter value. When I export to Excel all the hidden columns are hiding which is fine, but the issue is when I exported to CSV all the hidden columns are exporting to csv.
    I tried to using  " =IIF(Globals!RenderFormat.Name = "CSV", True,False)" in Column visibility but It is not working. When I select Hide option it is working fine. But I want to hide based on expression.
    Any help !!!!!!!!

    Hi sumancv,
    In SQL Server Reporting Services (SSRS), we can control whether an item is visible in CSV separately from whether an item is visible in other renderers. As Shahfaisal Muhammed posted earlier, the CSV renderers use the DataElementOutput property to control
    visibility. When an item has DataElementOutput=Output, it will appear in the CSV.  When an item has DataElementOutput=NoOutput, it will not appear in CSV.
    Based on my test, we cannot use expression to control column visibility in the report when it is export to CSV.
    Reference:
    http://connect.microsoft.com/SQLServer/feedback/details/742658/ssrs-csv-export-issue-for-hiding-certain-columns-using-expressions
    Since the issue is by design, I recommend you that submit a wish to the Microsoft Connect at
    https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Report output Export to CSV issue

    Hi Experts,
    I have a Bex Query. After running the report when I export the report in CSV format using "Export to CSV" from the report output screen, the data
    is being dumped in different columns And when i try to convert that particular CSV file to Excel as we can only select one single column for delimiting the values using a separator into different cells the data in the other column is being truncated.
    Kindly suggest me how to resolve this.
    Thanks in Advance,
    Sushma

    Hi,
    (If anything else on the BW side doesn't help).
    Not so long ago I had a similiar problem all data (originally taken from several columns) were in one column - solved it with the help of VB coding.
    Sth like this could help you.
    Regards, Leszek
        Dim tekst As String
        last_row = Selection.SpecialCells(xlCellTypeLastCell).Row
        Range("A1:Z" & last_row).Select
        Cells.Select
        Selection.NumberFormat = "@"
        For wiersz = 1 To last_row
             Cells(wiersz, 1).Select
             tekst = Selection.Value
             Cells(wiersz, 1).Value = Left(tekst, 21)
             Cells(wiersz, 2).Value = Right(Left(tekst, 27), 6)
             Cells(wiersz, 3).Value = Right(Left(tekst, 37), 10)
             Cells(wiersz, 4).Value = Right(Left(tekst, 50), 13)
        Next wiersz

  • After installed SP1 for SQL Server 2012, can no longer export to csv

    After installing SP1 today via Windows Update, I am no longer able to export data to csv using the SQL Server Import and Export wizard. I get the following error message:
    "Column information for the source and the destination data could not be retrieved, or the data types of source columns were not mapped correctly to those available on the destination provider."
    "Column "col1": Source data type "200" was not found in the data type mapping file."...
    (The above line repeats for each column)
    The work-around I have to do is to manually map each column in the "Edit Mappings..." option from the "Configure Flat File Destination" page of the wizard. This is an extreme inconvenience to have to have to edit the mappings and change
    each column to "string [DT_STR]" type from "byte stream [DT_BYTES]" type each time I want to export to csv. I did not have to do this before installing SP1; it worked perfectly for months with hundreds of exports prior to this update and
    no need to modify mapping.

    I am running Windows 7 64-bit, SQL Server 2012 Express edition. Again, just yesterday from Windows Update, I installed SQL Server 2012 Service Pack 1 (KB2674319), followed by Update Rollup for SQL Server 2012 Service Pack 1 (KB2793634). This situation was
    not occurring before these updates were installed, and I noticed it immediately after they were installed (and of course I restarted my computer after the updates).
    In SSMS I just now created a test DB and table to provide a step-by-step with screenshots.
    Here is the code I ran to create the test DB and table:
    CREATE DATABASE testDB;
    GO
    USE testDB;
    GO
    CREATE TABLE testTable
    id int,
    lname varchar(50),
    fname varchar(50),
    address varchar(50),
    city varchar(50),
    state char(2),
    dob date
    GO
    INSERT INTO testTable VALUES
    (1,'Smith','Bob','123 Main St.','Los Angeles','CA','20080212'),
    (2,'Doe','John','555 Rainbow Ln.','Chicago','IL','19580530'),
    (3,'Jones','Jane','999 Somewhere Pl.','Washington','DC','19651201'),
    (4,'Jackson','George','111 Hello Cir.','Dallas','TX','20010718');
    GO
    SELECT * FROM testTable;
    Results look good:
    id    lname    fname    address    city    state    dob
    1    Smith    Bob    123 Main St.    Los Angeles    CA    2008-02-12
    2    Doe    John    555 Rainbow Ln.    Chicago    IL    1958-05-30
    3    Jones    Jane    999 Somewhere Pl.    Washington    DC    1965-12-01
    4    Jackson    George    111 Hello Cir.    Dallas    TX    2001-07-18
    In Object Explorer, I right-click on the [testDB] database, choose "Tasks", then "Export Data..." and the SQL Server Import and Export Wizard appears. I click Next to leave all settings as-is on the "Choose a Data Source" page, then on the "Choose a Destination"
    page, under the "Destination" drop-down I choose "Flat File Destination" then browse to the desktop and name the file "table_export.csv" then click Next. On the "Specify Table Copy or Query" page I choose "Write a query to specify the data to transfer" then
    click Next. I type the following SQL statement:
    SELECT * FROM testTable;
    When clicking the "Parse" button I get the message "This SQL statement is valid."
    On to the next page, "Configure Flat File Destination" I try leaving the defaults then click Next. This is where I am getting the error message (see screenshot below):
    Then going to the "Edit Mappings..." option on the "Configure Flat File Destination" page, I see that all columns which were defined as varchar in the table are showing as type "byte stream [DT_BYTES]", size "0", the state column which is defined as char(2)
    shows correctly however with type "string [DT_STR]", size "2" (see screenshow below):
    So what I have to do is change the type for the lname, fname, address and city columns to "string [DT_STR]", then I am able to proceed with the export successfully. Again, this just started happening after installing these updates. As you can imagine, this
    is very frustrating, as I do a lot of exports from many tables, with a lot more columns than this test table.
    Thanks for your help.

  • "Export to CSV" option is not working.

    Hi,
    When I am trying to use "Export to CSV" option for "Item Price Deviation" report.
    The issue happened, when we lock filter on "Spend by Category" report and then opened Item Price Deviation report. Then I selected More Actions --> "Export to CSV". But no File download pop up shown up.
    Is it a known bug?
    Regards
    Gowtham

    Hi,
    Does give you message on the top of IE about File download blocked because of pop up blocker settings. I had faced similar issue but everytime you turn off the popup blocker and you should be able to download the report. Also try to download the report from other laptop to segregate this problem as application problem or desktop issue
    Regards,
    Sampat Desai

  • What is the best way to export a .csv/.txt file to a MS Windows shared folder via a scheduled job?

    What is the best way to export a .csv/.txt file to a MS Windows shared folder, when the export process is a scheduled job?

    You can't directly, as scheduled jobs can only export to server-side data stores, which can only write to the landing area. You'll need to use an external script (e.g. batch file) to move the file from the landingarea after export. You can use an external task in the scheduled job to invoke the script.
    regards,
    Nick

  • Import from dsv files and export to csv files

    hi every body..
    how can I create a project in NetBeans which does:
    1- import a .dsv (Delimiter-Separated Values) file content and save it to array
    - the values in this format separated by fixed commas
    example
    "AIG" "Insurance" "64.91" "25/11/06"
    2- export into .csv file (Comma Separated Value)
    -the values in this format separated by commas
    example:
    AIG,Insurance,64.91,25/11/06

    Well, you need to learn Java so you can read files, divide the data by the delimiters, and then write it out as a csv file.
    Can't really give better instructions than that...maybe start by reading the basic tutorials?
    We don't give out full program code here so you'll need to ask more precise questions. Such as what is it that you're having problems with.

  • CR V11 and ability to export as csv in  crystalreportviewer

    We just bought CR V11, I have SP 2 installed and I am looking to for the export as csv in crystaldecisions.windows.forms.crystalreportviewer.
    I can export in code put we would like the option for users to export as one of the options in the viewer, we use this viewer everywhere in our code.
    Does anyone know if this possible, I have spent a lot of time on this. I have u2ftext.dll installed and working.
    I can do it in the trial version of 12 but we selected X11 for its compatibility with existing 10.5 reports, the sole reason for our upgrade was for this feature.
    I notice in the release notes various bugs and fixes for this.
    Can anyone tell me if I am flogging a dead horse, this feature was available in 8.5 and is in 12

    Your horse is dead. For sure.
    DHTML is web based viewer.
    ActiveX viewer was included with the Report Design Component (RDC) that was normally used with VB 6 or other COM compliant languages. You can use the RDC in .NET but this has not been tested and is thus not supported. For more info see the following:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0751a7f-a81d-2b10-55a0-e6df0e1bab6d
    Also note that the RDC has been retired in version 12.x of Crystal Reports.
    Ludek

  • Export to CSV - order is now by alphabetical column

    I was using 1.2, and exporting to CSV, and the file was in table-layout order, so another app is able to import.
    Now with 1.5 the export is in alphabetical column-name order - and the other app can't handle it.
    Is there some setting to change the export behaviour ?
    cheers, Tim

    Why isn't that method suitable? Both use the exact same mechanism and all rows have to be retrieved anyway. What's more, I'm pretty sure 1.2 still executed the query 2 times extra before actually exporting the set, whereas 1.5.x "only" 1 time extra.
    But it's not a bad idea to keep 1.2 around for some irritating issues, and 1.5 has it's advantage over other ones.
    Regards,
    K.

  • 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

  • Change separator for export into .csv

    Hi!
    I'd like to change the separator to be "|" instead of "," but the drop down list I can find in "options" is greyed out.
    Why can't I change the separator for export into csv-files?
    Or is there a dependency I didn't realize?
    Regards,
    Walter
    PS: just updated to SQL Developer 3.1
    Edited by: 916799 on 24.02.2012 05:02

    You should use the delimited format to change the separator, it's the same as the CSV format, just the name changes.

  • Data modeler, error when exporting to csv files

    hi, i have a relational model and i need to export this model to csv files, when exporting the model it errors,
    displaying the following error nmessage:
    Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 584
    Oracle SQL Developer Data Modeler Export Log
    Date and Time: 2010-09-21 15:17:17
    Design Name: Diagram
    Model Name: CSV
    Export Finished
    Errors: 1
    Warnings:0
    <<<<< ERRORS >>>>>
    java.lang.NullPointerException
    the issue is a file is missing when exporting proccess is done, the file is DM_CommentsRDBMS.csv, this file contains the commens of columns.
    Thanks.

    Hi,
    I logged bug however information is not enough to locate the problem.
    You can use export to reporting schema in order to get your model exported - in database in that case.
    We are not going to extend "export to CSV file" functionality any further - it'll be as it is now.
    Philip

  • Export report CSV file

    When I export my report to CSV file, it saves it but it contains no data. After runnin and exporting another report o a CSV file, this time it creates data but the data is from the 1st report. Very strange.

    You will get an explanation for this working of export on link
    Re: Problem with Export to CSV
    you can get more info if you search for old questions from 2008-09

Maybe you are looking for