Crystal Report: Error while Export to Excel
We are using combination of Crystal Report 10 With
J2EE, Below source code is working fine While
exporting to PDF, MSWord, RTF format.
if(selectedFormat.equals("MSWORD"))
exportOptions.setExportFormatType(ReportExportFormat.MSWord);
if(iPageFrom>0 && iPageTo>0)
RTFWordExportFormatOptions RTFExpOpts=new
RTFWordExportFormatOptions();
RTFExpOpts.setStartPageNumber(iPageFrom);
RTFExpOpts.setEndPageNumber(iPageTo);
exportOptions.setFormatOptions(RTFExpOpts);
But am getting following error while exporting report
to Excel
com.crystaldecisions.report.web.viewer.ReportExportControl
Invalid post back event : {0}
We would like to know, Is SDK feasible for exporting
to excel or not ?
If yes! then Please suggest us for same.
Thanks In advance :)
I will make sure that I am on the latest patch ie SP4
https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
You can find the rumtimes here:
MSI:
https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
MSM:
https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
ClickOnce
https://smpdl.sap-ag.de/~sapidp/012002523100008782442011E/cr2008sp4_clickonce.zip
Recompile the app and then deploy.
What is the .NET Framework used by the application?
Method of deployment?
OS where app is deployed, x86 or x64?
Are you able to export the report from designer ie CR2008 Standalone?
- Saurabh
Similar Messages
-
Getting Runtiime error while exporting to Excel 97-2000 format (URGENT)
Post Author: net_us2001
CA Forum: Exporting
Hello Everyone,
This is my first time in this forum.
I am getting runtime error while exporting the report in EXCEL 97-2000, but exporting perfactly in MS-EXCEL (Data only) format.
I found the reason is, using expression (formula) for formatting phone number as shown below.
On table field "abPhone",
used "formula = PhoneFormat() " expression on format field -> common tab -> display string .
Intead that i have used fumula e.g. test1 and used same expression, then it was exporting perfactly..
Having above problem if i use expression to supress group header and report header.
So let me know if anyone can help, why it was giving error in first case.
Thanks in advance
Thanks,
NitinHi,
This is the Technical limitation of ABAP list export to local file.
ALV grid greater than 1023 characters per line will be split into 2 lines.
To prevent a line break occuring when you download the list as a local spreadsheet file, you must reduce the width of the list in ALV. You can do this either by hiding columns or by changing the column widths in the ALV. Take care that the column heading characters also dont exceed 1023 characters. This will work.
Thanks
LG -
Handling page breaks in Crystal Reports XI when exporting to Excel
We generate reports in Crystal Reports and programmatically export them to Excel for our end users, so the user receives both an .rpt and .xls version. We are upgrading from Crystal 8.5 to Crystal XI and have found with some of our reports that the page breaks in Excel are different in Crystal XI than in 8.5. The first page will fill to the end and then the next page will contain a few lines of data, the next will be full and the next will contains a few lines. Viewing the Excel page breaks, there are soft breaks before the short pages and hard breaks before the long pages. It's as if there is too much data defined for each page so it spills onto the next page before creating another hard page break. In Crystal 8.5, the paging was continuous as expected. Is there any way to fix this in Crystal XI?
Please note, this forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
As the issue you are encountering is in the CR designer, please post your query to the Crystal Reports Design forum at:
SAP Crystal Reports
I'd also suggest adding more detail to your query; version of Crystal Reports used, is this an upgrade issue, new report issue, etc., etc.
Thank you for your understanding,
Ludek -
Crystal Report Error while doing Email Billing
After emailing approx. 497 invoices utilizing MS Dynamics, we are getting the following errors; In addition, we have to respond to numerous printing prompts presented by Crystal Report, v11.
Error in ASI_SEND_MAIL_WITH_Outlook.
Error: Object require error number: 424
Error in ASI_OpenReport.
Error: Invalid TLV record.
Error Number: -2147206429
What is causing the program to abort with the above Crystal Report errors?Hello,
This may be caused by load. Where one report is not complete before the next one is called.
It would be difficult to determine without having access to the source code.
The trouble-shooting should be done by MS Dynamics since it is coming from inside their application and they can involve Business Objects if they have questions.
Elaine -
Crystal reports 13.5 : Export to excel formatting
Hi. We are developing web application using VS 2010. We are using crystal reports 13. Initially we had VB6 application which used crystal reports 8.5. The format for excel report generated by crystal report 8.5 and crystal report 13.5 is different. We are using the export option in crystal report viewer for both reports. Is there any way in which we could make changes to crystal reports 13.5 to achieve similar excel formatting as crystal reports 8.5.
Hi Pooja,
Back in CR 8.5, it was the RDC COm SDK (CRAXDRT.dll) and with CR for VS 2010 it is .NET SDK which are two complete different SDKs and could not be compared.
However, the .NET SDK should export the report same as it is exported through CR designer.
Could you export the report in a newer designer possibly CR 2008 or CR 2011/2013 and compare the exported output with your .NET SDK export?
You could get the trial free download for CR desiner here.
http://www.sap.com/solution/sme/software/free-trials.html
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications. -
Crystal report error while loading the file
We are facing a customer issue that the reports are not getting previewed from the citix environment. It is not able to find the path of the reports. This the error that they are getting
2014-07-09 11:54:11,159 [1] ReportingEngine.LogMessages ERROR - Error in Report Engine : Internal Error: Error occured while previewing.
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The system cannot find the path specified.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at ReportingEngine.CrystalReportTool.ConfigureReport()
at ReportingEngine.PeriopReport.ExecuteReport()
This happens only from the citrix environment.
The customer is using Citrix XenApp 6.5
Operating system : Windows Server 2008 R2 standard
System type = 64 bit
Crystal Report Version 2008Hello,
It's exactly what it says, the path to the report is not correct, user does not have permission to it or it simply doesn't exist.
Check Ctrix's Forum, there are known issues with it and CR.
Don -
Getting error while export to excel
I have a report which following exprort to excel. I am following http://deneskubicek.blogspot.com/2007/03/export-to-excel-instaad-of-csv-or-txt.html
above link example. In the read me file they mentioned that
• If the reports have a group by clause included, you need to modify the package and use v(‘ITEM’) syntax instead of (SELECT v(‘ITEM’) FROM DUAL):
I found "from dual" statement in package at one place so how can i modify the query as per the above statment. I am getting the actual error as below.
v_sql :=
REPLACE (v_sql,
UPPER (v_names (i)),
'(SELECT v('''
|| LTRIM (v_names (i), ':')
|| ''') FROM DUAL)'
Report Values Error: ORA-06550: Zeile 1, Spalte 170: PL/SQL: ORA-00936: Ausdruck fehlt ORA-06550: Zeile 1, Spalte 162: PL/SQL: SQL Statement ignored / -6550 / select from ( SELECT FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ,MAX(AWARD_SHORT_NAME) ,MAX(TASK_NUMBER) TASK_NUMBER ,MAX(BOND_PROCEEDS) BOND_PROCEEDS ,MAX(PROJ_OWNING_CATEGORY) PROJ_OWNING_CATEGORY ,MAX(SCHOOL_DEPT) SCHOOL_DEPT ,MAX(GA_PPU_PERC) GA_PPU_PERC ,MAX(GA_SERA_PPU_PERC) GA_SERA_PPU_PERC ,MAX(GA_MATCH_SERA_PPU_PERC) GA_MATCH_SERA_PPU_PERC ,MAX(CURR_EXPENDITURE_GIFT) CURR_EXPENDITURE_GIFT ,MAX(CURR_EXPENDITURE_UNIV) CURR_EXPENDITURE_UNIV ,MAX(CURR_EXPENDITURE_EQTY) CURR_EXPENDITURE_EQTY ,MAX(SUBTOTAL_14) SUBTOTAL_14 ,MAX(TOTAL_DEBT_DRAW_AMT_TE) TOTAL_DEBT_DRAW_AMT_TE ,MAX(OTHER_TOTAL_DEBT_DRAW_AMT_TE) OTHER_TOTAL_DEBT_DRAW_AMT_TE ,MAX(SUBTOTAL_17) SUBTOTAL_17 ,MAX(SUBTOTAL_18) SUBTOTAL_18 ,MAX(GIFT_EQTY_PERCENT) GIFT_EQTY_PERCENT ,MAX(UNIV_EQTY_PERCENT) UNIV_EQTY_PERCENT ,MAX(NON_TE_EQTY_PERCENT) NON_TE_EQTY_PERCENT ,MAX(subtotal_22) subtotal_22 ,MAX(CURR_TE_BOND_PERCENT) CURR_TE_BOND_PERCENT ,MAX(OTH_TE_BOND_PERCENT) OTH_TE_BOND_PERCENT ,MAX(SUBTOTAL_25) SUBTOTAL_25 ,MAX(organized_research_sqft) organized_research_sqft ,MAX(ga_sera_ppu_sqft) ga_sera_ppu_sqft ,MAX(dept_research_sqft) dept_research_sqft ,MAX(nse_sqft) nse_sqft ,MAX(common_sqft) common_sqft ,MAX(name_sqft) name_sqft ,MAX(other_sqft) other_sqft ,MAX(SUBTOTAL_36) SUBTOTAL_36 ,MAX(PI_ROOM_SQFT) PI_ROOM_SQFT ,MAX(Total_BLDG_SQFT) Total_BLDG_SQFT ,MAX(organized_research_perc) organized_research_perc ,MAX(ga_sera_ppu_percent) ga_sera_ppu_percent ,MAX(dept_research_perc) dept_research_perc ,MAX(nse_perc) nse_perc ,MAX(common_perc) common_perc ,MAX(name_perc) name_perc ,MAX(other_perc) other_perc ,MAX(Total_Bldg_perc) Total_Bldg_perc ,MAX(fed_state_spo_res_flag) fed_state_spo_res_flag ,MAX(corporate_spo_flag) corporate_spo_flag ,MAX(ppu_flag) ppu_flag ,MAX(in_service_date) in_service_date ,MAX(demolished) demolished from (select AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE+TOTAL_DEBT_DRAW_AMT_TX BOND_PROCEEDS ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY as SUBTOTAL_14 ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_17 ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_18 ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,GIFT_EQTY_PERCENT+UNIV_EQTY_PERCENT+NON_TE_EQTY_PERCENT as subtotal_22 ,CURR_TE_BOND_PERCENT ,Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)<>0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END AS OTH_TE_BOND_PERCENT ,CURR_TE_BOND_PERCENT+Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)<>0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END as SUBTOTAL_25 ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,organized_research_sqft+ga_sera_ppu_sqft+dept_research_sqft+common_sqft+name_sqft+name_sqft+other_sqft SUBTOTAL_36 ,PI_ROOM_SQFT --37 A (SUM OF PIR-ROOM_SQFT) ,sum(PI_ROOM_SQFT) as Total_BLDG_SQFT ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS organized_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(ga_sera_ppu_sqft*100/sum(PI_ROOM_SQFT)),2)) AS ga_sera_ppu_percent ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(dept_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS dept_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(nse_sqft*100/sum(PI_ROOM_SQFT)),2)) AS nse_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(common_sqft*100/sum(PI_ROOM_SQFT)),2)) AS common_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(name_sqft*100/sum(PI_ROOM_SQFT)),2)) AS name_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS other_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2))-decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS Total_Bldg_perc--45 ,Case when ga_sera_fed_score>0 then 'Yes' Else 'No' END as fed_state_spo_res_flag ,Case when ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as corporate_spo_flag ,Case when ga_sera_fed_score>0 or ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as ppu_flag ,in_service_date ,demolished from XXDL_CD_PTA_BLDG_LSR_FY_V where project_number=decode((SELECT v('P19_PROJECT') FROM DUAL),'',project_number,(SELECT v('P19_PROJECT') FROM DUAL)) AND FACILITY_ID=decode((SELECT v('P19_FACILITY_ID') FROM DUAL),'',FACILITY_ID,(SELECT v('P19_FACILITY_ID') FROM DUAL)) AND AWARD_NUMBER=decode((SELECT v('P19_AWARD') FROM DUAL),'',AWARD_NUMBER,(SELECT v('P19_AWARD') FROM DUAL)) AND TASK_NUMBER=decode((SELECT v('P19_TOP_TASK') FROM DUAL),'',TASK_NUMBER,(SELECT v('P19_TOP_TASK') FROM DUAL)) Group by AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TX ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,CURR_TE_BOND_PERCENT ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,PI_ROOM_SQFT ,ga_sera_fed_score ,ga_sera_ct_score ,ga_sera_score ,in_service_date ,demolished) Group by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER Order by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ASC)Report Values Error: ORA-06550: Zeile 1, Spalte 170: PL/SQL: ORA-00936: Ausdruck fehlt ORA-06550: Zeile 1, Spalte 162: PL/SQL: SQL Statement ignored / -6550 / select from ( SELECT FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ,MAX(AWARD_SHORT_NAME) ,MAX(TASK_NUMBER) TASK_NUMBER ,MAX(BOND_PROCEEDS) BOND_PROCEEDS ,MAX(PROJ_OWNING_CATEGORY) PROJ_OWNING_CATEGORY ,MAX(SCHOOL_DEPT) SCHOOL_DEPT ,MAX(GA_PPU_PERC) GA_PPU_PERC ,MAX(GA_SERA_PPU_PERC) GA_SERA_PPU_PERC ,MAX(GA_MATCH_SERA_PPU_PERC) GA_MATCH_SERA_PPU_PERC ,MAX(CURR_EXPENDITURE_GIFT) CURR_EXPENDITURE_GIFT ,MAX(CURR_EXPENDITURE_UNIV) CURR_EXPENDITURE_UNIV ,MAX(CURR_EXPENDITURE_EQTY) CURR_EXPENDITURE_EQTY ,MAX(SUBTOTAL_14) SUBTOTAL_14 ,MAX(TOTAL_DEBT_DRAW_AMT_TE) TOTAL_DEBT_DRAW_AMT_TE ,MAX(OTHER_TOTAL_DEBT_DRAW_AMT_TE) OTHER_TOTAL_DEBT_DRAW_AMT_TE ,MAX(SUBTOTAL_17) SUBTOTAL_17 ,MAX(SUBTOTAL_18) SUBTOTAL_18 ,MAX(GIFT_EQTY_PERCENT) GIFT_EQTY_PERCENT ,MAX(UNIV_EQTY_PERCENT) UNIV_EQTY_PERCENT ,MAX(NON_TE_EQTY_PERCENT) NON_TE_EQTY_PERCENT ,MAX(subtotal_22) subtotal_22 ,MAX(CURR_TE_BOND_PERCENT) CURR_TE_BOND_PERCENT ,MAX(OTH_TE_BOND_PERCENT) OTH_TE_BOND_PERCENT ,MAX(SUBTOTAL_25) SUBTOTAL_25 ,MAX(organized_research_sqft) organized_research_sqft ,MAX(ga_sera_ppu_sqft) ga_sera_ppu_sqft ,MAX(dept_research_sqft) dept_research_sqft ,MAX(nse_sqft) nse_sqft ,MAX(common_sqft) common_sqft ,MAX(name_sqft) name_sqft ,MAX(other_sqft) other_sqft ,MAX(SUBTOTAL_36) SUBTOTAL_36 ,MAX(PI_ROOM_SQFT) PI_ROOM_SQFT ,MAX(Total_BLDG_SQFT) Total_BLDG_SQFT ,MAX(organized_research_perc) organized_research_perc ,MAX(ga_sera_ppu_percent) ga_sera_ppu_percent ,MAX(dept_research_perc) dept_research_perc ,MAX(nse_perc) nse_perc ,MAX(common_perc) common_perc ,MAX(name_perc) name_perc ,MAX(other_perc) other_perc ,MAX(Total_Bldg_perc) Total_Bldg_perc ,MAX(fed_state_spo_res_flag) fed_state_spo_res_flag ,MAX(corporate_spo_flag) corporate_spo_flag ,MAX(ppu_flag) ppu_flag ,MAX(in_service_date) in_service_date ,MAX(demolished) demolished from (select AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE+TOTAL_DEBT_DRAW_AMT_TX BOND_PROCEEDS ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY as SUBTOTAL_14 ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_17 ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_18 ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,GIFT_EQTY_PERCENT+UNIV_EQTY_PERCENT+NON_TE_EQTY_PERCENT as subtotal_22 ,CURR_TE_BOND_PERCENT ,Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END AS OTH_TE_BOND_PERCENT ,CURR_TE_BOND_PERCENT+Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END as SUBTOTAL_25 ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,organized_research_sqft+ga_sera_ppu_sqft+dept_research_sqft+common_sqft+name_sqft+name_sqft+other_sqft SUBTOTAL_36 ,PI_ROOM_SQFT --37 A (SUM OF PIR-ROOM_SQFT) ,sum(PI_ROOM_SQFT) as Total_BLDG_SQFT ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS organized_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(ga_sera_ppu_sqft*100/sum(PI_ROOM_SQFT)),2)) AS ga_sera_ppu_percent ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(dept_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS dept_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(nse_sqft*100/sum(PI_ROOM_SQFT)),2)) AS nse_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(common_sqft*100/sum(PI_ROOM_SQFT)),2)) AS common_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(name_sqft*100/sum(PI_ROOM_SQFT)),2)) AS name_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS other_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2))-decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS Total_Bldg_perc--45 ,Case when ga_sera_fed_score>0 then 'Yes' Else 'No' END as fed_state_spo_res_flag ,Case when ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as corporate_spo_flag ,Case when ga_sera_fed_score>0 or ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as ppu_flag ,in_service_date ,demolished from XXDL_CD_PTA_BLDG_LSR_FY_V where project_number=decode((SELECT v('P19_PROJECT') FROM DUAL),'',project_number,(SELECT v('P19_PROJECT') FROM DUAL)) AND FACILITY_ID=decode((SELECT v('P19_FACILITY_ID') FROM DUAL),'',FACILITY_ID,(SELECT v('P19_FACILITY_ID') FROM DUAL)) AND AWARD_NUMBER=decode((SELECT v('P19_AWARD') FROM DUAL),'',AWARD_NUMBER,(SELECT v('P19_AWARD') FROM DUAL)) AND TASK_NUMBER=decode((SELECT v('P19_TOP_TASK') FROM DUAL),'',TASK_NUMBER,(SELECT v('P19_TOP_TASK') FROM DUAL)) Group by AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TX ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,CURR_TE_BOND_PERCENT ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,PI_ROOM_SQFT ,ga_sera_fed_score ,ga_sera_ct_score ,ga_sera_score ,in_service_date ,demolished) Group by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER Order by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ASC)
^
|
|
missing columnyou are missing a column expression in your select statement. scroll to the right to see what i am referring to. -
Crystal Report Error while Scheduling
Dear All; while scheduling a crystal report for some large data we get below message as soon as it crosses mark as 2700 secs. Below given is error message. Error in File ~tmp3394867772de8a0.rpt: Database Connector Error: 'RFC_CLOSED' We are extracting data from ECC info set.I tied to change the time in Crystal Report Cache Server and Crystal report processing server.but this option doesn't work too.Kindly help me with your suggestion if you have faced any such situations. Thanks&Regards Afzal Kar
How many records are there in the report? 2700 seconds, sounds a lot of data
http://service.sap.com/sap/support/notes/1671560
Check above SAP note -
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... -
Crystal report error when exporting to pdf
We have developed a crystal report that gives an error (doesnt say which one) when i try to export the report to pdf.
It says "exporting the report failed".
Version : 11.0.0.1282.
The viewer im talking about is the integrated preview of crystal reports.
Edited by: RolandWorms79 on Sep 2, 2009 10:42 PMSeems to be working now.
I upgraded CR and adobe.
Edited by: RolandWorms79 on Sep 7, 2009 10:52 AM -
Error while Exporting to Excel from ALV Report
Dear Experts,
When I am exporting my report output to an Excel Sheet directly some of the headers are appearing in Row No 1 and some are displaying in Row No. 2. Hence the corresponding values are also showing in the same manner.
I want to show all the Rows in a single row in row No 1. I am unable to find the solution for this.
But when I am exporting the same report into the MHTML Excel format the Report Headings are showing correctly in a single row and hence the respective values are also showing correctly in a single row. And if I save the same MHTML Excel as normal EXCEL(97-2003) format then also it is showing correctly.
The problem comes only when I as exporting it directly into EXCEL(97-2003) format.
Plz help.Hi,
This is the Technical limitation of ABAP list export to local file.
ALV grid greater than 1023 characters per line will be split into 2 lines.
To prevent a line break occuring when you download the list as a local spreadsheet file, you must reduce the width of the list in ALV. You can do this either by hiding columns or by changing the column widths in the ALV. Take care that the column heading characters also dont exceed 1023 characters. This will work.
Thanks
LG -
ALV Report Error while downloading to Excel
Hi All,
when i downloading to Excel from a alv grid following message has been displayed.
Template not found in BDS - Layout: Template-
Guid:
please give me any solution to download the report to excel
Thanks & Regards
Ramu GHi,
Standard Function code for Download to Excel Icon used '&VEXCEL'(Microsoft Excel) instead of '&XXL'(Spreadsheet...) it solved my problem.
Thanks & Regards
Ramu Ganji -
Abap report error while downloading to excel.
Hello All,
I have a abap report which displayes the output in frontend and I want to download it to the excel file.
When i choose from menu bar the options like--
LIST-> MOVE ->Save to PC File. some of the negative values get merged into one single value.
I have two different negative values say 115 10- in one cell but when I download it to the excel file this value is dispalyed as -11510 . Also I ahve noticed that only the values with one negative sign are dispalyed wrongly.
The values with -115 -10 are dispalyed correctly.
Could anyone please let me know why this happens?
Many Thanks,
Komal.Hi Komal ,
I have two different negative values say 115 10- in one cell but when I download it to the excel file this value is dispalyed as -11510 . Also I ahve noticed that only the values with one negative sign are dispalyed wrongly.
as value 115 10- are in one cell in output they will be saved as one -11510 only .
But i don't understand why you are saving 115 and 10- in one cell or one column if they are two different value .
regards
Deepak.
Edited by: Deepak Dhamat on Aug 10, 2011 11:07 AM -
Error while exporting in pdf in crystal report XI
Post Author: Siddheswar
CA Forum: General
hi
I am getting the following error in crystal report XI while exporting to pdf.
The Error:
Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.
Please Help.
Thanking in advance.
Regards
SiddheswarThe stack trace is caused by whitespace in your CrystalReportViewer.jsp file. Look up SAP Note 1199025 for the resolution.
It's not related to the PDF formatting issue. There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF. But the latest version helps greatly.
Sincerely,
Ted Ueda -
Number format while export to excel
Hi All,
I have a report which contains measures with comma seperator which are fine in report but while export to excel the comma seperator hasn't been displaying in excel. But client wants to show the comma in excel
any help greatly appreciate
Thanks inadvanceHi,
Please check first the regional settings of the client. If that is not set with a comma as decimal seperator then Excel won't show the data either with a comma as decimal seperator.
Regards,
Harry
Maybe you are looking for
-
What is the recommended way to refresh a grid in a WPF app during time intervals
Hi all, I am new to WPF development, and just came across the task of refreshing a third party grid control (DevExpress) every 10 minutes. Can someone share a snippet of code on how to do this? I am taking a look at the Dispatch within a separate thr
-
Jumping back to menu after chapter has palyed
Please help me. I have been going insane trying to work this out. Here is the story. I have imported a project into dvdsp. It runs for 1hour and 45 minutes. Its of a guy playing basketball in the states. I have created four chapters which link to eac
-
Error when posting to CO via RPCATSCO (transaction CAT7)
Hi to all, when using transaction CAT7 (program RPCATSCO) in order to poste data to SAP CO, I receive some error message for some records : here is the error message : +Debit/credit indicator is inconsistent Message no. F5846 Procedure An error has o
-
IPhoto 11 very slow and hangs up the computer continuously
iPhoto 11 loaded fine and transferred all my photos. It hangs up a lot when being used. Sometime for 10 or 15 seconds. I ran Disk Utility to repait any permission issues. Still have the same problems. Sometimes it not only locks up iPhoto in a loop,
-
My iPhone 5 doesnt ring!!!!
My iPhone5 doesnt ring