Historical Data through EM 11g console

Hi,
I would like to know if we can pull the historical data ( like for past 1 month) through EM 11g console for any resource ( application, managed server etc).
Thanks

Yes, historical information can be pulled through both pre-defined and custom reports. Refer to Chapter 8, 8 Information Publisher of the EM 11g documentation at the link below
http://docs.oracle.com/cd/E11857_01/em.111/e16790/information_publisher.htm#BGBHHIJC
-Dan

Similar Messages

  • Historic data migration (forms 6i to forms 11g)

    Hello,
    We have done a migration from Forms 6i to Forms 11g. We are facing a problem with the historic data for a download/upload file
    utility. In forms 6i the upload/download was done using OLE Container which has become obsolete, the new technology being webutil.
    We had converted the historic data from Long RAW to BLOB (by export/import & by the TO_LOB) and while opening them it throws a
    message or not able to open. This issue exists for all types of documents like .doc, .docx, .html, .pdf. We are unable
    to open the documents after downloading to local client machines.
    One option which works is to manually download the documents (pdf, doc etc) from the older version of forms 6i (OLE) and
    upload it to the forms 11g (Webutil). Is there any way this can be automated?
    Thanks
    Ram

    Are you colleagues?
    OLE Containers in Oracle Forms 6i

  • How to get Historic Data in Oracle

    Hi,
    THe following query might be useful to generate the consecutive dates from given date to sysdate.
    SELECT dt
    FROM   ( SELECT to_date('02/19/1981','mm/dd/yyyy')+rownum-1 AS dt
           FROM    user_objects
    WHERE  TRUNC(dt)<=TRUNC(SYSDATE);NOw lets consider the basic scott.emp table
    The above requirement can be acheived using this query as we may get only 14 records as there are only 14 records in scott.emp table
    select ( to_date('02/19/1981','mm/dd/yyyy')+rownum-1) as dt
    from scott.emp If we see the scott.emp table there are 2 reocrds with empno 7499,7521 with hiredates 20-feb-81 and 22-feb-81 respectively. on pulling the historic data from19-feb-81 to 04-mar-81 as there are only 14 records in the table we need to get the sum of sal or comm as it is along with those dates in the table.
    Assuming there are more than one record for the same date for the dates mentioned above , i have used the following query but could not get the desired output.
    Select To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1,
    sum(Case When Sal>0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Sal)
    Else 0 End ) As Hist_Sal,
    sum(Case When Nvl(Comm,0)>= 0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Nvl(Comm,0))
    Else 0 End) As hist_comm
    From Scott.Emp
    Group By To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1
    order by 1; I have tried the other option also and I could get the desired output.THe query goes like this:
    --Success Statement
    Select To_Char(Rt.Business_Date , 'Day,Mon DD,yyyy') As Business_Date ,To_Date(Rt.Business_Date) As Hist_date,
    ( Select sum(sal)
    From Scott.Emp  Slm
    Where Trunc (Hiredate) = Trunc(Rt.Business_Date)
    ) as hist_sal
    FROM
    (select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
    Where
    Trunc(Rt.Business_Date) Between To_Date('02/19/1981','mm/dd/yyyy') And To_Date('10/31/2012','mm/dd/yyyy')
    order by Hist_date;But i want to get the historic dates/data to be genearted from scott.emp table insetead of using this logic *(select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt* as written in Success Statement
    As it would be helpful for my requirement ,else I need to write subqueries for all the cols i need as i have written in the above success statement.
    please advise.
    Regards,

    sri wrote:
    Hi,
    THe following query might be useful to generate the consecutive dates from given date to sysdate.
    SELECT dt
    FROM   ( SELECT to_date('02/19/1981','mm/dd/yyyy')+rownum-1 AS dt
    FROM    user_objects
    WHERE  TRUNC(dt)<=TRUNC(SYSDATE);
    Unless you're using Oracle 8 (or older) then it's more efficient to say:
    SELECT     start_dt + LEVEL - 1     AS dt
    FROM     (
              SELECT     TO_DATE ('02/19/1981', 'MM/DD/YYYY')     AS start_dt
              ,     TRUNC (SYSDATE)                           AS end_dt
              FROM     dual
    CONNECT BY  LEVEL     <= 1 + (end_dt - start_dt)
    ;and it doesn't depend on how many rows happen to be in user_objects.
    NOw lets consider the basic scott.emp table
    The above requirement can be acheived using this query as we may get only 14 records as there are only 14 records in scott.emp table
    select ( to_date('02/19/1981','mm/dd/yyyy')+rownum-1) as dt
    from scott.emp If we see the scott.emp table there are 2 reocrds with empno 7499,7521 with hiredates 20-feb-81 and 22-feb-81 respectively. on pulling the historic data from19-feb-81 to 04-mar-81 as there are only 14 records in the table we need to get the sum of sal or comm as it is along with those dates in the table.
    Assuming there are more than one record for the same date for the dates mentioned above , i have used the following query but could not get the desired output.
    Select To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1,
    sum(Case When Sal>0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Sal)
    Else 0 End ) As Hist_Sal,
    sum(Case When Nvl(Comm,0)>= 0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Nvl(Comm,0))
    Else 0 End) As hist_comm
    From Scott.Emp
    Group By To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1
    order by 1; I have tried the other option also and I could get the desired output.THe query goes like this:
    --Success Statement
    Select To_Char(Rt.Business_Date , 'Day,Mon DD,yyyy') As Business_Date ,To_Date(Rt.Business_Date) As Hist_date,
    ( Select sum(sal)
    From Scott.Emp  Slm
    Where Trunc (Hiredate) = Trunc(Rt.Business_Date)
    ) as hist_sal
    FROM
    (select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
    Where
    Trunc(Rt.Business_Date) Between To_Date('02/19/1981','mm/dd/yyyy') And To_Date('10/31/2012','mm/dd/yyyy')
    order by Hist_date;But i want to get the historic dates/data to be genearted from scott.emp table insetead of using this logic *(select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt* as written in Success Statement
    As it would be helpful for my requirement ,else I need to write subqueries for all the cols i need as i have written in the above success statement.Sorry, I'm not sure what you're asking.
    Do you want to know if there's a simpler and/or more efficient way to get the same results as the 2nd query you posted above?
    Here's one way:
    WITH      all_dates   AS
         SELECT     start_dt + LEVEL - 1     AS dt
         FROM     (
                  SELECT     TO_DATE ('02/19/1981', 'MM/DD/YYYY')     AS start_dt
                  ,             TO_DATE ('10/31/2012', 'MM/DD/YYYY')     AS end_dt
                  FROM    dual
         CONNECT BY  LEVEL     <= 1 + (end_dt - start_dt)
    SELECT       TO_CHAR (a.dt, 'Day, Mon DD, YYYY')     AS business_date
    ,       SUM (e.sal)                                AS hist_sal
    FROM              all_dates  a
    LEFT OUTER JOIN      scott.emp  e  ON  e.hiredate = a.dt
    GROUP BY  a.dt
    ORDER BY  a.dt
    ;For testing purposes, it would be a lot clearer if you made the end_dt something like April 5, 1981 rather than October 31, 2012.
    I hope this answers your question.
    If not, post the results you want from the data in scott.emp, given some reasonable date range. (I suggest Nov. 16, 1981 through Jan. 24, 1982; that includes December 3, 1981 which has 2 rows with the same hiredate.)
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • How to extract the historical data from R/3

    hi
    I am extracting data from R/3 through LO Extraction. client asked me to enhance the data source by adding field. i have enhanced the field and wrote exit to populate the data for that field.
    how to extract the historical data into BI for the enhanced field. already delta load is running in BI.
    regards

    Hi Satish,
    As per SAP Standard also the best way is to delete whole data from the cube and then load the data from set up tables as you have enhanced the data source.
    After data source enhancement it is supported to load normally because you don't get any historical data for that field.
    Best way is to take down time from the users, normally we do in weekends/non-business hours.
    Then fill the set-up tables; if the data is of huge volume you can adopt parallel mechanism like:
    1. Load set-up tables by yearly basis as a background job.
    2. Load set-up tables by yearly basis with posting periods from jan 1st to 31st dec of any year basis as a background job.
    This can make your self easier and faster for load of set-up tables. After filling up set-up tables. You can unlock all users as there is no worries of postings.
    Then after you can load all the data into BI first into PSA and then into Cube.
    Regards,
    Ravi Kanth.

  • How to see the historic data of CAT2

    Dear All,
    I have a question related to CATS.
    Through which table I can get the historical data of an employee which is stored in CAT2 transaction. I tried through CATSDB but not able to get the number of working hours as stored in CAT2.
    I clied on a field of CAT2 and checked the technical details. there I found the table name CATD but when I run SE11 and enter this table name, it display it as a sturcture not as a table.
    Please provide your help in this regard.
    Regards,
    -Neha

    Maximum NUmber of Columns allowed is 1023. So if there are more data than that, I am afraid there is no way to see them all in one screen.
    the better thing to do is to use the Settings>Format List>Choose fields option from the selection screen of SE16 to just choose the fields which you want in the output.
    It is highly unlikely that you are using all the 100 fields so you can very well hide a few of them with no impact on your output.
    As someone else has suggested using a report such as CATSXT_DA will defintiely be a much more useful way of viewing all relevant fields from CATSDB.

  • Acquiring Oracle Spatial Data through WFS

    Hi,
    I have been researching for awhile and am slightly confused.
    I have Oracle Spatial 11g with geometry data and would like to be able to retrieve that data through a WFS to serve to a viewing application.
    Here's where I am confused:
    1) Spatial has a WFS service which needs to be configured. If I were configure that, would I be able to access the data through URL getFeature commands? The documentation I see for them has the getFeature requests in the form of XML files so I am not sure if I can do that. Also it seems like the service is returning .log files but I think I would want GML...
    If this is the option I should take, the tutorial to setup OC4J and the Web Services are for a Linux machine (http://www.oracle.com/technology/obe/11gr1_db/datamgmt/spatialws/spatialws.htm) -- Is there one for Windows 64bit?
    2) Do I need another "application layer" to enable this URL support? I know MapServer can use URL requests.. can I just run this against the data in my DB and forget about the Oracle WFS?
    3) MapViewer seems to work with WFS Themes and handle requests through Java and SQL.. is this another option?
    I am basically confused as to where everything sits and what I should be focusing on to get my Spatial data out of the DB through a WFS. Any assistance on this matter would be greatly appreciated!
    Thanks!

    Any help debugging this issue would be greatly appreciated:
    As per the documentation:
    http://localhost:8888/SpatialWS-SpatialWS-context-root/wfsservlet?request=GetCapabilities&service=wfs&version=1.0.0
    :this get request should return the capabilities info however I receive this error message instead in the browser:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ogc:ServiceExceptionReport version="1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://localhost:8888/examples/servlets/xsds/OGC-exception.xsd" xmlns:ogc="http://www.opengis.net/ogc">
    <ogc:ServiceException code="WFS-1042">Exception during processing request</ogc:ServiceException>
    </ogc:ServiceExceptionReport>
    The sytem out from the oc4j container provides this error message:
    10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
    INFO] No subject specified in request.
    10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
    ERROR] Oracle Spatial WS Server could not set up configuration parameters: jav
    a.lang.RuntimeException: No subject specified in request.
    10/04/27 15:47:38 [oracle.spatial.ws.servlet.WFSServlet, Tue Apr 27 15:47:38 MDT
    2010, FATAL] java.lang.RuntimeException: java.lang.RuntimeException: No subject
    specified in request.
    at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:705)
    at oracle.spatial.ws.servlet.WFSServlet.doGet(WFSServlet.java:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:458)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:226)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:127)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:116)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
    SocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
    AcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
    ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.RuntimeException: No subject specified in request.
    at oracle.spatial.ws.WSProperties.getUser(WSProperties.java:574)
    at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:695)
    ... 16 more

  • Copy historical data from one material to another

    I have added a new material in the planning hierarchy and need to copy historical data from an existing material to this new material.
    For achieving the same I carried out below steps:
    In the forecasting view of the new material I added the existing material as reference material: consumption, also added the reference plant, validity period and multiplier.
    But then too system is not copying the historical data of that material to the new material..I cannot see any data in MC94 or in the infostructure.
    Please let me know where am I going wrong or if I am missing any setting.....
    Thanks in advance.
    Regards,
    Sonal

    Dear ,
    System will not copy the Reference material consumption to new material consumption -Total Consuption tab .If  you maintain those filed like
    1.Reference material consumption
    2.Ref.Plant Consumptuion
    3.Date To
    4.Multipler
    5.Similar Period Indicator -M/W ( some time if you maintain the frist 4 option but not same period indicator , system will not consider the consumption ) .
    Based on the above set up  , when you execute the Forecast ( Indiviaully -MM02-Forcaste Tab or MP38 collectively or through SOP) , forcast programme will use the  historical values of Refe.Material and project  the  new material\s forcasted demand as per your forecast period ( 2 months or 3 motnhs etc )  in the forecasting view .
    System will not copy the Historical valu to total consumption tab of the new material ok .
    If you need to copy the  consumption of old material to new material , you have to use report RMDATIND, MVER_DI or BAPI_MATERIAL_MAINTAINDATA_RT .For more details please refer the OSS Note 200547 - Program: Direct input for consumption values
    More over why do you need to copy when u have facility to have refence in Forecasting view !
    Just chek the above points wht i have mentioned and execute forecast .Do not forget to keep same period indicaotor-M/W what ever .
    Test a sample and procced .
    Hope it is clear .
    Regards
    JH
    Edited by: Jiaul Haque on Jun 5, 2010 10:12 AM

  • Historical data move.

    Hi,
    In my database i have various main transactional tables which contains 8 to 9 years of old data but my users hardly fetch data which is older than 2 years. Some time this much data in my tables impact the application performance. Now i want to move historical data out of my main transactional table to keep them as smaller as possible. I have written few following options to do this. Could you please explain me which options is better and why. specifically what's the advantage if i keep my historical data in different tablespace?
    1. Create history tables in same schema and keep respected table data older than 2 years in same table space.
    2. Create separate history schema and keep respected table data older than 2 years in different tablesapce
    3. dont move the data create range partitions according to date.
    Regards,
    JM

    JM_1979 wrote:
    Hi,
    In my database i have various main transactional tables which contains 8 to 9 years of old data but my users hardly fetch data which is older than 2 years. Some time this much data in my tables impact the application performance. Now i want to move historical data out of my main transactional table to keep them as smaller as possible. I have written few following options to do this. Could you please explain me which options is better and why. specifically what's the advantage if i keep my historical data in different tablespace?
    1. Create history tables in same schema and keep respected table data older than 2 years in same table space.
    2. Create separate history schema and keep respected table data older than 2 years in different tablesapce
    3. dont move the data create range partitions according to date.
    Regards,
    JMYour first two options seem to imply that you think there is some inherent correlation between schemas and tablespaces, or that one choice might have better performance than another. Not so.
    If you create a separate table for the historical data, it's a separate table. Period. As far as performance goes, it doesn't matter if it is in a separate schema or not. It doesn't matter if it is in a separate tablespace or not. The simple fact that you have moved it to a separate table (removing it from the table with the 'current' data) means that queries on the 'current' table won't have to wade through the historical data.
    But even before reading your proposed solutions, I was think of option 3. Your situation is exactly what partitioning is most often used for. The beauty of partitioning is that oracle can figure out that it doesn't have to wade through the 'historical' partitions if it can tell from the SELECT predicates that it doesn't need what's there, PLUS if you do need the historical data, you don't have to write a join of the two tables. In short, you app doesn't have to be concerned with what's historical vs. what's current.
    Take note that partitioning is an extra cost option.

  • Reporting on historical data

    Hello All,
    We have all our vendor data in MS-SQL database.
    It contains historical data (vendors with whom we don't do business anymore) and also the active vendors with whom we are in business.
    We are moving the active vendor into our ERP data using LSMW.
    We are also planning to move the inactive vendor data into some new tables in ERP to store them.
    My question is , can we do reporting on this inactive vendor data from these tables ?
    Are reporting is possible only for the active transactional data?
    Please through some idea as I am a beginner and I need to know this very urgently.
    Thanks in advance,
    Veena.

    Hi Sam,
    I have the same query.
    With BW we can do this.But in our case we have BW implementation in Phase2 so we want to acheive this historical data reporting in Phase1 in ERP.I want to know if we can report on these ztables where we store the historical data .
    It a bit urgent can you please let me know if it is possible.
    Thanks in advance,
    VS.

  • Info Structure rebuilt historical data

    Hi All,
    Iam planning to rebuilt historical data some self defined info structures, i tried with one info structure for orders/deliveries/invoices, it took more than 36 hours, is there any way to reduce this time??
    Thanks in advance.

    I recommend going through OSS Note 174134 - SIS: Collective note - reorganization (and allied notes inside it) and  Note 19056 - SIS reorganization: Shorter runtimes by parallel processing
    Regards,

  • Historical data and Column Chart

    Hello
    I am trying to retrive historical data from the repository and show it as a column chart through flex UI Implementation.
    My Metric is defined as below and it has two columns defined as KEY columns
    <Metric NAME="EnergyConsumptionCost" TYPE="TABLE" USAGE_TYPE="VIEW_COLLECT" FORCE_CACHE="TRUE">
    <Display>
    <Label NLSID="flex_energyCosumptionCost">Energy Consumption Cost Metric</Label>
    </Display>
    <TableDescriptor>
    <ColumnDescriptor NAME="DeviceID" TYPE="STRING" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_DeviceID">Device ID</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="DeviceName" TYPE="STRING" IS_KEY="TRUE">
    <Display>
    <Label NLSID="flex_deviceName">Device Name</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="EnergyCost" TYPE="NUMBER" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_EnergyCost">Energy Cost</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="CurrencySymbol" TYPE="STRING" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_Currency">Currency</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="EnergyConsumption" TYPE="NUMBER" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_energyConsumption">Energy Consumption</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="Unit" TYPE="STRING" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_Unit">Unit</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="PerUnitRate" TYPE="NUMBER" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_PerUnitRate">Unit Rate</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="DateCollected" TYPE="STRING" IS_KEY="TRUE">
    <Display>
    <Label NLSID="flex_DateCollected">Metric Collection Date</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="ExtraDetails" TYPE="STRING" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_extraDetails">Extra Details</Label>
    </Display>
    </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="OSLineToken">
    <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
    <Property NAME="classpath" SCOPE="GLOBAL">$CLASSPATH:%scriptsDir%/EnergyDashboardEjbBeanService-Client.jar</Property>
    <Property NAME="command" SCOPE="GLOBAL">java -cp %classpath% com.avocent.trellis.oem.plugin.energy.insight.proxy.EnergyDashboardEjbBeanServicePortClient GraphRequest %DeviceID% %StartDate% %EndDate% </Property>
    <Property NAME="startsWith" SCOPE="GLOBAL">ext_result=</Property>
    <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
    </QueryDescriptor>
    </Metric>
    I am implement the UI now using flex programming and below is the code of my page contoller class
    public class emersontrellisflexHomePageController extends ActivityController
    private var page:emersontrellisflexHomePage;
    [Bindable]
    public var metricDataArrayCollection:ArrayCollection;
    public function emersontrellisflexHomePageController()
    override public function init(pg:IActivity):void
    super.init(pg);
    page = pg as emersontrellisflexHomePage;
    // get EnergyConsumptionCost metric to get energy consumption cost information
    var procMetric:Metric = ApplicationContext.getTargetContext().getMetric("EnergyConsumptionCost");
    var procSelector:MetricSelector = procMetric.getSelector(['DeviceID', 'DeviceName','EnergyCost','CurrencySymbol','EnergyConsumption','Unit','PerUnitRate','DateCollected','ExtraDetails']);
    procSelector.getData(energyConsumptionCostHandler, MetricCollectionTimePeriod.CURRENT, page.getBatchRequest());
    // structure of the data is as follows:
    // MetricResultSet -- contains an Array (results) of all the datapoints. If the
    // time period is LAST_* then this will be multiple datapoints for each timestamp.
    // results[] -- each row in results is a TimestampMetricData datapoint.
    // TimestampMetricData -- a datapoint that includes a timestamp and then a table (data) of
    // data for all keys included in the sample. If the metric does not have any keys
    // then the table will only have a single row.
    // data -- the data table, each row is a KeyMetricData object
    // KeyMetricData -- the data row, it includes a MetricKeyValue (metricKey) that
    // identifies the key associated with that row (if there is one). All other
    // data is available via a direct reference by column name, e.g. data[n]['ColumnId']
    public function energyConsumptionCostHandler(procResult:MetricResultSet, fault:ServiceFault):void
    if(fault != null)
    MpLog.logError(fault, "Get Processes");
    return;
    if(procResult!=null)
    var dataLength:int = 0;
    var dp:TimestampMetricData = procResult.results[0];
    if(dp != null)
    dataLength = dp.data.length;
    var metricData:EcecObject ;
    var data:KeyMetricData;
    metricDataArrayCollection= new ArrayCollection();
    for(var i:int=0; i<dataLength; i++)
    data= dp.data;
    Alert.show("Data["+i+"]="+dp.data[i].toString());
    metricData= new EcecObject();
    metricData.deviceID=dp.data[i]['DeviceID'];
    metricData.deviceName=dp.data[i]['DeviceName'];
    metricData.energyCost=dp.data[i]['EnergyCost'];
    metricData.currencySymbol=dp.data[i]['CurrencySymbol'];
    metricData.energyConsumption=dp.data[i]['EnergyConsumption'];
    metricData.unit=dp.data[i]['Unit'];
    metricData.perUnitRate=dp.data[i]['PerUnitRate'];
    metricData.dateCollected=dp.data[i]['DateCollected'];
    metricData.extraDetails=dp.data[i]['ExtraDetails'];
    metricDataArrayCollection.addItem(metricData);
    page.setModel("metricDataCollection",metricDataArrayCollection);
    } //End of function energyConsumptionCostHandler
    } //End of class
    In the handler code I am populating the ArrayCollection with the objects of class "EcecObject" which is defined by me and looks as below
    package mpcui
    [Bindable]
    public class EcecObject
    public function EcecObject()
    public var deviceID:String;
    public var deviceName:String;
    public var energyCost:Number;
    public var currencySymbol:String;
    public var energyConsumption:Number;
    public var unit:String;
    public var perUnitRate:Number;
    public var dateCollected:String;
    public var extraDetails:String;
    public function toString():String
    // TODO Auto Generated method stub
    var result:String= "DeviceId="+deviceID+" DeviceName="+deviceName+" EnergyCost="+energyCost+" CurrencySymbol="+currencySymbol+" EnergyComsumption="+energyConsumption+" Unit="+unit+" unitRate="+this.perUnitRate+" dateCollected="+dateCollected+" ExtraDetails="+extraDetails;
    return result;
    Sample below shows the data populated in the object of type "EcecObject"
    (mx.collections::ArrayCollection)#0
    filterFunction = (null)
    length = 15
    list = (mx.collections::ArrayList)#1
    length = 15
    source = (Array)#2
    [0] (mpcui::EcecObject)#3
    currencySymbol = ".25"
    dateCollected = (null)
    deviceID = "KWH"
    deviceName = (null)
    energyConsumption = NaN
    energyCost = NaN
    extraDetails = "d6ffcc59-ec5a-424d-a950-dcf3944059c9"
    perUnitRate = NaN
    unit = "Dollar"
    So if we see in the attribute "currencySymbol" the "perUnitRate" is poulated even if my handler code has the following statement
    metricData.currencySymbol=dp.data[i]['CurrencySymbol'];
    Want to know why the data is swaped in most of the cases. Any correction to be done in the handler code.
    Appreciate your help.
    Regards
    Anand.

    The design depends on how much data you are having. If you have lot of data its better to use them separately.
    When you create a cube you load historical data from source systems through a full load and later you will be doing delta loads to process new records.
    As for as the data is conccerned a cube can contain both historical and transaction data.

  • How old historical data can be available for SCOM performance views to show up in graphs?

    I have created performance rule based on performance counter and created a performance view on the target of the rule. It shows me the graph of how performance counter value changed over the period of time.
    In SCOM console there is an option in performance views, to choose start date-time and end date-time for the performance graph. It allows me to select a range of say few years.
    However going by the Microsoft documentation, it appears that performance data is stored in OperationsManagerDW database only for limited period.
    I have a feature requirement where we need to have performance views or reports or some means where for compliance purpose we should be able to show older data as well.
    So my query is exactly how much historical data(up to how old) is actually available for performance views? Is there any specific information or MS documentation available where I can get this information (duration of historical data in specific number of days
    or years or so.) I need to decide based on this if I can use performance views or I need to go for some kind of reports like SSRS reports instead.

    Hi,
    Additionally, I would like to share the following article with you. Hope it helps.
    Understanding and modifying Data Warehouse retention and grooming
    http://blogs.technet.com/b/kevinholman/archive/2010/01/05/understanding-and-modifying-data-warehouse-retention-and-grooming.aspx
    Niki Han
    TechNet Community Support

  • Can't load data through smart view (ad hoc analysis)

    Hi,
    There is EPM application where I want to give ability to planners to load data through smart view (ad hoc analysis). In Shared Services there are four options in
    EssbaseCluster-1: Administrator, Create/Delete Application, Server Access, Provisioning Manager. Only Administrator can submit data in smart view (ad-hoc analysis). But I don't want to grant Essbase administrator to planners, I'm just interested to give them ability to load data through ad-hoc analysis. Please suggest!

    I take that you refreshed the Planning security, If not refresh the security of those users. Managing Security Filters
    Check in EAS whether those filters are created with "Write" permissions.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Upload Sales Historical Data in R/3?

    Hi Guys:
    We are planning to use forecased based planning MRP Procedure ( MRP Type VV ) for Material Planning , we need historical sales data to execute the forecast.
    can anybody tell me step by step how to upload 12 months historical data into SAP R/3, so that we can excute forecast based planning for a material?
    Thanks
    Sweth
    Edited by: Csaba Szommer on May 12, 2011 9:57 AM

    i need to to pull data in bw from r/3 for frieght rates
    example for rate is from source to dest(in rows) and on the basis of this we have counditon types(in columns) which we will put in coloums and on the base of those cound type we will get cummulated value of master data rate.
    like
    source  dest   rate(based on coundition types)
    now in r/3 some coundition type  are changed to new ones or we can say merged to new ones, now my question for new one i can pull no problem but what i'll do for the historical master data like coundition type in 2006 are diff and 2007 is diff
    but they mapped in each othe
    thx
    rubane

  • I am receiving the data through the rs232 in labview and i have to store the data in to the word file only if there is a change in the data and we have to scan the data continuasly how can i do that.

    i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it.  I am gettting the data from rs232 interms of 0 or 1.  and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer

    I have attatched the vi.  Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off.  suppose if 0 comes the corresponding data status is wrtten into the text file.  But here the problem is the same data will be printed many number of times.  so i have to make it like if there is a transition from 1 to o then only print it once.  how to do it.  I am doing this from few weeks please reply if you know the answer immediatly
    thanking you 
    Attachments:
    MOTORTESTJIG.vi ‏729 KB

Maybe you are looking for

  • How do i stop plug in errors

    I always get plug error everytime i go somewhere or want something

  • Problem with ORA-01438.

    Hello, I work with Oracle Database XE and Application Express 3.0.1, I created a table named ORDERS: CREATE TABLE "ALMACEN"."ORDERS" (     "COMPRA_COD" NUMBER(15,0) NOT NULL ENABLE,      "PROVEEDOR_COD" NUMBER(10,0) NOT NULL ENABLE,      "LOCAL_COD"

  • Can you set a default value using Data Mover Scripts?

    Hi, We're going through a upgrade of PS Fin 8.9 -> 9.1. We've found some existing tables with new columns that are marked as NOT NULL so we're having trouble migrating the data using DMS. Is there a way to Export the data from 8.9 and when importing

  • How do I save a file in GUI

    I have already created the button, actionlistener portions for the save function. But i am lost at the part on saving a file. How do i upon clicking the 'save' button saves a file to 'copy.dat'? This is my code: else if(e.getSource() == save) {      

  • Unchecked songs in iTunes they are still on my phone

    I unchecked songs in my itunes library that I dont want on my phone. In the options i clicked sync only checked songs/videos. But the songs are still on my iphone. How do I get them off?