Historical Data Collection

Hi,
In OEM Grid, I noticed a drop down list under Target --> Performance --> View Data. Options were Manual Refresh, 30 sec refresh, last 24 hours, last 7 days and last 31 days. If I want view last 31 days, it tells me that there is no data to display. How do I collect data on its own so that I can view my last 31 days history? Do I need to add the Peformance Pack?

I had some major problems when I installed the latest updates. I unzipped to the wrong directory and had multiple copies of some labview files. It really made for some strange operation. Right now I am running labview 6.1 with feb26,2003 updates from the web, logos version 4.4.0.17. It sounds like your database may be corrupted. They also sent me a file to workaround a read issue with the historical vi's.
Attachments:
BenchReadHistTrend.llb ‏104 KB

Similar Messages

  • Memory Leak Detector data collection timing

    Hello,
    I am Yoshizo Aori working at HP Japan.
    I would like to know timing of data collection for
    updating object type byte size increase rate.
    Data collection at garbage collection or any other timing?
    Is it possible to change the timing of the data collection?

    Yoshizo,
    The actual "Growth(bytes/sec)" column is updated along with the other columns at every normal GC and currently, independent of any GC, also every ten seconds. This interval is not yet configurable. (While the trend analysis is running, it is possible to manually press "Refresh" to get shorter time between updates.)
    However, the Growth column is primarily calculated using historic data collected during normal GCs while the trend analysis is active. Only if the historic data shows a difference in heap usage, the current value shown in the "Size (KB)" column is taken into account. The effect is that the "Refresh" button only updates Growth column rows that have had non-zero values.
    This also means that if an application leaks slowly and doesn't generate enough garbage to trigger a GC in the near future, you may not notice it by looking at the Growth column. If so, it is possible to trigger a GC, and thus a possible collection of historic data, by selecting "Garbage Collect" from the Action menu.
    Remember though, since the Growth column represents the growth rate over the entire time that the trend analysis has been running, you may want to avoid very long running analyses. In fact, after a while, historic data is not collected every GC but more and more seldom.

  • 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

  • Error -196739070​4 when trying to read historical data from CITADEL

    I am trying to read historical data for 8 tags in a 'for loop'. If I run the historical vi while my data collection vi is running, I get the error -1967390704 CIT_ReadTrace.vi error code 0x8abc010. I have installed the DSC6.1 fixes and also updated the logos version to 4.4. Is it generally a good practice to not access historical data while new data could still be written to CITADEL?? Is there a vi or anything that could check the versions of all the installed NI software to the latest versions that are available??

    I had some major problems when I installed the latest updates. I unzipped to the wrong directory and had multiple copies of some labview files. It really made for some strange operation. Right now I am running labview 6.1 with feb26,2003 updates from the web, logos version 4.4.0.17. It sounds like your database may be corrupted. They also sent me a file to workaround a read issue with the historical vi's.
    Attachments:
    BenchReadHistTrend.llb ‏104 KB

  • 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.

  • Can not start data Collection service

    I have installed Fabric Manager version 3.3.(4). In the Performance Web Client I can not start the service Data Collection is in starting forever.
    I also could not stop it. I rebooted the server and the status for this service is in starting.
    Thanks,

    Please provide more details like: Server OS, Java version, and what type of database you are using for the FM Server.  Have you considered using a newer version of FM Server?

  • 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

  • Customer Name on Sales Order not in Data Collections

    Hi,
    I am looking for some help. My company just did an upgrade from 11i to R12 in the middle of May. As part of the upgrade we installed ASCP. We have noticed that certain customers are not being collected when running Standard Data Collections. We have open sales orders in the system for the customer. The sales order are being collected properly and appear in the plan. When we show the Customer field in the 'Supply/Demand Screen' in ASCP, the field is blank for select customers. Is there anything on the customer master or sales order line that would prevent the customer name from being collected? Any insight would be helpful.
    Thanks
    Rich

    You can go to order organizer screen select the OA NO which you are not able to see in the ASCP workbench, go to line items---using show field get the Demand visible
    tab on screen-----default value should be 'Y' if blank then then that could be the one of the reason.

  • Data Collection -- Planning Data Pull process failed

    Hello Experts,
    I am having a problem with data collection, the result of Planning Data Pull was completed error. It seems the problem is on the Planning Data Pull Worker.
    I am using 2 worker to run Planning Data Pull, and both result was errors. Below are some of the errors log:
    16-MAY 19:11:34 : Procedure MSC_CL_SETUP_PULL.LOAD_CALENDAR_DATE started.
    Into populate_rsrc_cal
    16-MAY-2011 19:11:40
    APS string is Invalid, check for Error condition
    16-MAY 19:11:40 : Error in Routine GMP_CALENDAR_PKG.POPULATE_RSRC_CAL.
    16-MAY 19:11:40 : User-Defined Exception
    16-MAY 19:11:40 : User-Defined Exception
    16-MAY 19:11:40 : Error_Stack...
    16-MAY 19:11:40 : ORA-06510: PL/SQL: unhandled user-defined exception
    16-MAY 19:11:40 : Error_Backtrace...
    16-MAY 19:11:40 : ORA-06512: at "APPS.MSC_CL_PULL", line 6218
    ORA-06512: at "APPS.MSC_CL_PULL", line 1583
    Help me please.
    Thanks & Regards,
    Andi

    This error shows up when it cannot find any organizations.
    Use the sqls below to identify this
    1. select MSC_CL_PULL.get_org_str(&instance_id) from dual ;
    2. select instance_code, instance_id from msc.msc_apps_instances where instance_code='&instance_code'
    3. select * from apps.msc_instance_orgs where sr_instance_id= &instanc_id
    sql 1 should in principle return the orgs available. If this returns null or -9999, then it's an orgs problem
    sql 3 will show the available orgs.
    If the organizations are enabled for planning in the ASCP instances form, then run a targeted refresh for trading partners (suppliers/customers/orgs). If this works with no errors, then look at the table msc_trading_partners. It should contain records for the orgs with partner_type = 3

  • Upload of historical data from legacy system

    Dear forum
    We are running standard SOP with transaction MC88 in ECC6.0.
    We are doing forecasting on material/plant level, based on historical data (we create the sales plan from transaction MC88).
    Now, the problem is that we are introducing new products into SOP, but there is no historical data in SAP for those materials.
    Is there any way we can import historical data into SAP from legacy system, so that SOP would take this data into account when calculating the forecast?
    Note: we do not want to build anything in flexible planning. Just want to check whether or not it is possible to import historical values from a legacy system, to use as historical data in SAP.
    Thanks in advance
    Lars

    Thanks,
    But that will not help us.
    Any ohter suggestions out there?

  • HOW TO TRANSFER HISTORICAL DATA FROM ONE ACCOUNT TO ANOTHER

    제품 : FIN_GL
    작성날짜 : 2006-05-29
    HOW TO TRANSFER HISTORICAL DATA FROM ONE ACCOUNT TO ANOTHER
    =============================================================
    PURPOSE
    특정 기간의 Balance 를 Account 별로 Transfer 하는 방법에 대해 알아 보도록 한다.
    Explanation
    GL 의 Mass Maintenance 기능을 이용하면 한 Account 에서 다른 Account 로 혹은 Multiple Account 에서 다른 하나의 Account 로 Balance 를 이동 시킬 수 있다.
    1. GL Responsibility 에서 Other> Mass Maintenance 를 선택한다.
    2. Move/Merge 작업을 위한 Request Name 과 Description을 입력한다.
    3. Request Type 으로 Move 혹은 Merge 를 선택한다.
    4. source-to-target account 를 위해 line number 를 입력한다.
    5. LOV 에서 source Account 를 선택하여 입력한다.
    모든 Account 는 enable 상태여야 한다.
    6. target account 역시 LOV에서 선택하여 입력한다.
    7. 지정한 작업을 수행 하기 전에 먼저 확인 작업을 할 수도 있다.
    8. 작업한 내용을 저장한다.
    9. Move/Merge request 를 수행한다.
    Example
    N/A
    Reference Documents
    Note. 146050.1 - How to Transfer Historical Data from One Account to Another

    Follow the directions here:
    http://support.apple.com/kb/HT2109

  • 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}

  • Remote historical data is not retrieved completely viewing it in MAX4

    Hi,
    since I installed LabVIEW 8 I have some problems retrieving historical data from another computer. Sometimes not all data is retrieved (if I zoom in or out or move back in time) and this missing data won't be retrieved ever.
    I already deleted the Citadel cache once, but after this even less data was retrieved... What's really weird, is, that for channels which weren't retrieved correctly, the data gets not updated anymore!
    On the remote computer I have a LabVIEW DSC Runtime 7.1 running (MAX 3.1.1.3003) on my local computer MAX 4.0.0.3010 and LabVIEW 8 DSC (development system) is installed parallel to LV DSC 7.1.1 (dev system). LV 8 is installed for testing purposes (I doubt we'll switch soon) and overall I like MAX 4. The HyperTrend.dll on my local computer is version  3.2.1017.
    This is really a quite annoying bug!
    So long,
        Carsten
    Message Edited by cs42 on 02-02-2006 09:18 AM

    Hi,
    > We've been unable to reproduce this issue. If you could provide some additional information, it might help us out.
    I did fear this, as even on my computer it is happening just sometimes...
    > 1) How many traces are you viewing?
    The views I observed this in had 2 to 13 traces.
    > 2) How often are the traces being updated?
    For some it's pretty often (about once a second), for some it's very infrequent (no change in data, that means updated because of max time between logs). I more often see this for traces that are updated very infrequently. But I think I've seen this for frequent traces as well (for these it does work currently).
    > 3) Are the traces being updated by a tag value change, or by the "maximum time between logs" setting in the engine?
    It happened for both types.
    > 4) What is the frequency of the "maximum time between logs" setting?
    Max time between logs is 10 minutes.
    > 5) Is the Hypertrend running in live mode when you zoom out/pan?
    I think it happened in both modes, but it defenitely did in live mode.
    > 6) If you disable/re-enable live mode in the Hypertrend, does the data re-appear?
    I couldn't trigger the loading of the data. All I did is wait and work with MAX (zooming, panning, looking at data) and after quite a while (some hours), the data appeared.
    Just tested this on a view where data is missing (for some days now!), and it didn't trigger data reloading. Zooming and panning don't as well. There's a gap of up to 3 days now for some traces. 7 of the 13 traces of this view are incompletely shown. All stopping at the same time but reappearing at different ones.
    AFAIR from the laboratory computer (these are temperatures and it's very plausable that these didn't change), there wasn't any change in these traces so they all got logged because of max time...
    I just created a new view and added these traces: the gap is there as well.
    (Sorry to put this all in this entry even if it is related to you other questions, but I started this live test with disable/re-enable live mode. )
    > 7)
    Are the clocks on the client and server computers synchronized? If not
    synchronized, how far apart are the times on the two computers?
    They should be (Windows 2000 Domain synchronized to ADS), but are 5 seconds apart.
    One thing I remember now: I have installed DIAdem 10 beta 2 (10.0.0b2530, USI + DataFinder 1.3.0.2526). There I had (and reported) some problems with data loading from a Citadel Database of a remote machine as well. This was accounted to some cache problem. Maybe a component is interfering?
    Thanks for investigating.
    Cheers,
        Carsten

  • How to populate historical data in the appraisal

    Hello,
    I am working in Oracle PMS module. Our requirement is to display historical data of an employee in the next appraisal cycle.
    Eg. If there are 3 appraisal cycle in a year. In the first appraisal manager will add objectives and competencies for an employee. lets say he added competency 1 ,competency 2,Objective 1 and Objective 2. after completion of the first cycle.
    When manager initiates the second appraisal. in the objectives block 2 values (Objective 1 and Objective 2) should be auto populated. Same as in competency block 2 values (competency 1 and competency 2) should be auto populated.
    Here manager can add more objectives or competencies.
    Please suggest how this can be achived.
    Thanks in advance,
    sheetal

    Hi Shunhui
    Answers :-
    If the required fields are not available in the Maintenance link, does it mean that I have to goto SE11 and create an append structure for the extract structure MC02M_0ITM which belongs to the datasource 2LIS_02_ITM?
    Then I have to write codes in the user exit for transactional datasources in RSAP0001?
    Ans : That's correct . Once you have done this on R/3 side, replicate the data source in BW side. Activate the transfer rules with appropriate mapping for 3 new fields and also adjust the update rules so that these 3 new fields are availble in Info providers.
    Are you able to provide some information on the errors that might arise during transports with the delta being active in the production system? Will data be corrupted? Will I need to clear the delta queue before the transport goes over?
    Ans : I assume that deltas are active in Production system . There is risk to your active delta into BW .
    Before your R/3 transports reach Production system , you need to clear the delta queue that means bring the number of LUWs for 2LIS_02_ITM to zero . Also stop the delta collector job in R/3 for Application 02(purchasing). Make sure that there are no postings (transactions /users are locked) so that there will be change in purchsing base tables.
    Then send your R/3 transport into Production system (Append structure , new fields + user exit code) .Replicate on BW side. Now send the BW transports to BW production system .
    I had done this earlier for 2LIS_12_VCITM and had a step by step proceduew written with me ....will have to search for that document . Let me know your email ID , will try to send it once I find the document
    Regards
    Pradip
    (when you edit the questions , there are option buttons with which you can assign points for that you need to do log on to SDN )

Maybe you are looking for

  • How can I use the Webkit Webinspector in safari 6 or go back to previous Safari

    Since safari 6 Developing is not fun anymore using the webinspector because the search for strings in my scripts is terrible terrible terribe slow on some big scripts it can take 30-40 seconds before it finds any string. Where firebug on firefox or t

  • My iWeb site - video format not supported on iPhone

    So, I have a video on my site, done in iWeb,(opens in the iPhone Safari browser), its a,Quicktime FastStart movie - my iPhone won't play it. How is it that an Apple product won't play an Apple format movie on an Apple mobile browser? I understand the

  • Calendar: Printing ends up in a "Save as... (*.txt)" dialog.

    Hi. GW8.0.1 (outdated, I know, but no maintenance at that site) Win7-SP1-Pro 32bit Client PC. One User has the following issue: Calendar, View = month. Print: The Print-Preview is displaying perfectly correct what should be printed. The printer setti

  • Report on User id.

    Dear All, We are facing one problem that few PR are deleted. We want to get the list on the base of user id such that we input the user id & get to know which PR are deleted by this particular user id. Please give me some report or table name from wh

  • Why is my brand new iPod nano not appearing in iTunes?

    I just connected the latest iPod nano model to my iMac, and it charges but does not appear in iTunes.  I can't set it up or sync music, etc.  I followed the troubleshooting procedure provided on the apple.support website.  Please help!