J1INCHLN - remittance items - export to excel

Dear All,
While creating Remittance Challan through J1INCHLN, system lists out the documents that can be remitted. To reconcile the documents picked with TDS account balance, we are manually comparing each document & finding out if any doc is not picked in remittance challan.
Is there any way to export these remittance challan items to excel, so that the reconciliation process becomes easier?
Please suggest.
Regards,
Gangadhar

Hi,
Export table J_1IEWTCHLN which will give you entire details for the TDS has been processed. and
Table WITH_ITEM which will show you items or documents with TDS amount.
Export both of above tables into excel and compare.
Regards,
Chintan Joshi.

Similar Messages

  • WAD - Export to Excel: Information from Web Item "FILTER_PANE_ITEM"

    Hi all
    In a report header I would like to display all the restrictions (filters) that have been placed on a query. I do this by adding a FILTER_PANE_ITEM in the web application. I works fine in the IE: In the top of the report all restrictions are displayed and below the query result from ANALYSIS_ITEM part.
    I have created a Buttom called "Export to Excel". The Command is EXPORT and in the web items for Data Binding I list both the FILTER_PANE_ITEM and the ANALYSIS_ITEM.
    When I run the report in the IE and push the "Export to Excel" buttom the data is exported to Excel...but only the ANALYSIS_ITEM part. All information from the FILTER_PANE_ITEM are missing... And I don't understand why!
    Can anyone give me a hint to what I am doing wrong?
    Regards
    Peter

    Peter
    FILTER_PANEis not an exportable item and hence the web item binding is ignored.
    Please see note 1178857 - Additional information: Export to Excel functions
    Alternatively, you can use INFO_FIELD Web Item to display the list of static, dynamic filters and variable values used.
    Thanks
    Sri

  • 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 

  • While working in Material Master, Before exporting to Excel need to know the count of listed items in SQVI Reporting

    While working in Material Master, Before exporting to Excel need to know the count of listed items in SQVI Reporting

    Major documentation is at https://service.sap.com/installmdm.
    In the "Installation" section, you can find information about predefined object models (e.g. Product, Business Partner). For "Vendor" information, please check under "Previous Releases (ZIP Files) > MDM 5.5 (SP03) Installation Guides > SAP ERP-MDM Field Mapping and Check Tables.xls.

  • Web Template - Variable & Export to Excel Web Items are not working

    Hi Experts,
    In a Web Report & Web Template Variable & Export to Excel Web Items are not working ; Any body have any idead ?
    Do i need to write any HTML code to funtion those web items.
    Thanks
    KAruna

    Dear Karuna,
    Review your default template. Probably is 0ANALYSIS_PATTERN.
    Reactive the version D and check again.
    Also, you are able to modify the webitems on Export to Excel on 'BUTTON_TOOLBAR_2' -> Button list number  4.
    And, you are able to check the 0ANALYSIS_PATTERN_EXPORT, in case of configuration.
    If you want to remove/add new items, I suggest you to save as another name. SAP does not allow to modify delivered objects
    ex:. 0Objects.
    Best Regards,
    Edward S. John

  • How to export to excel only items filtered on my view

    In my specific list, I filtered to a account we are going to pay.  Then when I click on "Export to Excel" button all the items of the list gets exported. How would I export data that I want?
    Example: Because we cannot filter on the JPP number, we first filter on area = Northeast then filter on Muni = Granville T & V then filter on JPP # 801000024716  then I go to list and click on xport to xcel.... it takes about a minute then we get
    a list of many, many jpps.... not just the one.  
    Our hope was to export to excel the info on the view and just give it to the billing clerk so she can pay the bill using the view info.

    While not as nice as a one click export, the following will work fairly quickly...
    Display the list.
    Click the LIST tab and click Quick Edit.
    Filter the list.
    Select the range and press Ctrl-C.
    Open Excel and paste.
    Over your hoped for steps, this adds on the ribbon click and then a copy and paste. And if you don't need Excel for other reasons, this pastes very nicely into an email.
    You could also create a Quick Edit view and save the ribbon clicks.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • SharePoint 2007 Export to Excel 2010 or Excel 2013 Fails to Export All Fields in All Items View

    Hi All,
    When I am trying to export the SharePoint View from SharePoint site to Spreadsheet (Excel 2013), I am able not able to export the the whole data, I'm missing some numerical columns from being displayed in Excel
    I have Infopath form (2007) published on SharePoint Site and I am using MOSS 2007 and Excel 2013. My form has only 20 or so fields and the rest are fields I generated in the form library to do several other calculations. I have already 73 columns
    displayed which should be exported to Excel, need help

    Hi,
    As per your post, I understand “Excel cannot connect to the SharePoint list” is thrown out in Excel 2010 when exporting the external list in SharePoint 2013. We are able to export the external list to Excel 2013.
    This issue does not occur on the standard lists.
    I am able to reproduce the issue and it could be a potential issue in SharePoint 2013.
    We will log this issue to our suggestion box. As after the submission, we may not have any time guarantee when the fix may be released, but it may come out on next cumulative update.
    Appreciate your time and efforts.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Export to Excel Action in MS SSRS Report not exporting all data in Report

    Hi,
    I have developed a complex Report that has many expandable nodes in a table format. The report works fine.
    However, when I export the Report to Excel using Actions --> export to Excel, only the data in expanded nodes is included. The data in collapsed nodes is not included.
    I am looking for approach to include data in expanded nodes in Excel Export. The expanded data can be expanded in Excel.
    Any help in this regard will be appreciated.

    Hi Abhijit PS,
    Per my understanding you are experiencing the issue with the excel report which have add the drill down action, after export to excel only the expanded nodes included and the collapsed nodes is not shown, right?
    Generally, if we expand the nodes before export to excel then the excel will display the expanded details row and keep collapsed the details row which haven't expand, but we have the toggle "+","-" on the left of the Excel to help
    control the expand and collapse, when you click the "+" you can expand the collapsed notes to see the details rows.
    I have tested on my local environment with different version of SSRS and can always see the "+","-" as below:
    On the Top left corner you can find the "1","2", this help to control the "Collapse All" and "Expand All".
    If you can't see the "+","-" in the excel, the issue can be caused by the Excel version you are currently using, and also excel have limit support of this, please provide us the Excel version information and the SSRS version. You
    can reference to this similar thread:
    lost collapsing columns when export to excel
    Please try to export other drill down report to excel and check if they work fine, if they did, the issue can be caused by the drill down action you have added in this report is not correctly, if possible, please try to redesign the report.
    Article below about how to add  Expand/Collapse Action to an Item for your reference:
    http://msdn.microsoft.com/en-us/library/dd220405.aspx
    If your problem still exists, please feel free to ask
    Regards
    Vicky Liu

  • Export to excel and others inactive in ALV GRID

    Hi,
    I am creating a report using the 'REUSE_ALV_GRID_DISPLAY' FM and the export to excel fucntionality is inactive. There is no spreadsheet push button on the application toolbar and the List->Export sub menu items 'Word processing' 'spreadsheet' and 'local file ' are all inactive. I have tried to run the code on a different system and the export to excel functionality works there. I am considering creating a new GUI staus using the standard status contained in the function group of 'REUSE_ALV_GRID_DISPLAY' but will like to know if this issues can be remedied e.g is it probably a basis issue or a configuration issue e.t.c.
    Thanks
    Andy.

    Hi Max,
    Checked the PF_STATUS_SET routine and there was code that deactivated  all gui download function codes of the standard gui status if an authorisation check failed ( auth obj. S_GUI) but the function code for excel export is &XXL not &VEXCEL.
    Thanks for the prompt reply max, much appreciated
    regards
    Andy.

  • Formatting lost when exported to excel

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

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

  • 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

  • Getting error while export to excel

    I have a report which following exprort to excel. I am following http://deneskubicek.blogspot.com/2007/03/export-to-excel-instaad-of-csv-or-txt.html
    above link example. In the read me file they mentioned that
    •     If the reports have a group by clause included, you need to modify the package and use v(‘ITEM’) syntax instead of (SELECT v(‘ITEM’) FROM DUAL):
    I found "from dual" statement in package at one place so how can i modify the query as per the above statment. I am getting the actual error as below.
    v_sql :=
    REPLACE (v_sql,
    UPPER (v_names (i)),
    '(SELECT v('''
    || LTRIM (v_names (i), ':')
    || ''') FROM DUAL)'
    Report Values Error: ORA-06550: Zeile 1, Spalte 170: PL/SQL: ORA-00936: Ausdruck fehlt ORA-06550: Zeile 1, Spalte 162: PL/SQL: SQL Statement ignored / -6550 / select from ( SELECT FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ,MAX(AWARD_SHORT_NAME) ,MAX(TASK_NUMBER) TASK_NUMBER ,MAX(BOND_PROCEEDS) BOND_PROCEEDS ,MAX(PROJ_OWNING_CATEGORY) PROJ_OWNING_CATEGORY ,MAX(SCHOOL_DEPT) SCHOOL_DEPT ,MAX(GA_PPU_PERC) GA_PPU_PERC ,MAX(GA_SERA_PPU_PERC) GA_SERA_PPU_PERC ,MAX(GA_MATCH_SERA_PPU_PERC) GA_MATCH_SERA_PPU_PERC ,MAX(CURR_EXPENDITURE_GIFT) CURR_EXPENDITURE_GIFT ,MAX(CURR_EXPENDITURE_UNIV) CURR_EXPENDITURE_UNIV ,MAX(CURR_EXPENDITURE_EQTY) CURR_EXPENDITURE_EQTY ,MAX(SUBTOTAL_14) SUBTOTAL_14 ,MAX(TOTAL_DEBT_DRAW_AMT_TE) TOTAL_DEBT_DRAW_AMT_TE ,MAX(OTHER_TOTAL_DEBT_DRAW_AMT_TE) OTHER_TOTAL_DEBT_DRAW_AMT_TE ,MAX(SUBTOTAL_17) SUBTOTAL_17 ,MAX(SUBTOTAL_18) SUBTOTAL_18 ,MAX(GIFT_EQTY_PERCENT) GIFT_EQTY_PERCENT ,MAX(UNIV_EQTY_PERCENT) UNIV_EQTY_PERCENT ,MAX(NON_TE_EQTY_PERCENT) NON_TE_EQTY_PERCENT ,MAX(subtotal_22) subtotal_22 ,MAX(CURR_TE_BOND_PERCENT) CURR_TE_BOND_PERCENT ,MAX(OTH_TE_BOND_PERCENT) OTH_TE_BOND_PERCENT ,MAX(SUBTOTAL_25) SUBTOTAL_25 ,MAX(organized_research_sqft) organized_research_sqft ,MAX(ga_sera_ppu_sqft) ga_sera_ppu_sqft ,MAX(dept_research_sqft) dept_research_sqft ,MAX(nse_sqft) nse_sqft ,MAX(common_sqft) common_sqft ,MAX(name_sqft) name_sqft ,MAX(other_sqft) other_sqft ,MAX(SUBTOTAL_36) SUBTOTAL_36 ,MAX(PI_ROOM_SQFT) PI_ROOM_SQFT ,MAX(Total_BLDG_SQFT) Total_BLDG_SQFT ,MAX(organized_research_perc) organized_research_perc ,MAX(ga_sera_ppu_percent) ga_sera_ppu_percent ,MAX(dept_research_perc) dept_research_perc ,MAX(nse_perc) nse_perc ,MAX(common_perc) common_perc ,MAX(name_perc) name_perc ,MAX(other_perc) other_perc ,MAX(Total_Bldg_perc) Total_Bldg_perc ,MAX(fed_state_spo_res_flag) fed_state_spo_res_flag ,MAX(corporate_spo_flag) corporate_spo_flag ,MAX(ppu_flag) ppu_flag ,MAX(in_service_date) in_service_date ,MAX(demolished) demolished from (select AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE+TOTAL_DEBT_DRAW_AMT_TX BOND_PROCEEDS ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY as SUBTOTAL_14 ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_17 ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_18 ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,GIFT_EQTY_PERCENT+UNIV_EQTY_PERCENT+NON_TE_EQTY_PERCENT as subtotal_22 ,CURR_TE_BOND_PERCENT ,Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)<>0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END AS OTH_TE_BOND_PERCENT ,CURR_TE_BOND_PERCENT+Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)<>0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END as SUBTOTAL_25 ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,organized_research_sqft+ga_sera_ppu_sqft+dept_research_sqft+common_sqft+name_sqft+name_sqft+other_sqft SUBTOTAL_36 ,PI_ROOM_SQFT --37 A (SUM OF PIR-ROOM_SQFT) ,sum(PI_ROOM_SQFT) as Total_BLDG_SQFT ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS organized_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(ga_sera_ppu_sqft*100/sum(PI_ROOM_SQFT)),2)) AS ga_sera_ppu_percent ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(dept_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS dept_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(nse_sqft*100/sum(PI_ROOM_SQFT)),2)) AS nse_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(common_sqft*100/sum(PI_ROOM_SQFT)),2)) AS common_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(name_sqft*100/sum(PI_ROOM_SQFT)),2)) AS name_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS other_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2))-decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS Total_Bldg_perc--45 ,Case when ga_sera_fed_score>0 then 'Yes' Else 'No' END as fed_state_spo_res_flag ,Case when ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as corporate_spo_flag ,Case when ga_sera_fed_score>0 or ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as ppu_flag ,in_service_date ,demolished from XXDL_CD_PTA_BLDG_LSR_FY_V where project_number=decode((SELECT v('P19_PROJECT') FROM DUAL),'',project_number,(SELECT v('P19_PROJECT') FROM DUAL)) AND FACILITY_ID=decode((SELECT v('P19_FACILITY_ID') FROM DUAL),'',FACILITY_ID,(SELECT v('P19_FACILITY_ID') FROM DUAL)) AND AWARD_NUMBER=decode((SELECT v('P19_AWARD') FROM DUAL),'',AWARD_NUMBER,(SELECT v('P19_AWARD') FROM DUAL)) AND TASK_NUMBER=decode((SELECT v('P19_TOP_TASK') FROM DUAL),'',TASK_NUMBER,(SELECT v('P19_TOP_TASK') FROM DUAL)) Group by AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TX ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,CURR_TE_BOND_PERCENT ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,PI_ROOM_SQFT ,ga_sera_fed_score ,ga_sera_ct_score ,ga_sera_score ,in_service_date ,demolished) Group by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER Order by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ASC)

    Report Values Error: ORA-06550: Zeile 1, Spalte 170: PL/SQL: ORA-00936: Ausdruck fehlt ORA-06550: Zeile 1, Spalte 162: PL/SQL: SQL Statement ignored / -6550 / select from ( SELECT FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ,MAX(AWARD_SHORT_NAME) ,MAX(TASK_NUMBER) TASK_NUMBER ,MAX(BOND_PROCEEDS) BOND_PROCEEDS ,MAX(PROJ_OWNING_CATEGORY) PROJ_OWNING_CATEGORY ,MAX(SCHOOL_DEPT) SCHOOL_DEPT ,MAX(GA_PPU_PERC) GA_PPU_PERC ,MAX(GA_SERA_PPU_PERC) GA_SERA_PPU_PERC ,MAX(GA_MATCH_SERA_PPU_PERC) GA_MATCH_SERA_PPU_PERC ,MAX(CURR_EXPENDITURE_GIFT) CURR_EXPENDITURE_GIFT ,MAX(CURR_EXPENDITURE_UNIV) CURR_EXPENDITURE_UNIV ,MAX(CURR_EXPENDITURE_EQTY) CURR_EXPENDITURE_EQTY ,MAX(SUBTOTAL_14) SUBTOTAL_14 ,MAX(TOTAL_DEBT_DRAW_AMT_TE) TOTAL_DEBT_DRAW_AMT_TE ,MAX(OTHER_TOTAL_DEBT_DRAW_AMT_TE) OTHER_TOTAL_DEBT_DRAW_AMT_TE ,MAX(SUBTOTAL_17) SUBTOTAL_17 ,MAX(SUBTOTAL_18) SUBTOTAL_18 ,MAX(GIFT_EQTY_PERCENT) GIFT_EQTY_PERCENT ,MAX(UNIV_EQTY_PERCENT) UNIV_EQTY_PERCENT ,MAX(NON_TE_EQTY_PERCENT) NON_TE_EQTY_PERCENT ,MAX(subtotal_22) subtotal_22 ,MAX(CURR_TE_BOND_PERCENT) CURR_TE_BOND_PERCENT ,MAX(OTH_TE_BOND_PERCENT) OTH_TE_BOND_PERCENT ,MAX(SUBTOTAL_25) SUBTOTAL_25 ,MAX(organized_research_sqft) organized_research_sqft ,MAX(ga_sera_ppu_sqft) ga_sera_ppu_sqft ,MAX(dept_research_sqft) dept_research_sqft ,MAX(nse_sqft) nse_sqft ,MAX(common_sqft) common_sqft ,MAX(name_sqft) name_sqft ,MAX(other_sqft) other_sqft ,MAX(SUBTOTAL_36) SUBTOTAL_36 ,MAX(PI_ROOM_SQFT) PI_ROOM_SQFT ,MAX(Total_BLDG_SQFT) Total_BLDG_SQFT ,MAX(organized_research_perc) organized_research_perc ,MAX(ga_sera_ppu_percent) ga_sera_ppu_percent ,MAX(dept_research_perc) dept_research_perc ,MAX(nse_perc) nse_perc ,MAX(common_perc) common_perc ,MAX(name_perc) name_perc ,MAX(other_perc) other_perc ,MAX(Total_Bldg_perc) Total_Bldg_perc ,MAX(fed_state_spo_res_flag) fed_state_spo_res_flag ,MAX(corporate_spo_flag) corporate_spo_flag ,MAX(ppu_flag) ppu_flag ,MAX(in_service_date) in_service_date ,MAX(demolished) demolished from (select AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE+TOTAL_DEBT_DRAW_AMT_TX BOND_PROCEEDS ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY as SUBTOTAL_14 ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_17 ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_18 ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,GIFT_EQTY_PERCENT+UNIV_EQTY_PERCENT+NON_TE_EQTY_PERCENT as subtotal_22 ,CURR_TE_BOND_PERCENT ,Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END AS OTH_TE_BOND_PERCENT ,CURR_TE_BOND_PERCENT+Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END as SUBTOTAL_25 ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,organized_research_sqft+ga_sera_ppu_sqft+dept_research_sqft+common_sqft+name_sqft+name_sqft+other_sqft SUBTOTAL_36 ,PI_ROOM_SQFT --37 A (SUM OF PIR-ROOM_SQFT) ,sum(PI_ROOM_SQFT) as Total_BLDG_SQFT ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS organized_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(ga_sera_ppu_sqft*100/sum(PI_ROOM_SQFT)),2)) AS ga_sera_ppu_percent ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(dept_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS dept_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(nse_sqft*100/sum(PI_ROOM_SQFT)),2)) AS nse_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(common_sqft*100/sum(PI_ROOM_SQFT)),2)) AS common_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(name_sqft*100/sum(PI_ROOM_SQFT)),2)) AS name_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS other_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2))-decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS Total_Bldg_perc--45 ,Case when ga_sera_fed_score>0 then 'Yes' Else 'No' END as fed_state_spo_res_flag ,Case when ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as corporate_spo_flag ,Case when ga_sera_fed_score>0 or ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as ppu_flag ,in_service_date ,demolished from XXDL_CD_PTA_BLDG_LSR_FY_V where project_number=decode((SELECT v('P19_PROJECT') FROM DUAL),'',project_number,(SELECT v('P19_PROJECT') FROM DUAL)) AND FACILITY_ID=decode((SELECT v('P19_FACILITY_ID') FROM DUAL),'',FACILITY_ID,(SELECT v('P19_FACILITY_ID') FROM DUAL)) AND AWARD_NUMBER=decode((SELECT v('P19_AWARD') FROM DUAL),'',AWARD_NUMBER,(SELECT v('P19_AWARD') FROM DUAL)) AND TASK_NUMBER=decode((SELECT v('P19_TOP_TASK') FROM DUAL),'',TASK_NUMBER,(SELECT v('P19_TOP_TASK') FROM DUAL)) Group by AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TX ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,CURR_TE_BOND_PERCENT ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,PI_ROOM_SQFT ,ga_sera_fed_score ,ga_sera_ct_score ,ga_sera_score ,in_service_date ,demolished) Group by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER Order by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ASC)
                                                                                                                                                                         ^
                                                                                                                                                                         |
                                                                                                                                                                         |
                                                                                                                                                                         missing columnyou are missing a column expression in your select statement. scroll to the right to see what i am referring to.

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • Error when exporting to Excel for SharePoint 2010 List

    We have few users who are getting the following error message when they try to export to Excel from the SharePoint list:
    "An operation that uses the database driver could not be completed. If the driver is a Microsoft driver, make sure the driver file isn’t damaged, and if it is, reinstall the driver by reinstalling Microsoft Query. For other drivers, contact
    your database administrator or driver vendor.‘
    The export option works for me on my machine and also tested it out on other users' machines without issues. The list is currently holds 29763 items.
    1. Created a view that filter the list to show few items, and the user was able to export without issues.
    2. Followed the steps in the following Blog:
    http://www.sharepointserverrecovery.com/blog/troubleshooting-problems-when-exporting-sharepoint-list-data-to-excel-spreadsheet-and-fixing-database-corruption/ and the user was able to export the original list.
    3. My colleagues and I don't have any issues exporting to Excel. (Note: even my test account, that does not have any special permissions or members of any SharePoint group(s)).
    4. Some Blog/Forums suggest to increase Threshold limit in Central Admin, which we don't want to do, since the issue only affect certain users.
    Any idea on how to troubleshoot/resolve the issue?
    Thanks,
    Yassar

    Do they have to export all the information or is a subset of it ok? 
    Creating an index on the columns that your users interact with the most and then creating views that limit the returned results will be useful.  This will then allow an export.

  • Export to Excel - File Name WAD 7.0

    Hi All,
    I am using Export to Excel Functionality with WAD 7.0 to export the report to excel format.
    I have used button web item, with an excel picture above it. The functionality works fine.
    But while exporting the name of excel file shown is WAD 7.0 name.
    ex. My WAD 7.0 name is IFIOP_C07_W700, the excel file also gets saved in this name.
    I want it to be made customizable.
    Can you throw some pointers.
    Thanks,
    Sri Arun Prian

    Hi,
    i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please.

Maybe you are looking for

  • Screen/movie capture apps for qt movies or flash 8 video player

    was helped with this by J walker. i am trying to view the code in firefox or safari from this video http://www.planetphotoshop.com/videos/flash_depthoffield.html but do not see a url with mov is this downloadable besides snapz pro is there a free app

  • ARD 3.2.2 Administrator crashes a lot!

    When I select all 32 laptops to observe ARD becomes very slow and eventually crashes if I click on one client to control. This doesn't happen if I am observing six clients. I can manage the six fine with no crashes as soon as I select all 32 the prob

  • Report link to databse

    To a report do I need to have a table on my database where the report is related to??? Or Can I create the report for itself? The problem is: I am managing a restaurant and let's say the report is the final bill (wich is the total of the items ordere

  • On Submit, is it possible to send out 2 different static PDFs with same dynamic data

    Greetings, I have a Purchase Request Form which is filled out by a scientist... and a confirmation copy is sent back to them and another copy is sent to an Import/Export Technician. The "confirmation copy" is actually in a format easier for the impor

  • Placeholder problem

    Hi, I am using WLCS 3.5/WLS 6.0 service pack 2/Oracle 8.1.6 with WebLogic jdrivers (816_7)(weblogicoci37.dll) and am trying to display the sample application. When the placeholders are loading I get the following exceptions: ####<02-Aug-01 11:53:27 B