Issues while Exporting OBIEE Answers Report to Excel

Hi All,
In my report, I have a column named (Order number) which is a measure column. I am displaying this column in a pivot table view. In the measure section i am duplicating this column(Order number) and applying % for the column in the following way:
Order number column-> Show Data As-> percent Of-> Column
After doing this i am getting values like this 0.3, 99.5 etc etc... But when i export this report to Excel sheet. The result appears like this .0%, 1.0% etc like this. But I want 0.3, 99.5 that is the decimal points should be displayed accurately in the excel. How could I do it? Pls anybody shed light on this issue? Awaiting your reply...
Thanks in Advance
Thenmozhi

Hi,
You can try adding the below statement in the Custom CSS section of the column properties:
mso-number-format:"\@"
Refer snapshot here:
http://i53.tinypic.com/a09kqv.jpg
This will treat the data in the column as text while downloading to excel, hence retaining any leading or trailing spaces.
Award points it is useful.
Thanks,
Satya

Similar Messages

  • Authentication error while exporting the SSRS reports to excel from a timer job.

    Below code written in the timer job Execute() method to render the reports and get the byte array but it works fine when the application run in windows authentication, but throw error when the application extended to Form based authentication in SharePoint
    2013. 
    The sample code is:
    Microsoft.Reporting.WebForms.ReportViewer rview = new Microsoft.Reporting.WebForms.ReportViewer();
    rview.ServerReport.ReportServerUrl = new Uri(reportLib.ParentWeb.Site.RootWeb.Url + "/_vti_bin/ReportServer");
                                            System.Collections.Generic.List<Microsoft.Reporting.WebForms.ReportParameter> paramList = new System.Collections.Generic.List<Microsoft.Reporting.WebForms.ReportParameter>();
                                            rview.ServerReport.ReportPath = reportLib.ParentWeb.Url + RAConstants.LibraryReportLibraryUrl + repotName;
                                            string mimeType, encoding, extension, deviceInfo;
                                            string[] streamids;
                                            Microsoft.Reporting.WebForms.Warning[] warnings;
                                            string format = "Excel";
    deviceInfo =
                                            "<DeviceInfo>" +
                                            "<SimplePageHeaders>True</SimplePageHeaders>" +
                                            "</DeviceInfo>";
    bytes = rview.ServerReport.Render(format, deviceInfo, out mimeType, out encoding, out extension, out streamids, out warnings);
    In above Render() i got below error exception. 
    ex.ToString() "Microsoft.Reporting.WebForms.ReportServerException: Report Server has encountered a SharePoint error. (rsSharePointError) ---> Microsoft.Reporting.WebForms.ReportServerException: The user does not exist or is not unique. ---> Microsoft.Reporting.WebForms.ReportServerException:
    The user does not exist or is not unique.\r\n   --- End of inner exception stack trace ---\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerReportSoapProxy.OnSoapException(SoapException
    e)\r\n   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)\r\n   at
    Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)\r\n   at Microsoft.Reporting.WebForms.SoapReportExecutionService.LoadReport(String report, String historyId)\r\n
      at Microsoft.Reporting.WebForms.ServerReport.EnsureExecutionSession()\r\n   at Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String&
    fileNameExtension, String[]& streams, Warning[]& warnings)\r\n   at Microsoft.Reporting.WebForms.Report.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams,
    Warning[]& warnings)\r\n   at ResourceAllocationUI.SPJobs.SendWeeklyReportInEmail.Execute(Guid contentDbId)" string
    Please help. Thanks in advance.
    Thanks,
    Rashmi Ranjan

    Likely because your user is continuing to call the service in a Windows (classic) DOMAIN\username format, and not in the Claims identity it should be.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Microsoft excel error while exporting a FRS report from Planning to excel

    I have multiple screen shots of the issue.
    are getting issues when within citrix trying to run an FRS report from workspace into excel.
    first they get a windows login window looking for credentials of a User name and a Password.
    the first error:
    "Could not open 'http:SERVERNAME:19000/hr/hrget/modules/com/hyperion/reporting/web/office/HROfficeReport.jsp/FOLDERNAMEandFILENAME.xls?format=excel.20028viewAs=excel&instanceId=11165278&previewDone=true'.
    second error:
    Microsoft Excel cannot access the file 'http:SERVERNAME:19000/hr/hrget/modules/com/hyperion/reporting/web/office/HROfficeReport.jsp/FOLDERNAMEandFILENAME.xls?format=excel.20028viewAs=excel&instanceId=11165278&previewDone=true'. There are several possible reasons:
    The file name or path does not exist.
    The file is being used by another person
    The workbook you are trying to save has the same name as a currently open workbook.
    Third error:
    The file you are trying to open, 'FILENAME.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file do you want to open the file now?
    yes , no, or help
    I am trying to figure out if its a CITRIX issue? An EPM issue? or what
    We have Office 2010 32 bit with smart view and excel add-in.
    Does anybody know why this may occur? I have screen shots I just don't know how to post them.

    When you export a FR report to excel, yes, you will get a prompt for credentials, but as said in 11.1.2 HFR guide, you have to ignore that by clicking "Cancel" and then you will get a second warning pop-up saying "The file you are trying to open, 'FILENAME.xls', is in a different format ........"... Click on "Yes"... you should be able to see the report in excel....
    Both these are known issues in HFR export to excel and you can find them in oracle features guide. And they are not related to Citrix.
    As in Oracle HFR user guide "When exporting a Financial Reporting document to a Microsoft Office format (Excel, Word or PowerPoint), when using Microsoft Office 2007, you may receive the following warning: "The file your are trying to open <filename>, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?". This warning notifies users that, although the file has an Office extension ( ".xls", ".doc" or ".ppt"), the content of the file is different from the expected (native) Office format. Although Financial Reporting reports are generated in an MHTML format during export, this is not a security concern. Microsoft Office is just warning a user of a file format that is different than expected. Upon selecting “Yes” in the warning, the file will successfully open in Microsoft Office."
    Thanks,
    Siva

  • Issue while exporting report in PDF using crystal report XI

    Hello,
    I am facing issue while exporting a report to PDF through crystal report XI. Reports are generating properly in the crystal report browser but when I am exporting the reports in PDF or trying to get print by clicking on print button, reports not generating properly.
    Allignment in the exported PDF reports getting changed and reports margin is also changes. Due to this some part of report is chopped and printed on the next page.
    I have deployed my application on IBM WebSphere 6.1 server and I am getting following error which might help to identify this issue.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The response has already been commited.---- Error code:0 Error code name:succeeded
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.report.web.component.o.a(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
         at com.ibm._jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
         at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
    Caused by: com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:80)
         at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.writeOut(BufferedServletOutputStream.java:438)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBytes(BufferedServletOutputStream.java:344)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flush(BufferedServletOutputStream.java:323)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBuffer(BufferedServletOutputStream.java:478)
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:452)
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:436)
         at com.crystaldecisions.report.web.viewer.JSPViewerResponse.flushBuffer(Unknown Source)
         ... 33 more
    Caused by: java.io.IOException: Async IO operation failed, reason: RC: 64  The specified network name is no longer available.
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:203)
         ... 3 more
    Thanks in advance
    Alok P.

    The stack trace is caused by whitespace in your CrystalReportViewer.jsp file.  Look up SAP Note 1199025 for the resolution.
    It's not related to the PDF formatting issue.  There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
    Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF.  But the latest version helps greatly.
    Sincerely,
    Ted Ueda

  • How to export or delivery report for Excel for more than one sheet in OBIEE

    Hi Experts,
    How to export or delivery report for Excel for more than one sheet in OBIEE 11g? (Every time, I can only see one sheet.)
    Is it possibl to implement this requirement?
    Thanks.

    there are 2 oprions,
    One is have your tow report in a single compound layout of analysis and keep the report in dashboard and give report links.
    it will cath both your report.
    Suppose your analysis are different.
    Then you have the option of printing it to a PDF. on ritght top of Dashboard, Print - > Printable PDF.
    you ca export to PDF no to excel.
    mark if helps,
    fiaz

  • How to export the dashboard reports for Excel in OBIEE 11.1.1.6.0?

    Hi Experts,
    How to export the dashboard reports for Excel in OBIEE 11.1.1.6.0?
    For example:
    Dashboard contains more than one report, and add one export button for downloading these reports for Excel.
    Is it possible to implement this requirement?Thanks.

    There is no direct option, you can try the following workaround.
    Page Option -> Print -> Printable Html
    Then File -> Save Page as
    Choos Save as type as -> All files
    File name as Report.xls
    When you Open the xls file, if you get a pop up saying problem during load just omit it and proceed.
    The report will open in excel.
    Or save the page as html /mht and open it with Excel, this also will work.
    Note: I have tested this in Mozilla
    Thanks,
    Vino

  • Not able to export web analysis report to excel smart view from workspace

    Not able to export web analysis report to excel smart view from workspace.
    Error :Web launch operation has been cancelled.
    Can anyone help me to resolve this issues

    I realized that I can put a block in WebI and then I can pull that in excel alongside of static header, after putting the question.
    My interest to know whether it is by design in XI 3.0 or it is an issue. But by the replies it seems to me like it is by design.
    @Anis: I can't go for header as part of Body. Because this report is viewed in Web by many other users. I can't have separate report for Live office, it is a restriction for me. If I use the header in body, it wont look good I guess.

  • Issue while opening BI4 webi report instance using CMC on IE8 browser

    Hi,
    Having issue while opening BI4 webi report instance using CMC on IE8 browser.
    Steps to reproduce the error:
    1. Login to CMC
    2.  View Webi History.
    3.  Open successful instance  (For the 1st or 2nd time reports are opening up, from the 3rd time it just freeze the session)
    4. After it get freeze we need to close the IE using Task Manager.
    Can any one please suggest a resolution for this issue.
    Thanks,
    Ganesh.M

    Hello Gokul,
    first thing is to check is if your chrome version is supported by your current BO version as specified in the PAM (is it?). If the chrome version is supported, and you still have an issue, then you can check with a sap support engineer.
    best regards,
    Victor

  • Exporting a web report to Excel

    Hi,
    When I export a web report to Excel, it works fine. when I resave the same file as .xls file, the excel file size is reduced drastically (less than 1/10).
    Why is this happening? Any way to reduce the file size in the first stage, that is down loading to Excel from web.
    Thanks
    Unni

    Hi,
    I don't understand what do you mean here. Do you mean we could not reduce size in the first time? We have exactly the same problem and the file size is about 20-40 MB. This size is too big to download by end user. It's excel file with .xls extension. When I open it by Excel and then try to Save As, it try to save as Web Page with *.htm extension. If I resave as a Excel Workbook format, the size is reduced to 3-4 MB. My question is the same as the other folk, how do I save it as Excel format with proper size the first time?
    Thanks,
    Yujun

  • Issue while exporting report - OBIEE 11g - IIS 7.5

    Hi,
    We are currently on OBIEE 11.1.1.7.0 version of OBIEE and we have set up proxy through IIS 7.5 on Windows 2008 R2 server.
    While exporting our reports, we need to ensure that both Export to excel options (2003 and 2007+) are working fine. However, for some reports, when we try to download the reports to Excel 2007+ format, we get a "Internet Explorer cannot display the webpage" error message. This issue does not appear if we change the URL to directly access Weblogic server (instead of routing through IIS). Wanted to know if anyone have faced similar issue and have found any solution/workaround for same.
    Thanks
    Hyder

    Hyder,
    I have achieved this.We have deployed our OBIEE application on Weblogic server not on IIS.
    Sasi Nagireddy: How to Export Analysis in Excel 2007 +
    Thanks,
    Sasi Nagireddy..

  • Issue while exporting report in Excel Format

    Hello,
    I am facing problem while exporting the report in Excel Format. After analysis, I think that it could be due to two reasons, either we are using wrong versions of Jars, or we are using wrong API. Here is the code, approaches and problems we are facing. Please help.
    First approach we are using is:
    // using basic API
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    // get client document from crystal report API and open the report by specifying the report name, with path
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open( reportPath, 0 );
                   // give chance to extending classes to configure the report document by POJO or by sql parameter etc, just adding the parameters infromation using ParameterFieldController
                   configureReportDocument( reportClientDoc, reportMetadata, reportData, reportContext );
                   // get data source of crystal report
                   Object reportSource = reportClientDoc.getReportSource();
                   // export the data - we have also tried with MSExcel format
                   ReportExportFormat exportFormat =  ReportExportFormat.recordToMSExcel;
                   LOGGER.debug( "exportFormat[" + exportFormat + "]" );
                   ByteArrayInputStream byteArray = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(
                             exportFormat );
    Problem Faced: Specified Excel format is not supported.
    Second Approach: We come to know that excel format is supported with new releases and with occa package.
    Then we tried with import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument; It ask to set the ReportServer. When we are trying to set the server as
                   reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    Application is unable to find 'ReportClientDocument.inprocConnectionString' property. It seems like we are using some old jars. However we have downloaded the latest released jars for eclipse 2.
    Please help for it. Issue is to export the report in excel format, which is currently working fine for PDF. If this problem is related to Jars, please suggest the path to download the latest jars. We also looking for the latest jars like rasapp and rascore etc. But these are not available with Crystal Report for Eclipse 2 release.
    Waiting for urgent help. Thanks you..
    Regards,
    Mohit

    Hi,
    Send me Environment Details .
    Here is the code  snippet for exporting report to excel format:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.managedreports.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%
    String username ="Administrator";
    String password ="";
    String cmsname ="localhost:6400";
    String Authen ="secEnterprise";
         //connecting to Enterprise
         IEnterpriseSession es = CrystalEnterprise.getSessionMgr().logon(username,password,cmsname,Authen);
         //get the report App Factory form the Crystal Enterprise
         IReportAppFactory appFactory = (IReportAppFactory) es.getService("","RASReportService");
         //get the infostore service form the Crystal Enterprise
         IInfoStore istore = (IInfoStore) es.getService("","InfoStore");
         //get the report by name from crystal Enterprise
         IInfoObjects iobjects = istore.query("Select * From CI_INFOOBJECTS Where SI_NAME = 'sampleramz2.rpt' and SI_INSTANCE = 0 ");
         //open the report in the report doc object.
         ReportClientDocument Doc = appFactory.openDocument((IInfoObject)iobjects.get(0), 0, Locale.ENGLISH);
         // WORKING WITH THE PRINT OUTPUT CONTROLLER
         //Use the report documents PrintOutputController to export the report to a ByteArrayInputStream
         ByteArrayInputStream byteIS = (ByteArrayInputStream)Doc.getPrintOutputController().export(ReportExportFormat.recordToMSExcel);
         // EXPORTING THE REPORT
         //Create a byte[] (same size as the exported ByteArrayInputStream)
         byte[] buf = new byte[2000 * 1024];
         int nRead = 0;
         //Set response headers to indicate pdf MIME type and inline file
         response.reset();
         response.setHeader("Content-disposition", "inline;filename=ramz");
         response.setContentType("application/xls");
         //Send the Byte Array to the Client
         while ((nRead = byteIS.read(buf)) != -1)
              response.getOutputStream().write(buf, 0, nRead);
         //Flush the output stream
         response.getOutputStream().flush();
         //Close the output stream
         response.getOutputStream().close();
    %>
    Let me know any information is needed,
    Regards,
    Rameez

  • Issue while exporting report to excel

    I have a report created using ssrs.
    In that i have set the body background property to an image
    And also set a header in the report
    Now while exporting it to excel, I need to remove the body background  image and header
    Need Help
    Thanks
    Abhinav

    The workaround is to use a parameter that control the hidden properties and image/value properties of the header contents and background image path respectively. We need to place the header contents to a textbox or a rectangle so that the "hidden"
    properties can be set or reset. Similarly for the image path or value properties of body section can be set or reset using expression. I am using external image URL. Refer below step.
    1. Add a parameter "Export". Set the Available values
    as "Specify values" and add the below labels and values.
    Label                                 Value
    Header/Image                    Header/Image
    No Header/Image               No Header/Image
    For Default Values,
    Select Specify values option and add value as "Header/Image". Click Ok to close the parameter properties.
    2. As my header section contains a textbox and wanted to hide while i export, select the textbox properties and set the visibility/hidden expression as, =IIF(Parameters!Export.Value <> "Header/Image", True, False)
    3. Similarly in the report body properties, select the image source option as "External" and set the expression as,
    =IIF(Parameters!Export.Value <> "Header/Image", "" , "http://localhost/Testing/NEW_06.jpg")
    4. Preview the report and select the export parameter option as "No Header/Image".
    Regards, RSingh

  • C#/SharePoint -View State related issue while exporting data to excel

    We have web application based on SharePoint. We have a list view to display data based on Search Criteria. We have total of around 16000 data. When we try to export all data to excel it gives an error. The cause of the issue is:
    View State is used to save the state of page i.e. the previous state. When the export to excel link is clicked, the data present in the grid is actually saved in view state so that the overhead of again generating
    the data(as per the selection criteria) can be avoided. Now, this View state has a limitation of storage of these records. When we put in some selection criteria, the no. of records is less hence no problem in actually storing the view state. But when there
    is no selection criteria, 16306 records are too much to be stored in view state. Hence the error occurs.
    We tried to solve this issue by creating a compressor class and overriding two methods:
     LoadPageStateFromPersistenceMedium
    SavePageStateToPersistenceMedium
    This has resolved the issue with Export to Excel. However, there is now some issue in the paging of the list view. The list view has a column with hyperlink which opens related data in a form. While we click on the link in 2<sup>nd</sup>
    page of the list view, it displays data for the link in the 1<sup>st</sup> page at same row.
    Please suggest how to resolve this issue or any workaround for this

    We have web application based on SharePoint. We have a list view to display data based on Search Criteria. We have total of around 16000 data. When we try to export all data to excel it gives an error. The cause of the issue is:
    View State is used to save the state of page i.e. the previous state. When the export to excel link is clicked, the data present in the grid is actually saved in view state so that the overhead of again generating
    the data(as per the selection criteria) can be avoided. Now, this View state has a limitation of storage of these records. When we put in some selection criteria, the no. of records is less hence no problem in actually storing the view state. But when there
    is no selection criteria, 16306 records are too much to be stored in view state. Hence the error occurs.
    We tried to solve this issue by creating a compressor class and overriding two methods:
     LoadPageStateFromPersistenceMedium
    SavePageStateToPersistenceMedium
    This has resolved the issue with Export to Excel. However, there is now some issue in the paging of the list view. The list view has a column with hyperlink which opens related data in a form. While we click on the link in 2<sup>nd</sup>
    page of the list view, it displays data for the link in the 1<sup>st</sup> page at same row.
    Please suggest how to resolve this issue or any workaround for this

  • Layout issue in export multiple queries to single excel

    Hi ,
    While exporting more than one queries on web template to single excel (with help of  HowToWebPrinting document ), i am facing layout problems.
    EX. if my web template has 4 queries  in below format
    A B
    C D
    where A,B,C,D are different queries
    on web printing to single excel, i get all queries in excel but they are in form
    A
    B
    C
    D
    i.e with distorted layout. Is there a way out to have the exported EXCEL in same layout as that of my report
    Any ideas would be appreciated in this regard.
    Best Regards
    Deepali

    Thanks Deepak for your suggestion on trying to enhance
    Z_PRINT_SERVICE class.
    But in my system, i have z_print_help_service & not z_print_service. Is it something that is missing.
    To add to it, i have one more issue.
    I have a strange scenario.
    In some webtemplates, when i do export , my all data is coming.
    In some alternate columns are coming on export in one row
    & other row its fine, while on web report all columns are existing .
    Has anybody faced missing data on export .
    Unless this problem gets resolved, we can't be sure of what is being produced & won't be able to implement. Below are lines i am using
    in each template.
    <param name="HELP_SERVICE" value="Z_PRINT_HELP_SERVICE_ALL_DP"/>
             <param name="HELP_SERVICE_CLASS" value="ZCL_RSR_XLS_HELP_WINDOW_PRINT"/>

  • Warning message when exporting a Financial Report to Excel 2007

    Excel 2007 users that attempt to export a fully formatted Financial Report into Excel 2007 get the following error message:
    "The file you are trying to open, 'FileName.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
    I am still researching the behavior that users get when they click through the message, but would ideally like for the message not to appear without updating the client machine registries. Has anybody else run across this?
    Excel 2007
    BI Plus version: 9.3.1.0.0.248

    It looks like this is a known issue addressed in Bug 7359171 - EXPORT TO EXCEL 2007 CAUSES FILE FORMAT WARNING:
    The current design does not allow you to open HTML content from a web site in Excel unless the extension of the URL is .HTM/.HTML/.MHT/.MHTML. So ASP pages that return HTML and set the MIME type to something like XLS to try to force the HTML to open in Excel instead of the web browser (as expected) will always get the security alert since the content does not match the MIME type. If you use an HTML MIME type, then the web browser will open the content instead of Excel. So there is no good workaround for this case because of the lack of a special MIME type for HTML/MHTML that is Excel specific. You can add your own MIME type if you control both the web server and the client desktops that need access to it but, otherwise the best option is to use a different file format or alert your users of the warning and tell them to select Yes to the dialog.
    Another Workaround :
    Client Configuration of Extension Hardening.
    Client desktops can change the default behavior of the security check using a registry key. The following registry key can be set to alter the behavior ofthe Excel 2007 client in the following ways:
    Key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\SecurityValue: (DWORD)"ExtensionHardening" = [0 = Disable check; 1 = Enable check and prompt; 2 = Enable check, no prompt deny open]Default setting if value not present is 1 (enable and prompt).
    The client can configure the site to disable the check by setting ExtensionHardening = 0. This will stop the prompt from appearing, but it will also disable any future checks for the file content validity. This does not (in itself) lower your security. The check is part of a defense-in-depth strategy to prevent malicious users from crafting files of a different type than its extension (or MIME type), which could then be used to trick users into opening a file of a type they did not expect. This warning is designed to let the user know of this potential threat and given them an option of canceling the open if they wish.

Maybe you are looking for

  • Urgent: Calling ABAP Program using JMS

    Hi, I have a scenario where legacy system pass some messages to ABAP Program and this program can handle one message at a time (written in that way). Now the receiver communication channel is configured to access J2SE adapter. This J2SE adapter store

  • Formated XL attachment in Mail using FM SO_NEW_DOCUMENT_ATT_SEND_API1.

    Hi All, I have a requirement where I need to send formated XL in Email attachment using FM SO_NEW_DOCUMENT_ATT_SEND_API1. Yes, there are other convinient ways of doing the same task IXML or CL_BCS but I can't use them. The existing code already uses

  • HT201210 i have a 3gs and will not let me update its on 4.1

    hi i have a iphone 3gs im trying to update it its not letting mr can u help me please its on 4.1

  • Item Renderer and Label Function

    Hi, I have a grid with the datacolumns that use the labelfunction. So the label function displays a value in the column(like Y or N). Now I want to use a button for that column and toggle the button to change the values between Y and N How do I accom

  • Bitmap editor

    Before I spend a lot of money I want some advice on a bitmap editor. On the PC I used an old version of Paintshop Pro. (JASC). I need something that will let me vary the jpeg compression. I don't see that anywhere on the provided Mac software. And pl