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,
Nitin

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

Similar Messages

  • 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

  • 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.

  • 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...

  • 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

  • Getting Runtime error while uploading Business document (in .DOC format) to project in Solution Manger under Gen. Documentation tab (SOLAR01) .

    Hi there,
    Below are the steps that I followed to upload the business doc.
    S1: Uploading the business process related document file (.DOC) to the business process step under Gen. Documentation tab.
    S2: Providing the title, docuemtnatation type and released status for uploading the new document.
    S3:  Selecting the .DOC file to be uploaded. As soon as I try to upload the document I am getting the run time error as shown in the attachment. It is showing the short description that function Module "IW_C_PH_CLASS_VSP_GET" not found. I followed the steps to resolve this issue mentioned in the description. But still I am getting the same dump again and again. Any help will be highly apperitiated.
    Thanks and Regards,
    Rutvik Upadhyay

    Hi Rutvik,
    Please check and implement notes:
    1823986 - SYB: Improved Data Load ("ins_by_bulk")
    1605169 - SYB: SAP BW7.02 Correction Collection
    Thanks
    Vikram

  • Error While uplaoding a EXCEL file in Web dynpro - HR_KR_XSTRING_TO_STRING

    Hi,
        I am getting an error while uploading an excel file in web Dynpro application. i am using the HR_KR_XSTRING_TO_STRING this function. I am getting the following error message 'Unable to interpret    as a number'.

    First of all, are you sure you know what you are working with here.  If this is standard Excel file in the Microsoft binary/propriatery format there is not function module or class in ABAP that can magically just transform this to a character string.  You should search the forums as this has been discussed extensively.  On that topic, please also do not post duplicate threads.  I have already locked your other thread with the same basic question.
    Instead of the binary/propriatery format of Excel, the file should be saved on the client as a text based format - like XML or Text Tab Delimited. You can then use several different options on the server to convert the XSTRING to STRING and process the content (becuase it was text based to begin with).  You could use CL_BCS_CONVERT, the function modules in the function group SCMS_CONV, or the class CL_ABAP_CONV_IN_CE.

  • Error while exporting BIBean report

    I am getting following error while exporting bibean report. Can anyone tell me what is the issue?
    Mon Jun 20 18:18:09 IST 2005 PROBLEM: In oracle.dss.persistence.administration.Export::StorageManager InitializeStorageManager(String classname, Hashtable env): BIB-14418 Loaded storagemanager: oracle.dss.persistence.storagemanager.bi.BISto rageManagerImpl
    Mon Jun 20 18:18:14 IST 2005 PROBLEM: In oracle.dss.persistence.administration.Export::boolean ExportFolder(StorageManager storageManager, Attributes filterAttr s, Writer out, XMLBranch parent, Hashtable exportedNamedObjects, idHolder id) throws PersistenceManagerCancelException: BIB-14412 No access to object named: Dem o1.
    Mon Jun 20 18:18:14 IST 2005 PROBLEM: In oracle.dss.persistence.administration.Export::fireAfterEvent(): Warning: Out of events

    BIB-14412 refers to possible circular references. As you already have a posting relating to errors with a custom measure, I suspect the two errors are related. The custom measure definition is probably causing the export process to fail.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Error while exporting release build.

    I'm getting this error while exporting release build targeting iOS, running Flash Builder 4.7 and Apache Flex 4.10.0, any help would be greatly appreciated.
    Error occurred while packaging the application:
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180386950, pid=3328, tid=2472
    # JRE version: 6.0_31-b05
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode windows-amd64 compressed oops)
    # Problematic frame:
    # C  [llvm.dll+0x386950]
    # An error report file with more information is saved as:
    # C:\wamp\www\Flex\ROMCorp\bin-release-temp\AOT\hs_err_pid3328.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    Compilation failed while executing : ADT

    My application contains too much private data, I can't attach it. Just several notes about my problem:
    1. It's not reproducible in the Flash Builder 4.6 on OSX 10.6.8
    2. It's reproducible with ant build script
    3. Error is gone when I removed all <icon></icon> elements from descriptor file.

  • Error while exporting transport requests

    Dears,
    In our PI 7.1 server,configured with CTS +,We are getting below error while exporting transport requests:
    Caused by: com.sap.tc.di.draft.ts.TsExecutionException: Error executing function (check stacktrace for details): EPS_OPEN_OUTPUT_FILE, (service=com.sap.tms)
    at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoExceptions.throwTsServiceException(TmsJCoExceptions.java:74)
    at com.sap.tc.di.draft.cts.impl.adapters.jco.EpsJCoAdapter.openFile(EpsJCoAdapter.java:98)
    at com.sap.tc.di.draft.cts.impl.adapters.jco.AbapEpsOutputStream.open(AbapEpsOutputStream.java:83)
    ... 40 more
    Caused by: com.sap.conn.jco.AbapException: (126) OPEN_FAILED: OPEN_FAILED
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1492)
    at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1065)
    at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:987)
    at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:977)
    at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:300)
    at com.sap.tc.di.draft.cts.impl.adapters.jco.JCoAdapter.executeFunction(JCoAdapter.java:103)
    at com.sap.tc.di.draft.cts.impl.adapters.jco.EpsJCoAdapter.openFile(EpsJCoAdapter.java:78)
    In SE01 it show tp 12 while releasing request.
    Please suggest.
    Shivam
    Edited by: Shivam Mittal on Mar 16, 2010 1:04 PM

    File Permission Issue.

  • RrRenderingError - Error while exporting report to PDF

    Hi,
    I am getting an error while exporting SSRS 2000 report to PDF. The error message is as shown below. This is report actually by sales rep and it is working fine with all the sales rep but when i try with one sales rep  i get this error.
    Error
    Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown. (rrRenderingError) Get Online Help
    Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown.
    Object reference not set to an instance of an object.
    Please somebody help me out.
    Thanks
    Cheers
    Gigi
    cheri

    Cherian K,
    A message that indicates that the object reference is not set to an instance of the object is typically caused by one or more of the following reasons:
    There are soft page breaks within empty lists in the report.
    There are hidden groups within the report and you tried to export it to PDF.
    The report has a link to a subreport that is not published on the report server and you tried to export it to CSV.
    There are text boxes with a width and/or height of zero in the report.
    A text box is either hidden or the NoRows property is set to true.
    A text box spans table cells where some cells have a collection of null values.
    The report has static columns and/or rows and, in the Visibility properties, Hidden is set to true.
    The report has static columns and/or rows and there are grand totals in the report.
    The report has static column headings and, in the Visibility properties, Hidden is set to true.
    The matrix report has multiple columns and rows and, in the Visibility properties, Hidden is set to true and
    you tried to export to PDF or TIFF.
    Regards
    Shiv

  • Getting error while exporting the report

    Hi,
    I am facing error while exporting the report. Getting below error.
    "No data can be exported because there are no rows.Operation failed."
    how come this error is coming even though my report contains data.
    please do the needful.
    i am using the version discoverer 10g.
    Thanks,
    RC.

    I am having the same problem. I found this article in which the user was exporting 100,000 plus records and had the same issue exporting (Discoverer workbook exported to excel error - No dta can be exported and they were able to fix it by adjusting two memory settings in their pref.txt file. However, in my report there are only 1,100 records with eleven columns being returned. I export much larger reports on a daily basis.
    Originally, the report was returning records and when I would go to retrieve all records it would tell me that all the rows could not be returned and the data may be incomplete. After scrubbing my SQL I no longer get that message, but the report still will not export and I get the same error as you.
    I have not tried the pref.txt settings fix but may try it today to see if that is a workaround. I will then have to evaluate whether it is a good fix or just a band-aid.

  • Getting an error while retrieving ASO through Excel-Addin

    I am getting an error while retrieving ASO cube via Excel-Addin. when i try to expand dimension, i am getting the following msg box,
    "No message for message #1270041 in message database"
    Can somebody help me out, your help will be greatly appreciated.
    I am also making sure that the members does not exceed the 65XXXX limit even than i m getting this error.
    Secondly, how can i increas the cache value and on what parameters i should be looking for changing the cache value.
    Thanks in advance

    From the message.txt for 9.3.1:
    ##1270041 For better performance, increase the size of aggregate storage cache
    Tim Tow
    Oracle ACE
    Applied OLAP, Inc.

  • Error While uploading a EXCEL file in Web dynpro - HR_KR_XSTRING_TO_STRING

    Hi,
       I am getting an error while trying to upload a excel file.  I am using the function HR_KR_XSTRING_TO_STRING for conversion. The error message is  "Unable to interpret    as a number"

    First of all, are you sure you know what you are working with here.  If this is standard Excel file in the Microsoft binary/propriatery format there is not function module or class in ABAP that can magically just transform this to a character string.  You should search the forums as this has been discussed extensively.  On that topic, please also do not post duplicate threads.  I have already locked your other thread with the same basic question.
    Instead of the binary/propriatery format of Excel, the file should be saved on the client as a text based format - like XML or Text Tab Delimited. You can then use several different options on the server to convert the XSTRING to STRING and process the content (becuase it was text based to begin with).  You could use CL_BCS_CONVERT, the function modules in the function group SCMS_CONV, or the class CL_ABAP_CONV_IN_CE.

  • Characterset mismatch error while export

    Hi,
    I am getting characterset mismatch error while exporting a schema.
    select * from nls_database_parameters where parameter in('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET')
    PARAMETER
    VALUE
    NLS_LANGUAGE
    AMERICAN
    NLS_TERRITORY
    AMERICA
    NLS_CHARACTERSET
    AL32UTF8
    i have set nls_lang on OS level
    NLS_LANG = AMERICAN_AMERICA.AL32UTF8
    C:\oracle\ora92\bin>
    C:\oracle\ora92\bin>
    C:\oracle\ora92\bin>exp hrtemp_v6/hrtemp_v6@testdb file=c:\hrtemp_v6 statistics=
    none
    Export: Release 9.2.0.1.0 - Production on Mon May 14 11:55:58 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user HRTEMP_V6
    . exporting PUBLIC type synonyms
    EXP-00008: ORACLE error 6552 encountered
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-553: character set name is not recognized
    EXP-00000: Export terminated unsuccessfully
    please suggest , whats wrong here
    thanks & regards

    i have set nls_lang on OS level
    NLS_LANG = AMERICAN_AMERICA.AL32UTF8How and where?
    C:\oracle\ora92\bin>At this command prompt, what do you get back from "set nls"
    You can use
    c:\> set nls_lang=.al32utf8
    ...right before you issue exp command.

Maybe you are looking for