Problem when report is exported to excel

HI gurus,
I have one formula in report which gives one number as output.But in report it displays some hardcoded text which has been populated through WAD with the help of classes and interfaces.
So now the report displays the text on web.But when exported to ms excel the actual output(number) of formula is downloaded.
I want that text to be downloaded in excel.Please let me know if it is possible.Plz reply if problem is not clear.
Regards,
Prasanna.

Hi,
i wil mail you a javascript. give me your id, i can paste it here. But this will only load data for the current page. This is somewhat a work around. BUt this is just  for the current page.
If you need entire stuff, raising an OSS message can help, but i believe SAP is already aware of the same.
Just check whether an OSS note already exist.
Regds,
Shashank

Similar Messages

  • 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 

  • Reporting and exporting to Excel in SharePoint Online

    Hi
    I've developed a SharePoint site to replace a legacy Access database that dealt with consumer complaints and queries. In the Access database I'd developed a feature that allowed users to filter the complaints by a number of criteria and export them to Excel
    and I'm trying to do the same in SharePoint.
    If it were on-premises SharePoint I'd just create a parameterised SSRS report which would solve all my problems. However being SharePoint online, this is not an option. I'd like the users to be able to select complaints from any date range, for any category
    of complaint and for any product supplier (plus a few other criteria). The idea is that they want to be able to then send the filtered data to individual suppliers. Doing this out of the box with views throws up several problems. The main one is that any export
    to Excel of a view exports the entire set of data, meaning that users themselves would need to create a new view for every export they wished to perform, which is not practical.
    My question is: what is the best way in SharePoint online to export a filtered subset of a list to Excel?
    I can use SharePoint designer, but not C# in order to achieve the goal. We also have SharePoint Online Plan 2 if that makes it easier.
    Thanks in advance,
    Duncan

    Hi Duncan,
    Well its easy to Reporting and exporting to Excel in SharePoint Online,
    See the Youtube link below and other links for more descriptions.
    Office 365: Synchronize Excel with SharePoint Online
    Reporting and exporting to Excel in SharePoint Online
    Thanks
    Indul Hassan (www.indulhassan.com)

  • Problem with numeric columns when ADF table exported to Excel

    Hi,
    We have a ADF table on a page which can be exported to excel spreadsheet using the <Af:ExportCollectionActionListener>. The adf table is within panel collection.
    There are many numeric columns in this table and there is <af:convertnumber> used on these columns. No other properties are changed on the <af:convertnumber> tag, everything is default. And no formatting is applied on the view object attributes as well. When a user from US is exporting the table to excel everything works well no issues. But a Netherlands or French user exports the excel, the numeric values which have decimal point are shown as left aligned and the whole numbers in the same column are right aligned. As a result when the user is trying to sum the entire column only the right aligned numbers are getting added.
    I am not sure what is the issue here ?
    HAs someone seen this scenario before ?
    Am I missing anything here - any property setting ?
    The numbers are shown like this in the excel exported from table.
    4,077.78
    3,555,34.12
                        1,234
                        19,219
    3,4445,33.22
    Jdev - 11.1.2.3
    Thanks

    Add a decimal to the whole number columns to make all columns left-aligned. Do all left-aligned columns get added?
    4,077.78
    3,555,34.12
    1,234.00
    19,219.00
    3,4445,33.22

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

  • 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

  • Crystal Reports 9 Export To Excel 2007

    Hi All,
    We are using Crystal Reports 9 designer in VB6 to create our reports.
    When report is generated and siplayed on the screen, the option to export the report to Excel only gives the option of Microsoft Excel 97 - 2000. We are looking to upgrade to Microsoft Office 2007.
    Question: Is there any way to update Cyrstal to allow the ability to export the Crystal Report to Excel 2007?
    Is there any dll that can be applied to present the Office 2007 export option capability?
    I am doing this to determine if Crystal Reports 9 would be able to ulitize Office 2007.

    Hello Don,
    The problem is that Excel 2007 is not offered as an option to export to to. If we upgrade to Office 2007, we need to be able to select this. The Microsoft 97 - 2000 would not work as Excel would be 2007. We don't want to have to created as Excel 2000 and then have Excel 2007 convert it. We are looking for a way to have Crystal 9 have the ability to export to Excel 2007 directly.
    Is there any upgrade to Crystal 9 that would allow Excel 2007 as an export option or would we have to upgrade to a different version of Crystal? We are trying to avoid upgrading Crystal since this would require purchasing multiple developer licenses and the report would have to be recreated using the upgraded version report designer in VB6.
    Edited by: cpscott on Feb 20, 2010 12:44 AM

  • Why authorization needed when accesing an export in excel from Bex

    Hi Experts,
    Before upgrade to version 7.0 when our user export a report to excel is
    neccessary enter user and password, the issue is that not everybody
    have a user therefore so they cannot see the excel.
    This problem is due to the icons are in the server and in the excel
    there are links to these icons of the server.(for example the icon of the hierarchy node)
    If you configurate the excel to not load the icons the issue disappears
    In Microsoft Excel
    Select tools->Options->General->Web Options->General tab
    and unmark the flag "Load pictures from Web pages"
    But this solution is not always available for all users due to different excel plug-ins installed in their local computers.
    Our questions are:
    1.- How can we avoid these icons in the future?
    2.- Why these problems occurs since the upgrade to SAP BW 7.0?
    3.- Is there any option to insert the icons instead of having links?
    Thanks in advance

    Hi Reddy,
    it has been some time ago you have posted this issue so I'm not sure if you still need a solution for this issue.
    Anyway, I assume you have found the manual regarding the export to excel, csv and pdf for Visual Composer (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123)
    We also had issues with the export funcationality described in the document. I don't recall the exact error message.
    Just some advice:
    Copy the code from the document into Notepad. Then, make sure you re-arrange the code into 1 single line (remove all enters). Then, copy the code into the formula editor of the hyperlink action. Don't forget to define a store (e.g. reptname) but that is explained in the document as well.
    Regards,
    Sven

  • Error detected by Export DLL, when trying to export to excel

    Hi All
    We are having an issue that has occured recently where some of our user's are unable to export to excel. They were working ok.
    The crystal viewer was originally designed using Framework 1.1 (vs.net 2003) and we have applied the hotfix to the user's pc called:
    crnet11win_en.exe
    Which fixed the issue originally, by upgrading the ExportModeller.dll to 9.1.1.528.
    However in this case, even after running the patch, the user's pc is still unable to export to "excel", works ok for PDF and WORD, just not excel.
    Tested the report on 2 other pc's and the report is able to export to excel.
    Just not on that user's pc, is anyone able to give advice of what could be stopping the user from running the report.
    The user is on Windows XP SP3, but we been informed that other user's with XP SP3 are able to export to excel with no problem.
    Thanks in advance for any help or advice that you can give.
    Regards
    Chris
    Edited by: CMThompson on Feb 22, 2010 11:52 AM

    Thanks Ludek
    We found the issue after doing control tests, here.
    We found that our crystal viewer, developed in .NET 2003, does not work with XP SP3, even with the fix crnet11win_en.exe.
    Our control test, was:
    Ran report with XP SP2, exported ok
    Upgraded pc to XP SP3, then ran report again, Report failed to export, with error message as described.
    Had a crystal viewer set for  using .NET 2005 files, but not yet ready for deployment to users, tested and was able to export to excel using .NET 2005 with XP SP3.
    The issue seems to relate to exportmodeller.dll, which was the issue in the past when XP was upgraded and stopped the export function from working before.

  • Error in crm interactive report while  export to excel file.

    Hi expert,
    Any one facing this issue . please advice me ur suggestion.  when i am try to export .csv file it is not showing the value as it is in report.
    did i miss any configuration or please suggest  me how to fixed the issue.
    Thanks regards
    Dev

    Hi
    You probably had some wording in the total line such as SUM or TOTAL. When this is exported, Excel is unable to format that column as a number. Try removing all labels from the totals and see if this helps.
    I hope this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Problem When Multiple Users Export To PDF Simultaneously

    I am hoping someone out there can help.  We have had no luck at all with Crystal Reports / SAP support for this issue.
    We have a client/server aplication and have written a C# program to load a crystal report on the server, export it to PDF and then we send the PDF to the client. We are using Crystal Reports 2008 and have applied SP4.
    The scenario is as follows:
    Two users log into our application from different PC's.
    User 1 prints a report with no issue.
    User 2 prints a report 5 seconds later with no issue.
    If User 1 prints a report and while that report is being exported to PDF, User 2 prints a report, the first will be successful and the second will fail.  If User 2 reprints the report after receiving a failure, the report prints successfully the second time (using the same temp report folders as the previous attempt). We have done a lot of tracing and have narrowed the problem down to the point in out C# program when the cryRpt.Export() routine is called.  It seems to be what is failing and doesn't seem to be able to run 2 exports simultaneously.
    All exporting to PDF occurs on the application server and the processes run as "Administrator" so permissions should certainly not be a problem.  Each user is printing a different physical .rpt file and the data for each report is in a different physical directory.
    Has anyone come across this before or have any suggestions?

    We thought the same thing as you suggest and have already made that change without sucess.  Below is what the code looks like for our export routine.  Perhaps you can spot something we have not.  As mentioned before the export appears to be faulting at the statement "cryRpt.ExportToDisk(ExportFormatType.PortableDocFormat, pdfname);" in the below code.
    The code is as follows:
            public void exportReport(string xmldir, string crname, string pdfname, string termid, bool debug)
                try
                    if (debug)
                        dt = DateTime.Now;
                        tw.WriteLine(dt.ToString() + "-Start exportReport: " + crname);
                    ReportDocument cryRpt;
                    cryRpt = new ReportDocument();
                    cryRpt.Load(crname, OpenReportMethod.OpenReportByTempCopy);
                    if (debug)
                        tw.WriteLine("Done loading report: " + crname);
                    int tmpct = 0;
                    int tmpint = crname.IndexOf("
    ", tmpct);
                    while (tmpint != -1)
                        tmpct = tmpint;
                        tmpint = crname.IndexOf("
    ", tmpct + 1);
                    string ODBCReportFileName = crname.Substring(tmpct + 1, crname.Length - tmpct - 5);
                    if (debug)
                        tw.WriteLine("ODBC Report Filename: " + ODBCReportFileName);
                    Database crDatabase;
                    Tables crTables;
                    Table crTable;
                    TableLogOnInfo crTableLogOnInfo;
                    ConnectionInfo crConnectionInfo = new ConnectionInfo();
                    //Setup the connection information structure to log on to the data source for the report.
                    // If using ODBC, this should be the DSN. If using OLEDB, etc, this should be the physical server name
                    crConnectionInfo.ServerName = "SH" + ODBCReportFileName;
                    if (debug)
                        tw.WriteLine("Resetting connection to: " + crConnectionInfo.ServerName);
                    crConnectionInfo.DatabaseName = "";
                    //Get the table information from the report
                    crDatabase = cryRpt.Database;
                    crTables = crDatabase.Tables;
                    //Loop through all tables in the report and apply the
                    //connection information for each table.
                    if (debug)
                        tw.WriteLine("Applying new connection to all tables...");
                    for (int i = 0; i < crTables.Count; i++)
                        crTable = crTables<i>;
                        crTableLogOnInfo = crTable.LogOnInfo;
                        crTableLogOnInfo.ConnectionInfo =
                        crConnectionInfo;
                        crTable.ApplyLogOnInfo(crTableLogOnInfo);
                        if (debug)
                            tw.WriteLine("Applying new connection to tables " + crTable.Name);
                    cryRpt.Refresh();
                    if (debug)
                        tw.WriteLine("Applying new connection to all tables... DONE");
                    if (debug)
                        tw.WriteLine("Target report: " + pdfname);
                    cryRpt.ExportToDisk(ExportFormatType.PortableDocFormat, pdfname);
                    if (debug)
                        tw.WriteLine("Export Complete");
                    cryRpt.Dispose();
                    cryRpt.Close();
                    if (debug)
                        dt = DateTime.Now;
                        tw.WriteLine(dt.ToString() + "-Done export to PDF.");
                catch (Exception e)
                    TextWriter tw1 = new StreamWriter(logpath + "
    exporterror.log", true);
                    tw1.WriteLine("Exception when export report: " + e.Message);
                    tw1.WriteLine(e.StackTrace);
                    tw1.Close();

  • Images not printing correctly when report is exported

    I work as part of a company that uses Crystal Reports to allow our clients to be able to print reports from our software. We are currently using Crystal Reports 10.
    We have a report set up with 4 images on the page that are loaded from a database. The images are set up to be a set size on the report and not to autosize. They are stored as jpg files.
    The actual images are larger than their counterparts on the form. In the particular case that this issue was seen one of the images was 1600 x 1200.
    The problem is that when the report is displayed in the print priview screen and printed to a printer it appears fine, however, if the report is exported, the report seems to get cropped instead of shrunk, so the report only ends up displaying the top left corner of each image rather than the whole image. I have seen this for both a PDF and and a Word Document export.
    Is this a know issue? How can this be fixed?
    The ability to export the reports rather than print them is an important feature of our product and is regularly used by our clients.
    Any assistance that you may be able to provide on this issue would be greatly appreciated.
    Also do any of the Crystal Reports developers visit these forums to assist with the issue, or is it mainly a community only forum? Just wondering.

    This is being seen when running the report from within our application. The report itself has been created and designed from within CR Designer v10. The actual report that the images are on is a on a subreport. The reason for this is that the main report needs to show a different number of images, either 1, 2, 4 or 6, depending on how many images are linked to the data in the database.
    We are using the CR SDK designed for use with Borland Delphi 7.

  • Tips on designing reports for export to excel

    There is a document mentioned in help that I have a link to and the link and searching never get me to it. Can anyone help me locate this...I need tips on how to better design a report when you know it will be used for exporting to excel.
    the document is supposed to be called    scr_exportexcel.pdf
    Thank you!
    Kristin

    Hi,
    Try to search Product guides from http://help.sap.com/
    Regards,
    Shweta

  • When trying to export to Excel the tool hangs for 10-15 min. (1.5.1.54.40)

    When trying to export a result set after a query the tool hangs for 10-15 minutes. This is regardless of the export fileformat; xls, html etc. It seems like the problem is related to the complexity of the query: Low-cost query=export OK, High-cost query=Export Not OK (even though the number of returned records is low)
    Exporting to any fileformat from a tables data-tab is OK, the problem occurs only in combination with a query that has been ran in a Worksheet.
    Will be greatful for any hint!
    SQL Developer: 1.5.1.54.40
    Java: 1.5.0_06
    Client OS: XP Prof 5.1.2600 SP 3
    Database: 9.2.0.5.0

    Hi,
    If you are using SQL Dev 1.5.1, you can include the column header by using
    CTRL + Shift + C (instead of CTRL + C), and paste it to Excel.
    I got this info from other forum, sorry I couldn't find which one.
    Don't use the Edit - Copy Path menu, even it uses the same shortcut.
    Regards,
    Buntoro

  • Problem in ALV Data Exported to Excel

    Dear all,
    When an ALV data is exported to Excel i see that the data is shown in 2 lines
    and a blank line is inserted between each data.
    Can any body please help.
    with rgds
    Ranjith Singh

    Hi Ranjith,
    How many columns that you extracted to excel from ALV?
    Would you give more specific to your case?
    As I remember, ALV has its limits for extracting number length of column to excel.
    Regards,
    Dondi.

Maybe you are looking for

  • How can I start an app on OSX Mavericks without switching to it?

    What's up to all my Appleheads!      I usually do my research (extensively if I'm particularly annoyed) regarding any of my Apple questions, but  I can't seem to find an answer to the following:      Let's say I'm working in a full screen app (e.g. -

  • Creation of purchase info record

    Hi any body pls let me know how we can create purchase info record(me11) i am an abaper i want to know the functionality in that let me know the mandatory fields because i have an requirement to create it using lsmw thanks in advance

  • I have problem with serializable

    hello i recive de exeption "java.io.NotSerializableException: sun.awt.image.OffScreenImage" and i dont kwon why. if somebody can help me, thanks

  • How to write a script to cycle through a list of search terms and download PDF files

    I need to download ~2500 PDF files. Each one is accessible by entering a search term on a website and clicking a link in the search result to download the PDF. How can I create an automated process to do the following? (1) select the first search ter

  • Flash video autoplay

    I am attempting to put a Flash video banner on a page without a skin that will play 1 time automatically upon loading, then stop at the last frame. When I insert it as a Flash video, it works fine, but I have a skin which I don't want. I attempted to