Exception while drilling into data object values

Hi everyone,
I get the following exception : String was not recognized as a valid DateTime, when drilling into data values. This occurs specifically when drilling into reports that have datetime series or groups on the non-data axis. More specifically, the error doesnt occur when I drill into the report to show all values. It occurs when I drill into the report to show values for a particular time period (say, all sales in the month of Jan) instead of drilling to show details of all sales.
The following is the relevant stack trace obtained from WebApps.txt.
2007-08-08 16:43:56,272 [AsyncPageThreadPool (static 10)] DEBUG - ReportEngine WebPage.ReportException. oException.Message=String was not recognized as a valid DateTime., oException.StackTrace= at System.DateTimeParse.ParseISO8601(DateTimeRawInfo raw, __DTString str, DateTimeStyles styles)
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles)
at System.DateTime.Parse(String s, IFormatProvider provider)
at System.Convert.ToDateTime(String value, IFormatProvider provider)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.ConvertValueFromTypeAndString(DataTypes eDataType, String strValue)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.BuildTwoEntryFilter(XmlNode xnExpression, ComparisonOperator eComparisonOperator, String strXmlSchema)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetFilterEntryComparisonExpression(XmlNode xnExpression, String strXmlSchema)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetFilterExpression(XmlNode xnExpression, String strXmlSchema)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetFilterExpression(XmlNode xnExpression, String strXmlSchema)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetFilterExpression(XmlNode xnExpression, String strXmlSchema)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.AddFilters(XmlDocument oXmlModifier, Modifier oAdcModifier, String strXmlSchema)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetAdcModifier(String strXmlModifier, String strXmlSchema, Boolean bIgnoreRecordFields, Boolean bGroupsInOneLevel, XmlDocument oXmlProperties)
at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetAdcModifier(String strXmlModifier, String strXmlSchema, Boolean bIgnoreRecordFields, Boolean bGroupsInOneLevel)
at Oracle.BAM.ReportServer.Chart.GetChartAdcModifier(ViewSet oViewSet)
at Oracle.BAM.ReportServer.Chart.RenderChart(String strXmlModifier, String strXmlProperties, String strActive, String strClientWidth, String strClientHeight, String strBrowserTimezoneOffset, Boolean bEMail, String strUserName)
The following data might be useful for reproducing the exception by any BAM developer.
The modifier xml is:
<Modifier dataset="_ImportLCIssuanceDataObject" id="0" bAggregate="false"><FieldRefs></FieldRefs><Filter><Branch type="ALL"><Branch type="ALL"><Entry type="EQ"><Node type="COLUMN">ContractCurrency</Node><Node type="STRING">USD</Node></Entry></Branch><Branch type="ALL"><Entry type="GE"><Node type="COLUMN" bDrilling="true">IssueDate</Node><Node type="DATETIME">2000-07-01T00:00:00.0000000+05:30</Node></Entry><Entry type="LE"><Node type="COLUMN" bDrilling="true">IssueDate</Node><Node type="DATETIME">2000-07-31T23:59:59.0000000+05:30</Node></Entry></Branch></Branch></Filter><Groups><Group level="0"/><Group eTimeUnit="DAYOFMONTH" iQuantity="1" zeroFill="true" isTimeline="true" level="1" datasetField="IssueDate"><Aggregate operandDatasetField="_ContractAmount" operation="SUM"/></Group></Groups></Modifier>
The relevant properties are:
<Properties ContentType="ThreeDBarChart" datasetId="_ImportLCIssuanceDataObject"><Title display="true" color="#ffffff" font-family="Tahoma" font-weight="Bold" font-size="11" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" background-color="#7B97C0" text-align="left"><Text bUseViewName="false">Total%20value%20of%20LCs%20issued</Text></Title><ChartTitle display="false" font-family="tahoma" font-weight="Bold" font-size="11" color="#000000" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bCheckField="true" ModifierID="0"></ChartTitle><DataAxis auto="true" min="" max="" major="" minor="" font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bShowGridlines="true"/><NonDataAxis font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bAllowDiagonal="true" bShowGroupLabels="true"/><Legend display="false" font-family="tahoma" font-size="11" color="#000000" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" location="bottom"/><ColorPalette selected="101"/><ActiveData showColor="true" newColor="#FFE299" newTimeSeconds="1000"/><Groups bynumber="false"/><SeriesValues font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false"/><ErrorMessage font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false"/><HorizontalAxisLabel showlabel="false" labelpos="onside" font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bCheckField="true" ModifierID="0"></HorizontalAxisLabel><VerticalAxisLabel showlabel="false" labelpos="atend" font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bCheckField="true" ModifierID="0">LC%20Amount</VerticalAxisLabel><Target bUseTarget="false" fTargetValue="" bShowValue="true" strTargetLabel="" eDashStyle="solid" strTargetColor="" iDashThickness="1" font-family="tahoma" font-size="11" color="#000000" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false"/><Empty display="true" text="No%20Values"/><ThreeDOptions fBackDepth="25"/><Body background-color="transparent"><Border color="#000000" width="1px" style="solid"/><Margin><top width="0"/><left width="0"/><bottom width="0"/><right width="0"/></Margin></Body><Series datasetField="_ContractAmount" dataType="FLOAT" bShowValue="true" bShowPercent="false" bShowSeriesName="false" bShowAggFunction="true" ModifierID="0" aggregate="SUM" include="true" chartType="ThreeDBarChart" order="0" color="#E2CBFF" marker="none" borderColor=""><Format category="Number" decimals="2" color="red" use_thous_separator="true" negative_style="2" bRound="true" strRoundSeperator="," strRoundSuffix="K">#,0,.00K;[Red]#,0,.00K</Format></Series><Drilling ModifierID="0" bAllowDrillThrough="true" strDrillThroughViewType="UpdatingOrderedList"><DrillThroughField ID="_ContractReferenceNo"/><DrillThroughField ID="_ProductType"/><DrillThroughField ID="_Applicant"/><DrillThroughField ID="_Beneficiary"/><DrillThroughField ID="_ContractAmount"/><DrillThroughField ID="_ContractCurrency"/></Drilling><TopN active="false" quantity="1"/><SurfacePrompts><GoButton background-color="#E7E7E7" color="#000000" font-size="11px" font-family="Tahoma" display="DisplayInViewTitle" text="Refresh"><Border color="#4C4C4C" width="1px" style="solid"/></GoButton><ViewSurfacePrompt id="7" display="DisplayInViewTitle"><Input background-color="#FFFFFF" color="#000000" font-size="11px" font-family="Tahoma"><Border color="#000000" width="1px" style="solid"/></Input><DropDownSelectedLine background-color="#4A598C" color="#ffffff" font-size="11px" font-family="Tahoma"/><PromptTitle color="#ffffff" font-size="11px" font-family="Tahoma" font-weight="Bold"/></ViewSurfacePrompt><ViewSurfacePrompt id="8" display="DisplayInReportLevel"><Input background-color="#FFFFFF" color="#000000" font-size="11px" font-family="Tahoma"><Border color="#000000" width="1px" style="solid"/></Input><DropDownSelectedLine background-color="#4A598C" color="#ffffff" font-size="11px" font-family="Tahoma"/><PromptTitle color="#ffffff" font-size="11px" font-family="Tahoma" font-weight="Bold"/></ViewSurfacePrompt></SurfacePrompts><DrillPath><Hierarchy ModifierID="0" ID="320873a2918f48ddb2925519dfd8cfd0"><Field ID="_IssueDate" number="0" type="Year" name="Year"/><Field ID="_IssueDate" number="0" type="Quarter" name="Quarter"/><Field ID="_IssueDate" number="0" type="MonthNumber" name="Month"/><Field ID="_IssueDate" number="0" type="DayoftheMonth" name="Day of the Month"/><Field ID="_IssueDate" number="0" type="WeekdayNumber" name="Day of the Week"/></Hierarchy></DrillPath><GroupLevel datasetField="_IssueDate" dataType="DATETIME" eTimeUnit="DAYOFMONTH" iQuantity="1" isTimeline="true" zeroFill="true" fieldID="DAYOFMONTH__IssueDate"/></Properties>

Fixed!! The timezone on the BAM server was changed to GMT, and that somehow solved the problem. Seems like the GMT offset should be zero while executing a drill down query.
FYI, the modifier XML now sent is :
<Modifier dataset="_ImportLCIssuanceDataObject" id="0" bAggregate="false"><FieldRefs></FieldRefs><Filter><Branch type="ALL"><Branch type="ALL"><Branch type="ALL"><Entry type="EQ"><Node type="COLUMN"><![CDATA[_ContractCurrency]]></Node><Node type="STRING">USD</Node></Entry></Branch><Branch type="ALL"/></Branch><Branch type="ALL"><Entry type="GE"><Node type="COLUMN" bDrilling="true"><![CDATA[_IssueDate]]></Node><Node type="DATETIME"><![CDATA[2000-07-01T00:00:00.0000000-00:00]]></Node></Entry><Entry type="LE"><Node type="COLUMN" bDrilling="true"><![CDATA[_IssueDate]]></Node><Node type="DATETIME"><![CDATA[2000-09-30T23:59:59.0000000-00:00]]></Node></Entry></Branch></Branch></Filter><Groups><Group level="0"/><Group eTimeUnit="MONTH" iQuantity="1" zeroFill="true" isTimeline="true" level="1" datasetField="_IssueDate"><Aggregate operandDatasetField="_ContractAmount" operation="SUM"/></Group></Groups></Modifier>

Similar Messages

  • Drill into data in an essbase cube.

    Hey all, I have a problem I need some help/advice with.
    I have an Essbase cube which has a date style hierachy of year, year & quarter, year and month, year month and day.
    I have a chart showing the current values, monthly, over the last 12 months. When you select one of the monthsit drills into the data to show the daily values for the month selected. All works OK.
    The only problem I have, and it os only cosmetic, is that the time access along the bottom changes to show values for every level in the hierachy, and I only want it to show the next level down.
    Example - desired:
    2010/08 -> 01/08/2010.........02/08/2010..... etc.....
    Example - current:
    2010/08 -> 2010, 2010/Q3, 2010/08, 01/08/2010.........2010, 2010/Q3, 2010/08, 02/08/2010........etc....
    The only solution I have at present is to change the interaction to naviagte rather than drill and the navigated report is the correct format.
    Can anyone else suggest anything?
    Thanks in advance

    11.1.1 DBAG:
    Methods for Clearing Data from Specific Regions of Aggregate Storage Databases:
    Within an aggregate storage database, you can clear data from a specific region and retain the data located in other regions. This feature is useful when you want to delete volatile data (such as data corresponding to the last month) but retain historical data. You must have Database Manager or Administrator permission to clear data.
    Methods for clearing data from a region:
    (1) Physical, in which the input cells in the region are physically removed from the database
    (2) Logical, in which the input cells in the region are written to a new data slice and negative, compensating values are used, thus resulting in a value of zero for the cells that are cleared
    To clear data from a specified region, you can use the alter database MaxL statement with the clear data in region grammar. The syntax for the statement is as follows:
    *alter database appname.dbname clear data in region {MDX set expression} [physical];*
    todd rebner
    http://www.advancedepm.com/

  • Error while creating Logical Data Object Model

    Can anyone from Informatica help me on this ?

    Hello Everyone ,  I am creating new objects in Informatica BDE 9.6.1 . While  I trying to create a new Logical Data Object Model using the Customer_Order.xsd file  I am getting the error :  [MBCM_E0031 ]MIMB HOME directory is not valid .  I do not see anything in the drop-down list for Model Type .Kindly help .  RegardsSatyendra

  • Diff between data objects & value objects

    what are the differences between Data and Value Objects?

    What exactly do you imply by "Data Objects"? If you mean Data Transfer Objects, they are the same as Value Objects. Just a new name!

  • Exception while casting int[] to Object[],why?

    if(params.getClass().isArray()) this.params = (Object[])params;
    else this.params = new Object[]{params};
    Now I transfer int[] as "params",and ClassCastException is thrown while casting params to Object[].Since I'm using JDK5.0,why does this happen(the array has been initialized)?

    But how to retrieve every element of this
    Object(Array)? Which type should you cast it to?int[] obviously. Or forget about casting and simply create an Integer[] yourself. a for loop isn't that difficult to write.
    Are you aware that arrays are objects? That's why java doesn't autobox an int[].
    By the way, you should look at these lines of code again:
    if(params.getClass().isArray())
    this.params = (Object[])params;
    else this.params = new Object[]{params};

  • Exception while Exporting Datagridview data with Images to Excel...

    Hi Everyone,
    I have datagridview in that 17 columns are text columns and 5 columns are Image columns,when I'm trying to export whole gridview data's along with images to EXCEL,getting "HRESULT:
    0x800A03EC" Error..While debugging the code I'm getting the error on image column not able to export..
    Can anybody help us to resolve this issue..
    Here is my code which i used:
    private void btnexportexcel_Click(object sender, EventArgs e)
    try
    SaveFileDialog savefile = new SaveFileDialog();
    savefile.Filter = "Excel (*.xls)|*.xls";
    if (savefile.ShowDialog() == DialogResult.OK)
    if (!savefile.FileName.Equals(string.Empty))
    FileInfo finfo = new FileInfo(savefile.FileName);
    if (finfo.Extension.Equals(".xls"))
    Excel.Application xlApp;
    Excel.Workbook xlWorkBook;
    Excel.Worksheet xlWorkSheet;
    object misValue = System.Reflection.Missing.Value;
    xlApp = new Excel.Application();
    xlWorkBook = xlApp.Workbooks.Add(misValue);
    xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(2) ;
    int i = 0;
    int j = 0;
    for (i = 0; i <= dataGridView1.RowCount - 1; i++)
    for (j = 0; j <= dataGridView1.ColumnCount - 1; j++)
    DataGridViewCell cell = dataGridView1[j, i];
    xlWorkSheet.Cells.Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
    xlWorkSheet.Columns.AutoFit();
    if (cell.Value.GetType() == typeof(Bitmap))
    string image =Convert.ToString(dataGridView1.CurrentRow.Cells[i].Value); 
    Excel.Range oRange = (Excel.Range)xlWorkSheet.Cells[i + 1, j + 1];
    float Left = (float)((double)oRange.Left);
    float Top = (float)((double)oRange.Top);
    const float ImageSize = 32;
    xlWorkSheet.Shapes.AddPicture(image, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, ImageSize, ImageSize);
    oRange.RowHeight = ImageSize + 2; 
    else
    xlWorkSheet.Cells[i + 1, j + 1] = cell.Value;
    xlWorkBook.SaveAs(savefile.FileName, Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue,
    Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
    xlWorkBook.Close(true, misValue, misValue);
    xlApp.Quit();
    releaseObject(xlWorkSheet);
    releaseObject(xlWorkBook);
    releaseObject(xlApp);
    MessageBox.Show("Excel file created , you can find the file " + savefile.FileName);
    else
    MessageBox.Show("Invalid file type");
    else
    MessageBox.Show("You did pick a location " + "to save file to");
    catch (Exception ex)
    MessageBox.Show("Exception Occured", ex.Message);
    Thanks & Regards RAJENDRAN M

    Hi Everyone,
    I have datagridview in that 17 columns are text columns and 5 columns are Image columns,when I'm trying to export whole gridview data's along with images to EXCEL,getting "HRESULT:
    0x800A03EC" Error..While debugging the code I'm getting the error on image column not able to export..
    Can anybody help us to resolve this issue..
    Here is my code which i used:
    private void btnexportexcel_Click(object sender, EventArgs e)
    try
    SaveFileDialog savefile = new SaveFileDialog();
    savefile.Filter = "Excel (*.xls)|*.xls";
    if (savefile.ShowDialog() == DialogResult.OK)
    if (!savefile.FileName.Equals(string.Empty))
    FileInfo finfo = new FileInfo(savefile.FileName);
    if (finfo.Extension.Equals(".xls"))
    Excel.Application xlApp;
    Excel.Workbook xlWorkBook;
    Excel.Worksheet xlWorkSheet;
    object misValue = System.Reflection.Missing.Value;
    xlApp = new Excel.Application();
    xlWorkBook = xlApp.Workbooks.Add(misValue);
    xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(2) ;
    int i = 0;
    int j = 0;
    for (i = 0; i <= dataGridView1.RowCount - 1; i++)
    for (j = 0; j <= dataGridView1.ColumnCount - 1; j++)
    DataGridViewCell cell = dataGridView1[j, i];
    xlWorkSheet.Cells.Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
    xlWorkSheet.Columns.AutoFit();
    if (cell.Value.GetType() == typeof(Bitmap))
    string image =Convert.ToString(dataGridView1.CurrentRow.Cells[i].Value); 
    Excel.Range oRange = (Excel.Range)xlWorkSheet.Cells[i + 1, j + 1];
    float Left = (float)((double)oRange.Left);
    float Top = (float)((double)oRange.Top);
    const float ImageSize = 32;
    xlWorkSheet.Shapes.AddPicture(image, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, ImageSize, ImageSize);
    oRange.RowHeight = ImageSize + 2; 
    else
    xlWorkSheet.Cells[i + 1, j + 1] = cell.Value;
    xlWorkBook.SaveAs(savefile.FileName, Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue,
    Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
    xlWorkBook.Close(true, misValue, misValue);
    xlApp.Quit();
    releaseObject(xlWorkSheet);
    releaseObject(xlWorkBook);
    releaseObject(xlApp);
    MessageBox.Show("Excel file created , you can find the file " + savefile.FileName);
    else
    MessageBox.Show("Invalid file type");
    else
    MessageBox.Show("You did pick a location " + "to save file to");
    catch (Exception ex)
    MessageBox.Show("Exception Occured", ex.Message);
    Thanks & Regards RAJENDRAN M

  • Throws exception while saving SCREEN DATA  when integrated with CRMOD & OPA

    I have integrated CRMOD with OPA and able to see my screens and enter data and review after submitting screen data, but when I click "Save" on TOP right of the Applet Test page throws below exception. Please help
    ===================================================================
    0 [Thread-2] INFO com.oracle.util.plugins.PluginRegistry - Successfully created plugin factory: com.oracle.determinations.web.crmod.plugins.CrmodAdapter
    21 [Thread-2] INFO com.oracle.util.plugins.PluginRegistry - Successfully created plugin factory: com.oracle.determinations.web.crmod.plugins.CrmodAdapter
    91903 [http-8080-1] INFO com.oracle.determinations.web.crmod.config.ConnectorProperties - Config File path : configuration/crmod-data-adapter.properties
    91934 [http-8080-1] INFO com.oracle.determinations.web.crmod.plugins.CrmodAdapter - Found mapping file ScreeningInterview-mapping.xml.
    92045 [http-8080-1] INFO com.oracle.util.plugins.PluginRegistry - Successfully created instance of plugin: com.oracle.determinations.web.crmod.plugins.CrmodAdapter
    92045 [http-8080-1] INFO com.oracle.determinations.interview.engine.local.LocalInterviewSession - Data adaptor plugin ( class com.oracle.determinations.web.crmod.plugins.CrmodAdapter ) found - attaching to session.
    92045 [http-8080-1] INFO com.oracle.determinations.interview.engine.local.LocalInterviewSession - No Commentary plugin supplied - using default
    92049 [http-8080-1] INFO com.oracle.determinations.interview.engine.local.LocalInterviewSession - No List provider supplied - using default
    92051 [http-8080-1] INFO com.oracle.determinations.interview.engine.local.LocalInterviewSession - No DocGen plugin supplied - using default
    175526 [http-8080-1] ERROR com.oracle.determinations.web.platform.servlet.WebDeterminationsServletUtility - com.oracle.determinations.interview.engine.exceptions.DataAdaptorException: CRMOD-OPA ERR [Missing or unparsable CaseId.]
    com.oracle.determinations.interview.engine.exceptions.DataAdaptorException: CRMOD-OPA ERR [Missing or unparsable CaseId.]
         at com.oracle.determinations.web.crmod.plugins.CrmodAdapter.save(CrmodAdapter.java:95)
         at com.oracle.determinations.web.platform.controller.actions.SaveAction.doSave(SaveAction.java:133)
         at com.oracle.determinations.web.platform.controller.actions.SaveAction.getResource(SaveAction.java:61)
         at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet(WebDeterminationsServlet.java:80)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.oracle.determinations.web.platform.util.CharsetFilter.doFilter(CharsetFilter.java:46)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
         at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
         at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
         at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
         at java.lang.Thread.run(Unknown Source)
    ========== MY ADAPTER PROPERTIES FILE : crmod-data-adapter.properties HAS BELOW DATA ============
    ## REQUIRED SETTINGS
    ## Properties for CRMOD Web Services
    web-service-url                         =https://secure-ausomxapa.crmondemand.com/Services/Integration
    ## Supports WS1.0 and WS2.0
    web-service-version                    =1.0
    ## Properties for Authentication
    ## Username and password must be encrypted using configuration-encrypter tool provided by the product.
    ## Please refer to Configuring CRM On Demand Connector for Web Determinations of Developer Help for more details.
    username                              =Y3JtaXQtZGVtby9jcm1pdA==
    password                              =T25EZW1hbmQ=
    ## OPTIONAL SETTINGS
    ## Set fixed-authentication to false if you want to implement other forms of authentication
    fixed-authentication                =false
    ## Properties for the mapping file
    mapping.load.from.rulebase           =true
    ## Set the mapping path if load from rulebase is set to false e.g. /configuration/mapping
    mapping.location.path               =/configuration/mapping
    ========= MY Custom Web APPLET URL in CRMOD HAS BELOW ===============
    http://localhost:8080/crmod-web-determinations?caseID=new

    On Save click getting below error from CRMOD:
    9816032 [http-8080-1] ERROR com.oracle.determinations.web.platform.servlet.WebDeterminationsServletUtility - com.oracle.determinations.interview.engine.exceptions.DataAdaptorException: CRMOD-OPA ERR [SOAP Response Parser: CRM On Demand errors found in the SOAP request for saving.
    Internal Error: Session is not available. Aborting.]
    com.oracle.determinations.interview.engine.exceptions.DataAdaptorException: CRMOD-OPA ERR [SOAP Response Parser: CRM On Demand errors found in the SOAP request for saving.
    Internal Error: Session is not available. Aborting.]
    =============
    Phil Whitwell | Director Product Strategy Advised as to check SOAP Request using TCPMon. Then I followed the below steps:
    Step 1) changed URL entry in crmod-data-adapter.properties file
    ## Properties for CRMOD Web Services
    web-service-url =http://localhost:5049/Services/Integration
    # earlier entry
    #web-service-url =https://secure-ausomxapa.crmondemand.com/Services/Integration
    Step 2) Restarted TOMCAT6
    Step 3) Started TCPMon after setting tcpmon port as below
    [My Tomcat is listening on 8080, I cannot bind tcpmon to listen there as well.  the way to use tcpmon correctly is to set the target port to 8080 and set the listen port to some currently unused port (say 5049) and Setup My client – CRMOD As mentioned in Step 1]
    Step 4) I got below SOAP Request XML after executing “SAVE” in CRMOD .
    Below SOAP Request XML sent on “SAVE” option from CRMOD:
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="urn:crmondemand/ws/account/10/2004" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header />
    - <SOAP-ENV:Body>
    - <ns:AccountWS_AccountInsert_Input>
    - <ListOfAccount>
    - <Account>
    <Location>UK</Location>
    <AccountName>Phil</AccountName>
    <Industry>BFSI</Industry>
    </Account>
    </ListOfAccount>
    </ns:AccountWS_AccountInsert_Input>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    =======================================================
    What is incorrect in the above SOAPRequest.xml, why CRMOD is throwing an error on "SAVE",
    Can someone please advice?

  • View Objects Fetch depth with View Links while creating Service Data Object

    Hi ,
    I am trying to create SDO's for my Business components.
    Here are my Entities & relations :
    Entity Objects : 1) EmployeeEo 2) DepartmentEO 3) PropertyEO
    And corresponding View Objects 1) EmployeeVO 2) DepartmentVO 3) PropertyVO.
    Associations : Employee -> Dept (m:1) , Employee -> Property (1:M) , And corresponding View Links as well.
    When i expose the VO's in AM like :
    DepartmentVO, with EmployeeVO from dept_emp_view link => This fetches all the data from Dept-> Employees -> Property
    However i don't want the tree fetch to be like that , i want to have my fetch restricted to only one level ie Dept-> Employees
    and a different fetch for Employees -> Property .
    Please suggest.
    Thanks !!

    Was able to do it by extending VO

  • Difference b/w DATA TYPE and DATA OBJECT & differences b/w TYPE and LIKE

    hai
    can any one say the differences between Data type and Data Object.
    And also differences between TYPE and LIKE
    thanks
    Gani

    hi,
    _Data Types and Data Objects_
          Programs work with local program data – that is, with byte sequences in the working memory. Byte sequences that belong together are called fields and are characterized by a length, an identity (name), and – as a further attribute – by a data type. All programming languages have a concept that describes how the contents of a field are interpreted according to the data type.
          In the ABAP type concept, fields are called data objects. Each data object is thus an instance of an abstract data type. There are separate name spaces for data objects and data types. This means that a name can be the name of a data object as well as the name of a data type simultaneously.
    Data Types
       As well as occurring as attributes of a data object, data types can also be defined independently. You can then use them later on in conjunction with a data object. The definition of a user-defined data type is based on a set of predefined elementary data types. You can define data types either locally in the declaration part of a program using the TYPESstatement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations.
         All programming languages distinguish between various types of data with various uses, such as ….. type data for storing or displaying values and numerical data for calculations. The attributes in question are described using data types. You can define, for example, how data is stored in the repository, and how the ABAP statements work with the data.
    Data types can be divided into elementary, reference, and complex types.
    a. Elementary Types
    These are data types of fixed or variable length that are not made up of other types.
    The difference between variable length data types and fixed length data types is that the length and the memory space required by data objects of variable length data types can change dynamically during runtime, and that these data types cannot be defined irreversibly while the data object is being declared.
    Predefined and User-Defined Elementary Data Types
    You can also define your own elementary data types in ABAP using the TYPES statement. You base these on the predefined data types. This determines all of the technical attributes of the new data type. For example, you could define a data type P_2 with two decimal places, based on the predefined data type P. You could then use this new type in your data declarations.
    b.  Reference Types
    Reference types are deep data types that describe reference variables, that is, data objects that contain references. A reference variable can be defined as a component of a complex data object such as a structure or internal table as well as a single field.
    c. Complex Data Types
    Complex data types are made up of other data types. A distinction is made here between structured types and table types.
    Data Objects
          Data objects are the physical units with which ABAP statements work at runtime. The contents of a data object occupy memory space in the program. ABAP statements access these contents by addressing the name of the data object and interpret them according to the data type.. For example, statements can write the contents of data objects in lists or in the database, they can pass them to and receive them from routines, they can change them by assigning new values, and they can compare them in logical expressions.
           Each ABAP data object has a set of technical attributes, which are fully defined at all times when an ABAP program is running (field length, number of decimal places, and data type). You declare data objects either statically in the declaration part of an ABAP program (the most important statement for this is DATA), or dynamically at runtime (for example, when you call procedures). As well as fields in the memory area of the program, the program also treats literals like data objects.
            A data object is a part of the repository whose content can be addressed and interpreted by the program. All data objects must be declared in the ABAP program and are not persistent, meaning that they only exist while the program is being executed. Before you can process persistent data (such as data from a database table or from a sequential file), you must read it into data objects first. Conversely, if you want to retain the contents of a data object beyond the end of the program, you must save it in a persistent form.
    Declaring Data Objects
          Apart from the interface parameters of procedures, you declare all of the data objects in an ABAP program or procedure in its declaration part. These declarative statements establish the data type of the object, along with any missing technical attributes. This takes place before the program is actually executed. The technical attributes can then be queried while the program is running.
         The interface parameters of procedures are generated as local data objects, but only when the procedure is actually called. You can define the technical attributes of the interface parameters in the procedure itself. If you do not, they adopt the attributes of the parameters from which they receive their values.
    ABAP contains the following kinds of data objects:
    a.  Literals
    Literals are not created by declarative statements. Instead, they exist in the program source code. Like all data objects, they have fixed technical attributes (field length, number of decimal places, data type), but no name. They are therefore referred to as unnamed data objects.
    b.  Named Data Objects
    Data objects that have a name that you can use to address the ABAP program are known as named objects. These can be objects of various types, including text symbols, variables and constants.
    Text symbols are pointers to texts in the text pool of the ABAP program. When the program starts, the corresponding data objects are generated from the texts stored in the text pool. They can be addressed using the name of the text symbol.
    Variables are data objects whose contents can be changed using ABAP statements. You declare variables using the DATA, CLASS-DATA, STATICS, PARAMETERS, SELECT-OPTIONS, and RANGESstatements.
    Constants are data objects whose contents cannot be changed. You declare constants using the CONSTANTSstatement.
    c.  Anonymous Data  Objects
    Data objects that cannot be addressed using a name are known as anonymous data objects. They are created using the CREATE DATAstatement and can be addressed using reference variables.
    d.  System-Defined Data Objects
    System-defined data objects do not have to be declared explicitly - they are always available at runtime.
    e.  Interface Work Areas
    Interface work areas are special variables that serve as interfaces between programs, screens, and logical databases. You declare interface work areas using the TABLES and NODESstatements.
    What is the difference between Type and Like?
    Answer1:
    TYPE, you assign datatype directly to the data object while declaring.
    LIKE,you assign the datatype of another object to the declaring data object. The datatype is referenced indirectly.
    Answer2:
    Type is a keyword used to refer to a data type whereas Like is a keyword used to copy the existing properties of already existing data object.
    Answer3:
    type refers the existing data type
    like refers the existing data object
    reward if useful
    thanks and regards
    suma sailaja pvn

  • Data types and data objects

    diff b/w data types and data objects

    hi prasanth,
    Data Types and Data Objects
    Programs work with local program data – that is, with byte sequences in the working memory. Byte sequences that belong together are called fields and are characterized by a length, an identity (name), and – as a further attribute – by a data type. All programming languages have a concept that describes how the contents of a field are interpreted according to the data type.
    In the ABAP type concept, fields are called data objects. Each data object is thus an instance of an abstract data type. There are separate name spaces for data objects and data types. This means that a name can be the name of a data object as well as the name of a data type simultaneously.
    Data Types
    Data types are templates for creating data objects. Data types can be defined independently in the ABAP program or in the ABAP Dictionary. As attributes of a data object, data types can also exist in a non-independent state. Data types do not use any memory space for work data, but may require memory for administration information.
    As well as occurring as attributes of a data object, data types can also be defined independently. You can then use them later on in conjunction with a data object. The definition of a user-defined data type is based on a set of predefined elementary data types. You can define data types either locally in the declaration part of a program using the TYPESstatement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations.
    All programming languages distinguish between various types of data with various uses, such as ….. type data for storing or displaying values and numerical data for calculations. The attributes in question are described using data types. You can define, for example, how data is stored in the repository, and how the ABAP statements work with the data.
    Data types can be divided into elementary, reference, and complex types.
    a. Elementary Types
    These are data types of fixed or variable length that are not made up of other types.
    The difference between variable length data types and fixed length data types is that the length and the memory space required by data objects of variable length data types can change dynamically during runtime, and that these data types cannot be defined irreversibly while the data object is being declared.
    Predefined and User-Defined Elementary Data Types
    You can also define your own elementary data types in ABAP using the TYPES statement. You base these on the predefined data types. This determines all of the technical attributes of the new data type. For example, you could define a data type P_2 with two decimal places, based on the predefined data type P. You could then use this new type in your data declarations.
    b. Reference Types
    Reference types are deep data types that describe reference variables, that is, data objects that contain references. A reference variable can be defined as a component of a complex data object such as a structure or internal table as well as a single field.
    c. Complex Data Types
    Complex data types are made up of other data types. A distinction is made here between structured types and table types.
    Data Objects
    A data object is an instance of a data type and occupies as much memory space as its type specifies. An ABAP program only works with data that is available as content of data objects. Data objects are either created implicitly as named data objects, or exanonymous data objects using CREATEDATA.
    Data objects are the physical units with which ABAP statements work at runtime. The contents of a data object occupy memory space in the program. ABAP statements access these contents by addressing the name of the data object and interpret them according to the data type.. For example, statements can write the contents of data objects in lists or in the database, they can pass them to and receive them from routines, they can change them by assigning new values, and they can compare them in logical expressions.
    Each ABAP data object has a set of technical attributes, which are fully defined at all times when an ABAP program is running (field length, number of decimal places, and data type). You declare data objects either statically in the declaration part of an ABAP program (the most important statement for this is DATA), or dynamically at runtime (for example, when you call procedures). As well as fields in the memory area of the program, the program also treats literals like data objects.
    A data object is a part of the repository whose content can be addressed and interpreted by the program. All data objects must be declared in the ABAP program and are not persistent, meaning that they only exist while the program is being executed. Before you can process persistent data (such as data from a database table or from a sequential file), you must read it into data objects first. Conversely, if you want to retain the contents of a data object beyond the end of the program, you must save it in a persistent form.
    Declaring Data Objects
    Apart from the interface parameters of procedures, you declare all of the data objects in an ABAP program or procedure in its declaration part. These declarative statements establish the data type of the object, along with any missing technical attributes. This takes place before the program is actually executed. The technical attributes can then be queried while the program is running.
    The interface parameters of procedures are generated as local data objects, but only when the procedure is actually called. You can define the technical attributes of the interface parameters in the procedure itself. If you do not, they adopt the attributes of the parameters from which they receive their values.
    ABAP contains the following kinds of data objects:
    a. Literals
    Literals are not created by declarative statements. Instead, they exist in the program source code. Like all data objects, they have fixed technical attributes (field length, number of decimal places, data type), but no name. They are therefore referred to as unnamed data objects.
    b. Named Data Objects
    Data objects that have a name that you can use to address the ABAP program are known as named objects. These can be objects of various types, including text symbols, variables and constants.
    Text symbols are pointers to texts in the text pool of the ABAP program. When the program starts, the corresponding data objects are generated from the texts stored in the text pool. They can be addressed using the name of the text symbol.
    Variables are data objects whose contents can be changed using ABAP statements. You declare variables using the DATA, CLASS-DATA, STATICS, PARAMETERS, SELECT-OPTIONS, and RANGESstatements.
    Constants are data objects whose contents cannot be changed. You declare constants using the CONSTANTSstatement.
    c. Anonymous Data Objects
    Data objects that cannot be addressed using a name are known as anonymous data objects. They are created using the CREATE DATAstatement and can be addressed using reference variables.
    d. System-Defined Data Objects
    System-defined data objects do not have to be declared explicitly - they are always available at runtime.
    e. Interface Work Areas
    Interface work areas are special variables that serve as interfaces between programs, screens, and logical databases. You declare interface work areas using the TABLES and NODESstatements.
    regards,
    sravanthi

  • How to retrieve the BRF+  function result data object of type table in ABAP

    Hi,
    I am calling a BRF+ function from Abap....If the result data object of the function is element then i am able to get the value back in ABAP...Suppose the result data object of the function is of table type,I couldnt retrieve the value....Can you please help me how to retrieve the table data object value of the function from abap....
    Regards,
    Dheepak.

    Hi,
    Thanks carsten and Tiwari for your reply...
    Tiwari,
    I understand that if i know the data type of the result data object which i am going to get i can declare it my ABAP program and get the values....But i am developing a generic program which calls the various BRF+ functions based on the function id...So i am not aware what is the data type of the result data object....so is there a any way to handle this situation...Please advice...
    Carsten,
    I used the GET_DATA_OBJECT_STRUCTURE method of class CL_FDT_FUNCTION_PROCESS to get the data object structure...i am able to get whether it is an element or structure or internal table...
    But is there any way to get the data type of the object...For example if it is going to be an element of type BELNR_D,is it possible to get the BELNR_D value in my program...Please advice...
    Thanks,
    Dheepak.

  • Drill into a Dataset from a url

    Hello,
    I have a page which makes use of the tabbed panel spry
    widget. Within that I have a tab that uses a spry master detail
    widget with its content generated using xmldata. The first
    recordset fills this page. Now I want to get to this page and this
    tab but to a record that I specify on a url which is on a different
    page - to drill into the xml data and return recordset 2.
    My pseudo code for the url would be as follows;
    <a
    href="pages/pro_students/stu1test.htm?panel=2#mytabs&dsprofessions.setCurrentRow=2'"
    class="pagecontentdarkblue">audiology</a>
    Is this a tall order that is not possible to achieve ?

    Hello Don,
    After much head scratching I have succeeded in drilling into
    the data contained on a page, from a tabbed panel and returning
    specific data from an xml datasource !! You can see it at work
    here.
    http://www.healthcare.leeds.ac.uk
    Click on a page link in paragraph 2 to cardiology for
    example, or alternatively click on the main navigation,
    'Prospective Students'. All of the tabbed content is one page
    (stu1.htm) and you can see in the undergraduate section how I
    needed that extra ability to navigate and drill into data.
    NOTE: It seemed important to ensure that the hash reference
    was stated at the end of the url string as in
    ....stu1.htm?row=4&product=midwifery&panel=2#mytabs
    Many thanks for your pointers :)
    Bruce.

  • Exception while loading data into the cache

    I'm getting the following error while attempting to pre-populate the cache:
    2010-11-01 16:27:21,766 ERROR [STDERR] (Logger@9229983 n/a) 2010-11-01 16:27:21.766/632.975 Oracle Coherence EE n/a <Error> (thread=DistributedCache, member=1): SynchronousListener cannot be added on the service thread:
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.addMapListener(PartitionedCache.CDB:14)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.addMapListener(PartitionedCache.CDB:1)
         at com.tangosol.coherence.component.util.SafeNamedCache.addMapListener(SafeNamedCache.CDB:27)
         at com.tangosol.net.cache.CachingMap.registerListener(CachingMap.java:1463)
         at com.tangosol.net.cache.CachingMap.ensureInvalidationStrategy(CachingMap.java:1579)
         at com.tangosol.net.cache.CachingMap.registerListener(CachingMap.java:1484)
         at com.tangosol.net.cache.CachingMap.get(CachingMap.java:487)
         at com.jpm.ibt.primegps.cachestore.AbstractGpsCacheStore.isEnabled(AbstractGpsCacheStore.java:54)
         at com.jpm.ibt.primegps.cachestore.AbstractGpsCacheStore.store(AbstractGpsCacheStore.java:83)
         at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.store(ReadWriteBackingMap.java:4783)
         at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.storeInternal(ReadWriteBackingMap.java:4468)
         at com.tangosol.net.cache.ReadWriteBackingMap.putInternal(ReadWriteBackingMap.java:1147)
         at com.tangosol.net.cache.ReadWriteBackingMap.put(ReadWriteBackingMap.java:853)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.put(PartitionedCache.CDB:98)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onPutAllRequest(PartitionedCache.CDB:41)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$PutAllRequest.onReceived(PartitionedCache.CDB:90)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:11)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:619)
    2010-11-01 16:27:21,829 ERROR [STDERR] (pool-14-thread-3) Exception in thread "pool-14-thread-3"
    2010-11-01 16:27:21,829 ERROR [STDERR] (Logger@9229983 n/a) 2010-11-01 16:27:21.766/632.975 Oracle Coherence EE n/a <Error> (thread=DistributedCache, member=1): Assertion failed: poll() is a blocking call and cannot be called on the Service thread
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:5)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.get(PartitionedCache.CDB:26)
         at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1559)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
         at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
         at com.tangosol.net.cache.CachingMap.get(CachingMap.java:491)
         at com.jpm.ibt.primegps.cachestore.AbstractGpsCacheStore.isEnabled(AbstractGpsCacheStore.java:54)
         at com.jpm.ibt.primegps.cachestore.AbstractGpsCacheStore.store(AbstractGpsCacheStore.java:83)
         at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.store(ReadWriteBackingMap.java:4783)
         at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.storeInternal(ReadWriteBackingMap.java:4468)
         at com.tangosol.net.cache.ReadWriteBackingMap.putInternal(ReadWriteBackingMap.java:1147)
         at com.tangosol.net.cache.ReadWriteBackingMap.put(ReadWriteBackingMap.java:853)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.put(PartitionedCache.CDB:98)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onPutAllRequest(PartitionedCache.CDB:41)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$PutAllRequest.onReceived(PartitionedCache.CDB:90)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:11)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:619)
    2010-11-01 16:27:21,922 ERROR [STDERR] (pool-14-thread-3) (Wrapped: Failed request execution for DistributedCache service on Member(Id=1, Timestamp=2010-11-01 16:20:09.372, Address=169.65.134.90:7850, MachineId=28250, Location=site:EMEA.AD.JPMORGANCHASE.COM,machine:WLDNTEC6WM754J,process:5416) (Wrapped: Failed to store key="9046019") poll() is a blocking call and cannot be called on the Service thread) com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service threadI'm a bit stumped as my code doesn't call poll() anywhere and this appears to be caused by the following in my CacheStore class:
    public void store(Object key, Object value) {
            log.info("CacheStore currently " + isEnabled());
            if (isEnabled()) {
                throw new UnsupportedOperationException("Store method not currently supported");
    public boolean isEnabled() {
            return ((Boolean) CacheFactory.getCache(CacheNameEnum.CONTROL_CACHE.name()).get(ENABLED)).booleanValue();
        }the only thing I can think of is maybe it has a problem calling a cache from within a CacheStore (if that makes sense). What I have is a CONTROL_CACHE which just stores a boolean value to indicate whether the store(), storeAll(), erase(), and eraseAll() methods should do anything. Is this correct?

    Hi Jonathan,
    I am trying to implement a write-behind cache but my configs may be wrong. The config for the cache with the cachestore looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd" >
    <cache-config>
         <caching-scheme-mapping>
         <cache-mapping>
              <cache-name>PARTY_CACHE</cache-name>
              <scheme-name>party_cache</scheme-name>
         </cache-mapping>
         </caching-scheme-mapping>
         <caching-schemes>
              <near-scheme>
                   <scheme-name>party_cache</scheme-name>
                   <service-name>partyCacheService</service-name>
                   <!-- a sensible default ? -->
                   <thread-count>5</thread-count>
                   <front-scheme>
                        <local-scheme>
                        </local-scheme>
                   </front-scheme>
                   <back-scheme>
                        <distributed-scheme>
                             <backing-map-scheme>
                                  <read-write-backing-map-scheme>
                                       <internal-cache-scheme>
                                            <local-scheme>
                                            </local-scheme>
                                       </internal-cache-scheme>
                                       <cachestore-scheme>
                                            <class-scheme>
                                                 <class-name>spring-bean:partyCacheStore</class-name>
                                            </class-scheme>
                                       </cachestore-scheme>
                                  </read-write-backing-map-scheme>
                             </backing-map-scheme>
                        </distributed-scheme>
                   </back-scheme>
                   <autostart>true</autostart>
              </near-scheme>
         </caching-schemes>
    </cache-config>and the control cache config looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd" >
    <cache-config>
         <caching-scheme-mapping>
         <cache-mapping>
              <cache-name>CONTROL_CACHE</cache-name>
              <scheme-name>control_cache</scheme-name>
         </cache-mapping>
         </caching-scheme-mapping>
         <caching-schemes>
              <near-scheme>
                   <scheme-name>control_cache</scheme-name>
                   <service-name>controlCacheService</service-name>
                   <!-- a sensible default ? -->
                   <thread-count>5</thread-count>
                   <front-scheme>
                        <local-scheme>
                             <high-units>100</high-units>
                        </local-scheme>
                   </front-scheme>
                   <back-scheme>
                        <distributed-scheme>
                             <backing-map-scheme>
                                  <read-write-backing-map-scheme>
                                  </read-write-backing-map-scheme>
                             </backing-map-scheme>
                        </distributed-scheme>
                   </back-scheme>
                   <autostart>true</autostart>
              </near-scheme>
         </caching-schemes>
    </cache-config>They have different service names but I'm guessing this isn't what you mean and I thought I was using write-behind but again I'm guessing my config is not correct?

  • To upload data into ODS while Type of DataStore Object is Direct update

    Hi Experts,
    How to upload data from flat file to ODS while Type of DataStore Object is
    "Direct Update"? Please explain step by step.
    Any useful answer will be rewarded with suitable points
    Thanks and Regards,
    Sapna

    Hi Sapna jha
    Jus Have a look @ the following
    <u><b><a href="http://help.sap.com/saphelp_nw04s/helpdata/en/a4/1be541f321c717e10000000a155106/frameset.htm">UPDATING DATA TO DIRCET DSO</a></b></u>
    Hope itz Helps..!
    Regards
    KISHORE M REDDY
    **Winners Don't Do Different things,They Do things Differently...!**
    > Hi Experts,
    >
    > How to upload data from flat file to ODS while Type
    > of DataStore Object is
    >  "Direct Update"? Please explain step by step.
    >
    > Any useful answer will be rewarded with suitable
    > points
    >
    > Thanks and Regards,
    > Sapna

  • How to move multiple decision tables values into results data object

    Hi Carsten and other experts,
    I am building a BRF+ function and have a question, I would probably try to give an example to better explain the issue.
    1. Function Signature
    Context elements:  C1, C2, C3
    2. Ruleset has two decision tables DT1 and DT2.
    DT1 take C1, C2, C3 as inputs to provide C4 and C5.
    DT2 takes C5 takes as inputs to provide C6.
    What should be results data object for function to get C4,C5 and C6 as Function Output parameters?
    I have tried different combination of structures and table and couldn't figure out how it behaves.
    Thank you
    Kris

    The function gets a result structure with components C4, C5, C6.
    In a ruleset assigned to the function you have a rules that calls the two decision tables DT1/2.
    Create a structure for DT1 with C4 and C5 as components. Make the structure the result of your decision table.
    DT2 has C6 as a result.

Maybe you are looking for