Export to Excel via web query (page breaks on every column?)
The problem that I'm having is when a query is sent out via the reporting agent or whenever I export a web query to excel there are page breaks put on every column of the query. This becomes quite cumbersome whenever an end user or myself wants to print out a query.
I have already transported the packages included in the "How to Enhance Web Printing" and tested much of the functionality in BWD with no success.
Can anyone shed some light on how to adjust the page breaks or format when exporting a web query to excel or when sending a query out via the reporting agent?
Thanks,
Chad
BW Version 3.5 Support Package 18
The problem that I'm having is when a query is sent out via the reporting agent or whenever I export a web query to excel there are page breaks put on every column of the query. This becomes quite cumbersome whenever an end user or myself wants to print out a query.
I have already transported the packages included in the "How to Enhance Web Printing" and tested much of the functionality in BWD with no success.
Can anyone shed some light on how to adjust the page breaks or format when exporting a web query to excel or when sending a query out via the reporting agent?
Thanks,
Chad
BW Version 3.5 Support Package 18
Similar Messages
-
Export to Excel, via a Link on action page
I have two questions.
1) How can I export to excel, via a link. So for example I have a form and a user clicks submit and I cfoutput the data in a table on the same page (action page is the same as the input page). Now, once the data is output, I would like a link on that same page so the user can click and it will export the table to Excel.
I have tried:
<cfheader name="Content-Disposition" value="attachment; filename=test.xls">
<cfcontent type="application/msexcel">
<cfoutput query="qTest">
<table>
<tr>
<th>Account</th>
<th>Amount</th>
</tr>
<tr>
<td>#qTest.ACCOUNT#</td>
<td>#NumberFormat('#qTest.TotalAmt#', "_(999,999,999.99)")#</td>
</tr>
</table>
</cfoutput>
But once the page is loaded it tries to export automatically. How can I get it to export via a link?
Also, someone suggested wrapping the cfoutput in a <cfsavecontent variable="xyz"> tag, but once I do that, how do I put the "xyz" variable into the <cfcontent> tag? Or where do I use it?
Thanks guysHere's some additional ways that you can format your output Excel Spreadsheet using CSS - I just copied this from one of my applications to give you an idea. Outputting to Excel is really nice because you can email the file off and you can put links into the cells or whatever. I normally display on the screen, then have the Excel Output button and just copy the whole query over to the Excel output page - it works for Office 2000 to 2007, haven't checked it on later versions. I kept this simple, but you can do all sorts of things with the Styles to make it look pretty. I did not include the query stuff as that would just clutter this up, but you'll get the picture.
<CFCONTENT
TYPE="application/msexcel">
<CFHEADER
NAME="Content-Disposition"
Value="filename=JP1_Report.xls">
<html
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<title>Receipt List</title>
<Style Type="text/css">
.rowHeads {font-family:verdana;font-size:10pt;color:white;background:blue;font-size:8pt}
</STYLE>
</head>
<body bgcolor="#0070a8">
<TABLE>
<TR>
<TH class="rowHeads">PCT</TH>
<TH class="rowHeads">Ticket</TH>
<TH class="rowHeads">Cause</TH>
<TH class="rowHeads">Defendant</TH>
<TH class="rowHeads">Agency</TH>
<TH class="rowHeads">Amnt<BR>Recd</TH>
<TH class="rowHeads">Fine</TH>
<TH class="rowHeads">Arrest</TH>
<TH class="rowHeads">CVCF</TH>
<TH class="rowHeads">CCC</TH>
<TH class="rowHeads">JCPT</TH>
<TH class="rowHeads">CHS</TH>
<TH class="rowHeads">STF</TH>
<TH class="rowHeads">Admin</TH>
<TH class="rowHeads">DAO</TH>
<TH class="rowHeads">FA</TH>
<TH class="rowHeads">Time<BR>Pay</TH>
<TH class="rowHeads">Traffic<BR>Fee</TH>
<TH class="rowHeads">DDC</TH>
<TH class="rowHeads">TPW</TH>
<TH class="rowHeads">JCAD</TH>
<TH class="rowHeads">FTA</TH>
<TH class="rowHeads">JRF</TH>
<TH class="rowHeads">JSF</TH>
<TH class="rowHeads">JCTF</TH>
<TH class="rowHeads">IDF</TH>
</TR>
<CFOUTPUT Query="GetReceipt">
<TR>
<TD style="border:solid 1px" align="center">#PrecinctID#</TD>
<TD style="border:solid 1px" align="center">#ReceiptID#</TD>
<TD style="border:solid 1px" align="center">#CauseNo#</TD>
<TD style="border:solid 1px" align="left">#Off_LName#, #Off_FName# #Off_MI#</TD>
<TD style="border:solid 1px"align="Left">#AgencyCode#</TD>
<TD style="border:solid 1px">#NumberFormat(TotalCredit,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocFine,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocArrestFee,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocCVCF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocCCC,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocJCPT,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocCHS,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocSTF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocAdminFee,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocDAO,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocFA,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocTimePay,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocTrafficFee,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocDDC,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocPAW,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocJCAD,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocTrafficFTA,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocJRF,"9999.99")#</TD>
<TD style="border:solid 1px">#Numberformat(AllocJSF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocJCTF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(AllocIDF,"9999.99")#</TD></TR>
</CFOUTPUT>
<CFOUTPUT Query="GetTotals">
<TR>
<TD colspan="5">TOTAL</TD>
<TD style="border:solid 1px">#NumberFormat(TotCred,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotFine,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotArrest,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotCVCF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotCCC,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotJCPT,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotCHS,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotSTF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotAdminFee,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotDAO,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotFA,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotTimePay,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotTrafficFee,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotDDC,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotPAW,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotJCAD,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotTrafficFTA,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotJRF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotJSF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotJCTF,"9999.99")#</TD>
<TD style="border:solid 1px">#NumberFormat(TotIDF,"9999.99")#</TD>
</TR>
</CFOUTPUT>
</TABLE>
</body>
</html> -
Hi All,
We have most of our report outputs as Excel.
Our client is expecting a common format for outputs in excel, with header, margins, page breaks , page numbers
And some of our reports has more than 70 columns
Using RTF, we could not able to manage this. the header or page breaks are being overwritten when it generated the excel outputs.
Please let me know how to achive this.
Thanks in advance
Edited by: DharV on Oct 15, 2012 8:44 PMHi Rohit ,
I had copied these .class & .xml files under Myclasses -> oracle.apps.icx and oracle.apps.po and oracle.apps.fnd was same which comes part of the standard OA tutorial.
I copied same under Myprojects as well.
you have to decompile the class file into java file and then place it in Myproject directory , also copy all dependency files like BC4J components , and then
try to run from Jdeveloper .
Alternatively you can get the entire ICX folder and zip it and add it via library .
--Keerthi -
Export to Excel in Web Analysis
We are in the process of upgrading to Web Analysis (and the rest of the products for that matter) 11G and we're having an issue when someone tries to export to excel. It pops up and wants the user to drill down to excel.exe so it can launch excel and open the report.
Has anyone seen this before? If so what is the resolution?
I know there was a config fil in Analyzer 7 that we had to update a excelpath variable, but I don't see anything similar in 11g and I can't find a good admin guide for Web Analytics 11g.With System 9 and SmartView you also have the option to Export to Excel in
Query Read - preserves its connectivity
Fully Formatted - preserves its formatting.
Brian Chow -
Export to Excel in Web Analyzer: Change description
In Web Analyzer we have a button Export to Excel. When we click that button the report gets downloaded in to excel. By default the excel sheet will be saved as example 0Analysis_Pattern-87.
Is there any way, by default when i click on export to excel button, excel should save either by query description or by query technical name.
Where do i make such a setting.Hi,
Only one name can be kept while expoting to excel.
You may try bradcast option from your portal, There if you will choose format as excel and send then it will take the technical name of the report as file name.
I hope it will help.
Thanks,
S -
Automatic export to excel of a query
Hi all,
I have a query I must run on a daily basis and export the results to excel format them with a certain font and size and send it via email. Is there a way to automate all of this?
ThanksHello;
Yes I believe so.
I would look to a reporting tool. For example Business Objects will auto generate and e-mail reports. Since they also export to Excel I'm thinking they can handle most of your requirements. If they can export to an Excel Template that might be one way to handle your font type and size.
In any event I believe a reporting tool is you best option.
Best Regards
mseberg
This example shows how to email Scheduled Reports in Business Objects and delivered / emailed in MS Excel format.
http://www.letslearnbi.com/2009/05/how-to-email-scheduled-reports-in.html
So certain third part tools will do the job.
Edited by: mseberg on Nov 18, 2011 7:26 AM -
WAD Export to Excel, PDF parameters query export
Hi,
I solve the problem with export to excel in WAD. Customer want to see all parameters (and also filters in query) with which are query execute in query in export to MS Excel or PDF.
Any advices?
Thanks
PetrHi,
Take a copy of template 0ANALYZER, it will have all the components which have the web analyzer.
Check the below link for the same:
http://help.sap.com/saphelp_nw04/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
Hope this helps........
Rgs,
Ravikanth -
Export to Excel from WEB - How to restrict amount of data
Hi
We have a standard web template w. the option to export to excel. Is there anyway we can restrict / disable this button if the number of rows in the query/dataprovider is more than X.
The reason why I'm asking is that if one or several users export a large amount of data from our BI portal to a local excel file the portal sometimes crash.
br,
KaareThis, can only be achieved by modifying the WEB template which is used at your client.
If its standard template 0ANALYSIS_PATTERN , change the logic for the button export to excel and embedded the code to thorogh an error if report output exceeds certain limit.
Deepak -
Error while exporting to excel from a JSP page on Win XP
Hi,
I have used the below code to output the content from jsp to excel file, its working fine until we noticed an error on computers with Windows XP installed. The application is working fine on Win 2k systems. Please help.
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition", "attachment;filename=Report.xls");My problem was somewhat similar....
I got some help from...http://www.javaworld.com/javaworld/jw-10-2006/jw-1019-xmlexcel.html?page=1...
This is my code in servlet...
HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet spreadSheet = wb.createSheet("Users");
spreadSheet.setColumnWidth((short) 0, (short) (256 * 25));
spreadSheet.setColumnWidth((short) 1, (short) (256 * 25));
// Creating Rows
HSSFRow row = spreadSheet.createRow(0);
HSSFCell cell = row.createCell((short) 1);
cell.setCellValue("Year 2005");
cell = row.createCell((short) 2);
cell.setCellValue("Year 2004");
HSSFRow row1 = spreadSheet.createRow(1);
HSSFCellStyle cellStyle = wb.createCellStyle();
cellStyle.setBorderRight(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderTop(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderLeft(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderBottom(HSSFCellStyle.BORDER_MEDIUM);
cell = row1.createCell((short) 0);
cell.setCellValue("Revenue ($)");
cell = row1.createCell((short) 1);
cell.setCellValue("25656");
cell = row1.createCell((short) 2);
cell.setCellValue("15457");
FileOutputStream output = new FileOutputStream(new File("/tmp/Users.xls"));
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachment;filename=Users.xls");
ServletOutputStream out = response.getOutputStream();
wb.write(output);
output.flush();
output.close();
forward = null;
In firefox i get the download dialog box but not able to open in from there,i need to save it and then open. In IE i dont get the dialog box instead the excell open inside the browser......Please help me to open a excel sheet onclick on a link "Export to excel" in jsp......
Thanks in advance... -
Pages ePub export - Can I use TOC for page breaks?
I want to export a Pages file to ePub. Things work *almost* perfectly, except the page breaks disappear.
I've read a few other threads, such as this one, that say that Pages uses the *first* style from the TOC to make page breaks. That doesn't work great for me, since I have multiple styles in my TOC that should all be page breaks.
https://discussions.apple.com/thread/3722549?start=0&tstart=0
Is there any way to force pages to use multiple styles from the TOC as page breaks, or will I have to enter them manually? Thanks.
**Edit:** I noticed that the chapters are actually occurring correctly. So I guess what I want is to force the epub to start each chapter on a new page. Is that possible?Fair enough.
I used the word "chapter" because that's what the epub document calls them, but section is a better word. Some headings look like this
Test 29
Section I - Logical Reasoning
Test 30
Section II - Reading Comprehsion
Passage I - Wine
Test 32
Section I - Reading Comprehension
Passage I - Wine
Sometimes the Test # should appear in the TOC ( if it's the first section from that test) and other times it shouldn't. As things stand, I had to remove the Test # from the headings where the Test # doesn't appear in the TOC. Because a new section starts from the line styled to appear in the TOC, I was getting:
"Test 30
<section/chapter break>
Section II - Reading Comprehension" -
Maximum number of rows export to excel from WebI
Hello,
I have a WebI Report in BO 4 SP6 which has 14 columns and 80,000 rows. I opened the report in WebI (Internet explorer) and clicked on the export icon but nothing happened. this report was being run for a month 201301.
So I modified the same report with 1 week's data which is 4500 rows and when I exported it to excel 2007 and it worked.
My questions are:
1- how do I export 80,000 rows of data to excel?
2- what servers/services are responsible for exporting data to excel?
3- any other opinions that you can share which might help me.
PS: I have not test this in rich client since rich client is not being used by users, Users only use WebI.
Regards,
samiqueAfter you click on export to excel. wait for some time for the pop up to come up.... Even after some time if it doesn't come up and throw a timeout error "Missing sEntry parameter", then you can try by increasing the time limit. But I won't recommend this since, this is happening due to huge volume of data.
Below thread might help you
Error when exporting WebI to PDF
If you export it using rich client, you can clearly see that the file size is too large.. It was 45 MB in my case. So I requested my user to put some filters and then do an export to excel. -
SSRS Report is missing data when exported to Excel via a subscription
I have an SSRS report on a daily subscription that creates an Excel attachment and emails it to a number of users. Some of the users are reporting that they cannot see all
of the data in the Excel attachment.
The report has a date column and 6 numeric columns, and the affected users cannot see the numerical columns - the fields are empty. The date column is displaying
correctly along with all of the column headers.
If however I change the format to XHTML, all data is displayed for all users.
What's weird is that it is not affecting all users - for the affected users, the file size of the attachment is considerably smaller so it doesn't look like the
issue is with their PC's - the data is not there to begin with.
I've tried setting the DataElementOutput property on each of the fields to Output but no luck.
I am using SQL Server 2008R2.Hi Wolfmeister,
Glad to heard that the issue had been solved and thanks for your sharing.
It will be very beneficial for other community members who have similar questions.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
Post Author: blofrese
CA Forum: Exporting
I am using Crystal XI and need to output several columns worth of data. Do to so I attempted to have the data presented in 2 rows within the same section.
Example:Page Header b contains: 7 columns 5 columns
Details a contains: 7 columns 5 columns
When exporting to excel data only I only see the bottom 5 column header info and all the detail data in the correct order. How do I get all the Headers to display on the export file?
Thank you for your time.Post Author: jw1234
CA Forum: Exporting
I have the same problem. Have you find the solution yet??
I'm trying to export as Excel data only and have 2 page header band. It only display the 2nd band with the bottom label. None of the 1st band shows up.
Page Header a contains:Report TitleDate Range
Page Header b contains:Dept Name4 columns
Please help. Thanks! -
How to generate page break based on column value
I am new to Reports. So please excuse me if it has been answered.
Please help me to generate a page break when the database table column is a cetain value.
Specifically, if the DAY of a reserv_date column is 'Monday' then I should generate a page break.
Thanks for your help.Hi,
Try this solution
SOLUTION EXPLANATION:
Go to the layout editor and add a horizontal line to the layout.
Place this line directly below the field that will be associated with the format trigger.
The line should also be within the repeating frame of the referenced column.
Apply line color to make the line white (so it won't show up in the printed report) and set the properties to Page Break Before.
Then add a format trigger on the line object to check the value of the desired
column.
For instance, if a master-detail report is created on the EMP table,
and a page break is desired whenever the value of the COMM field is not null,
create a trigger as follows:
function b_1Format trigger return boolean is
begin
if :comm is not null
then
return (true);
else return (false);
end if;
end;
When the report is run, a page break will occur whenever the value of COMM is
not null.
Thanks,
Oracle Reports Team -
Web Query -- Page cannot be displayed
Hi,
What parameter controls the time out of a web report.
I have a query which takes around 16 mins to pull up results when I run it thru RSRT and BEx.
When the query is run on the web exactly after 13 mins page cannot be displayed screen comes up..
What parameter controls this time out on the web.
I have kept icm/keep_alive_timout = 3600..I guess its some other parameter..
Thanks in advanceHi,
Another setting for HTTP connections is: icm/conn_timeout (value is in milliseconds).
Some SAP Notes you can refer to on this issue are:
622130
192658
Cheers,
Rusty
Maybe you are looking for
-
Is there a way for export to create rounded corners?
I love creating layouts with Fireworks, but it always bothered me that it didn't recreate any rounded corners. When CS6 came out with the CSS Properties window, I was happy to see that the CSS in the Properties window faithfully created my objects wi
-
I was uploading stuff. Then my ibook shut off/froze. I restarted it and then my ipod had the 'do not disconnect' on it. I reset it, 'select+menu' .according to the support info, I wasn't supposed to lose files, I lost some and now itunes doesn't reco
-
How we can import an IDOC structure from one SAP system to another w/o ALE
Hi Gurus, How we can import an IDOC structure from one SAP system to another? we're not able to use ALE tech, these two sap systems are isolated. Any response will be awarded! Thanks a lot. Samson
-
REST API and best bets / query rules
Is there a bug in this? I can not get best bet results regardless of the query string. For example, the following (according to MSDN documentation) should process the query rules and return a best bet. But it doesnt. Am I doing something wrong in
-
How to run execute immdiate with variables
Hi friends, How to run execute immdiate with variables in v_stmt below? I dont know how to declare the value of i here. Set serveroutput on; DECLARE i VARCHAR (20); v_stmt VARCHAR2 (100); CURSOR c IS SELECT sqlid FROM temp1