Excel export options now showing in report viewer

HI,
        I'm workin on a project and I'm having some problems when exporting to excel using crytal reports server XI. When i try to export to excel, first the excel export options is not showing. Second, when I export to excel, the columns are correctly align. it's like exported all over the place. Please help

Excel export options are not shown when exporting from the viewer in .NET.  You will need to set up the excel export options like you want them to be in the designer first under File|Export|Report Export Options.

Similar Messages

  • Excel Export Options Window

    I am using CR Basic with VB2008. Is there a way to display the Excel Export Options dialog when the user selects to export a report to Excel? I am wanting to do this through code, but is it even possible? This is the same dialog that pops up when you select to export a report to excel from within the IDE.
    Thanks,
      Steve

    The below, are the only exposed export option APIs:
    Private Sub ExportReportInExcel(ByVal reportDocument As ReportDocument, _
          ByVal fromPage As Integer, ByVal toPage As Integer)
          Dim myExportOpts As New ExportOptions
          myExportOpts.ExportFormatType = ExportFormatType.Excel
          Dim myExportFormatOptions As ExcelFormatOptions = _
          ExportOptions.CreateExcelFormatOptions()
          myExportFormatOptions.ConvertDateValuesToString = True
          myExportFormatOptions.ExcelAreaGroupNumber = 1
          myExportFormatOptions.ExcelAreaType = AreaSectionKind.Detail
          myExportFormatOptions.ExcelConstantColumnWidth = 9.5
          myExportFormatOptions.ExcelTabHasColumnHeadings = True
          myExportFormatOptions.ExcelUseConstantColumnWidth = True
          myExportFormatOptions.ExportPageBreaksForEachPage = True
          myExportFormatOptions.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage
          myExportFormatOptions.FirstPageNumber = fromPage
          myExportFormatOptions.LastPageNumber = toPage
          myExportFormatOptions.ShowGridLines = True
          myExportFormatOptions.UsePageRange = True
          myExportOpts.ExportFormatOptions = myExportFormatOptions
          reportDocument.Export(myExportOpts)
        End Sub
    The sample app vbnet_win_export.zip availbale from [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples] may help.
    The InProc RAS has the property MaintainColumnAlignment in addition to what the CR SDK has which is probably the colsest to "Maintain relative object position"
    [This|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e041f772-9d3b-2c10-a790-e3ea083a3dce] is a RAS excel export sample app.
    Developer help file is [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm].
    API reference is [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    The above are for Crystal Reports. RAS is at the following links:
    http://help.sap.com/businessobject/product_guides/boexir31/en/rassdk_net_dg_12_en.chm
    http://help.sap.com/businessobject/product_guides/boexir31/en/rassdk_net_apiRef_12_en.chm
    Ludek

  • How to change default Export Format Type in Crystal Report Viewer

    We are coding in VB.NET 2005 using the CR2008 SP1 .NET objects.
    The Crystal Report Viewer, when displayed, defaults the export type as .rpt (Crystal Reports).
    We distribute our .NET application to our customers.  99% of the time, this .rpt format is useless to our customers as they do not have crystal reports developer.  They usually export to a .pdf or .xls format.  Is there a way to default this export option to something other than .rpt?
    Thank you.

    Yes, that's as much as I figured.
    With the Crystal for .NET methods, the CrystalDecisions.CrystalReports.Engine's reportdocument object has an ExportToDisk method.  We wanted to use this (as we used something similar with the RDC) to prompt the user to export.  However, the reportdocument's exporttodisk method does not have an argument that allows for Prompting the user (true/false) like the RDC's export did.  You have to actually know ahead of time the type of export the user wants as well as the filename.  Well, we do not, and therefore, want the user to be able to select the type of export they want as well as enter their own filename.  We want the Crystal methods to prompt for this.  Since we are unable to, we've had to resort to declaring a reportviewer object and setting the viewer's reportsource = to the reportdocument.  We then use the ExportReport() method which defaults to .rpt (which none of our end users have Crystal Developer).  This is why we want to know if there is a way to reset the default export method to something more common (such as .pdf or .xls).  Is there a way to change the reportdocument's file type in order to default the export type?  Just trying to come up with some sort of workaround...
    Thanks

  • Export option in KE30 Custom report

    Hi All,
    We have custom reports in KE30 and when we execute them the output is getting displayed. But for few users they are getting the option to export the data into file in the Menu options (Report -> export) but for few it is not coming. Any idea ?

    Those users might have no authorization for export option.
    Check with your basis people,they can give these kind of authorizations for layout and export options.

  • FLV export option not showing in FCP

    i recently purchased CS5 Master Collection Student & Teacher Edition. i am told that with the installation of CS5, an flv export option should appear in FCP when using "Export QT Movie".
    Unfortunately this is not the case, neither does it appear in the FCP export menu, nor does FLV show up in Compressor, when choosing "Quicktime Export Components" from the "add" button.
    Can anyone help?

    Robs HD wrote:
    i recently purchased CS5 Master Collection Student & Teacher Edition. i am told that with the installation of CS5, an flv export option should appear in FCP when using "Export QT Movie".
    In this scenario, you don't want, Export > QT movie. You instead want, Export > Using QT Conversion. Then one of your "OPTIONS" should be "flv."
    Unfortunately this is not the case, neither does it appear in the FCP export menu, nor does FLV show up in Compressor, when choosing "Quicktime Export Components" from the "add" button.
    Can anyone help?
    In Compressor, same sort of deal: you need to set up a file with "Quicktime Export Components" selected. Not QuickTime Movie. Then set the encoder type to FLV.

  • Excel export option is not available?

    Hello All,
    We are using Crystal X1 viewer to view report in IBM WebSphare environment. It is working perfectly except one issue.
    When we click an export button it open another pop up window where the export file format can be selected. there are options to export in
    1. RPT
    2. PDF
    3. RTF
    but no Excel option.
    Is there is setting or coding that need to be adjusted.? if it is the case then please let me know where.
    Appreciate in advance for helping me out.
    Thanks

    Thanks  Aasavari for replaying.
    Actually the link you provide is for Eclipse 2.0. I am using Crystal Report X1 Version=11.0.3300.0.
    I have down loaded an other Version=11.5.3300.0. With this version, I got one extra option to export which is "Microsoft RTF(edit)  " but not Excel option.
    further investigation found that the difference is b/w two version is coming from CrystalExporters.jar.
    I tried to loo properties file but could not figure it out.

  • Where the **** are all my export options now in Quicktime X

    Don't tell me you actually removed all the pro options I had from WMV to FLASH to on2 to H264 and only gave us like 2 options to export? Where are the custom settings, the screen sizes, frame rates etc.
    Is this a joke or am I missing something? I am stuck now at work with an updates OS and now way to export movies to the formats and sizes I need. What is going on? I paid for a quicktime pro licence since quicktime had one.

    I guess this is not a joke here is the help file:
    +To convert a movie to another format:+
    +Choose File > Save As.+
    +In the dialog that appears, enter a filename for the exported movie and choose a location for the file.+
    +Choose an option from the File Format menu.+
    +iPhone or iPhone Cellular: Creates a movie that is optimized for viewing on iPhone, iPod touch, Apple TV, and desktop computers.+
    +Apple TV: Creates a movie that is optimized for viewing on Apple TV and desktop computers.+
    +Computers: Creates a larger size movie for desktop computers and Apple TV.+
    +Movie: Saves a copy of the movie with a new filename but does not change the format of the movie.+
    +Click Save.+
    So great, again where are all my export custom options I paid for. I got some deadlines now and I am totally screwed up. Great...awesome to know that you crippled Quicktime x and to learn about it AFTER an install. Great job there.

  • Can't get modulation option to show in arrange/view/hyperdraw

    I want to edit automation data for the different tracks I set up and want to do this by drawing automation data in the hyperdraw section in the arrange window. However, even after selecting view/hyperdraw/modultation, the modulation option doesn't show up for all the tracks. For some of the tracks it shows immediatly, for other tracks nothing changes and the default option (Volume) stays. I did activate the view/track automation option.
    Is this a bug in Logic? I wonder because sometimes after trying to change it many times, suddenly it works.

    Hi Sue...not Steve here...
    You don't need to lock the image first, but it can aid in not selecting it for a bit.
    Lock the image.
    Create a rectangle covering the whole image.
    Place the shape, or text, for the hole you want onto the image.
      If text, make it an outline.
    Select both shapes or the rectangle that is over the entire image and the object you want to produce the "hole" in the image with and make a Compound Path (Object > Compound Path > Make or Cmd+8 or Ctrl+8).
    Unlock the image and select both the image and the compound path, then make a mask (Object > Clipping Mask > Make or Cmd+7 or Ctrl+7).
    Take care, Mike

  • Not all export options are showing in Adobe Illustrator Draw app!?

    I downloaded the Adobe Illustrator Draw App. Did a test run on the features. Meaning i just doodled. Then i went to export However only two choices show. A copy of image to Creative Cloud and one other. There is no way to put actual file with layers so i can open it in illustrator on desktop.
    i deleted the app and re- downloaded the app. But still only 2 options show, which do not help.
    If anyone has any suggestions please let me know!!!
    Also, if can, please ket me know if this app is only for CC files on desktop?
    i have CS6 programs on desktop not CC.
    Thank you,
    Joleen

    Hi dkendall-ks,
    The "Send to Illustrator" functionality sends the file to your CC Adobe Illustrator desktop (Mac or Windows) application. For this functionality to work you need to :
    1. Have the latest CC Adobe Illustrator 18.1.0
    2. Be signed in with the Creative Cloud desktop app with the same account you are signed in your iOS Adobe Illustrator Draw app.
    Once you have completed the steps above, the artwork you send from Adobe Illustrator Draw will be opened in your desktop CC Adobe Illustrator app as vector objects (except for images that you had imported).
    Hope this helps,
    Jose

  • No Excel Export Option in CRViewer?

    I'm sure I'm missing something simple.  Excel is NOT one of the available export formats when I try to export the report from the CRViewer.  I can't find anything on dependencies, etc.  What do I need to do?  Thanks!

    <p>The JRC doesn&#39;t support exporting to Excel.  You&#39;ll have to use CSV.</p><p>It very high on the list of new features.</p><p>Sorry. <br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Cost element description now showing in Report painter

    Hi,
    I selected to display KEY and DESCRIPTION in the report layout settings for a report painter however the report is displaying only the cost element number and not the description in the rows.
    In this case, how to display the cost element description in the report painter rows?

    Hi,
    ensure that KEY + DESCRIPTION is selected in the layout settings. Description will only appear if it is maintained in the logon-language (means if your logon language is EN but cost element texts are not maintained in EN no descripiton can be seen).
    best regards, Christian

  • Report Document not show on Crystal Report Viewer in C#

    My program is modified from VB.NET. Now I struck with Crystal Report that Crystal Report Viewer didn't show Report Document.
    Printing code is composed of two forms. One assign parameters and objects need. Other is Crystal Report Viewer form, CrystalReportForm. Last one run report by parameter from the first.
    When run this code that it didn't found any error but the problem is no report show on Crystal Report Viewer on second form. It just blank Crystal Report Viewer. There arm't any message response.
    Here is my code.
    // report caller form.
    private void Print()
       CrystalReportForm rptForm = new CrystalReportForm();
       string[] strtbl;
      strtbl = new string[1];
       string[] strqry;
      strqry = new string[1];
       // prepare var
       string myqry;
       string myrpt;
       // Pass The Table That you used in the crystal Report
      strtbl[0] = "r_receipts";
       // Pass the Query
      myqry = "SELECT * FROM r_receipts";
      myrpt = "rptReceipts.rpt";
      strqry[0] = myqry;
       //Pass For Mdi True
      rptForm.MdiParent = this.ParentForm;
      rptForm.ViewReport(myrpt, strtbl, strqry, "");
       //Parameter Value It is Optional
      rptForm.Show();
    // Crytal Report Viewer form.
    public void ViewReport(string ReportName , string[] TableName, string[] QueryString , string Parameter = "")
       //Me.MdiParent = mainpage;
       if (TableName.Length  != QueryString.Length  )
       MessageBox.Show("Passed Variable Are Not Correct", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
       return;
       CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
       CrystalDecisions.Windows.Forms.CrystalReportViewer crv  = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
      crv.ActiveViewIndex = 0;
      crv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
      crv.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
      crv.Dock = System.Windows.Forms.DockStyle.Fill;
      crv.Location = new System.Drawing.Point(0, 0);
      crv.Name = "CrystalReportViewer";
       MySqlDataAdapter at =new MySqlDataAdapter();
       DataSet ds = new DataSet();
       for (int i = 0; i < TableName.Length; i++)
      at = GetDataAdeptor(QueryString[i]);
      at.Fill(ds, TableName[i]);
       string rptPath  = "";
      rptPath = Application.StartupPath + "\\" + ReportName;
      rpt.Load(rptPath);
      rpt.SetDataSource(ds);
       if (Parameter != "")
      rpt.SetParameterValue(0, Parameter);
      crv.ReportSource = rpt;
      crv.Refresh();
       //CrystalReportViewer.DataBind();
       //Me.Panel1.Controls.Add(CrystalReportViewer);
       Panel panel1 = new Panel();
      panel1.Controls.Add(crv);

    Hi Bhushan,
    It's not yet fixed. My dataset (ds) can't bine to DataGridView as
    DataGridView1.DataSource = ds
    But it could do like this
    DataGridView1.DataSource = ds.Tables[0];
    When I bine to Crystal Report Viewer setdatasource
    CrystalReportViewer1.setdatasource = ds.Tables[0];
    It still not work, anyway you suggest let me in the right way. I very confuse the thing I fix to bine to DataGridView
    Thank,
    Chaiwat

  • Error With Export/Print from Crystal Report Viewer

    Hello there,
    I've searched through the web and SAP discussion boards with not much luck with this issue.
    After working through this for some days now I've decided to look here for help.
    Environment:
    I have created a web Crystal Report viewer application(Developed with SBOP BI Platform 4.0 SP06 .NET SDK Runtime) that communicates with a managed Cyrstal Server 2011 SP4 (Product 14.0)
    I am able to connect and authenticate with the server, retrieve a token for communication and display reports in the Crystal report Viewer successfully.
    Problem:
    When I attempt to export, I receive the prompt to select format and pages.
    When I click export after selections most times I receive an error with the text
    Unable to cast COM object of type 'System.__ComObject' to interface type 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{74EEBC42-6C5D-11D3-9172-00902741EE7C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    Other times the page simply refreshes on export.
    When I click to print, no print dialog is displayed the page always refreshes and no error is displayed.
    No Print or Export document is ever created.
    As many print/export issues seems to be related, I'm guessing this two issues are as well.
    Notes:
    I am utilizing the ReportClientDocument model
    I am storing this in session to use as the crystal report viewer report source on postbacks
    I am assigning a subset of export formats to the crystal report viewer
    I am setting particular parameters as well on the report source
    At this point I would appreciate every assistance I may receive on this issue
    Thanks in advance,
    Below is the pertinent code
    Code:
    <aspx>
       <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
       AutoDataBind="true" EnableDatabaseLogonPrompt="False"
       BestFitPage="False" ReuseParameterValuesOnRefresh="True"
      CssClass="reportFrame" Height="1000px" Width="1100px" EnableDrillDown="False"
      ToolPanelView="None" PrintMode="Pdf"/>
    <Codebehind>
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using CrystalDecisions.Enterprise;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.Shared;
    namespace ClassicInternalReportPage
        public partial class Reports : System.Web.UI.Page
            protected override void OnInit(EventArgs e)
                base.OnInit(e);
                if (!String.IsNullOrEmpty(Convert.ToString(Session["LogonToken"])) && !IsPostBack)
                    SessionMgr sessionMgr = new SessionMgr();
                    EnterpriseSession enterpriseSession = sessionMgr.LogonWithToken(Session["LogonToken"].ToString());
                    EnterpriseService reportService = enterpriseSession.GetService("RASReportFactory");
                    InfoStore infoStore = new InfoStore(enterpriseSession.GetService("InfoStore"));
                    if (reportService != null)
                        string queryString = String.Format("Select SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS "
                           + "Where SI_PROGID='CrystalEnterprise.Report' "
                           + "And SI_ID = {0} "
                           + "And SI_INSTANCE = 0", Request.QueryString["rId"]);
                        InfoObjects infoObjects = infoStore.Query(queryString);
                        ReportAppFactory reportFactory = (ReportAppFactory)reportService.Interface;
                        if (infoObjects != null && infoObjects.Count > 0)
                            ISCDReportClientDocument reportSource = reportFactory.OpenDocument(infoObjects[1].ID, 0);
                            Session["ReportClDocument"] = AssignReportParameters(reportSource) ? reportSource : null;
                            CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
                            CrystalReportViewer1.DataBind();
                //Viewer options
                // Don't enable prompting for Live and Custom
                CrystalReportViewer1.EnableParameterPrompt = !(Request.QueryString["t"] == "1" || Request.QueryString["t"] == "4");
                CrystalReportViewer1.HasToggleParameterPanelButton = CrystalReportViewer1.EnableParameterPrompt;
                CrystalReportViewer1.AllowedExportFormats = (int)(ViewerExportFormats.PdfFormat | ViewerExportFormats.ExcelFormat | ViewerExportFormats.XLSXFormat | ViewerExportFormats.CsvFormat);
            protected void Page_Load(object sender, EventArgs e)
                if (IsPostBack && CrystalReportViewer1.ReportSource == null)
                    CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
                    CrystalReportViewer1.DataBind();
            private bool AssignReportParameters(ISCDReportClientDocument reportSource)
                bool success = true;
                if (Request.QueryString["t"] == "1" || Request.QueryString["t"] == "2" || Request.QueryString["t"] == "4" )
                    reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "STORE", Session["storeParam"]);
                    if (Request.QueryString["t"] == "2")
                        reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "FromDate", Request.QueryString["fromdate"]);
                        reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "ToDate", Request.QueryString["todate"]);
                else if (Request.QueryString["t"] == "3")
                    reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "SKU", Request.QueryString["sku"]);
                else
                    //Unknown report type alert
                    success = false;
                return success;

    Thanks Don for your response,
    I'm new to the SCN spaces and my content has been moved a couple of times already.
    In response to your questions
    The runtime is installed on the web application server, if by that you mean the machine hosting the created .NET SDK application.
    My question was whether it was also required on the Crystal Server 2011 (I.E. the main enterprise server with CMS and Report management and I guess RAS and all that). I figured this would remain untouched and queries would simply be made against it to retrieve/view reports e.t.c
    If install of the SDK on Crystal Server 2011 is indeed required should I expect any interruption to any of the core services after a restart. I.E. I'm hoping that none of the SDK objects would interfere with the existing server objects (in SAP Business Objects)Reason I ask is I note that much of the SDK install directories are similar to the existing Crystal Enterprise Server 2011 (Product 14.0.0)
    Is this temp folder to be manually created/configured or is it created by the application automatically to perform tasks. Or are you referring to the default C:\Windows\Temp directory and so saying that the application would try to use this for print and export tasks?Once I'm sure which I'd give the app pool user permission
    Printing is to be client side but I figured by default (with the Crystal Report Viewer) it would simply pool and print from the user's printer. This is how it works with the previously used URL reporting approach (viewrpt.cwr). Therefore a user can print the document from wherever they are with their own printer.We don't intend on printing from the server machine, but are you suggesting that a printer must be installed on server (which one web or enterprise server) for any client side printing to work.
    App pool is running in 32 bit mode
    Initially didn't get anything useful from fiddler but I'd try and look closer on your suggestion.
    It's also possible that some of my questions are a misunderstanding of APP vs RAS vs WEB, so please feel free to clarify. Currently I see the Web server as simply the created .NET SDK Application and RAS (Crystal Server 2011 e.t.c) as the existing fully established Application server which I simply pool for information.
    Thank you for your patience and advice,

  • Excel spreadsheet export doesn't show chinese characters properly

    Hi all.
    I've created the excel export option following the steps in Bex's book, and it's working fine, but I'm not able to export results in UTF8. I'm facing problems when the dDoctitle for some documents is in chinese.
    So far, I've tried adding the charset <$setContentType("text/csv; *charset=UTF-8*")$>, but it doesn't seem to work. I've also tried setting different content types and charsets without success.
    Any idea?
    Thanks in advance.

    Yes, I have it and I can see other chinese websites. Moreover, in Content Server, I see correctly (in chinese) the dDoctitle field i'm trying to export. In fact I've written some titles in chinese just to test it. It's in the csv file where I see the strange characters.
    Thanks.

  • SQL Report Viewer Web Part Not displaying Report

    I have just completed updating an old report using report builder 3.0. I have added it to SharePoint Designer but have not replaced the old report file. 
    Any help is greatly appreciated!!
    All I did was export the old report from sharepoint designer to my desktop. Then opened it with Report Builder 3.0- made changes to the report and saved it with a different name (for safety in case i break things) and then upload it back to the same place where
    the old report was located using SP Designer. I then went back to the site in sharepoint that is displaying the old report, and changed the URL path in the SQL report viewer to the new report. 
    Now the SQL Report Viewer web part isn't showing anything (blank)

    Dear Form Moderator,
    This question is already asked in sharepoint forum so please don't move this sharepoint forum. Here is link of thread:
    https://social.technet.microsoft.com/Forums/en-US/3796da85-fbb4-4722-a5d0-724859f7d4ae/sql-report-viewer-web-part-not-displaying-report?forum=sharepointgeneralprevious
    Here is the one more duplicate thread link in same forum. So either you can merge both OR delete one.
    https://social.technet.microsoft.com/Forums/en-US/259d2586-ed4a-4f47-a808-877d4621d9f2/report-builder-30-sql-report-viewer-web-part-not-displaying-report-in-sharepoint?forum=sqlreportingservices
    [SharePoint Forum Moderator]
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for