Repeated column headers in Crosstab report when exported to Excel

I have created a Cross tab report and wanted to export it in the format "Microsoft Excel(97-2003) (*.xls)", as the formatting of the report is lost in Excel  Data Only format. But when I export the data the column headers are repeated in the Excel. Is there any solution to avoid repeated column headers without losing the formatting of layout?

I suppose one answer we should have before anything else;
Does the export work from the CR designer?
You may also want to see the following:
How to WYSIWYG SAP Crystal Reports Export to XLS
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • Reports output delayed when exported to Excel using OLE2

    Hi All,
    Platform - Oracle Application Server 10g Release 2 10.1.2.3 on Windows 32 bit.
    The report output is getting generated in a minute when exported to PDF i.e destype=cache & desformat=pdf. When we generate the output to excel is considerably delayed. It is taking time and internal server error is occuring.
    1) Report developed with simple query
    2) Used RPT2XLS procedure which uses OLE2 builtin to export report output into excel.
    3) Called RPT2XLS.run procedure in After-Report trigger of the report.
    4) We have relased all memory objects in the RPT2XLS package after exporting data and there is no EXCEL.exe running once the file is generated.
    System parameters used in the URL.
    . destype=file
    desformat=pdf
    CONTAINSOLE=yes (Required for exporting OLE2 objects into Excel in report)
    desname=path & name of the file.
    I have gone through the tuning documents for reports server and increased minengine, maxengine and initengine parameters of the reports engine and also changed maxconnect and IdleTimeout parameters in reports server configuration file.
    What might be the reason for delaying in the output of the reports when exported to Excel. Can the guys with special knowledge on this area help us in getting out of this issue.
    Thanks in advance.

    hey all,
    Thanks everyone for the reply.
    I am using the foloowing field cat:
    l_col_pos = l_col_pos + 1.
        wa_fieldcat-col_pos = l_col_pos.
        wa_fieldcat-outputlen = 32.            
         wa_fieldcat-fieldname = 'SOLLWERT'.
         wa_fieldcat-inttype   = 'P'.             
    *    wa_fieldcat-tabname = 'i_final'.      
        wa_fieldcat-seltext_l = text-t11.         "Target Value
        APPEND wa_fieldcat TO i_fieldcat.
        CLEAR wa_fieldcat.
    I have use this also in the field cat but stil i get space in the excel header.
    wa_fieldcat-REF_FIELDNAME = 'SOLLWERT'.
    *    wa_fieldcat-REF_TABNAME =  'QAMV'.
    Also the space comes with the descrip[tion in the cell of excel.
    its like [space Target Value] and i dont need this Space.
    I have also used  wa_layout-colwidth_optimize = 'X'. but it doesnt wrk.
    Please suggest

  • Supress Column headers in Crosstab on page 2+

    I have a crosstab report that spans multiple pages.  We export it to Excel for analysis, and never (or very rarely) print it.  We have to delete the column headings on page 2+ once it is in Excel.  Is there some way to supress those headers so that they only print once (on page 1)?

    Jyothi Yepuri 
    I do not have a problem with the Row labels, but rather the column labels.  I have already unchecked the box you refer to.
    sjain & MisraP
    Thanks for this idea.  I right-clicked on the column header field in the cross-tab, chose format, and conditionally suppressed the field.  This prevents the field (date in my case) from displaying, but it still prints an empty line when exporting to Excel, which is less than ideal.  I'm wondering if I can trick CR to think that my page is 500 inches tall.
    Carl Sopchak
    I've used your idea on other reports, but unfortunately that works on the Page Header section of the report.  Since the cross-tab sits entirely in a Report/Page Header/Footer, this trick will not solve my particular problem.
    Edit: I was able to customize the page size to be 23.62" tall, but the report still ends up as two pages tall.
    Edited by: M Anderson on Sep 22, 2009 6:54 PM

  • Megge column when export to excel

    User is requesting Excel column header to split for infoobjects that are displaying key & text. See attachment showing the column header splitting.
    (Currently all key & text headers merge when exported into Excel apart from last object in row.

    Hi,
    this is not posibble. You can switch on the parameter REPEATED_TEXTS_DISPLAYED at the Analysis Item, but this only repeats the characteristic values, not the headers.
    The export to Excel shows the same as you see in the Analysis Item in Web.
    best regards
    ARNE

  • Crystal Report 2008 doesn't set  page size when export to excel file

    Hi,
    I am using Crystal Report 2008 Developer edition.
    At Crystal report design time setting the below page setup:
    Page Options -
       to A3(297X420 mm)
    Orientation --- Landscape
    and using the following code in .net (c#)
    I am using below format options to export in excel in .net 2005
    ReportDocument oReport = new ReportDocument();
    oReport.FormatEngine.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    oReport.FormatEngine.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA3;
    if (aParamlist.ReportFormat == ReportFormatEnum.MicrosoftExcel)
    ExcelFormatOptions excel = new ExcelFormatOptions();
    excel.ExcelUseConstantColumnWidth = false;
    // Use detail section one as a guideline to determine column width
    excel.ExcelAreaGroupNumber = 1;
    //excel.ExcelAreaType = AreaSectionKind.Detail;
    excel.ExcelAreaType = AreaSectionKind.Detail;
    // Prepare exporting options
    ExportOptions export = oReport.ExportOptions;
    export.FormatOptions = excel;
    export.ExportFormatType = ExportFormatType.Excel;
    oReport.Export();
    when export to excel it doesn't set the Paper Size to  A3(297X420 mm).
    Is there any way to set the paper size while export to excel or in other formats also????
    Thanks & Regds,

    Hi,
    thanks for your email.
    This is not happening in development environment.It is setting the paper size anf paper orientation properly.
    this is happening in the production environment where only redist installation is done.
    thanks

  • Merge columns when exporting to excel data only

    Hi,
    I have a report with headers in fowling format.
             Quantity         |
    first day   |  last day |
    When exporting to excel data only I want output in following format and want to merge upper header cells.
    Quantity
    First Day
    Last Day
    Please reply.Thanks.

    Hi,
    You can achieve this requirement Please follow the below document.
    How to WYSIWYG SAP Crystal Reports Export to XLS
    I hope this is the best formatting example suited for this requirement.
    Ludek thanks for preparing this document and sharing with us......This is the best formatting ex.
    Refer Link: Crystal Reports Crystal to Excel
    Thanks,
    DJ

  • Missing report header when exporting to Excel

    When exporting to Excel from an ASP.NET application (Visual Studio 2003), some reports do not include the report header section.  The reports headers are there when exporting to PDF.
    I cannot see any obvious difference between the reports that export the report header and those that do not.  I believe that I have the latest service pack.

    I am using Microsoft Development Environment 2003 Version 7.1.6030.  The About Box only says Crystal Reports for Visual Studio .NET.  It does not show a version number.
    I have not been able to find any information regarding ExportHeaderAndFooter or even ExportHeader.  They do not appear to be options in this version of Crystal.
    I have tried reducing the report header to a simple text object that works OK on another report but it will still not export on this one.  The report footer does export OK though.

  • Lost collapsing columns when export to excel

    I have created a report with row grouping, works correctly working in Report Server Browser, 
    after export the report to excel, when clicking on the + in Excel only 1 or 2 of about 100 lines appears, or there is no + head to click for other groups
    a similar report works when exported to excel.
    any solution what to do or whats possibly wrong?
    thank you

    Hi Karl,
    According to your description that you are experiencing the issue when you export the report to excel, drill down report not display all the fields after expand the "+"and some group which should have "+" not shown, right?
    I have tested on my local environment and can’t reproduce the issue, the issue can be caused by the incorrect setting of the visibility and also can be related to the excel rendering.
    Microsoft Excel has limitations with how it manages hidden and displayed report items when they are exported. Groups, rows, and columns that contain report items that can be toggled are rendered as Excel outlines. Excel creates outlines that expand and collapse
    rows and columns across the entire row or column which can cause the collapse of report items that are not intended to be collapsed. In addition, Excel's outlining symbols can become cluttered with overlapping outlines. To address these issues, the following
    outlining rules are applied when using the Excel rendering extension:
    The report item in the top-left corner that can be toggled can continue to be toggled in Excel. Report items that can be toggled and share vertical or horizontal space with the report item that can be toggled in the top-left corner cannot be toggled in
    Excel.
    To determine whether a data region will be collapsible by rows or columns, the position of the report item that controls the toggling and the position of the report item that is toggled are determined. If the item controlling the toggling appears before
    the item to be toggled, the item is collapsible by rows. Otherwise, the item is collapsible by columns. If the item controlling the toggling appears beside and above the area to be toggled equally, the item is rendered with row collapsible by rows.
    To determine where the subtotals are placed in the rendered report, the rendering extension examines the first instance of a dynamic member. If a peer static member appears immediately above it, the dynamic member is assumed to be the subtotals. Outlines
    are set to indicate that this is summary data. If there are no static siblings of a dynamic member, the first instance of the instance is the subtotal.
    Due to an Excel limitation, outlines can be nested up to 7 levels only.
    Article about the show and hide in the excel for your reference:
    http://msdn.microsoft.com/en-us/library/dd255234.aspx
    Thanks for your understanding.
    Regards
    Vicky Liu

  • No column heading in second page in alv report when save in excel file

    Hi Expert,
    How can i remove the column header from Alv report when program execute in background and save in excel file right now
    its comming column header in each page. Client dont want header column in excel from second page. is this possible?
    with regards
    chandan_viji

    Hi Ravi,
    thanks for reply i have solved this problm throug line count and NEW-PAGE LINE COUNT 10000 bcoz client want output in excel file only one page header.
    with regards
    chandan_viji

  • Hidden report items with toggle are visible in Excel when a report is exported to Excel.

    Hi
    I have  4 Bar charts and 4 text boxes in one report in SSRS Report . These charts  are hidden based on parameters. I have one visible chart and one text box when report is rendered .
    When report is exported to excel  4 charts  are visible. Each Bar chart has one textbox in toggle box.  If I set toggle to None  all hidden charts  will be invisible in excel file.
    I used   iif(Globals!RenderFormat.Name=" EXCEL",False,True)
     but it does not work when the chart is toggled by a text box.<v:shape alt="" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:6in;height:396pt;"
    type="#_x0000_t75"></v:shape>

    Hi Katherine
    Thank you for your quick response.
     I am working with three versions .(SQL SERVER 2008, 2008 R2 and  2012)
    I designed all reports  in SQL Server 2008 and  uploaded them in other versions.
    For example, I have a chart that it is invisible when the report is initially run.
     I want to hide this chart in excel when I export  it to Excel format.
    In SQL Server 2008: If  the toggleitem of a chart sets to a text box  the chart is visible in excel when it is a hidden item  in the report .
    I checked in PDF and word format  it is fine and  hidden items  are not displayed.
    There is  this scenario  for SQL Server 2008 R2  and  SQL Server 2012. I tested  Globals! RenderFormat  in two versions but it  does not
    work. The main  issue is  toggleitem. If I remove toggleitem  from  hidden items  they are invisible in three versions when they are exported to Excel. I  am not sure if I design report in Sql Server 2008 R2  I can hide some
    report items with toggle in Excel format or Not?
    Thanks 

  • Header of ALV with space when exported to excel using Standard ALV

    Hi,
    I am Using Reuse alv grid display    to dispaly my report and it works fine and I am using the standard SAP application tool to export it to excel.
    But for some of the header fields I am getting space in the excel sheet but there is no space while displaying through ALV.
    I am using the following field catalog for the same.
    wa_fieldcat-col_pos = 10.
      wa_fieldcat-fieldname = 'SOLLWERT'.
      wa_fieldcat-seltext_l  = 'text-t10'.      "Target value (* this has no space here)
      wa_fieldcat-outputlen = 32.
    wa_fieldcat-colwidth_optimize = 'X'.
      APPEND wa_fieldcat to it_fieldcat.
    but there are still space for this Colomn when exported to excel if after optimizing the column.
    kindly suggest what field needs to be passed to the field catalogoe to avoid spaces in excel for the header.
    Thanks
    Ritesh

    hey all,
    Thanks everyone for the reply.
    I am using the foloowing field cat:
    l_col_pos = l_col_pos + 1.
        wa_fieldcat-col_pos = l_col_pos.
        wa_fieldcat-outputlen = 32.            
         wa_fieldcat-fieldname = 'SOLLWERT'.
         wa_fieldcat-inttype   = 'P'.             
    *    wa_fieldcat-tabname = 'i_final'.      
        wa_fieldcat-seltext_l = text-t11.         "Target Value
        APPEND wa_fieldcat TO i_fieldcat.
        CLEAR wa_fieldcat.
    I have use this also in the field cat but stil i get space in the excel header.
    wa_fieldcat-REF_FIELDNAME = 'SOLLWERT'.
    *    wa_fieldcat-REF_TABNAME =  'QAMV'.
    Also the space comes with the descrip[tion in the cell of excel.
    its like [space Target Value] and i dont need this Space.
    I have also used  wa_layout-colwidth_optimize = 'X'. but it doesnt wrk.
    Please suggest

  • SQL Server 2014 Reporting Services export to Excel

    Hello,
    We recently upgraded to SQL Server 2014 from 2008 R2.
    In SSRS With the new version of SQL Server we are having an issue with the Cell Border Expression logic when exporting to Excel.
    This Cell is a Grouped By Column on the Staff ID
    Here is the expression for the Cell Border
    BorderStyle:
              =IIF(Fields!StaffParttime.Value = "Y", "Solid","None")
    The report renders correctly however when exporting the report the Border is not correct in the spreadsheet.
    Example:  Cell 1 Parttime = "N" there is no border, Cell 2 Parttime = "Y" there is a border, Cell 3 Parttime = "N" there is a border
    Cell 3 should not have a border, also the subsequent sheets all have borders when they should not.  Once the border is set it does not change.
    Has anyone had this same/similar problem and if so what was your resolution?
    Thanks

    Hi Jrod T,
    Based on your description, you are experiencing an issue with the Cell Border Expression logic when exporting the report to Excel, you can’t see the expression added for the Border Style (=IIF(Fields!StaffParttime.Value = "Y", "Solid","None")
    ) work fine in the recently upgraded SQL Server 2014, right?
    I have tested it on my local environment in both the early version and the later version and reproduced the issue in SQL Server 2014.
    The issue due to in the earlier versions of Reporting Services (2005), there was limited support for translating expressions in RDL to Microsoft Excel formulas. But in the newly version, when you export a report to Excel, RDL expressions will not translated
    to Excel formulas, So in the version 2014 the expression will not work.
    Below links of articles are for your reference about more details:
    http://msdn.microsoft.com/en-us/library/ms143380%28v=sql.100%29.aspx
    https://connect.microsoft.com/SQLServer/feedback/details/684666/excel-formulas-not-supported-in-reporting-services-export
    http://msdn.microsoft.com/en-us/library/dd255234.aspx
    Regards
    Vicky Liu

  • Formatting lost when exported to excel

    When I export a worksheet results to excel the formatting is being lost like in my worksheet I wanted a line and space for every grouped item which is lost in excel sheet. Is there a way get around for this ?
    Thanks

    Not exactly sure what formatting you're having a problem with, but I'll list some of the points I can think of, of exporting to Excel and will hopefully cover it. I believe you may be referring to point 1 below, but just in case ...
    1. If you have group sort on for a column or more, then when exported to Excel, you won't have those 'blank' values for the column(s) that's grouped. That's why when you know someone will be exporting to Excel, it's a pain as all group sorts are usually taken back off (which can screw up exactly what you're trying to point out in the workbook).
    2. If you have a page -> item (ie: lots of values you pull down like a LOV), then I believe, that you won't get an Excel worksheet for each value in the LOV but only for the one currently displayed when you performed the File -> Export.
    3. When you export to Excel, you only get actual values, no functions of how it was calculated (ie: it'll be static, not dynamic).
    4. You can export to Excel using Plus and might not get the formatting characteristics you want in Excel. I've seen users specifically bring up Viewer just to get the formatting characteristics (colors, fonts, etc.) when they export from that Disco version.
    5. Sometimes when you export from Disco to Excel, that actual value that gets posted in Excel is different. I know ... it sounds wierd, but it's a fact. The problem is NOT Disco, but is a problem with Windows and a setting has to be altered (although I'd have to hunt what that setting is now though). However, I've only seen this happen a few times, so definitely not the norm.
    Russ

  • SSRS 2012 Conditional Formatting Color Issues When Exporting to Excel

    Hi all,
    We recently upgraded to SQL 2012 from SQL2008 R2. I'm having a strange issue with SSRS2012.
    One of the report has conditional formattings on cell background colors. Everything works fine when render the report in browser or preview mode. However, the conditional formatting stop working when export the report to Excel (no issues if
    export to pdf). All cells are high-lightened with pre-defined color although it should only high-lighten those cells that fulfil the condition.
    Has someone encountered this issue before ? Thanks for any help.

    Hi ZZ02,
    I have test the scenario in my testing environment, however, everything goes well when exporting to Excel format. The issue might be related to the expression for the conditional background color. To make further analysis, please post the expression as well
    as the report design structure.
    Additionally, in SQL Server 2012 Reporting Services, the Excel rendering extension renders a report to the native format of Microsoft Excel 2007-2010, the format of which is ExcelOpenXML. By default, the previous version of the Excel rendering extension,
    compatible with Microsoft Excel 2003, is disabled. At this time, I suggest that you enable the Excel 2003 rendering extension by modifying the RSReportServer.config file. After that, the Excel 2003 rendering format will be available on report manager (not
    available in Report Designer). So, please export the report from report manager and check the result again.
    For more information about enable the Excel 2003 rendering extension, please see:
    http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/0713de27-dcc0-4e51-81ac-5272647d171f
    Regards,
    Mike Yin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here. 
    Mike Yin
    TechNet Community Support

  • Sql server reporting services + export to excel + embedded images

    Hi all,
    i got a problem when exporting to excel in ssrs 2008.
    i use embedded image in the report. but when i export the report to excel, image is being exported but its width is being changed to size 0 .
    but when i click on it and expand it explicitly in excel it is being expanded .
    how to make the image by default to its actual width?
    how to fix this problem ?

    Hi sudeep Puvvadi,
    Based on the information posted, I have a test with SQL Server Reporting Services 2008 (SSRS2008) and Microsoft
    Excel 2010 by the following steps:
    From the Toolbox window, drag the image to the top edge of the design surface.
    In the image Properties dialog box, select Embedded from the Select The Image Source drop-down list.
    Click import, and select a BMP file from my local computer.
    Right-click the image, select Image Properties. In Size category, select Original size.
    Export the report to excel.
    When opening the excel file, the image displays with original size rightly. So I suggest you to add an image with
    the same steps above, then checking whether the image shows correctly. If it still cannot work fine for you, could you please give me a feedback and tell me related settings, so that I can reproduce the scenario exactly and provide further assistance?
    Thanks,
    Lola Wang
    Please remember to mark the replies as answers if they help.

Maybe you are looking for

  • How to change the folder name in KM

    Hi All, As a Enduser I have a got a role who can create His/Her own folder to dump the documents. Now my requirement is to change the folder which i have created before...... It may be root folder or Mid folder. Please throw some light on this issue.

  • How come I only have 12gb  free on my iPad but its a 16gb iPad, I got rid of my iCloud but I still have the same problem.

    I thought maybe it was iCloud, since that took up 5gb, but it's not, because I deleted it.

  • Issues while starting Weblogic 10.0

    I am using Weblogic 10.0 that comes embedded with BEA weblogic studio. It was running fine but when i tried to redeploy the EAR, I got an error. Please help in resolving the issue. Thanks in advance. PFB the error logs: ####<Jan 13, 2009 11:38:17 AM

  • Ad hoc queries in XI on XML messages ?

    I often have to get information out of several messages in XI, is there a way of querying a group of XML'S. For the value in a field or multiple fields ? (ie give me the value of <tag_ID> in these 3 messages) Or searching for a particular message by

  • Hi bdc

    hi i have uploaded data from flat file for VA01 successfully. now system generates sales order no automatically after uploading data. i want to show this sales order no in bdc report. the difficult is that sales order no vbeln itself is a primary key