Export in CSV format
Post Author: mikesherwood
CA Forum: Crystal Reports
hi,
i am exporting my report in CSV format & trying to open it with excel, only to find that CR repeatedly dumps the Page Header, Report Footer & Page Footer in each row. Also, there are no breaks after header & before footer details. How do I control/modify export to CSV? i have to use Export button on CR toolbar & cannot write my own exporter due to business requirements. i am using CR XI in RAD 7.0.
Thanks for your help.
Hi
In the report attributes, under Layout and Pagination, set the Enable Partial Page Refresh to No.
Regards
Paul
Similar Messages
-
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,VivekDaniel 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 -
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
sqlHi 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 -
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.
thanksCSV 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
-
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 advanceHi,
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 -
Dropping zeros when exported to CSV format
I formated in Numbers using 5 digit place holder and setting "hide seperator" and "show zeros" This looks perfect in Numbers but when I export to CSV (I want to import the mailing list to AddressBook) it drops the front zero. I tried formating a new column as text and pasting the list into it, but it turned into numerical format and dropped the zero again when exported to CSV. Any suggestions would be appreciated. I can't help but feel I am being stupid. This shouldn't be so difficult.
I did the following test:
1) I formatted a column as text and entered several cells worth of 5-digit zip codes that had leading zeros.
2) I formatted a column with a custom format of five digits, leading zeros, and no separator. I typed in a few numbers with less than five digits and they displayed with leading zeros. No surprise there.
3) I formatted a column as text and copy/pasted from column in (2) to this text-formatted column. I was actually surprised it kept the leading zeros because the underlying data (a bunch of 3 and 4 digit numbers) does not actually have them.
4) I exported this file as CSV.
5) I opened the CSV in TextEdit and the leading zeros were there in all three of these columns.
This all seems to be working as you would want it to. Am I doing something different than you?
To complete the test, I opened the CSV with Numbers and it dropped all the leading zeros upon import. But you are not re-importing it into Numbers so this last step wasn't really a fair test. -
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 -
Extra columns when exporting to CSV format
Using Crystal Pro XI R2, I have a report that is listing three fields, each 1" in width next to each other (no gap between columns). When I export to Excel, the resulting file has no blank columns before the data. However, when I export to CSV, even after checking the box to not include header/footers, I get three extra commas preceding the first column of the report. The report only has a single detail section unsuppressed. Since the CSV file is being imported into another application, I must either manually remove the extra commas or fix this problem. Since I am not a member of the punctuation police, I am hoping to find a Crystal solution.
Fuskie
Who originally had six extra commas preceding his data, but reduced it to three after blocking export of headers/footers...The 3 comas is a good indication that you you have 3 empty fields in your report. Not sure how they may have gotten there without you knowing about it, but that would be my first guess.
See if you can find them. they may be the save color as the back ground, making them "invisible". Try selecting your entire details section and see if you don't see anything unusual.
I've also noticed that CR will allow you to place fields off the edge of the report... even to the left of it. Once their over there you may not be able to select them to remove them.
Assuming that you don't find the offending fields on the report you can try this:
Make a copy of your report using the Save As...
In the copy, while in design view, do a Ctrl+A to select all objects on the report and delete them.
Then simply reinsert the fields you want to export for your CSV export.
Hope this helps,
Jason -
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,
CameronAre 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.
-
How Export to CSV format from WDA
Hi masters!
i need to export an ALV table to CSV fromart
i use the following code
CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
EXPORTING
i_field_seperator = ';'
TABLES
i_tab_sap_data = lt_t_book
CHANGING
i_tab_converted_data = lt_t_book_cvs
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc = 0.
"Download data using GUI_DOWNLOAD
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\Documents and Settings\lucas.mena\Desktop\csv_test.txt'
filetype = 'ASC'
CODEPAGE = LC_1160
TABLES
data_tab = lt_t_book_cvs.
ENDIF.
as a result, i have received the following error message: Error in Control Framework
thanks,
LucasHello Luca,
1) First read the table's data into an internal table.
2) Convert the internal table data to STRING format.
3) Now convert it into tab separated format as how desired.
4) Convert this STRING format to XSTRING format
5) Make use of the attach_file_to_response method.
METHOD onactionon_submit .
DATA: lv_node TYPE REF TO if_wd_context_node,
lt_mara TYPE if_main=>elements_mara,
wa_mara TYPE if_main=>element_mara,
lead_selection_index TYPE i,
mara_string TYPE string,
mara_xstring TYPE xstring.
lv_node = wd_context->get_child_node( name = 'MARA' ).
CALL METHOD lv_node->get_static_attributes_table
IMPORTING
table = lt_mara.
LOOP AT lt_mara INTO wa_mara.
CONCATENATE mara_string
wa_mara-matnr
wa_mara-ersda
wa_mara-ernam
wa_mara-matkl
wa_mara-meins
cl_abap_char_utilities=>cr_lf INTO mara_string
SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
ENDLOOP.
** Now you need to add the column headers & the desired extra information through coding to
** mara_string
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = mara_string
IMPORTING
buffer = mara_xstring.
CL_WD_RUNTIME_SERVICES=>attach_file_to_response( i_filename = 'TEMP.XLS'
i_content = mara_xstring
i_mime_type = 'EXCEL' ).
ENDMETHOD.
Regards,
Uday -
hi,
I am using the report export feature of oracle APEX. IT is working fine except i m getting something like this (div tag start)div id="report_19777432813352373_catch""First Name"
in the first column of the report and the report ending with (div tag end)/div..
i just need "First Name".. Can anyone help me out?
Thanks in advance
Vishal
Message was edited by:
apex_learnerHi
In the report attributes, under Layout and Pagination, set the Enable Partial Page Refresh to No.
Regards
Paul -
Export WebDynpro context node to CSV format?
I have successfully implemented exporting the context node to xml format then open through the Excel following the tutorial : Exporting Context Data into Excel Using the Web Dynpro Binary Cache.
But now, I need to implement another version that export to CSV format, then open through Excel.
I remembered I read a blog and some forum posts that mentioned about this solution, but I just could not locate where they are now through SDN search now.
I will appreciate if someone can point me to those links again.
Thanks.
KentHi Kent,
I am also developing the application wherein Table data needs to be exported to Excel.
I am trying to download the WDExcelExport.zip from the foll. link
https://wwwn.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/bad3e990-0201-0010-3985-fa0936d901b4 [original link is broken]
But I am getting the error
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
The exception was logged. Inform your system administrator..
See the details for the exception ID in the log file
Can you please send me the Sample Application WDExcelExport.zip. My mail id is [email protected]
Regards
Nikhil Bansal -
How to export report IN CSV format through JAVA.
how to export report in csv format.when try to export in csv format.its exporting into csv but report not containing column heading , report heading and it showing all the data in a single line.we have integrated the reports with java.
Use a Java API which can create PDF files based on some collection of plain vanilla Java objects (List, String, Number, etc).
Google can find them all. Just feed it with something like "Java PDF API" or so. A commonly used one is iText.
That said, when talking about this in JSP context, ensure that you do NOT write raw Java code in JSP files using scriptlets. Raw Java code belongs in Java classes. In such case you need a Servlet. In JSP just use taglibs and EL to interact with backend Java code and data. Scriptlets are discouraged since over a decade. -
Obiee 11g hierarchy columns download into csv format.
When using hierarchical columns, Is there a way to download the results as the user see it on the view (be it table or pivot view) into a CSV format.
Excel format works, but if the user drill down on the hierarchy column and then export in CSV format... the data gets exported to the level the report was originally set.
Is there any way to change this behavior?
One option we can recommend to users is to download in excel format and then convert to CSV....if needed.
FYI, we just starting looking into 11g 11.1.1.5 version... planning to migrate from 10g to 11g...
Thanks
SundarNii Moi wrote:
Hi Every Body,
am using asp.net as a front end and oracle 11g as back end am wondering if there is a way to download data in an csv format and merge them into a table.How is this related to Application Express ? Please explain -
Is it possible to export a CSV file in stead of a XLS file in WDA ALV?
I know the user can change the file type themselves. But it would be better to export a CSV file directly. Do you have any suggestion?
Many thanks!Refer this thread : Re: How Export to CSV format from WDA
May be it helps you.
Maybe you are looking for
-
Sharing software package with non-global zone
I've installed Solaris Studio 12.3 to a global zone on Solaris 11 following instructions from http://pkg-register.oracle.com which I want to make available to the non-global zones. Do I need to install it independently for all zones, or can I export
-
Hi, I am sorry. I know this is a wrong place to post. Can somebody tell me how to tell Oracle to fix BROKEN LINKS. Particularly we will find hundreds of broken links in all Portal related sites. Thanks
-
I would like to export all my pictures to my Pc but my iphone on exports the camera roll ANd not all of the albums I have about 60000+ images
-
Backup / Multiple HR Table download
Hi I would like to take a backup on my computer of around 50 various HR / Tax tables. Is there a way to download them in one shot instead of downloading them into excel one-by-one. Any idea? Thanks Wills
-
EjbHome method vs stateless bean method
Does the ejbHome<method> and stateless bean method share the same concept?