Export to excel issue

Hi All,
Kindly help me in solving this issue.
Portals report layouts can be customized. When the user chooses to export
the customized reports to Excel, only the standard layout (hard coded
layout for each report) is exported to Excel and all the customized columns
are not exported.
C&RM is planning to use the portals aging report for performance metrics,
collection and identifying the over 90 items for collection rep. The
standard layout for the portals aging report is missing the BP# and
Collection rep name.
Choosing right click, select all and copying to Excel, the format of the
report is lost.
Herewith I am attaching the code which needs modification.
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package com.zurich.fscd;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED // BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN // AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateExportexView).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY // A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS // OF IMPORT STATEMENTS.
//@@begin imports
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.StringTokenizer;
import com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException;
import com.sap.tc.webdynpro.progmodel.api.IWDAttributeInfo;
import com.sap.tc.webdynpro.progmodel.api.IWDMessageManager;
import com.sap.tc.webdynpro.progmodel.api.IWDNode;
import com.sap.tc.webdynpro.progmodel.api.IWDNodeElement;
import com.sap.tc.webdynpro.services.sal.adapter.api.WDWebContextAdapter;
import com.sap.tc.webdynpro.services.sal.url.api.IWDCachedWebResource;
import com.sap.tc.webdynpro.services.sal.url.api.WDURLException;
import com.sap.tc.webdynpro.services.sal.url.api.WDWebResource;
import com.sap.tc.webdynpro.services.sal.url.api.WDWebResourceType;
import com.zurich.fscd.wdp.IPrivateExportexView;
//@@end
//@@begin documentation
//@@end
public class ExportexView
Logging location.
  private static final com.sap.tc.logging.Location logger =
    com.sap.tc.logging.Location.getLocation(ExportexView.class);
  static
    //@@begin id
    String id = "$Id$";
    //@@end
    com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
Private access to the generated Web Dynpro counterpart
for this controller class.  </p>
Use <code>wdThis</code> to gain typed access to the context,
to trigger navigation via outbound plugs, to get and enable/disable
actions, fire declared events, and access used controllers and/or
component usages.
@see com.zurich.fscd.wdp.IPrivateExportexView for more details
  private final IPrivateExportexView wdThis;
Root node of this controller's context. </p>
Provides typed access not only to the elements of the root node
but also to all nodes in the context (methods node<i>XYZ</i>())
and their currently selected element (methods current<i>XYZ</i>Element()).
It also facilitates the creation of new elements for all nodes
(methods create<i>XYZ</i>Element()). </p>
@see com.zurich.fscd.wdp.IPrivateExportexView.IContextNode for more details.
  private final IPrivateExportexView.IContextNode wdContext;
A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
Represents the generic API of the generic Web Dynpro counterpart
for this controller. </p>
  private final com.sap.tc.webdynpro.progmodel.api.IWDViewController wdControllerAPI;
A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
Represents the generic API of the Web Dynpro component this controller
belongs to. Can be used to access the message manager, the window manager,
to add/remove event handlers and so on. </p>
  private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
  public ExportexView(IPrivateExportexView wdThis)
    this.wdThis = wdThis;
    this.wdContext = wdThis.wdGetContext();
    this.wdControllerAPI = wdThis.wdGetAPI();
    this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
  //@@begin javadoc:wdDoInit()
  /** Hook method called to initialize controller. */
  //@@end
  public void wdDoInit()
    //@@begin wdDoInit()
     IWDCachedWebResource cachedExcelResource = null;
     String fileName = "Items.xls";
     byte[] bytes ;
     IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute("ExcelDownload");   
     IWDMessageManager manager = wdComponentAPI.getMessageManager();
     try{
          String reporttype = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("reporttype" ) ;
          if (reporttype == null) {
               reporttype = GC_REPORTTYPE_BPACCTSTAT_CARM;
          Object level = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("level" ) ;
          if (level == null){
               level = "";
          Object paramname = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("app.paramname" ) ;
          Object paramvalue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("app.paramvalue" ) ;
          if (paramname == null){
               paramname = "";
          if (paramvalue == null){
               paramvalue = "";
          if (reporttype.equals(GC_REPORTTYPE_OPENITEMS_SUMM)) {
               wdContext.currentZ_Rm_Get_Open_Items_ResultsElement().setI_Reporttype("S");
               wdContext.currentZ_Rm_Get_Open_Items_ResultsElement().modelObject().execute();
               wdContext.nodeOutputOI().invalidate();
               bytes = toExcel(wdContext.nodeEt_Mas(),getColumnInfosAOISUMM()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equals(GC_REPORTTYPE_OPENITEMS_DET)) {
               wdContext.currentZ_Rm_Get_Open_Items_ResultsElement().setI_Reporttype("A");
               wdContext.currentZ_Rm_Get_Open_Items_ResultsElement().modelObject().execute();
               wdContext.nodeOutputOI().invalidate();               
               bytes = toExcel(wdContext.nodeEt_Detail(),getColumnInfosAOIDet()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equals(GC_REPORTTYPE_BPACCTSTAT_BU)) {
               wdContext.currentZ_Rm_Bpacctstat_Bu_Get_ResultsElement().setI_Level(level.toString());
               wdContext.currentZ_Rm_Bpacctstat_Bu_Get_ResultsElement().setI_Paramname(paramname.toString());
               wdContext.currentZ_Rm_Bpacctstat_Bu_Get_ResultsElement().setI_Paramvalue(paramvalue.toString());
               wdContext.currentZ_Rm_Bpacctstat_Bu_Get_ResultsElement().modelObject().execute();
               wdContext.nodeOutput().invalidate();
               bytes = toExcel(wdContext.nodeEt_Bu1(),getColumnInfosBU()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equals(GC_REPORTTYPE_BPACCTSTAT_CARM)) {
               wdContext.currentZ_Rm_Bpaccstat_Ca_Get_ResultsElement().setI_Level(level.toString());
               wdContext.currentZ_Rm_Bpaccstat_Ca_Get_ResultsElement().setI_Paramname(paramname.toString());
               wdContext.currentZ_Rm_Bpaccstat_Ca_Get_ResultsElement().setI_Paramvalue(paramvalue.toString());
               wdContext.currentZ_Rm_Bpaccstat_Ca_Get_ResultsElement().modelObject().execute();
               wdContext.nodeOutputCRM().invalidate();
               bytes = toExcel(wdContext.nodeEt_Carm1(),getColumnInfosCARM()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equalsIgnoreCase(GC_REPORTTYPE_RMETRICS_EFDBID)) {
               //wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reportlevel("1");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reporttype("1");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().modelObject().execute();
               wdContext.nodeOutputRmetr().invalidate();
               bytes = toExcel(wdContext.nodeEt_Efdbid(),getColumnInfosRMETRICS1()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equalsIgnoreCase(GC_REPORTTYPE_RMETRICS_EFDBOD)) {
               //wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reportlevel("1");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reporttype("2");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().modelObject().execute();
               wdContext.nodeOutputRmetr().invalidate();
               bytes = toExcel(wdContext.nodeEt_Efdbod(),getColumnInfosRMETRICS2()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equalsIgnoreCase(GC_REPORTTYPE_RMETRICS_PADDUD)) {
               //wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reportlevel("1");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reporttype("3");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().modelObject().execute();
               wdContext.nodeOutputRmetr().invalidate();
               bytes = toExcel(wdContext.nodeEt_Paddud(),getColumnInfosRMETRICS3()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equalsIgnoreCase(GC_REPORTTYPE_RMETRICS_BIDBOD)) {
               //wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reportlevel("1");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reporttype("4");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().modelObject().execute();
               wdContext.nodeOutputRmetr().invalidate();
               bytes = toExcel(wdContext.nodeEt_Bidbod(),getColumnInfosRMETRICS4()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equalsIgnoreCase(GC_REPORTTYPE_RMETRICS_DETAIL)) {
               //wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reportlevel("2");
               //wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().setI_Reporttype("1");
               wdContext.currentZ_Rm_Rmetrics_Get_ResultsElement().modelObject().execute();
               wdContext.nodeOutputRmetr().invalidate();
               bytes = toExcel(wdContext.nodeEt_Metdet(),getColumnInfosRMETRICSD()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          } else if (reporttype.equalsIgnoreCase(GC_REPORTTYPE_WRITEOFF)) {
               wdContext.currentZ_Rm_Writeoff_Get_ResultsElement().setI_Reportlevel("1");
               wdContext.currentZ_Rm_Writeoff_Get_ResultsElement().setI_Reporttype("4");
               wdContext.currentZ_Rm_Writeoff_Get_ResultsElement().modelObject().execute();
               wdContext.nodeOutputWoff().invalidate();
               bytes = toExcel(wdContext.nodeEt_Writeoff1(),getColumnInfosWRITEOFF()).getBytes();
               cachedExcelResource = this.getCachedWebResource(bytes, fileName, WDWebResourceType.XLS);
          if (cachedExcelResource != null) {
            wdContext.currentContextElement().setExcelDownload(cachedExcelResource.getURL());
     } catch(WDDynamicRFCExecuteException ce) {
          manager.reportException(ce.getMessage(), false);
     } catch (WDURLException ce) {
          manager.reportException(ce.getMessage(), false);
     } catch (Exception ce) {
          manager.reportException(ce.getMessage(), false);
    //@@end
  //@@begin javadoc:wdDoExit()
  /** Hook method called to clean up controller. */
  //@@end
  public void wdDoExit()
    //@@begin wdDoExit()
    //@@end
  //@@begin javadoc:wdDoModifyView
Hook method called to modify a view just before rendering.
This method conceptually belongs to the view itself, not to the
controller (cf. MVC pattern).
It is made static to discourage a way of programming that
routinely stores references to UI elements in instance fields
for access by the view controller's event handlers, and so on.
The Web Dynpro programming model recommends that UI elements can
only be accessed by code executed within the call to this hook method.
@param wdThis Generated private interface of the view's controller, as
       provided by Web Dynpro. Provides access to the view controller's
       outgoing controller usages, etc.
@param wdContext Generated interface of the view's context, as provided
       by Web Dynpro. Provides access to the view's data.
@param view The view's generic API, as provided by Web Dynpro.
       Provides access to UI elements.
@param firstTime Indicates whether the hook is called for the first time
       during the lifetime of the view.
  //@@end
  public static void wdDoModifyView(IPrivateExportexView wdThis, IPrivateExportexView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
    //@@begin wdDoModifyView
    //@@end
The following code section can be used for any Java code that is
not to be visible to other controllers/views or that contains constructs
currently not supported directly by Web Dynpro (such as inner classes or
member variables etc.). </p>
Note: The content of this section is in no way managed/controlled
by the Web Dynpro Designtime or the Web Dynpro Runtime.
  //@@begin others
  private String trimHeaderText(String headerText) {
     StringBuffer newHeaderText = new StringBuffer();
     String token;
     StringTokenizer tokenizer = new StringTokenizer(headerText.trim());
     while (tokenizer.hasMoreTokens()) {
       token = tokenizer.nextToken();
       newHeaderText.append(token.substring(0, 1).toUpperCase());
       newHeaderText.append(token.substring(1).toLowerCase());
     return newHeaderText.toString();
  private void trimHeaderTexts(Map columnInfos) {
     String attributeName, trimmedHeaderText;
     for (Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();) {
       attributeName = (String) iter.next();
       String attributeValue = (String) columnInfos.get(attributeName);
       attributeValue.replace('&','-');
       attributeValue.replace('/','-');
       trimmedHeaderText = trimHeaderText(attributeValue);
       columnInfos.put(attributeName, trimmedHeaderText);
  private String toExcel(IWDNode dataNode, Map columnInfos) {
     StringBuffer x = new StringBuffer();
     String attributeName, headerName;
     String entriesName = "I"; //dataNode.getNodeInfo().getName();
     String entryName = entriesName + "";
     // trim given header texts, so that XML element names adhere to the rule 'no spaces contained'.    
     trimHeaderTexts(columnInfos);
     x.append("<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n");
     x.append("<").append(entriesName).append(">\n");
     for (int i = 0; i < dataNode.size(); ++i) {
       IWDNodeElement dataNodeElement = dataNode.getElementAt(i);
       x.append("<").append(entryName).append(">\n");
       for (Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();) {
          attributeName = (String) iter.next();
          headerName = (String) columnInfos.get(attributeName);
          String colVal = (String)dataNodeElement.getAttributeAsText(attributeName);
          //colVal = colVal.replace(' ','');
          colVal = colVal.replace('&','-');
          colVal = colVal.replace('<','L');
          colVal = colVal.replace('>','G');
          colVal = colVal.replace('/','-');
          x
            .append("<")
            .append(headerName)
            .append(">")
            .append(""+colVal)
            .append("</")
            .append(headerName)
            .append(">\n");
       x.append("</").append(entryName).append(">\n");
     x.append("</").append(entriesName).append(">\n");
     return x.toString();
  private String replaceSpecialChars(String inputString){
     String outputString = inputString;
     outputString.replace('A','B');
     inputString.replace('A','B');
     return outputString;
  private Map getColumnInfosAOISUMM() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZBUS__UNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZPRODCATEG__D, "ProfitCenter");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZ1_TO30__FKKOPRU, "One Month OverDue");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZ31_TO60__FKKOPRU, "Two Months OverDue");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZ61_TO90__FKKOPRU, "Three Months OverDue");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZ91_TO18__FKKOPRU, "Three to Six Months OverDue");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZGT180__FKKOPRU, "Greater Than Six Months");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZCURREN__FKKOPRU,"Current");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.ZZFUTURE__FKKOPRU, "Future");
     columnInfosMap.put(IPrivateExportexView.IEt_MasElement.TOTAL, "Total");
     return columnInfosMap;
  private Map getColumnInfosBU() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.ZZBUSUNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.ZZSUBBUSUNIT__D, "SubBusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.ZZPRCTR__D, "ProfitCenter");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.ZZREGION__D, "Region");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.ZZUWRITER__D, "Underwriter");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.ZZBROKER__D, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.GPART__D, "Insured");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.VTREF, "Policy");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.AMNT__ADJ, "Adjustment");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.AMNT__COMM, "Commission");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.AMNT__DUE, "Due");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.AMNT__GROSS, "Gross");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.AMNT__PAID, "Paid");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.AMNT__NET, "Net");
     columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.FAEDN, "DueDate");
     //columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.HVORG__D, "Main");
     //columnInfosMap.put(IPrivateExportexView.IEt_Bu1Element.TVORG__D, "Sub");
     return columnInfosMap;
  private Map getColumnInfosCARM() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.ZZBUSUNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.ZZSUBBUSUNIT__D, "SubBusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.ZZPRCTR__D, "ProfitCenter");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.ZZREGION__D, "Region");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.ZZMANAGER__D, "TeamManager");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.ZZACCREP__D, "AccountRepresentative");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.ZZBROKER__D, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.GPART__D, "Insured");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.VKONT, "Contract");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.VTREF, "Policy");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.AMNT__ADJ, "Adjustment");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.AMNT__COMM, "Commission");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.AMNT__DUE, "Due");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.AMNT__GROSS, "Gross");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.AMNT__PAID, "Paid");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.AMNT__NET, "Net");
     columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.FAEDN, "DueDate");
     //columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.HVORG__D, "Main");
     //columnInfosMap.put(IPrivateExportexView.IEt_Carm1Element.TVORG__D, "Sub");
     return columnInfosMap;
  private Map getColumnInfosAOIDet() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZBUS__UNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZPRODCATEG__D , "ProfitCenter");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZNAME1__FKKOPRU, "BusinessPartner");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZNAME__B__FKKOPRU, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.BUKRS, "Company Code");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.VTREF, "Policy");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZHVORGT, "Main");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZTVORGT, "Sub");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZ1_TO30__FKKOPRU, "One Month OverDue");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZ31_TO60__FKKOPRU, "Two Months OverDue");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZ61_TO90__FKKOPRU, "Three Months OverDue");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZ91_TO18__FKKOPRU, "Three to Six Months OverDue");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZGT180__FKKOPRU, "Greater Than Six Months");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.TOTAL, "Total");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.ZZCURREN__FKKOPRU,"Current");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.OPBEL, "Document No");
     //columnInfosMap.put(IPrivateExportexView.IEt_Detail1Element.VKONT, "Contract Account");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.BUDAT, "Posting Date");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.FAEDN, "Due Date");
     columnInfosMap.put(IPrivateExportexView.IEt_DetailElement.WAERS, "Currency");
     return columnInfosMap;
  private Map getColumnInfosRMETRICS1() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.ZZBUSUNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.ZZSUBBUSUNIT__D, "SubBusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.ZZPRODCATEG__D, "Profit Center");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.ZZREGION__D, "Region");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.ZZOFFICE__D, "Office");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.NAME__AR, "Collection Rep");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.NAME__BR, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.NAME__IN, "Insured");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z0_TO3__AMT, "ZeroToThreeDaysBilledAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z0_TO3__POL, "ZeroToThreeDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z4_TO5__AMT, "FourToFiveDaysBilledAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z4_TO5__POL, "FourToFiveDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z6_TO10__AMT, "SixToTenDaysBilledAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z6_TO10__POL, "SixToTenDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z11_TO15__AMT, "ElevenToFifteenDaysBilledAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z11_TO15__POL, "ElevenToFifteenDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z16_TO30__AMT, "SixteenToThirtyDaysBilledAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.Z16_TO30__POL, "SixteenToThirtyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.ZOVER30__AMT, "OverThirtyDaysBilledAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbidElement.ZOVER30__AMT, "OverThirtyNoOfPol");
     return columnInfosMap;
  private Map getColumnInfosRMETRICS2() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.ZZBUSUNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.ZZSUBBUSUNIT__D, "SubBusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.ZZPRODCATEG__D, "Profit Center");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.ZZREGION__D, "Region");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.ZZOFFICE__D, "Office");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.NAME__AR, "Collection Rep");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.NAME__BR, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.NAME__IN, "Insured");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.Z0_TO30__AMT, "ZeroToThirtyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.Z0_TO30__POL, "ZeroToThirtyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.Z31_TO90__AMT, "ThirtytoNinetyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.Z31_TO90__POL, "ThirtytoNinetyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.Z91_TO120__AMT, "NinetytoOneTwentyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.Z91_TO120__POL, "NinetytoOneTwentyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.ZOVER120__AMT, "OVEROneTwentyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_EfdbodElement.ZOVER120__POL, "OVEROneTwentyDaysNoOfPol");
     return columnInfosMap;
  private Map getColumnInfosWRITEOFF() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.ZZBUSUNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.ZZPRCTR__D, "ProfitCenter");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.ZZOFFICE__D, "Office");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.INSU__NAME, "Insured");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.INSOBJECT, "InsuranceObject");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.TVORG__TXT, "SubTransaction");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.HVORG__TXT, "MainTransaction");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.ABGRD__D, "WriteOffReason");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.ZZCOLLREP__D, "CollectionRepresentative");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.AUTH__NAME, "AuthName");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.AUTH__DATE, "AuthDate");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.WRITE__AMT, "WriteOffAmount");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.COMM, "Commission");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.GROSS, "Gross");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.NET, "Net");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.REVERSED, "Reversed");
     columnInfosMap.put(IPrivateExportexView.IEt_Writeoff1Element.ABDAT, "WriteOffDate");
     return columnInfosMap;
  private Map getColumnInfosRMETRICS3() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.ZZBUSUNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.ZZSUBBUSUNIT__D, "SubBusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.ZZPRODCATEG__D, "Profit Center");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.ZZREGION__D, "Region");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.ZZOFFICE__D, "Office");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.NAME__AR, "CollectionRep");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.NAME__BR, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.NAME__IN, "Insured");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.NAME__BR, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.Z0_TO30__AMT__I, "ZeroToThirtyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.Z0_TO30__AMT__P, "ZeroToThirtyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.Z31_TO90__AMT__I, "ThirtytoNinetyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.Z31_TO90__AMT__P, "ThirtytoNinetyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.Z91_TO120__AMT__I, "NinetytoOneTwentyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.Z91_TO120__AMT__P, "NinetytoOneTwentyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.ZOVER120__AMT__I, "OVEROneTwentyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_PaddudElement.ZOVER120__AMT__P, "OVEROneTwentyDaysNoOfPol");
     return columnInfosMap;
  private Map getColumnInfosRMETRICS4() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.ZZBUSUNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.ZZSUBBUSUNIT__D, "SubBusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.ZZPRODCATEG__D, "Profit Center");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.ZZREGION__D, "Region");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.ZZOFFICE__D, "Office");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.NAME__AR, "CollectionRep");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.NAME__BR, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.NAME__IN, "Insured");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.NAME__BR, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.Z0_TO30__AMT__I, "ZeroToThirtyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.Z0_TO30__AMT__P, "ZeroToThirtyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.Z31_TO90__AMT__I, "ThirtytoNinetyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.Z31_TO90__AMT__P, "ThirtytoNinetyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.Z91_TO120__AMT__I, "NinetytoOneTwentyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.Z91_TO120__AMT__P, "NinetytoOneTwentyDaysNoOfPol");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.ZOVER120__AMT__I, "OVEROneTwentyDaysBookedAmt");
     columnInfosMap.put(IPrivateExportexView.IEt_BidbodElement.ZOVER120__AMT__P, "OVEROneTwentyDaysNoOfPol");
     return columnInfosMap;
  private Map getColumnInfosRMETRICSD() {
     LinkedHashMap columnInfosMap = new LinkedHashMap(); 
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.ZZBUSUNIT__D, "BusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.ZZSUBBUSUNIT__D, "SubBusinessUnit");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.ZZPRODCATEG__D, "Profit Center");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.ZZREGION__D, "Region");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.ZZOFFICE__D, "Office");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.NAME__AR, "CollectionRep");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.NAME__BR, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.NAME__IN, "Insured");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.NAME__BR, "Broker");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.BILL__DT, "BillDate");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.BOOK__DT, "BookDate");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.CREATE__DT, "CreateDate");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.FANR, "InvoiceNumber");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.HVORG__D, "Main");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.TVORG__D, "Sub");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.GROSS, "GrossInvoiced");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.NET, "NetInvoiced");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.COMM, "CommissionInvoiced");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.TAX, "TaxInvoiced");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.GROSS__PAID, "GrossPaid");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.TAX__PAID, "TaxPaid");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.NET__PAID, "NetPaid");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.COMM__PAID, "CommissionPaid");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.AUGDT, "ClearingDate");
     columnInfosMap.put(IPrivateExportexView.IEt_MetdetElement.AUGBT, "ClearingAmount");
     return columnInfosMap;
  private IWDCachedWebResource getCachedWebResource(byte[] file, String name, WDWebResourceType type) {
     IWDCachedWebResource cachedWebResource = null;
     if (file != null) {
       cachedWebResource = WDWebResource.getWebResource(file, type);
       cachedWebResource.setResourceName(name);
     return cachedWebResource;
  private static String GC_REPORTTYPE_OPENITEMS_SUMM = "AOISUMM";
  private static String GC_REPORTTYPE_OPENITEMS_DET = "AOIDET";
  private static String GC_REPORTTYPE_BPACCTSTAT_BU = "BPBU";
  private static String GC_REPORTTYPE_BPACCTSTAT_CARM = "BPCARM";
  private static String GC_REPORTTYPE_RMETRICS_EFDBID = "RMETRICS1";
  private static String GC_REPORTTYPE_RMETRICS_EFDBOD = "RMETRICS2";
  private static String GC_REPORTTYPE_RMETRICS_PADDUD = "RMETRICS3";
  private static String GC_REPORTTYPE_RMETRICS_BIDBOD = "RMETRICS4";
  private static String GC_REPORTTYPE_RMETRICS_DETAIL = "RMETRICSDETAIL";
  private static String GC_REPORTTYPE_WRITEOFF = "WRITEOFF";
  //@@end
Marks will be rewarded for sure.
Regards,
Pranathi.

Hi, I finally found the issue which was causing the numbers stored in text format issue. While exporting data to Excel programatically if any of the cells precede with a special character like -. = etc.. the data which is exported after that starts behaving in a peculiar way. So removal of any such special characters resolves the issue.
Hope this helps..
Regards,
Macho

Similar Messages

  • Web App Designer Export to Excel - Issue

    Hi Gurus,
    I was able to sucessfully configure export to excel feature in WAD. However the issue we are encountering is, we have a button which runs a script function, this manupulates data in some columns of the report. So when I perform export to excel after the script function is excuted, the export gets the old state of data and not the data after the script function is run. Is there are way to fix this issue. Please advise.
    Thanks Again!

    Dear Customer,
    WYSIWYG (What You See Is What You Get) is not supported on Export to Excel.
    If you are using some script AFTER data comes to screen, you will NOT see the effects on Excel.
    This is documented in the note:
    1178857 - Additional information: Export to Excel functions
    " Layout
         o  Currently WYSIWYG export is not supported.
    Sorry to not provide a better solution.
    Best regards,
    Edward John

  • Webi Report exported to excel issues

    Hello all.
    I have a webi report which when  I export to excel gets intended to the right. That is at the top it looks right but as I scroll down it keeps moving to the right and at the end of the page all the data is completely moved to the right and is not visible.
    What could be the issue?How do I solve this?
    Thanks,
    Nisha

    Thank you for your response.
    BO Version : 3.1
    Excel: 2010
    yes the columns get shifted to the right as seen in the screenshot. So as I keep scrolling down the report shifts to the right and disappears as we keep scrolling.

  • ADF 11g: Desktop Integrator- Export to Excel issue

    Hi,
    We are using ADF 11g.
    In our application we have one feature where end users can download data in excel format from our web application.
    To export data to excel file, users need to click Export to Excel button. But after deployment of code to standalone WLS 11g we are facing following issue with this functionality:
    To export data to excel file we have to keep pressing control key through out the operation
    If we don't do so it does not downloads the file.
    We want the file should be downloaded as soon as user clicks Export to Excel button. (We don't want users to keep pressing control key through this process)
    Please help on this how to achieve this.
    Thanks and Regards
    Manav Ratra

    Hi Shay,
    I implemented this functionality following Franks blog on export data to excel.
    Ya in your application we are able to export to excel without holding control Key.
    The same is happening in our case if we run application using integrated WLS 11g on JDev 11.1.1.3
    but after hosting the application on standalone WLS 11g. We need to hold control key. :|
    Are there any properties which we need to set to avoid this.
    here is code :
    *<af:commandButton text="Export to Excel"*
    *binding="#{backing_Rates.btn_Export}"*
    *id="btn_Export" inlineStyle="width:150.0px;"*
    *shortDesc="Click to Save table in excel sheet">*
    *<af:exportCollectionActionListener exportedId="pctbl:t1"*
    *type="excelHTML"*
    *filename="#{backing_Rates.seName}_Rates.xls"*
    *title="Rates for - #{backing_Rates.seName} are:"/>*
    *</af:commandButton>*
    Please help.
    Thanks & Regards
    Manav Ratra

  • Urgent (Export to Excel issue)

    Hello Experts,
    I am trying to execute one of the BW report via portal. I have a following issue when I am trying to use Export to excel option from the context menu.
    The first part of Export to Excel works ok. but if I choose either the Save or the Open option it appears to work but I get a file with only c20 lines, instead of the 20,000+ lines in the report. If I then go back to the BW report and try to do anything it tells me that the session has timed out message attached
    Can someone please help me to fix this issue.
    Thanks and Regards,
    Apparao

    There are several. Here's one of them:
    1) Click on the fx button of the column in question. Enter the following:
    '<span style "display:none">&nbsp</span>'|| columnanme NOTE: Put an "equal sign" after the word "style." I could not get this to display with the operand in. Sigh.
    2) Change the Data Format to HTML on the Data Format tab.
    3) Export in the usual manner.

  • Export to Excel issue after upgrading to IE11

    Hi All,
    Our organization recently upgraded our Internet Explorer browser from 8 to 11 on Win7, still in pilot phase.
    One of the issues that we are currently experiencing is that after the upgrade  the Export to Microsoft Excel is no longer functioning as expected. This was working fine on IE8.
    What happens now on IE11 is that when you select a table on a web-page and do an Export to Excel, a new window pops up and the address bar stays blank with just http:/// and "Page cannot be displayed" error. What's seems to be happening is that for
    some reason, it is not populating the address bar with the URL.
    Anyone experienced similar issues and got a fix? Much appreciated.
    Regards,
    Ochen

    Hi Ochen,
    Since this is an Internet Explorer related issue, I suggest you refer to the dedicated IE forum below to get more professional support:
    Internet Explorer 8, 9, 10, 11 Forum
    https://social.technet.microsoft.com/Forums/en-US/home?forum=ieitprocurrentver
    Best Regards,
    Amy

  • Hyperion Financial Report Export to Excel Issue

    Hello,
    We recently upgraded to 11.1.2.1 and I have had several users tell me that they are having an issue when trying to export a report from the workspace into Excel. It hangs up their computer and they have to close down the browser and start over. I had a user today try exporting to Word and Power Point but they still had the same problem.
    Unfortunately, there are not any error messages to share so hopefully someone else has seen this before and has a solution. I'm assuming it has to be an IE setting somewhere, but not sure where to start looking. Any assistance would be appreciated.
    Thank you,
    Jason

    Mehmet,
    Thank you for the quick response. It turns out this was something the users were doing. In 11.1.2.1 if a user does an export to Excel and when it asks do you want to save or open the file, if the user selects Open then a bunch of error messages popup and sometimes locks up the computer. We had instructed all of our users that they must first save the file, then open it and it should solve this issue for the time being. I had put a ticket into Oracle for this problem and they are still working on it. I will update again if/when they provide a more permanent solution.
    Thanks,
    Jason

  • Web report Export to Excel Issue

    Hi,
    I've tried to look at one of the issues already logged about the Export to Excel functionality and I was not able to find a solution to my problem.
    In my organization we are using BW 3.5. And when I run a web report, and try to export to excel a 15000 line report, I'm always getting only the first 400 or 500 rows. If I go to the last line and try to do the same, I will then get the full report exported to excel.
    Any idea why this is happening?
    Thanks,
    JS

    Try to run the report using the 0ANALYZER template and see whether you can replicate the issue.  If the behavior is same with 0ANALYZER then it will be a issue with SAP code.

  • Export to Excel Issues

    We just upgraded from Crystal 8.5 to Crystal 10.  When we export to Excel, the formatting is terrible.  We have close to 100 reports that we routinely export...some with 40,000 rows.  To try to fix these once they're in Excel is out of the question.
    In previous threads I've been reading about a "patch" that supposedly fixes this.  Where can I download this?
    Eric Hill

    The way reports work and export changed significantly in CR 9. While there was a dll available to help move from CR 8.x to CR 9, that dll is no longer available. Not for CR 9, nor any other versions of CR. Instead, you will have to modify your reports as per the article [Crystal Reports Designer Version 10 Exporting to Microsoft Excel|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/10d3ba69-951e-2b10-3093-e3cf287a57c9?quicklink=index&overridelayout=true].
    No other work-arounds or options exist at this time.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Export to excel issue - date format cannot be displayed properly

    Dear all,
    When we do a export to excel, if it has date format, we always have problem on displaying it in excel. Some of the date if we change the data format, it will be changed to the correct way. Others will remain the old data format. Any idea?
    I've checked the SAP note. It doesn't work. Thank you in advance.
    Regards,
    Yuka
    SAP Note:
    Click the Excel symbol in the task bar in Business One
    Save the file as ".txt"
    Open Excel and open the file as a ".txt" (Select in "Files of type" All Files (,))
    In the Text Import Wizard Select "Delimited" and for "Start import at row" 1.
    Click "Next"
    In the Text Import Wizard - Step 2, select 'tab' in "Delimiters", for "Text qualifier:" choose ""
    Click "Next"
    In the Text Import Wizard - Step 3, highlight the Date column and in "Column data format" check the radio button Date in the drop down menu beside Date you can set the date format you require
    Click "Finish"

    Dear Yuka,
    You may check this thread:
    Re: Incorrect date format in excel reports
    Thanks,
    Gordon

  • Hyperion Financial reporting Export to excel issue

    Hi,
    I am exporting a FR report to excel as fully formatted option. But negative values are not exported to excel correctly. Excel shows as positive numbers.
    What could be the reason.
    Thanks
    Shyamkant

    I had this problem a while ago and i think it was related to how i had the numbers formatted. Try to format with brackets - this works for me.

  • Hyperion FR Report  Export to Excel Issue

    Hi,
    i am in 11.1.2.1 Hyperion planning . I have around 10 FR reports.
    The issue i am having is when i exporting FR report to File ->Export->Excel then the
    1.coulmn having Data in Date format is getting converted to some number.
    where as if i am exporting in Query Ready mode or in PDF or Word then the format is absolutely fine as i am viewing in HTML view.
    Do we need to change some setting in coulmn level to get the format corrent in Excel.
    Regards
    KP
    Edited by: KP on Aug 26, 2011 1:12 PM

    Previous version had this problem but not sure about 11.1.2.1
    You can refer to the document in metalink
    Formatting is Lost When Exporting Financial Reporting (FR) Reports to Excel (Doc ID 1302766.1)
    Cheers
    Vikas Naidu

  • Export to Excel Issue - Background Colors

    Hi,
    I have upgraded report server from 2005 to 2008R2. I have an issue where in my code 2 separate reports are output into Excel. When this happens the background color is a random bright color such as green and yellow.
    I tried creating a new report in the same solution but I get the same issue. I also tried setting colors in report to just black & white but no change.
    I found
    this KB but does not help in my situation as no manual copy/paste.
    Any ideas? Thanks!
    string differencesFile = "myfilepath";
    Excel.Application xlApp;
    Excel.Workbook finalWorkbook;
    Excel.Workbook xlWorkbook;
    Excel.Worksheet balancesWorksheet;
    Excel.Worksheet differencesWorksheet;
    Excel.Worksheet newWorksheet;
    object missing = System.Reflection.Missing.Value;
    xlApp = new Excel.ApplicationClass();
    xlWorkbook = xlApp.Workbooks.Open(differencesFile, 0, true, 5, "", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, 1, 0);
    differencesWorksheet = (Excel.Worksheet)xlWorkbook.Sheets[1];
    finalWorkbook = xlApp.Workbooks.Add(missing);
    newWorksheet = (Excel.Worksheet)finalWorkbook.Sheets.Add(missing, missing, missing, missing);
    differencesWorksheet.Copy(missing, newWorksheet);
    xlWorkbook.Close(false, differencesFile, false);

    Hi obrienkev,
    In order to trouble shoot this issue more efficiently, could you tell me what’s the function of this code you posted? What do you want to do with this code? Could you explain it more details?
    As to your issue, please try to directly export the report to Excel to check this issue again. Are you get the correct background color in the report or with the same issue? Tell us more detail information, then we can make further analysis.
    Thank you for your understanding.
    Regards,
    Katherine xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Export as Excel issue using Flash Player

    Dear experts,
    We have a functionality to Export grids as Excel. However this gives the error as "Cannot save because a file with the same name is open. Please close that file before saving". However, the file is not open. We suspect this is because of the flag LocalFileReadDisable = 1. We cannot set it to 0 due to our company policies. We are using FileReference Class for the Excel export. Please let us know what can be done to workaround this.
    Thanks,
    Lakshmi

    Would you mind reposting this question over on the Flash Professional forums?  This forum is primarily for end users, the Pro forums will get you in touch with a wider developer audience.
    Thanks,
    Chris

  • Report export to excel issue

    Hello,
    One user is not able to export S_ALR_87013326 - Profit Center Report , from the path below.
    REPOT >> EXPORT. The "export" is inactive for use for this user only.Please advise what is missing for the user. There is no issue in gui level or PC ms office set up. I tried in my PC with my user id its working fine. I tried with that user id in my PC it is not working.
    Thanks
    Dinabandhu

    Hi,
    Please check whether the user is missing any authorizations.
    Regards
    Sreekanth

Maybe you are looking for

  • Looking into starting a business using creative cloud and business catalyst

    Hi, I am just looking for a bit of clarification on a few things. I am looking at using Creative cloud and Business Catalyst for a new business. Firstly, if I have both a Mac and a PC, will one creative cloud subscription allow me to install on both?

  • Problem -How to figure out "message could not be saved" alternate location?

    Hmmmm.... what could be causing this? Does Mail or the computer do an 'auto-save' somewhere when I get the message "The message could not be saved." It's very frustrating as I don't know how to tell if a message has gone, or who it's gone to. It only

  • How to access my files

    My main computer (G5) failed and it's been repaired. But for the time being I'm working with my laptop. When I try to access my files in Time Capsule (Time Machine) I don't get the option to look at my G5 backups. When I click on the Time Capsule Ico

  • Error while opening Mobile Sales

    Hi  all I have developed one application in MAS. Before Generating i tick make dll both UI and Businsslogic then generate.  After that i open Mobile sales application "Starting Mobilesalesfailed". Context - UI_CORE_APPL_LAUNCH_FAILED_STA. Starting Mo

  • Endless loop condition

    Hi there, Working on a client/server chat application. On the client side app, everytime I want to send a message I create a new Thread called "SendingThread". See below. import java.io.*; import java.net.*; public class SendingThread extends Thread