DataGrid does not display XML data

Hello, and thanks for reading this...
I am having a problem displaying XMLList data in a DataGrid.
The data is coming from a Tree control, which is receiving it
from a database using HTTPService.
The data is a list of "Job Orders" from a MySQL database,
being formatted as XML by a PHP page.
If it would be helpful to see the actual XML, a sample is
here:
http://www.anaheimwib.com/_login/get_all_orders_test2.php
All is going well until I get to the DataGrid, which doesn't
display the data, although I know it is there as I can see it in
debug mode. I've checked the dataField property of the appropriate
DataGrid column, and it appears correct.
Following is a summary of the relevant code.
...An HTTPService named "get_all_job_orders" retrieves
records from a MySQL database via PHP...
...Results are formatted as E4X:
HTTPService resultFormat="e4x"
...An XMLListCollection's source property is set to the
returned E4X XML results:
...The "order" node is what is being used as the top-level of
the XML data.
<mx:XMLListCollection id="jobOrdersReviewXMLList"
source="{get_all_job_orders.lastResult.order}"/>
...The "jobOrdersReviewXMLList" collection is assigned to be
the dataProvider property of a Tree list, using the @name syntax to
display the nodes correctly, and a change event function is defined
to add the records to a DataGrid on a separate Component for
viewing the XML records:
<mx:Tree dataProvider="{jobOrdersReviewXMLList}"
labelField="@name"
change="jobPosForm.addTreePositionsToDG(event)"/>
...Here is the relevant "jobPosForm" code (the Job Positions
Form, a separate Component based on a Form) :
...A variable is declared:
[Bindable]
public var positionsArray:XMLList;
...The variable is initialized on CreationComplete event of
the Form:
positionsArray = new XMLList;
...The Tree's change event function is defined within the
"jobPosForm" Component.
...Clicking on a Tree node fires the Change event.
...This passes an event object to the function.
...This event object contains the XML from the selected Tree
node.
...The Tree node's XML data is passed into the positionsArray
XMLList.
...This array is the dataProvider for the DataGrid, as you
will see in the following block.
public function addTreePositionsToDG(event:Event):void{
this.positionsArray = selectedNode.positions.position;
...A datagrid has its dataProvider is bound to
positionsArray.
...(I will only show one column defined here for brevity.)
...This column has its dataField property set to "POS_TITLE",
a field in the returned XML record:
<mx:DataGrid width="100%" variableRowHeight="true"
height="75%" id="dgPositions"
dataProvider="{positionsArray}" editable="false">
<mx:columns>
<mx:DataGridColumn width="25" headerText="Position Title"
dataField="POS_TITLE"/>
</mx:columns>
</mx:DataGrid>
In debug mode, I can examine the datagrid's dataProvider
property, and see that the correct XML data from the Tree control
is present. However, The datagrid does not display the data in any
of its 6 columns.
Does anyone have any advice?
Thanks for your time.

Hello again,
I came up with a method of populating the DataGrid from the
selected Item of a Tree Control which displays complex XML data and
XML attributes. After the user clicks on a Tree branch, I call this
function:
public function addTreePositionsToDG(event:Event):void{
//Retrieve all "position" nodes from tree.
//Loop thru each Position.
//Add Position data to the positionsArray Array Collection.
//The DataGrid dataprovider is bound to this array, and will
be updated.
positionsArray = new ArrayCollection();
var selectedNode:Object=event.target.selectedItem;//Contains
entire branch.
for each (var position:XML in
selectedNode.positions.position){
var posArray:Array = new Array();
posArray.PK_POSITIONID = position.@PK_POSITIONID;
posArray.FK_ORDERID = position.@FK_ORDERID;
posArray.POS_TITLE = position.@POS_TITLE;
posArray.NUM_YOUTH = position.@NUM_YOUTH;
posArray.AGE_1617 = position.@AGE_1617;
posArray.AGE_1821 = position.@AGE_1821;
posArray.HOURS_WK = position.@HOURS_WK;
posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
posArray.JOB_DESCR = position.@JOB_DESCR;
posArray.DES_SKILLS = position.@DES_SKILLS;
positionsArray.addItem(posArray);
So, I just had to manually go through the selected Tree node,
copy each XML attribute into a simple Array, then ADD this Array to
an ArrayCollection being used as the DataProvider for the DataGrid.
It's not elegant, but it works and I don't have to use a Label
Function, which was getting way too complicated. I still think that
Flex should have an easier way of doing this. There probably is an
easier way, but the Flex documentation doesn't provide an easy path
to it.
I want to thank you, Tracy, for the all the help. I checked
out the examples you have at www.cflex.net and they are very
helpful. I bookmarked the site and will be using it as a resource
from now on.

Similar Messages

  • Product Revenue Bookings and Backlog Dashboard does not display any data

    Product Revenue Bookings and Backlog Dashboard does not display any data even though the load completed successfully.
    They are able to see just the parameters.
    Not sure if the upgrade of the database from 9.2.0.6 to 10.2.0.3 is a factor.
    What can I check?
    Is there some table to verify that the data exists for display in the Product Revenue Bookings and Backlog Dashboard?
    Screenshot is at:
    https://gtcr.oracle.com/gtcr-dir/gtcr_5637/6415786.993/Product_Revenue_Bookings_Backlog_Dashboard.doc
    Support suggested to create a new request set and run the initial load with load all summaries option; but there was no change in the Product Revenue Bookings and Backlog Dashboard.
    Any ideas?

    hi
    We have faced the similar problem after the upgrade to 10G
    What we did was
    Ran the initial load of time dimension, Item setup request set, and the request set of all the dash board in the clear and initial load mode..
    we were able to get the data once the clear and load is completed successfully
    Regards
    Ramesh Kumar S

  • Text box does not display the date??

    I have a text box <input type="TEXT" name="invoiceDate" readonly></input>. I select the date using datepicker .The date gets displayed in the text box.Then i click on "Show" button which loads the same jsp page again.
    When the page is loaded the text box does not show the date.
    I try to save the date in the text box as
    <% String date1=request.getParameter("invoiceDate");
    <input type="hidden" name="date1" value="<%=date1 %>">
    <%>
    The value is saved in this hidden variable..
    Plz help me what to do next
    Thanks

    Its a hidden field and that's why it isnt displayed.
    Use
    <input type="text" name="date1" value="<%=date1 %>"> ram.

  • ReportViewer control used with a remote report does not display any data.

    Hi there,
    I have this .rdl report that runs just fine on our reporting server (I can see that when I try to run the report by accessing its URL in a browser). However, when I run it in my Windows-based application, I do not see any data. My report has two input parameters
    and it needs to impersonate the caller's identity because the database uses Windows Authentication.
    Here is the code I use:
    var reportViewer = new ReportViewer();
    // Set Processing Mode
    reportViewer.ProcessingMode = ProcessingMode.Remote;
    // Set report server and report path
    reportViewer.ServerReport.ReportServerUrl = new Uri("http://MySsrsServer/reportserver");
    reportViewer.ServerReport.ReportPath = "/Reports/MyReport";
    // set the credentials
    reportViewer.ServerReport.ReportServerCredentials.ImpersonationUser = WindowsIdentity.GetCurrent();
    // create report parameters and set them in the report
    var param1 = new ReportParameter("First_Param", "Some string");
    var param2 = new ReportParameter("Second_Param", "Some other string");
    reportViewer.ServerReport.SetParameters(new ReportParameter[] { param1, param2 });
    using (var reportForm = new ReportForm(reportViewer))
    reportForm.ShowDialog();
    The ReportForm is just a regular Form that has a member of type ReportViewer. In the class' constructor, I assign the member:
    public ReportForm(ReportViewer reportViewer)
    InitializeComponent();
    try
    this.reportViewer = reportViewer;
    reportViewer.SetDisplayMode(DisplayMode.PrintLayout);
    reportViewer.Dock = DockStyle.Fill;
    reportViewer.ZoomMode = ZoomMode.Percent;
    reportViewer.ZoomPercent = 100;
    reportViewer.RefreshReport();
    catch (Exception exception)
    MessageBox.Show(exception.Message);
    Using database level tracing, we were able to confirm that the two Stored Procedures used by the report are called and they return correct and valid records. However, in the form nothing shows up:
    Any suggestions?
    TIA,
    Ed

    Good to know CR doesn't like joins of Stored Procedures to something else.
    But in my testcase, I finally dropped the link between the ttx file and the stored procedure. Doing so, I was able to run the report from the designer with the stored procedure as datasource instead of the ttx file. At that moment, I still had missing data in my report, while the resultset of the stored procedure returns me all the correct data !
    In the mean time, I changed the layout a bit, especially the text fields containing name, address, country and postal code and city of the customer, by just adding some spaces between those seperate databasefields. In fact, there is one text box with all those database fields concatenated one to the other.
    And by just adding some spaces in between, my report works fine again ?!
    Strange, strange, strange,....

  • Report does not display some data

    Hi,
    Using:
    - Crystal Reports 2008 SP3 as development platform.
    - Visual Studio 2008 to launch the crystal report.
    - SQL Server 2005 SP3 as database
    Crystal Report:
    - rpt file has been set up for a couple of months, working fine uptill last friday
    - dataset comes from a SQL Server stored procedure with some parameters. Executing this stored procedure with these parameters, returns the correct result set
    - showing the report using the Crystal Reports Viewer, some fields remain blank since the beginning of this week. Why does the report does not show all the data that is in the result set of the stored procedure ?
    Any idea for a solution ?
    Any idea to debug such strange behaviour ?
    Thanks a lot for any help.

    Good to know CR doesn't like joins of Stored Procedures to something else.
    But in my testcase, I finally dropped the link between the ttx file and the stored procedure. Doing so, I was able to run the report from the designer with the stored procedure as datasource instead of the ttx file. At that moment, I still had missing data in my report, while the resultset of the stored procedure returns me all the correct data !
    In the mean time, I changed the layout a bit, especially the text fields containing name, address, country and postal code and city of the customer, by just adding some spaces between those seperate databasefields. In fact, there is one text box with all those database fields concatenated one to the other.
    And by just adding some spaces in between, my report works fine again ?!
    Strange, strange, strange,....

  • Crystal Reports 13 VS2010 Report does not display new data

    The project is written in VS2010 connecting to an Access 2007 DB.  It is running on a local network.  All reports work fine from the standpoint that data is displayed on the reports HOWEVER, if a data table is updated the newley entered records do not show up on the report yet when I examine the database the records have been added to the table.
    I hit refresh and the new records still do not appear.  I've closed out the session and re-started the software and the records do not appear.  It's almost as if the DB is 'frozen'.  Suggestions?

    Hey Ludek,
    Problem with that sample is it hits the MDB directly and not the ODBC DSN. The Jet engine is being deprecated by MS so the solution is to use ODBC or OLE DB to any version of Access.
    I've posted this multiple times but here it is again:
    Try using the replace connection method to update the location of the DSN:
    private void ReplaceConnection_Click(object sender, EventArgs e)
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    ISCDReportClientDocument rcd;
    rcd = rptClientDoc;
    rptClientDoc.DatabaseController.LogonEx("dwcb12003", "xtreme", "sb", "pw");
    //Create the logon propertybag for the connection we wish to use
    CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag logonDetails = new CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag();
    logonDetails.Add("Auto Translate", -1);
    logonDetails.Add("Connect Timeout", 15);
    logonDetails.Add("Data Source", "dwcb12003");
    logonDetails.Add("General Timeout", 0);
    logonDetails.Add("Initial Catalog", "Orders");
    logonDetails.Add("Integrated Security", "True");
    logonDetails.Add("Locale Identifier", 1033);
    logonDetails.Add("OLE DB Services", -5);
    logonDetails.Add("Provider", "SQLOLEDB");
    logonDetails.Add("Use Encryption for Data", 0);
    logonDetails.Add("Owner", "dbo"); // schema
    //Create the QE (query engine) propertybag with the provider details and logon property bag.
    CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag QE_Details = new CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag();
    QE_Details.Add("Database DLL", "crdb_ado.dll");
    QE_Details.Add("QE_DatabaseName", "Orders");
    QE_Details.Add("QE_DatabaseType", "OLE DB (ADO)");
    QE_Details.Add("QE_LogonProperties", logonDetails);
    QE_Details.Add("QE_ServerDescription", "dwcb12003");
    QE_Details.Add("QE_SQLDB", "True");
    QE_Details.Add("SSO Enabled", "False");
    QE_Details.Add("Owner", "dbo");
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo newConnInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo oldConnInfo;
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfos oldConnInfos;
    oldConnInfos = rcd.DatabaseController.GetConnectionInfos(null);
    for (int I = 0; I < oldConnInfos.Count; I++)
    oldConnInfo = oldConnInfos;
    newConnInfo.Attributes = QE_Details;
    newConnInfo.Kind = CrystalDecisions.ReportAppServer.DataDefModel.CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    rcd.DatabaseController.ReplaceConnection(oldConnInfo, newConnInfo, null, CrystalDecisions.ReportAppServer.DataDefModel.CrDBOptionsEnum.crDBOptionDoNotVerifyDB);
    See if that works for you. You'll have to change the info to ODBC from OLE DB. You can get the info from an app also, Ludek has a link to it, it will generate code to use RAS to set log on info...
    Don

  • Results view does not display any data

    Hi
    Every time I execute a query in the sql worksheet, I do not see anything in the results view. I only see the ouput in the output script folder. The output script view display is just like the usual sqlplus screen results. I want to look at the results in a table format that is suppose to be displayed in the results view.I used F5 and F9 to execute the query.
    Can anyone tell me why this is so?
    Example below is what I see in the output script view, when I run the query below.
    select file_name,tablespace_name from dba_data_files;
    FILE_NAME
    D:\ORACLE\ORADATA\ORA92\SYSTEM01.DBF
    D:\ORACLE\ORADATA\ORA92\UNDOTBS01.DBF
    D:\ORACLE\ORADATA\ORA92\CWMLITE01.DBF
    D:\ORACLE\ORADATA\ORA92\DRSYS01.DBF
    D:\ORACLE\ORADATA\ORA92\EXAMPLE01.DBF
    D:\ORACLE\ORADATA\ORA92\INDX01.DBF
    D:\ORACLE\ORADATA\ORA92\ODM01.DBF
    D:\ORACLE\ORADATA\ORA92\TOOLS01.DBF
    D:\ORACLE\ORADATA\ORA92\USERS01.DBF
    D:\ORACLE\ORADATA\ORA92\XDB01.DBF
    D:\ORACLE\ORADATA\ORA92\TEST01.DBF
    11 rows selected.
    I want to be able to see the results in the results view in a table format. Why is this not happening?
    Thanks.

    It works for me, when I use F9. Ensure you select the statement (unless it's the only statement) then press F9, or click the triangle button.
    I guess it makes sense for F5, or execute script, to not show a table as there may be many selects, and other statements, in a script and there is no specific return value from a script.
    Message was edited by:
    TonyW

  • Weblogic  console  does not  display  health  data on the servers table

    Hello
    In  a  weblogic  10.3.5  domain deployed  across two Windows  servers  2008 R2  there  are  are  two  managed  servers   hosting  Oracle  business  intelligence   publisher, each managed server  run  in a  different Windows  server,   by  the console  if I  display the servers  i can  see in  the servers  table  Ok  in the health  column  for the  managed  server  running on the  windows  server that is  hosting the  console  but  there is no info  for the other managed  server  running in the  windows  server  not  hosting the console,
    I  have  been  unable to  figure out  what is  causing  this issue.....I am  able to connect  to  any managed  server  from any  windows  server  using  WLST,,,,
    Could let me know  how   i can  troubleshoot  this  issue, ....

    Hi there,
    This issue is often experience when you enable SSL on the admin server or
    have changed the listen address/port.
    Check your managed servers log files and admin server urn in the
    startManagedWeblogic script.
    Cheers,
    A.
    On Tuesday, April 7, 2015, community-admin <

  • The webpage (absa.co.za - internet banking) does not display completely, data is omitted on the left hand side. Works fine in IE.

    Since it is a secure site, I cannot copy the page to the desktop for you to view.
    There is a column of choices on the left hand of the screen that is not visible on this notebook (LG ES30) which is a week old. The page works fine on this machine in IE 9 and on my old Acer 7520, and has done so for years.
    I think it is a question of resizing, but I cannot find any way to do this.
    Thanks,
    Derrick Benson

    tx00824 wrote:
    I have a strange problem, 2 different Share dealing websites are not receiving any stream data. Both sites use java applets. The error I see on one of them is either “Unexpected end of ZLIB input stream" or “Unexpected end of file" (http://www.shareprice.co.uk/LLOY/LLOYDS-BANKING-GROUP-PLC) to see this error I click on the TECHNICAL ANALYSIS on the right side just above charts.
    I just ran the Technical Analysis applet at Share Price and did not have any issues and did not see the "Error : Unexpected end of file from server ---- Retry GetData" messages.
    Output from console:
    plugin2manager.parentwindowDispose
    L+ v2.12 - 1.7.0_02 - Windows 7
    Memory allocated: 15872Kb free: 11909Kb
    checker 22716383 is starting
    use language from manifest : en_II
    build number : 27
    -Roger

  • ISA invoice detail does not display data  R/3 E-commerce 5.0

    I´m using R/3 Internet Sales B2B.
    I´m in area for search transactions and I have selected invoices, credit memos or down payments. When I click one of these documents, the system does not display any data in the detail screen.
    Any idea?

    Full Message Text
    An exception has occurred: java.lang.NullPointerException
    at com.sap.isa.isacore.action.GenericSearchBaseAction.addRequestedFields(GenericSearchBaseAction.java:525)
    at com.sap.isa.isacore.action.GenericSearchBaseAction.buildSelectOptions(GenericSearchBaseAction.java:140)
    at com.sap.isa.isacore.action.GenericSearchISAAction.ecomPerform(GenericSearchISAAction.java:65)
    at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
    at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
    at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
    at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    [EXCEPTION]
    java.lang.NullPointerException
    at com.sap.isa.isacore.action.GenericSearchBaseAction.addRequestedFields(GenericSearchBaseAction.java:525)
    at com.sap.isa.isacore.action.GenericSearchBaseAction.buildSelectOptions(GenericSearchBaseAction.java:140)
    at com.sap.isa.isacore.action.GenericSearchISAAction.ecomPerform(GenericSearchISAAction.java:65)
    at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
    at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
    at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
    at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

  • Corresponding table in the source system does not contain any data -URGENT

    Hi Guru's,
    I have already uploaded master data.
    I have created infosource added infoObjects to it and activated it to create communication strucure.
    M using RSA1OLD transaction.
    and assigned datasource to infosource ie source system name and clicked ok.
    save datasource to infosurce assigned msg displayed, clicked ok.
    transfer rules r created, i have also created update rules and assigned infosource to it.
    then created infopackage n added execel file name .csv
    in datatargets tab selected data target as infocube. n then in schedule tab start data load immediately and clicked ok.
    everything is fine upto schedule n in monitor it does not display any data.
    what will be the problem??

    i have also created update rules and assigned infosource to it.
    then created infopackage n added execel file name .csv ??
    Are you loading the data from flat file or R3? If you are loading it from R3, why are you giving the Flat file name?
    In this case, check in RSA3 (R3 side), whther the datas source is getting the value.
    In case you are loading a flat file, you need to create a flat file data source and assign to the infosource.
    Thanks..
    Shambhu

  • CRVS2010 beta - Date field from database does not display in report

    Hi there - can someone please help?!
    I am getting a problem where a date field from the database does not display in the report viewer (It displays on my dev machine, but not on the client machines...details given below)
    I upgraded to VS 2010
    I am using the CRVS2010 Beta
    My development machine is Windows 7 - and so is my fellow developer's
    We are using Microsoft SQL Server 2000
    We run the queries within VS and then we send the data table to VS using .SetDataSource
    We have a few reports which display the date on our dev machines (whether we run the EXE or from within Visual Studio)
    When we roll out to the client machines (running Windows XP SP3) then everything works, except that the date does not display (on quite a few reports)
    This is the only real issue I have had - a show stopper for me
    The rest works well - any input will be greatly appreciated
    Regards,
    Ridwan

    Hi Ridwan,
    After much testing I have it all working now using CRDB_adoplus.dll as a data source ( XML )
    Alter your Config file to look like this:
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
    </startup>
    Then using the code below, and CR requires the Schema to be able to read the date format.
    private void SetToXML_Click(object sender, EventArgs e)
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    ISCDReportClientDocument rcd;
    rcd = rptClientDoc;
    string connString = "Provider=SQLOLEDB;Data Source=dwcb12003;Database=xtreme;User ID=sb;Password=password";
    string sqlString = "Select * From Orders";
    OleDbConnection oleConn = new OleDbConnection(connString);
    OleDbDataAdapter oleAdapter = new OleDbDataAdapter(sqlString, oleConn);
    //OleDbDataAdapter oleAdapter2 = new OleDbDataAdapter(sqlString2, oleConn);
    DataTable dt1 = new DataTable("Orders");
    oleAdapter.Fill(dt1);
    System.Data.DataSet ds = new System.Data.DataSet();
    // We need the schema to get the data formats
    ds.WriteXml("c:
    sc.xml", XmlWriteMode.WriteSchema);
    //Create a new Database Table to replace the reports current table.
    CrystalDecisions.ReportAppServer.DataDefModel.Table boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();
    //boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
    PropertyBag boMainPropertyBag = new PropertyBag();
    //boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
    //In the main property bag (boMainPropertyBag)
    PropertyBag boInnerPropertyBag = new PropertyBag();
    //Set the attributes for the boInnerPropertyBag
    boInnerPropertyBag.Add("File Path ", @"C:\sc.xml");
    boInnerPropertyBag.Add("Internal Connection ID", "{680eee31-a16e-4f48-8efa-8765193dccdd}");
    //Set the attributes for the boMainPropertyBag
    boMainPropertyBag.Add("Database DLL", "crdb_adoplus.dll");
    boMainPropertyBag.Add("QE_DatabaseName", "");
    boMainPropertyBag.Add("QE_DatabaseType", "");
    //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
    boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
    boMainPropertyBag.Add("QE_ServerDescription", "NewDataSet");
    boMainPropertyBag.Add("QE_SQLDB", "False");
    boMainPropertyBag.Add("SSO Enabled", "False");
    //Create a new ConnectionInfo object
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
    new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
    //Pass the database properties to a connection info object
    boConnectionInfo.Attributes = boMainPropertyBag;
    //Set the connection kind
    boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    //*EDIT* Set the User Name and Password if required.
    boConnectionInfo.UserName = "";
    boConnectionInfo.Password = "";
    //Pass the connection information to the table
    boTable.ConnectionInfo = boConnectionInfo;
    //Get the Database Tables Collection for your report
    CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
    boTables = rptClientDoc.DatabaseController.Database.Tables;
    //For each table in the report:
    // - Set the Table Name properties.
    // - Set the table location in the report to use the new modified table
    boTable.Name = "Orders";
    boTable.QualifiedName = "Orders";
    boTable.Alias = "Orders";
    rptClientDoc.DatabaseController.SetTableLocation(boTables[0], boTable);
    //Verify the database after adding substituting the new table.
    //To ensure that the table updates properly when adding Command tables or Stored Procedures.
    rptClientDoc.VerifyDatabase();
    MessageBox.Show("Data Source Set", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Thanks again
    Don

  • CM14 BI Publisher - modifying an existing Data Model, the Graphic View in Query Builder does not display

    I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60,  there are not 60 tables referenced in any CM report.
    Does this Query builder view work at all on any report?
    (bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
    Thanks,
    Paul L

    Kurt, thanks for your replies.
    A couple of notes/clarifications.
    1.     You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE.  I would recommend using Firefox too.
    2.     You are correct about the way to get to the Query Builder to see a graphical view of data tables.  There are basically two issues with this that I mentioned, but will re-iterate:
    a.  If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder.  Query Builder works only to create a NEW query from scratch.
    b.  Query builder is limited to selecting 60 fields max in your query.  If you are creating a large report with many tables, you may find that 60 fields is not enough.  For that you will have to work in the SQL edit screen rather than using the query builder.
    I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports.  You should be able to find the tables and joins documentation in the knowledgebase.

  • User-Defined Type does not display values in Table Data grid

    I have a User defined Type that is a collection of one character VARCHAR2 values. In the Table Data grid it does not display the character values. I know on all our other Oracle development applications these values display. Is this a bug or is there a snippet to display these values?

    Version: 1.0.0.15
    DB: 10.2.0
    Workstation OS: Windows XP

  • HT4157 I have an iPad 2 and it does not display the cellular data button under settings

    I have an iPad 2 and it does not display the cellular data button under settings.  It does display a Bluetooth button in its place. I have tried the reset but no luck

    Is the iPad the Cellular version? Does it have an active Data plan? Does it have a Sim card installed in inside it?

Maybe you are looking for