Excel Issue
Hi,
I am doing Excel to Excel transfer.both the source and target are at the same location.
getting error message to choose 'staging area different from target'
for me the check box is greyed out, but I picked other staging area (MEMORY ENGINE-as I got that option to choose from the Error message)
below is the error message
ODI-1228: Task Exl-Test (Integration) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
Caused By: java.sql.SQLException: Table not found: Trgt in statement [update "I$_Trgt" set IND_UPDATE = 'U' where exists ( select 'X' from "Trgt" T where "I$_Trgt".SZEDBT = T.SZEDBT )]
at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
at com.sunopsis.sql.SnpsQuery.getPreparedStatement(SnpsQuery.java:977)
at com.sunopsis.sql.SnpsQuery.getPreparedStatement(SnpsQuery.java:1018)
at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java:1872)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:628)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:68)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Regards,
M
Hi,
What is the LKM and IKN selected ?
Which step is failing ?
What is there in the Description tab of the failed step , also the complete error message ?
Similar Messages
-
Download data from ALV to excel issue
Hi All,
Could you please tell me if there has any restriction on ALV grid data download to excel? I've a report contains 68 columns and about 500 rows, I want to download the data using the standard menu list->export->save to local file. but after I download them, I found the first 65 columns display in one line and the rest columns display in next line, just like ALV do not allow too many characters in one row and have to switch to new line. I can hide some columns but it's very strange that even after i hide 3 columns to fit the 500 rows download, then if the rows increase, the same problem occurs.
I searched the forum and in the thread Re: Export ALV in EXCEL Issue Mr. Suvajit provided a solution by using menu List->export->spreadsheet, it looks very good. But I still want to know how this happen and is there a standard way to download data with more than 65 columns to local file with extension .xls so that user can open it directly?
PS: I'm using FM REUSE_ALV_GRID_DISPLAY and the SAP version is SAP ECC6 with kernal package SAPKB70103.
Thank you very much.
Best Regards,
Jeff
Edited by: Jeff_liu_2010 on Mar 10, 2011 7:21 AMHi Jeff,
Please check if following analysis is helpful to you.
Analysis/Solution:
When we export ALV data to excel worksheet, as sap notes say the maximum lenght allowed is 1023 charaters and the max no of columns supported is 90.
(I never faced any issue related to no of columns as it worked fine for columns >90 too)
Issue occured when row size of exported data gets more than 1023 character.
Therefore the row data must not exceed 1023 character, otherwise column splits and moves to next row.
One additional aspect generally missed is that:
When data in any particular column changes it's length, alv header also changes its lengh (short text, medium text, long text; depending on the length of of the longest cell in the column)
therefore even if you have total length of row less than 1023 character, there might be cases when your ALV header size exceeds this length.
Reducing the header size (by forcing to use short text or specifying own header names) should resolve the issue.
Regards,
Parveen -
Excel issues with importing CSV or HTML table data from URL - Sharepoint? Office365?
Greetings,
We have a client who is having issues importing CSV or HTML table data as one would do using Excel's Web Query import from a reporting application. As the error message provided by Excel is unhelpful I'm reaching out to anyone who can help us begin to
troubleshoot problems affecting what is normal standard Excel functionality. I'd attach the error screenshot, but I can't because my account is not verified....needless to say it says "Microsoft Excel cannot access the file https://www.avantalytics.com/reporting_handler?func=wquery&format=csv&logid=XXXX&key=MD5
Where XXXX is a number and MD5 is an md5 code. The symptoms stated in the error message are:
- the file name or path does not exist
-The file is being used by another program
-The workbook you are trying to save has the same name as a currently open workbook.
None of these symptoms are the case, naturally. The user encountered this with Excel2010, she was then upgraded to Excel2013 and is still experiencing the same issue. The output of this URL in a browser (IE, Chrome, Firefox) is CSV data for the affected
user, so it is not a network connectivity issue. In our testing environment using both Excel2010 or 2013 this file is imported successfully, so we cannot replicate. The main difference I can determine between our test environment and the end-user
is they have a Sharepoint installation and appear to have Office365 as well.
So, my question might more appropriately be for Sharepoint or Office365 folks, but I can't be sure they're a culprit. Given this - does anyone have any knowledge of issues which might cause this with Sharepoint or Office365 integrated with
Excel and/or have suggestions for getting more information from Excel or Windows other than this error message? I've added the domain name as a trusted publisher in IE as I thought that might be the issue, but that hasn't solved anything. As you
can see its already https and there is no authentication or login - the md5 key is the authentication. The certificate for the application endpoint is valid and registered via GoDaddy CA.
I'm at a loss and would love some suggestions on things to check/try.
Thanks -RossHi Ross,
>> In our testing environment using both Excel 2010 and 2013 this file is imported successfully, so we cannot replicate.
I suspect it is caused by the difference of web server security settings.
KB: Error message when you use Web query to a secure Web page (HTTPS://) in Excel: "Unable to open"
Hope it will help.
By the way, this forum is mainly for discussing questions about Office Development (VSTO, VBA and Apps for Office .etc.). For Office products feature specific questions, you could consider posting them on
Office IT Pro forum or Microsoft Office Community.
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
IOS 8.1 Excel % Issue
Hi Applemates,
With the update to 8.1 (from 7.1) on my iPhone & iPad, I am having issues reading my Excel reports that come through mails.
The issue is the % numbers are shown incorrectly. E.g. 39% is shown as 0%, 90% is shown as 1% and 200% is shown as 2%.
However, the same report when opened from my PC (not Mac) shows the % values correctly.
Also before the update to 8.1, they were showing correctly on my iPhone/iPad too.
There are no special apps that I use to read the Excel attachments, it is the standard mail add-on.
Is anyone else facing similar issues. I am in a sort of fix here, as everyone where I work are facing this issue,
and I am the support engineer for business users, so need to fix this !!
Thanks,
SPaddhuThis may not help, but just in case you aren't aware, Microsoft just announced a new more powerful version of Excel (and other Office apps) for iPhone & iPad and it is free.
-
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 -
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 -
Project Pro 2013 client Deployment with Lync 2010 and Team Explorer Excel Issues Following
Current machines are Office 2010 SP1 or SP2 32-bit
Just deployed Project 2013 Pro and Std to the existing machines that had Project 2010 Pro or Std. We selected the full install since people use integration into different tools.
Results:
lync 2010 64-bit when attending a meeting prompted user to start using and download the Lync Web Component, which breaks features such as muting, etc.
A repair sent to the workstations for Lync 2010 64-bit fixed that.
Team Explorer 2012 Export to excel from queries gives error Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type 'Microsoft.Office.Interop.Excel._Application'. This operation failed because
the QueryInterface call on the COM component for the interface with IID '{000208D5-0000-0000-C000-000000000046}' failed due to the following error: The interface is unknown. (Exception from HRESULT: 0x800706B5).
Repair of Team Explorer, Office, Test Manager 2012, etc did not assist. if we go into excel and connect to TFS, we can then retrieve the query data. Just not from TFS exporting to excel. Had to unload Project 2013, repair Office 2010
and rebooted with project off the machine and now it works. It seems maybe the setup with the shared features and Office tools are breaking something? We need the ability for VBA and .net functionality, but what could be breaking this?Hi,
Your environment will support 32 bit of Project professional 2013 (x86) as you have Windows and Office of (X86).
You try to modify registry then you wont face issue.
The issue when you hit a "1653" is that Windows
Installer "DisableRollback" is set. Office 2013 requires that "rollback" be enabled. If you are getting a "1653"
error in your logs as Ken did then the solution is to delete the "DisableRollback" (or set to '0') at the following registry keys:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
these are the issues I've seen:
Scheduler service was stopped. At a cmd window typing "net start schedule" resolves the problem.
CMD.exe was customized via the following registry key. Solution was to temporarily disable the customization by changing autorun value to autorun_old.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Command Processor
Permission issues - seems some custom permissions affected Ingram's install which he explained in his previous post.
Environment variable "ComSpec" had been modified (semicolon added). Fix was to remove the added semicolon (there should be no semicolon).
The way to identify you are hitting this specific issue is if in the %temp%\OfficeSetup.log there is a mention of "Office64MUI.msi" failing to install with return value of 1603
If you want to enable verbose logging via the following key, rerun your failed install, and collect all the setup and MSI* logs that will give more information.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"logging"= "voicewarmup"
kirtesh -
As I am facing the issue with microsoft excel while operating formula with excel sheet getting error
Hi,
In regarding of the issue, please provide us more information to assist you better.
Which Excel version are you using? Excel 2013 or other.
Which formula are you using?
Do you mind tell us the whole error message?
If you have any update, please feel free let us know.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
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,
NishaThank 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. -
Download to excel issue.
Hi All,
When I download a report to excel, one of my percent field with one decimal place, is increased to two decimal places in excel.
does anyone of a work around or a fix to this issue?
ThanksChecking the Oracle bug database there are the following bugs/enhancements logged that sounds relevant and some workarounds we can try:
Bug 865450 DOWNLOAD TO EXCEL ALWAYS OPENS AS HTML FILE
Bug 5592823 EXCEL DOWNLOAD TREATED AS HTML FILE BY MOZILLA FIREFOX 1.5
Enh 6906146 DOWNLOAD TO EXCEL 2000 OUTPUT SHOULD BE EXCEL FORMAT NOT HTML
Workarounds:
(1) If your server is Tomcat
(From bug log...)
The real issue is IE fails to to detect the file type correctly in some cases
in absence of proper MIME headers from the Tomcat servers especially on
Linux.
The fix is to
Add a mime-mapping in tomcat/conf/web.xml. Under the section
Default MIME Type Mappings
Restart tomcat and delete temporary internet files from IE
<mime-mapping>
<extension>xls</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
(2) Switch browser to Firefox instead of IE. This sounds drastic but reading the bug logs it appears that Firefox will ask you what to use to open the file the first time it is used via Download to Excel - and at this point you can choose Excel and ask it to remember that decision.
Let me know if any of this useful. If not I'll drill further and see if I can dig up a better workaround. -
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 RatraHi 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 -
Data download (for excel) ISSUE!
hi
i use GUI_DOWNLOAD function download inter table data generated xls format.
in inter table data have ID FIeld which consist of numeric!
example:
35000078297773587
when download the field will change:3.50001E+16
i want to avoid it!
in sap stardand provide a mothod:
run REUSE_ALV_GRID_DISPLAY function to display
data.
in REUSE_ALV_GRID_DISPLAY screen:
go to list>export>sprresheet
choice excel(in MHTML format) will download data what i want!
who know which function is executed in REUSE_ALV_GRID_DISPLAY .
or exist other method to solve this issue!
help!
thank you advance!HI
DATA:PLINE TYPE I,CLINE TYPE I.
REFRESH IT_S.
REFRESH: itab,GT_S.
CALL FUNCTION 'NAMETAB_GET'
EXPORTING
langu = sy-langu
tabname = itoper-tabname
TABLES
nametab = itab
EXCEPTIONS
no_texts_found = 1.
IF sy-subrc = 1.
MESSAGE 'STOP,CREATE TABLE ERROR' TYPE 'E'.
ENDIF.
DESCRIBE TABLE itab LINES pline.
LOOP AT <F_FS> ASSIGNING <F_FS5>.
CLEAR CLINE.
LOOP AT itab.
CLINE = sy-tabix.
ASSIGN COMPONENT itab-fieldname OF STRUCTURE <F_FS5> TO <F_FS6>.
IF SY-SUBRC = 0.
IF CLINE = 1.
WA_S = <F_FS6>.
ELSE.
CONCATENATE WA_S <F_FS6> INTO WA_S separated by con_tab.
IF CLINE = pline.
concatenate WA_S con_cret into WA_S.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
REFRESH IT_S.
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
TEXT = WA_S
IMPORTING
LENGTH =
TABLES
FTEXT_TAB = IT_S
APPEND LINES OF IT_S TO GT_S.
APPEND WA_S TO IT_S.
ENDLOOP.
IF <F_FS5> IS ASSIGNED.
UNASSIGN <F_FS5>.
ENDIF.
IF <F_FS6> IS ASSIGNED.
UNASSIGN <F_FS6>.
ENDIF.
WHEN RUN:
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
TEXT = WA_S
IMPORTING
LENGTH =
TABLES
FTEXT_TAB = IT_S
Will dump out!
TYPES:S_STRING TYPE STRING.
DATA:WA_S TYPE S_STRING,
IT_S TYPE TABLE OF S_STRING WITH HEADER LINE,
GT_S TYPE TABLE OF S_STRING WITH HEADER LINE. -
MS EXCEL ISSUES...
I am having trouble running MS EXCEL (old version) with Snow Leopard. It was running perfectly until I installed SL yesterday. Now it doesn't print correctly and it crashes a lot.
Any suggestions? I called APPLE and they said to upgrade OFFICE to 2004 or 2008... but I heard there are issues with both of these versions too!I thought snow leopard was to make my programs run more smoothly. (Not yet seeing it). I too wonder if upgrading is worth it, or if there are some patches that might be available that could fix both of our problems.
Where did you get the idea that a new 64 bit OS would make an obsolete version of any program run better? This has never been the case with any upgrade to a new OS. Many older versions of programs continue to work with a new OS, some become flakey, while others refuse to run well at all. I don't recall ever seeing a 5 year old program run better on a 3 generation newer OS. Your existing version of Office was coded during 10.3, released during 10.4, but also designed to run well under 10.2. It worked ok, with 10.5, but didn't take advantage of the OS. That's why they developed Office 2008.
Apple said a year ago that SL would look very similar to Leopard, but that there are architectural changes in the way the OS works that are designed to take advantage of programs that have been re-written to work with 64 bit code. They also said there would be issues for some people who don't get compatible drivers for their hardwares like printers/scanners.
As far as your specific issue with Powerpoint '04, I'd check to make sure there are no font or permissions problems with your system, then make sure if the problem is with the System or the user account by setting up a temporary Admin user and seeing if the problem continues. I'd try reinstalling the application. I'd check for updates. Any patches that would fix your problem would be available from Microsoft, and you should check their support pages: http://www.microsoft.com/mac/default.mspx
Then again, since you have upgraded to a new OS before the applications can actually take advantage of the changes, you might consider reloading Leopard and using it for a year or two which will let some companies catch up and new better products to get developed.
I do know that on my system, with Office 2008, I see better compatibility with SL than I saw with Leopard for the things I do, and with Spaces. YMMV -
All
Do you face problems in running normal excel functions mid way through processing BPC reports? There are problems such as:
1. Member selector stops working - there is a note for that (2098838)
2. Issues in EPM Add in - there is a note for that too (2107965)
(Just mentioning the two above since I have looked at these and still the issues continue)
I am not referring to these two. My problems are:
Scenario A - I log on to BPC; open up reports and refresh. After a few refreshes/save data operations, my cursor in excel will stop responding to excel functions. For example, I cannot type in a cell, unless I go to the excel cell context. I cannot right click for functions such as copy, paste etc.
My only recourse is to shut down the excel session and start over again.
Scenario B - Open a report; refresh. Run a Ctrl+F to find a cell. It works. Then run an Excel data filter in the columns. I filter out certain rows and try Ctrl+F again. It doesnt work. The value I am looking for is within the filter (I can see it) but the excel find feature doesnt work.
Any ideas on these wierd problems? Users can work around them, but they tend to be very annoying and disrupt the user experience.
regards
shrikant
Installation details:
EPM add in Sp 17 .NET4
BPC 10.0 NWHi Shrikant,
Even it is standard , we need to tack care of version compatibility.
Kindly share the EPM add in version and excel version, OS
Shrikant -
I have created this query and placed it in query manager:
SELECT T0.[CheckKey] as [Internal ID],T0.[CheckNum] as [Check No.],T0.[AcctNum] as [Acct No.],cast(t0.[checksum] as INTEGER),T0.[PmntDate] as [Issue Date] FROM OCHO T0 WHERE T0.[PmntDate] =[%0]
When I export the results to Excel the t0.checksum value does not export, all other date does.
Any ideas?Try this:
SELECT T0.CheckKey,T0.CheckNum,T0.AcctNum,cast(t0.checksum as INTEGER) As 'Check Sum',T0.PmntDate
FROM dbo.OCHO T0 WHERE T0.PmntDate = [%0\]
Thanks,
Gordon -
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,
ApparaoThere 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"> </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.
Maybe you are looking for
-
HT1657 how do i move a rented movie to my apple tv?
I've just rented a movie through itunes on my macbook and want to watch it on my tv through apple tv. How do i movie it to the apple tv?
-
Java.lag out of memory error
my x2 cannot work with the pdf reader i downloaded from nokia store as there is java.lag out of memory error what should i do
-
Contact with same first name as previous, overwrit...
PC Suite 6.84. When I create a new contact with the same first name as an existing contact in PC Suite, and then I save it to the phone, the new contact info overwrites the old! For example: first name: Airlines last name: United So that entry is the
-
Why are the purchase options (rent, purchase movies) grayed out on iTunes?
I'm running version 10.6.3 of iTunes and want to purchase and/or rent some movies. For some reason, the options beneath the movie artwork to buy or rent the movie are grayed out. Why can't I give apple my money???
-
My ipad can not download itune
my ipad can not go into the itune store