Service Level Tracking Reports show no data from the data warehouse db.

Hi, I have some Service Level Tracking reports that will only show data from the last few days.  If I select last month as the time frame, there is no data displayed.  All of these reports have previously worked fine.  Nothing to my knowledge
has changed, and it appears that the data is still being collected in the data warehouse database.  Any thoughts would be greatly appreciated.

Is this meant for SCOM forum
https://social.technet.microsoft.com/Forums/systemcenter/en-US/home?category=systemcenteroperationsmanager
Gerry Hampson | Blog:
www.gerryhampsoncm.blogspot.ie | LinkedIn:
Gerry Hampson | Twitter:
@gerryhampson

Similar Messages

  • Powerpivot Error on Refresh -- "We couldn't get data from the data model..."

    I'm using Excel 2013 and Windows 8.1.  I have a spreadsheet I've been using for over a year, and I've just started getting this error message when I try to refresh the data.
    "We couldn't get data from the Data Model.  Here's the error message we got:
    The 'attributeRelationship' with 'AttributeID' - 'PuttDistCat9' doesn't exist in the collection"
    Any idea how I can fix this problem?  I haven't changed anything related to that particular attribute.  All the data is contained in separate sheets in the workbook, so there are no external sources of data.
    Thanks.
    Jean

    Thanks for all the suggestions.
    I found a slightly older version of the spreadsheet that still refreshes properly, so I don't think I have any issues with the version of Excel or Power Query.  (I've had this same error before, and I believe I applied the hotfix at that time.)
    I think this problem started after I updated a number of the date filters in the pivot tables.  I haven't made any changes to the data model, and the only updates I've made were to add data (which I do all the time), and to change the date filters on
    the pivot tables.
    As suggested, I added a new pivot table querying one table (the table with the attribute that shows up in the error message), and it worked fine.  I can also refresh this pivot table.
    Then I tried adding a pivot table which went against several tables in the data model (including the table in question).  The pivot table seemed to return that data properly.  However, when I tried to refresh it, I got the same error message ("we
    couldn't get data from the data model..."). 
    Dany also suggested running the queries one at a time to see which one is in error.  Without checking all the pivot tables, it appears that any which use the table "HolePlayedStrokes" generate the error (this is the table with the attribute
    mentioned in the error message).  Pivot Tables without that particular table seem to refresh OK.  Unfortunately, that is the main table in my data model, so most of the pivot tables use it.
    Any other suggestions?  I'd be happy to send a copy of the spreadsheet.
    Thanks for all the help.
    Jean

  • Featching Data From The Data Base Using DI API in Matrix

    Hi
       All of u i am shahid i faced a problem when i retrive
       the selected data from the data base using matrix plz.
       Healp me!.
       Thanks
       Mohd Shahid.
       SAP Techinical Consultent
      Option Strict Off
    Option Explicit On
    Friend Class UseMatrix
        '// This parameter will use us to manipulate the
        '// SAP Business One Application
        Private WithEvents SBO_Application As SAPbouiCOM.Application
        Private oForm As SAPbouiCOM.Form
        Private oMatrix As SAPbouiCOM.Matrix
        Private oColumns As SAPbouiCOM.Columns
        Private oColumn As SAPbouiCOM.Column
        '// declareing a DB data source for all the Data binded columns
        Private oDBDataSource As SAPbouiCOM.DBDataSource
        '// declaring a User data source for the "Remarks" Column
        Private oUserDataSource As SAPbouiCOM.UserDataSource
        ' This Function is called automatically when an instance
        ' of the class is created.
        ' Indise this function
        Public Sub New()
            MyBase.New()
            '// set SBO_Application with an initialized application object
            SetApplication()
            '// Create the UI
            CreateFormWithMatrix()
            '// Add Data Sources to the Form
            AddDataSourceToForm()
            '// Bind the Form's items with the desired data source
            BindDataToForm()
            '// Load date to matrix
            GetDataFromDataSource()
            '// Make the form visible
            oForm.Visible = True
        End Sub
        Private Sub SetApplication()
            '// Use an SboGuiApi object to establish connection
            '// with the SAP Business One application and return an
            '// initialized appliction object
            Dim SboGuiApi As SAPbouiCOM.SboGuiApi
            Dim sConnectionString As String
            SboGuiApi = New SAPbouiCOM.SboGuiApi
            '// by following the steps specified above, the following
            '// statment should be suficient for either development or run mode
            sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
            '// connect to a running SBO Application
            Try ' If there's no active application the connection will fail
                SboGuiApi.Connect(sConnectionString)
            Catch ' Connection failed
                System.Windows.Forms.MessageBox.Show("No SAP Business One Application was found")
                End
            End Try
            '// get an initialized application object
            SBO_Application = SboGuiApi.GetApplication()
            'SBO_Application.MessageBox("Hello World")
        End Sub
        Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles SBO_Application.AppEvent
            Select Case EventType
                Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
                    SBO_Application.MessageBox("A Shut Down Event has been caught" & _
                        Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                    '// terminating the Add On
                    System.Windows.Forms.Application.Exit()
            End Select
        End Sub
        Private Sub CreateFormWithMatrix()
            '// Don't Forget:
            '// it is much more efficient to load a form from xml.
            '// use code only to create your form.
            '// once you have created it save it as XML.
            '// see "WorkingWithXML" sample project
            '// we will use the following object to add items to our form
            Dim oItem As SAPbouiCOM.Item
            '// we will use the following objects to set
            '// the specific values of every item
            '// we add.
            '// this is the best way to do so
            Dim oButton As SAPbouiCOM.Button
            Dim oStaticText As SAPbouiCOM.StaticText
            Dim oEditText As SAPbouiCOM.EditText
            '// The following object is needed to create our form
            Dim creationPackage
            creationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            creationPackage.UniqueID = "UidFrmMatrix14"
            creationPackage.FormType = "TypeFrmMatrix14"
            '// Add our form to the SBO application
            oForm = SBO_Application.Forms.AddEx(creationPackage)
            '// Set the form properties
            oForm.Title = "Quality Check"
            oForm.Left = 336
            oForm.ClientWidth = 620
            oForm.Top = 44
            oForm.ClientHeight = 200
            '// Adding Items to the form
            '// and setting their properties
            '// Adding an Ok button
            '// We get automatic event handling for
            '// the Ok and Cancel Buttons by setting
            '// their UIDs to 1 and 2 respectively
            oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 5
            oItem.Width = 65
            oItem.Top = 170
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Ok"
            '// Adding a Cancel button
            oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 75
            oItem.Width = 65
            oItem.Top = 170
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Cancel"
            '// Adding a Text Edit item
            'oItem = oForm.Items.Add("txtPhone", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            ' oItem.Left = 265
            'oItem.Width = 163
            'oItem.Top = 172
            'oItem.Height = 14
            '// Adding an Add Phone prefix column button
            ' oItem = oForm.Items.Add("BtnPhone", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            ' oItem.Left = 160
            ' oItem.Width = 100
            ' oItem.Top = 170
            ' oItem.Height = 19
            ' oButton = oItem.Specific
            ' oButton.Caption = "Add Phone prefix"
            '// Add the matrix to the form
            AddMatrixToForm()
        End Sub
        Private Sub AddMatrixToForm()
            '// we will use the following object to add items to our form
            Dim oItem As SAPbouiCOM.Item
            '// we will use the following object to set a linked button
            Dim oLink As SAPbouiCOM.LinkedButton
            '// Adding a Matrix item
            oItem = oForm.Items.Add("Matrix1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
            oItem.Left = 5
            oItem.Width = 500
            oItem.Top = 5
            oItem.Height = 150
            oMatrix = oItem.Specific
            oColumns = oMatrix.Columns
            '// Adding Culomn items to the matrix
            oColumn = oColumns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "#"
            oColumn.Width = 30
            oColumn.Editable = False
            '// Add a column for Item Code
            oColumn = oColumns.Add("DSItemCode", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            oColumn.TitleObject.Caption = "Item Code"
            oColumn.Width = 40
            oColumn.Editable = True
            '// Link the column to the ITEM master data system form
            oLink = oColumn.ExtendedObject
            oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
            oColumn = oColumns.Add("DSItemName", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "Item Name"
            oColumn.Width = 80
            oColumn.Editable = True
            '// Add a column for BP Card Phone
            oColumn = oColumns.Add("DSWhs", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "Ware House"
            oColumn.Width = 40
            oColumn.Editable = True
            '// Add a column for BP Card Phone
            oColumn = oColumns.Add("DSQuantity", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "Quantity"
            oColumn.Width = 40
            oColumn.Editable = True
            '// Add a column for Combo Box
            oColumn = oColumns.Add("DSQuality", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
            oColumn.TitleObject.Caption = "Quality"
            ' oColumn.ValidValues.Add("OK", "")
            'oColumn.ValidValues.Add("NOT OK", "")
            oColumn.Width = 40
            oColumn.Editable = True
            oColumn = oColumns.Add("DSReport", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "Remarks"
            ' oColumn.ValidValues.Add("OK", "")
            'oColumn.ValidValues.Add("NOT OK", "")
            oColumn.Width = 40
            oColumn.Editable = True
            '// Add a column for BP Card Phone
            ' oColumn = oColumns.Add("DSPhoneInt", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            ' oColumn.TitleObject.Caption = "Int. Phone"
            'oColumn.Width = 40
            'oColumn.Editable = True
        End Sub
        Public Sub AddDataSourceToForm()
            '// every item must be binded to a Data Source
            '// prior of binding the data we must add Data sources to the form
            '// Add user data sources to the "International Phone" column in the matrix
            ' oUserDataSource = oForm.DataSources.UserDataSources.Add("IntPhone", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            '// Add DB data sources for the DB bound columns in the matrix
            oDBDataSource = oForm.DataSources.DBDataSources.Add("OITW")
        End Sub
        Public Sub BindDataToForm()
            '// getting the matrix column by the UID
            oColumn = oColumns.Item("DSItemCode")
            'oColumn.DataBind.SetBound(True, "", "DSCardCode")
            oColumn.DataBind.SetBound(True, "OITW", "ItemCode")
            'oColumn = oColumns.Item("DSItemName")
            'oColumn.DataBind.SetBound(True, "OITW", "ItemName")
            oColumn = oColumns.Item("DSWhs")
            oColumn.DataBind.SetBound(True, "OITW", "WhsCode")
            oColumn = oColumns.Item("DSQuantity")
            oColumn.DataBind.SetBound(True, "OITW", "U_QCStock")
            '// to Data Bind an item with a user Data source
            '// the table name value should be an empty string
            ' oColumn = oColumns.Item("DSPhoneInt")
            'oColumn.DataBind.SetBound(True, "", "IntPhone")
        End Sub
        Public Sub GetDataFromDataSource()
            '// Ready Matrix to populate data
            oMatrix.Clear()
            oMatrix.AutoResizeColumns()
            '// Querying the DB Data source
            oDBDataSource.Query()
            '// setting the user data source data
            'oUserDataSource.Value = "Phone with prefix"
            oMatrix.LoadFromDataSource()
        End Sub
        Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            If (pVal.FormUid = "UidFrmMatrix") Then
                If ((pVal.itemUID = "BtnPhone") And _
                    (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And _
                    (pVal.Before_Action = False)) Then
                    AddPrefix()
                End If
                If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And _
                    (pVal.Before_Action = False)) Then
                    SBO_Application.MessageBox("Form Unloaded, Addon will terminate")
                    System.Windows.Forms.Application.Exit()
                End If
            End If
        End Sub
        Public Sub AddPrefix()
            Dim i As Integer
            Dim PhoneExtCol As SAPbouiCOM.Column
            Dim newPhone As String
            Dim oItem As SAPbouiCOM.Item
            Dim oEditTxt As SAPbouiCOM.EditText
            '// Get the prefix edit text item
            oItem = oForm.Items.Item("txtPhone")
            oEditTxt = oItem.Specific
            '// Flush user input into datasources
            oMatrix.FlushToDataSource()
            '// Get the DBdatasource we base the matrix on
            oDBDataSource = oForm.DataSources.DBDataSources.Item("OCRD")
            '// Iterate all the records and add a prefix to the phone
            For i = 0 To oDBDataSource.Size - 1
                newPhone = oDBDataSource.GetValue("phone1", i)
                newPhone = newPhone.Trim(" ")
                oDBDataSource.SetValue("phone1", i, oEditTxt.String + newPhone)
            Next
            '// Load data back to
            oMatrix.LoadFromDataSource()
        End Sub
    End Class

    Hi Shahid,
    I am not sure what your question is. The code you pasted looks like the MatrixAndDataSources example that comes with the SDK. What are you trying to do?
    Thanks,
    Adele

  • How can delete my iphone5 data from the date its restored?

    how can delete my iphone5 data from the date its restored?

    it's unclear what you mean
    if you wish to remove your iphone5 data you connect it to iTunes on the computer and click the restore button and choose restore to factory defect

  • 90days or 3months data from the date today

    Hi,
    I have problem on this query, I need to extract the customers that is on 90days or 3months in their subscription of the product from the date today. I know that the startdate field must be used on the condition but don't know the right formula. I have tried different condition but I'm not getting the exact data. I have tried this AND sysdate-startdate<=90 but this give me also customers with less 90 days into their subscription but I just need customers with exact 90days. While this one startdate=sysdate-90 doesn't give me results but there should be.
    SELECT     
    c.id,
    i.firstname||i.name as Name,
    to_char(c.startdate,'MM/DD/YYYY') as start_date,
    to_char(c.enddate,'MM/DD/YYYY') as expire_date,
    to_char(c.canceldate,'MM/DD/YYYY') as cancellation_date
    FROM     customer c,
              info i
    WHERE     i.id                     = s.id
    AND sysdate-startdate<=90
    AND c.enddate>=sysdate
    AND c.cancellation_date >= sysdate
    Thank you.

    As David says, there's a hell of a difference between 3 months ago and 90 days ago.
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select trunc(sysdate,'YYYY') as start_date from dual)
      2      ,x as (select rownum rn from dual connect by rownum <= trunc(add_months(sysdate,12),'YYYY')-trunc(sysdate,'YYYY'))
      3  --
      4  select start_date+rn-1 as dt
      5        ,add_months(start_date+rn-1,-3) as "3_months_ago"
      6        ,start_date+rn-1-90 as "90_days_ago"
      7* from t,x
    SQL> /
    DT          3_months_ag 90_days_ago
    01-Jan-2011 01-Oct-2010 03-Oct-2010
    02-Jan-2011 02-Oct-2010 04-Oct-2010
    03-Jan-2011 03-Oct-2010 05-Oct-2010
    04-Jan-2011 04-Oct-2010 06-Oct-2010
    05-Jan-2011 05-Oct-2010 07-Oct-2010
    06-Jan-2011 06-Oct-2010 08-Oct-2010
    07-Jan-2011 07-Oct-2010 09-Oct-2010
    08-Jan-2011 08-Oct-2010 10-Oct-2010
    09-Jan-2011 09-Oct-2010 11-Oct-2010
    10-Jan-2011 10-Oct-2010 12-Oct-2010
    11-Jan-2011 11-Oct-2010 13-Oct-2010
    12-Jan-2011 12-Oct-2010 14-Oct-2010
    13-Jan-2011 13-Oct-2010 15-Oct-2010
    14-Jan-2011 14-Oct-2010 16-Oct-2010
    15-Jan-2011 15-Oct-2010 17-Oct-2010
    16-Jan-2011 16-Oct-2010 18-Oct-2010
    17-Jan-2011 17-Oct-2010 19-Oct-2010
    18-Jan-2011 18-Oct-2010 20-Oct-2010
    19-Jan-2011 19-Oct-2010 21-Oct-2010
    20-Jan-2011 20-Oct-2010 22-Oct-2010
    21-Jan-2011 21-Oct-2010 23-Oct-2010
    22-Jan-2011 22-Oct-2010 24-Oct-2010
    23-Jan-2011 23-Oct-2010 25-Oct-2010
    24-Jan-2011 24-Oct-2010 26-Oct-2010
    25-Jan-2011 25-Oct-2010 27-Oct-2010
    26-Jan-2011 26-Oct-2010 28-Oct-2010
    27-Jan-2011 27-Oct-2010 29-Oct-2010
    28-Jan-2011 28-Oct-2010 30-Oct-2010
    29-Jan-2011 29-Oct-2010 31-Oct-2010
    30-Jan-2011 30-Oct-2010 01-Nov-2010
    31-Jan-2011 31-Oct-2010 02-Nov-2010
    01-Feb-2011 01-Nov-2010 03-Nov-2010
    02-Feb-2011 02-Nov-2010 04-Nov-2010
    03-Feb-2011 03-Nov-2010 05-Nov-2010
    04-Feb-2011 04-Nov-2010 06-Nov-2010
    05-Feb-2011 05-Nov-2010 07-Nov-2010
    06-Feb-2011 06-Nov-2010 08-Nov-2010
    07-Feb-2011 07-Nov-2010 09-Nov-2010
    08-Feb-2011 08-Nov-2010 10-Nov-2010
    09-Feb-2011 09-Nov-2010 11-Nov-2010
    10-Feb-2011 10-Nov-2010 12-Nov-2010
    11-Feb-2011 11-Nov-2010 13-Nov-2010
    12-Feb-2011 12-Nov-2010 14-Nov-2010
    13-Feb-2011 13-Nov-2010 15-Nov-2010
    14-Feb-2011 14-Nov-2010 16-Nov-2010
    15-Feb-2011 15-Nov-2010 17-Nov-2010
    16-Feb-2011 16-Nov-2010 18-Nov-2010
    17-Feb-2011 17-Nov-2010 19-Nov-2010
    18-Feb-2011 18-Nov-2010 20-Nov-2010
    19-Feb-2011 19-Nov-2010 21-Nov-2010
    20-Feb-2011 20-Nov-2010 22-Nov-2010
    21-Feb-2011 21-Nov-2010 23-Nov-2010
    22-Feb-2011 22-Nov-2010 24-Nov-2010
    23-Feb-2011 23-Nov-2010 25-Nov-2010
    24-Feb-2011 24-Nov-2010 26-Nov-2010
    25-Feb-2011 25-Nov-2010 27-Nov-2010
    26-Feb-2011 26-Nov-2010 28-Nov-2010
    27-Feb-2011 27-Nov-2010 29-Nov-2010
    28-Feb-2011 30-Nov-2010 30-Nov-2010
    01-Mar-2011 01-Dec-2010 01-Dec-2010
    02-Mar-2011 02-Dec-2010 02-Dec-2010
    03-Mar-2011 03-Dec-2010 03-Dec-2010
    04-Mar-2011 04-Dec-2010 04-Dec-2010
    05-Mar-2011 05-Dec-2010 05-Dec-2010
    06-Mar-2011 06-Dec-2010 06-Dec-2010
    07-Mar-2011 07-Dec-2010 07-Dec-2010
    08-Mar-2011 08-Dec-2010 08-Dec-2010
    09-Mar-2011 09-Dec-2010 09-Dec-2010
    10-Mar-2011 10-Dec-2010 10-Dec-2010
    11-Mar-2011 11-Dec-2010 11-Dec-2010
    12-Mar-2011 12-Dec-2010 12-Dec-2010
    13-Mar-2011 13-Dec-2010 13-Dec-2010
    14-Mar-2011 14-Dec-2010 14-Dec-2010
    15-Mar-2011 15-Dec-2010 15-Dec-2010
    16-Mar-2011 16-Dec-2010 16-Dec-2010
    17-Mar-2011 17-Dec-2010 17-Dec-2010
    18-Mar-2011 18-Dec-2010 18-Dec-2010
    19-Mar-2011 19-Dec-2010 19-Dec-2010
    20-Mar-2011 20-Dec-2010 20-Dec-2010
    21-Mar-2011 21-Dec-2010 21-Dec-2010
    22-Mar-2011 22-Dec-2010 22-Dec-2010
    23-Mar-2011 23-Dec-2010 23-Dec-2010
    24-Mar-2011 24-Dec-2010 24-Dec-2010
    25-Mar-2011 25-Dec-2010 25-Dec-2010
    26-Mar-2011 26-Dec-2010 26-Dec-2010
    27-Mar-2011 27-Dec-2010 27-Dec-2010
    28-Mar-2011 28-Dec-2010 28-Dec-2010
    29-Mar-2011 29-Dec-2010 29-Dec-2010
    30-Mar-2011 30-Dec-2010 30-Dec-2010
    31-Mar-2011 31-Dec-2010 31-Dec-2010
    01-Apr-2011 01-Jan-2011 01-Jan-2011
    02-Apr-2011 02-Jan-2011 02-Jan-2011
    03-Apr-2011 03-Jan-2011 03-Jan-2011
    04-Apr-2011 04-Jan-2011 04-Jan-2011
    05-Apr-2011 05-Jan-2011 05-Jan-2011
    06-Apr-2011 06-Jan-2011 06-Jan-2011
    07-Apr-2011 07-Jan-2011 07-Jan-2011
    08-Apr-2011 08-Jan-2011 08-Jan-2011
    09-Apr-2011 09-Jan-2011 09-Jan-2011
    10-Apr-2011 10-Jan-2011 10-Jan-2011
    11-Apr-2011 11-Jan-2011 11-Jan-2011
    12-Apr-2011 12-Jan-2011 12-Jan-2011
    13-Apr-2011 13-Jan-2011 13-Jan-2011
    14-Apr-2011 14-Jan-2011 14-Jan-2011
    15-Apr-2011 15-Jan-2011 15-Jan-2011
    16-Apr-2011 16-Jan-2011 16-Jan-2011
    17-Apr-2011 17-Jan-2011 17-Jan-2011
    18-Apr-2011 18-Jan-2011 18-Jan-2011
    19-Apr-2011 19-Jan-2011 19-Jan-2011
    20-Apr-2011 20-Jan-2011 20-Jan-2011
    21-Apr-2011 21-Jan-2011 21-Jan-2011
    22-Apr-2011 22-Jan-2011 22-Jan-2011
    23-Apr-2011 23-Jan-2011 23-Jan-2011
    24-Apr-2011 24-Jan-2011 24-Jan-2011
    25-Apr-2011 25-Jan-2011 25-Jan-2011
    26-Apr-2011 26-Jan-2011 26-Jan-2011
    27-Apr-2011 27-Jan-2011 27-Jan-2011
    28-Apr-2011 28-Jan-2011 28-Jan-2011
    29-Apr-2011 29-Jan-2011 29-Jan-2011
    30-Apr-2011 31-Jan-2011 30-Jan-2011
    01-May-2011 01-Feb-2011 31-Jan-2011
    02-May-2011 02-Feb-2011 01-Feb-2011
    03-May-2011 03-Feb-2011 02-Feb-2011
    04-May-2011 04-Feb-2011 03-Feb-2011
    05-May-2011 05-Feb-2011 04-Feb-2011
    06-May-2011 06-Feb-2011 05-Feb-2011
    07-May-2011 07-Feb-2011 06-Feb-2011
    08-May-2011 08-Feb-2011 07-Feb-2011
    09-May-2011 09-Feb-2011 08-Feb-2011
    10-May-2011 10-Feb-2011 09-Feb-2011
    11-May-2011 11-Feb-2011 10-Feb-2011
    12-May-2011 12-Feb-2011 11-Feb-2011
    13-May-2011 13-Feb-2011 12-Feb-2011
    14-May-2011 14-Feb-2011 13-Feb-2011
    15-May-2011 15-Feb-2011 14-Feb-2011
    16-May-2011 16-Feb-2011 15-Feb-2011
    17-May-2011 17-Feb-2011 16-Feb-2011
    18-May-2011 18-Feb-2011 17-Feb-2011
    19-May-2011 19-Feb-2011 18-Feb-2011
    20-May-2011 20-Feb-2011 19-Feb-2011
    21-May-2011 21-Feb-2011 20-Feb-2011
    22-May-2011 22-Feb-2011 21-Feb-2011
    23-May-2011 23-Feb-2011 22-Feb-2011
    24-May-2011 24-Feb-2011 23-Feb-2011
    25-May-2011 25-Feb-2011 24-Feb-2011
    26-May-2011 26-Feb-2011 25-Feb-2011
    27-May-2011 27-Feb-2011 26-Feb-2011
    28-May-2011 28-Feb-2011 27-Feb-2011
    29-May-2011 28-Feb-2011 28-Feb-2011
    30-May-2011 28-Feb-2011 01-Mar-2011
    31-May-2011 28-Feb-2011 02-Mar-2011
    01-Jun-2011 01-Mar-2011 03-Mar-2011
    02-Jun-2011 02-Mar-2011 04-Mar-2011
    03-Jun-2011 03-Mar-2011 05-Mar-2011
    04-Jun-2011 04-Mar-2011 06-Mar-2011
    05-Jun-2011 05-Mar-2011 07-Mar-2011
    06-Jun-2011 06-Mar-2011 08-Mar-2011
    07-Jun-2011 07-Mar-2011 09-Mar-2011
    08-Jun-2011 08-Mar-2011 10-Mar-2011
    09-Jun-2011 09-Mar-2011 11-Mar-2011
    10-Jun-2011 10-Mar-2011 12-Mar-2011
    11-Jun-2011 11-Mar-2011 13-Mar-2011
    12-Jun-2011 12-Mar-2011 14-Mar-2011
    13-Jun-2011 13-Mar-2011 15-Mar-2011
    14-Jun-2011 14-Mar-2011 16-Mar-2011
    15-Jun-2011 15-Mar-2011 17-Mar-2011
    16-Jun-2011 16-Mar-2011 18-Mar-2011
    17-Jun-2011 17-Mar-2011 19-Mar-2011
    18-Jun-2011 18-Mar-2011 20-Mar-2011
    19-Jun-2011 19-Mar-2011 21-Mar-2011
    20-Jun-2011 20-Mar-2011 22-Mar-2011
    21-Jun-2011 21-Mar-2011 23-Mar-2011
    22-Jun-2011 22-Mar-2011 24-Mar-2011
    23-Jun-2011 23-Mar-2011 25-Mar-2011
    24-Jun-2011 24-Mar-2011 26-Mar-2011
    25-Jun-2011 25-Mar-2011 27-Mar-2011
    26-Jun-2011 26-Mar-2011 28-Mar-2011
    27-Jun-2011 27-Mar-2011 29-Mar-2011
    28-Jun-2011 28-Mar-2011 30-Mar-2011
    29-Jun-2011 29-Mar-2011 31-Mar-2011
    30-Jun-2011 31-Mar-2011 01-Apr-2011
    01-Jul-2011 01-Apr-2011 02-Apr-2011
    02-Jul-2011 02-Apr-2011 03-Apr-2011
    03-Jul-2011 03-Apr-2011 04-Apr-2011
    04-Jul-2011 04-Apr-2011 05-Apr-2011
    05-Jul-2011 05-Apr-2011 06-Apr-2011
    06-Jul-2011 06-Apr-2011 07-Apr-2011
    07-Jul-2011 07-Apr-2011 08-Apr-2011
    08-Jul-2011 08-Apr-2011 09-Apr-2011
    09-Jul-2011 09-Apr-2011 10-Apr-2011
    10-Jul-2011 10-Apr-2011 11-Apr-2011
    11-Jul-2011 11-Apr-2011 12-Apr-2011
    12-Jul-2011 12-Apr-2011 13-Apr-2011
    13-Jul-2011 13-Apr-2011 14-Apr-2011
    14-Jul-2011 14-Apr-2011 15-Apr-2011
    15-Jul-2011 15-Apr-2011 16-Apr-2011
    16-Jul-2011 16-Apr-2011 17-Apr-2011
    17-Jul-2011 17-Apr-2011 18-Apr-2011
    18-Jul-2011 18-Apr-2011 19-Apr-2011
    19-Jul-2011 19-Apr-2011 20-Apr-2011
    20-Jul-2011 20-Apr-2011 21-Apr-2011
    21-Jul-2011 21-Apr-2011 22-Apr-2011
    22-Jul-2011 22-Apr-2011 23-Apr-2011
    23-Jul-2011 23-Apr-2011 24-Apr-2011
    24-Jul-2011 24-Apr-2011 25-Apr-2011
    25-Jul-2011 25-Apr-2011 26-Apr-2011
    26-Jul-2011 26-Apr-2011 27-Apr-2011
    27-Jul-2011 27-Apr-2011 28-Apr-2011
    28-Jul-2011 28-Apr-2011 29-Apr-2011
    29-Jul-2011 29-Apr-2011 30-Apr-2011
    30-Jul-2011 30-Apr-2011 01-May-2011
    31-Jul-2011 30-Apr-2011 02-May-2011
    01-Aug-2011 01-May-2011 03-May-2011
    02-Aug-2011 02-May-2011 04-May-2011
    03-Aug-2011 03-May-2011 05-May-2011
    04-Aug-2011 04-May-2011 06-May-2011
    05-Aug-2011 05-May-2011 07-May-2011
    06-Aug-2011 06-May-2011 08-May-2011
    07-Aug-2011 07-May-2011 09-May-2011
    08-Aug-2011 08-May-2011 10-May-2011
    09-Aug-2011 09-May-2011 11-May-2011
    10-Aug-2011 10-May-2011 12-May-2011
    11-Aug-2011 11-May-2011 13-May-2011
    12-Aug-2011 12-May-2011 14-May-2011
    13-Aug-2011 13-May-2011 15-May-2011
    14-Aug-2011 14-May-2011 16-May-2011
    15-Aug-2011 15-May-2011 17-May-2011
    16-Aug-2011 16-May-2011 18-May-2011
    17-Aug-2011 17-May-2011 19-May-2011
    18-Aug-2011 18-May-2011 20-May-2011
    19-Aug-2011 19-May-2011 21-May-2011
    20-Aug-2011 20-May-2011 22-May-2011
    21-Aug-2011 21-May-2011 23-May-2011
    22-Aug-2011 22-May-2011 24-May-2011
    23-Aug-2011 23-May-2011 25-May-2011
    24-Aug-2011 24-May-2011 26-May-2011
    25-Aug-2011 25-May-2011 27-May-2011
    26-Aug-2011 26-May-2011 28-May-2011
    27-Aug-2011 27-May-2011 29-May-2011
    28-Aug-2011 28-May-2011 30-May-2011
    29-Aug-2011 29-May-2011 31-May-2011
    30-Aug-2011 30-May-2011 01-Jun-2011
    31-Aug-2011 31-May-2011 02-Jun-2011
    01-Sep-2011 01-Jun-2011 03-Jun-2011
    02-Sep-2011 02-Jun-2011 04-Jun-2011
    03-Sep-2011 03-Jun-2011 05-Jun-2011
    04-Sep-2011 04-Jun-2011 06-Jun-2011
    05-Sep-2011 05-Jun-2011 07-Jun-2011
    06-Sep-2011 06-Jun-2011 08-Jun-2011
    07-Sep-2011 07-Jun-2011 09-Jun-2011
    08-Sep-2011 08-Jun-2011 10-Jun-2011
    09-Sep-2011 09-Jun-2011 11-Jun-2011
    10-Sep-2011 10-Jun-2011 12-Jun-2011
    11-Sep-2011 11-Jun-2011 13-Jun-2011
    12-Sep-2011 12-Jun-2011 14-Jun-2011
    13-Sep-2011 13-Jun-2011 15-Jun-2011
    14-Sep-2011 14-Jun-2011 16-Jun-2011
    15-Sep-2011 15-Jun-2011 17-Jun-2011
    16-Sep-2011 16-Jun-2011 18-Jun-2011
    17-Sep-2011 17-Jun-2011 19-Jun-2011
    18-Sep-2011 18-Jun-2011 20-Jun-2011
    19-Sep-2011 19-Jun-2011 21-Jun-2011
    20-Sep-2011 20-Jun-2011 22-Jun-2011
    21-Sep-2011 21-Jun-2011 23-Jun-2011
    22-Sep-2011 22-Jun-2011 24-Jun-2011
    23-Sep-2011 23-Jun-2011 25-Jun-2011
    24-Sep-2011 24-Jun-2011 26-Jun-2011
    25-Sep-2011 25-Jun-2011 27-Jun-2011
    26-Sep-2011 26-Jun-2011 28-Jun-2011
    27-Sep-2011 27-Jun-2011 29-Jun-2011
    28-Sep-2011 28-Jun-2011 30-Jun-2011
    29-Sep-2011 29-Jun-2011 01-Jul-2011
    30-Sep-2011 30-Jun-2011 02-Jul-2011
    01-Oct-2011 01-Jul-2011 03-Jul-2011
    02-Oct-2011 02-Jul-2011 04-Jul-2011
    03-Oct-2011 03-Jul-2011 05-Jul-2011
    04-Oct-2011 04-Jul-2011 06-Jul-2011
    05-Oct-2011 05-Jul-2011 07-Jul-2011
    06-Oct-2011 06-Jul-2011 08-Jul-2011
    07-Oct-2011 07-Jul-2011 09-Jul-2011
    08-Oct-2011 08-Jul-2011 10-Jul-2011
    09-Oct-2011 09-Jul-2011 11-Jul-2011
    10-Oct-2011 10-Jul-2011 12-Jul-2011
    11-Oct-2011 11-Jul-2011 13-Jul-2011
    12-Oct-2011 12-Jul-2011 14-Jul-2011
    13-Oct-2011 13-Jul-2011 15-Jul-2011
    14-Oct-2011 14-Jul-2011 16-Jul-2011
    15-Oct-2011 15-Jul-2011 17-Jul-2011
    16-Oct-2011 16-Jul-2011 18-Jul-2011
    17-Oct-2011 17-Jul-2011 19-Jul-2011
    18-Oct-2011 18-Jul-2011 20-Jul-2011
    19-Oct-2011 19-Jul-2011 21-Jul-2011
    20-Oct-2011 20-Jul-2011 22-Jul-2011
    21-Oct-2011 21-Jul-2011 23-Jul-2011
    22-Oct-2011 22-Jul-2011 24-Jul-2011
    23-Oct-2011 23-Jul-2011 25-Jul-2011
    24-Oct-2011 24-Jul-2011 26-Jul-2011
    25-Oct-2011 25-Jul-2011 27-Jul-2011
    26-Oct-2011 26-Jul-2011 28-Jul-2011
    27-Oct-2011 27-Jul-2011 29-Jul-2011
    28-Oct-2011 28-Jul-2011 30-Jul-2011
    29-Oct-2011 29-Jul-2011 31-Jul-2011
    30-Oct-2011 30-Jul-2011 01-Aug-2011
    31-Oct-2011 31-Jul-2011 02-Aug-2011
    01-Nov-2011 01-Aug-2011 03-Aug-2011
    02-Nov-2011 02-Aug-2011 04-Aug-2011
    03-Nov-2011 03-Aug-2011 05-Aug-2011
    04-Nov-2011 04-Aug-2011 06-Aug-2011
    05-Nov-2011 05-Aug-2011 07-Aug-2011
    06-Nov-2011 06-Aug-2011 08-Aug-2011
    07-Nov-2011 07-Aug-2011 09-Aug-2011
    08-Nov-2011 08-Aug-2011 10-Aug-2011
    09-Nov-2011 09-Aug-2011 11-Aug-2011
    10-Nov-2011 10-Aug-2011 12-Aug-2011
    11-Nov-2011 11-Aug-2011 13-Aug-2011
    12-Nov-2011 12-Aug-2011 14-Aug-2011
    13-Nov-2011 13-Aug-2011 15-Aug-2011
    14-Nov-2011 14-Aug-2011 16-Aug-2011
    15-Nov-2011 15-Aug-2011 17-Aug-2011
    16-Nov-2011 16-Aug-2011 18-Aug-2011
    17-Nov-2011 17-Aug-2011 19-Aug-2011
    18-Nov-2011 18-Aug-2011 20-Aug-2011
    19-Nov-2011 19-Aug-2011 21-Aug-2011
    20-Nov-2011 20-Aug-2011 22-Aug-2011
    21-Nov-2011 21-Aug-2011 23-Aug-2011
    22-Nov-2011 22-Aug-2011 24-Aug-2011
    23-Nov-2011 23-Aug-2011 25-Aug-2011
    24-Nov-2011 24-Aug-2011 26-Aug-2011
    25-Nov-2011 25-Aug-2011 27-Aug-2011
    26-Nov-2011 26-Aug-2011 28-Aug-2011
    27-Nov-2011 27-Aug-2011 29-Aug-2011
    28-Nov-2011 28-Aug-2011 30-Aug-2011
    29-Nov-2011 29-Aug-2011 31-Aug-2011
    30-Nov-2011 31-Aug-2011 01-Sep-2011
    01-Dec-2011 01-Sep-2011 02-Sep-2011
    02-Dec-2011 02-Sep-2011 03-Sep-2011
    03-Dec-2011 03-Sep-2011 04-Sep-2011
    04-Dec-2011 04-Sep-2011 05-Sep-2011
    05-Dec-2011 05-Sep-2011 06-Sep-2011
    06-Dec-2011 06-Sep-2011 07-Sep-2011
    07-Dec-2011 07-Sep-2011 08-Sep-2011
    08-Dec-2011 08-Sep-2011 09-Sep-2011
    09-Dec-2011 09-Sep-2011 10-Sep-2011
    10-Dec-2011 10-Sep-2011 11-Sep-2011
    11-Dec-2011 11-Sep-2011 12-Sep-2011
    12-Dec-2011 12-Sep-2011 13-Sep-2011
    13-Dec-2011 13-Sep-2011 14-Sep-2011
    14-Dec-2011 14-Sep-2011 15-Sep-2011
    15-Dec-2011 15-Sep-2011 16-Sep-2011
    16-Dec-2011 16-Sep-2011 17-Sep-2011
    17-Dec-2011 17-Sep-2011 18-Sep-2011
    18-Dec-2011 18-Sep-2011 19-Sep-2011
    19-Dec-2011 19-Sep-2011 20-Sep-2011
    20-Dec-2011 20-Sep-2011 21-Sep-2011
    21-Dec-2011 21-Sep-2011 22-Sep-2011
    22-Dec-2011 22-Sep-2011 23-Sep-2011
    23-Dec-2011 23-Sep-2011 24-Sep-2011
    24-Dec-2011 24-Sep-2011 25-Sep-2011
    25-Dec-2011 25-Sep-2011 26-Sep-2011
    26-Dec-2011 26-Sep-2011 27-Sep-2011
    27-Dec-2011 27-Sep-2011 28-Sep-2011
    28-Dec-2011 28-Sep-2011 29-Sep-2011
    29-Dec-2011 29-Sep-2011 30-Sep-2011
    30-Dec-2011 30-Sep-2011 01-Oct-2011
    31-Dec-2011 30-Sep-2011 02-Oct-2011
    365 rows selected.
    SQL>If you look at the dates around the end of May, 3 months ago stays at 28th Feb for 4 days, whilst 90 days ago is continually progressive.
    Also, if you look at the dates around 29th and 30th November, then the 3 months ago misses the 30th August out (that's what David was talking about)
    Depends what the actual requirements are, but if it's for a daily rolling window, I'd probably go for the 90 days version. If it's for months reports, I'd go for the monthly version.
    Edited by: BluShadow on 11-Feb-2011 12:14

  • How to read data from the data provider using javascript

    Hi,
    Please let me know how to read the data from the dataprovider using javascript(query assigned to the data provider).
    My query has filter charateristics, free charateristics, charateristics in rows and key figure in column.
    Thanks a lot for your kind help
    Regards
    Kandasamy

    Kandaswamy,
    Assign an ID to your table item , then in JavaScript , you can use ID.innerHTML and you will get the HTML code within that table for the same , then you can find out how best to get the exact value you desire from the innerHTML value which is a string with the entire HTML from within the table item.
    Arun
    Hope it helps....

  • Fetch the data from the Data base based on selection criteria in ABAP

    Hi
    I am new to ABAP and working on the Screen where User Enters Company code from and to , Document no and to, I have defined as specified below
      SELECT-OPTIONS Company     FOR p_ccode.
      SELECT-OPTIONS Document    FOR p_fdocnr.
      SELECT-OPTIONS Year           FOR p_fyear.
    When I debug in the pgm I get the values as
    IBT11001100 (From and To Company Code)
    IBT23234241002323424246 (From and To doc no)
    IBT20092009 (From and To Year)
    How can write a SQL select statement to fetch the data from the Database based on the above inputs
    Thanks
    PR

    Moderator message:
    Sorry - this isn't an ABAP training forum. Please press F1 on SELECT-OPTIONS and/or SELECT.
    Thread locked.
    Rob

  • Couldn't fetch the data from the data source...[nQSError: 16023]

    Hi all.
    I think that the problem I want to discuss is well-known, but still I got no answer whatever I tried ...
    I installed the BIEE on Linux (32 bit, OEL 5 - to be more precise), the complete installation was not a big deal. After that I installed the Administration tool on my laptop and created the repository. So... my tnsnames.ora on the laptop looks like this:
    TESTDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.5)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = testdb)
    And the tnsnames.ora on server, in its turn, looks like this:
    TESTDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = testdb.localdomain)
    The database worked normally and I created and transferred the repository to the server and started it up.
    It started without any errors, but when I tried to fetch the data via the representation services I got the error:
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 16023] The ODBC function has returned an error. The database may not be available, or the network may be down. (HY000)
    I discovered, that the ODBC on my laptop was named not correctly (it should have been identical to tnsnames entry) - so I corrected it, saved and replaced the repository on the server and restarted it... - and still got the same error.
    Apparently, something is wrong with the data source. So let me put here some more information...
    My user.sh looks like this:
    ORACLE_HOME=/u01/app/ora/product/11.2.0/dbhome_1
    export ORACLE_HOME
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    PATH=$ORACLE_HOME/bin:/opt/bin:$PATH
    export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    and my odbc.ini looks like this:
    [ODBC]
    Trace=0
    TraceFile=odbctrace.out
    TraceDll=/u01/OracleBI/odbc/lib/odbctrac.so
    InstallDir=/u01/OracleBI/odbc
    UseCursorLib=0
    IANAAppCodePage=4
    [ODBC Data Sources]
    AnalyticsWeb=Oracle BI Server
    Cluster=Oracle BI Server
    SSL_Sample=Oracle BI Server
    TESTDB=Oracle BI Server
    [TESTDB]
    Driver=/u01/OracleBI/server/Bin/libnqsodbc.so
    Description=Oracle BI Server
    ServerMachine=local
    Repository=SH
    Catalog=
    UID=
    PWD=
    Port=9703
    [AnalyticsWeb]
    Driver=/u01/OracleBI/server/Bin/libnqsodbc.so
    Description=Oracle BI Server
    ServerMachine=local
    Repository=
    Catalog=
    UID=
    PWD=
    Port=9703
    [Cluster]
    Driver=/u01/OracleBI/server/Bin/libnqsodbc.so
    Description=Oracle BI Server
    ServerMachine=local
    Repository=
    FinalTimeOutForContactingCCS=60
    InitialTimeOutForContactingPrimaryCCS=5
    IsClusteredDSN=Yes
    Catalog=SnowFlakeSales
    UID=Administrator
    PWD=
    Port=9703
    PrimaryCCS=
    PrimaryCCSPort=9706
    SecondaryCCS=
    SecondaryCCSPort=9706
    Regional=No
    [SSL_Sample]
    Driver=/u01/OracleBI/server/Bin/libnqsodbc.so
    Description=Oracle BI Server
    ServerMachine=localhost
    Repository=
    Catalog=SnowflakeSales
    UID=
    PWD=
    Port=9703
    SSL=Yes
    SSLCertificateFile=/path/to/ssl/certificate.pem
    SSLPrivateKeyFile=/path/to/ssl/privatekey.pem
    SSLPassphraseFile=/path/to/ssl/passphrase.txt
    SSLCipherList=
    SSLVerifyPeer=No
    SSLCACertificateDir=/path/to/ca/certificate/dir
    SSLCACertificateFile=/path/to/ca/certificate/file.pem
    SSLTrustedPeerDNs=
    SSLCertVerificationDepth=9
    Can anybody point a finger where the error line is? According to the documentation it should work fine.Maybe the driver name is wrong? What driver I need then?
    Cause I can't find it.
    I'm really sorry to bother, guys :) Let me know if you get some ideas about it (metalink didn't help).

    OK, several things wrong here. First the odbc.ini is not meant to be used for Oracle databases, that's not supported on Linux. On Linux you should OCI (Oracle native drivers) and nothing should be added on odbc.ini. Your user.sh seems to be pointing to your DB installation path. This is not correct. It should point to your Oracle client installation so you need to install the Oracle FULL client somewhere. Typically this is normally done with the same OS account as the one used for OBIEE whereas the DB normally runs with the oracle account. Once you got the client installed test it under the OBIEE account doing tnsping and sqlplus to your DB. Also the LD_LIBRARY_PATH should point to $ORACLE_HOME/lib32 not lib as the lib directory is the 64bits and OBIEE uses the 32bits libraries even in 64bits OSes. Finally change your RPD connection to use OCI. Make all those changes and you should be good.

  • SharePoint Designer 2010 Error occurs when accessing Edit Form: "The server returned a non-specific error when trying to get data from the data source ..." This occurs when using "" in a calculated column in a SharePoint List

    I created a calculated column "Expiration Date" in SharePoint 2010 with formula, =IF([Contingent Hire]=TRUE,(Created+90),(IF([Contingent Hire]=FALSE," ")))
    This works in the SharePoint list but when I go to edit the Edit Form in Designer. I get the error specified in the title of this post. I'm trying to make it so the Expiration Date is blank when another column, "Contingent Hire" (a YES/No
    column) is FALSE.
    The Edit Form is essentially a DataViewWebpart. If I remove the " ", like so, "(IF([Contingent Hire]=FALSE,))" from the calc column, the error goes away; however, the Expiration Date field does not
    remain blank like I want it to.
    Does anyone have any suggestions? (Below is the error generated when I open Designer and then try to open the Edit form for the corresponding list containing the calc column)
    JackSki123

    Hi Jack,
    Could you provide a screenshot about this issue?
    As Dimitri suggested, you can install the update for your SharePoint Designer and check again.
    And you can also check if you can display "NA" instead of " " in your calculated column per the following post.
    http://rajeshspillai.blogspot.in/2012/03/server-returned-non-specific-error-when.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to determine most recent date from the date column of internal table

    Dear friends
    would you like to tell me. how i determine the most recently changed record by looking at date and time from internal table i am not supposed to sort the table by date and time... I must check date and time with other records date and time to determine which record is most recently changed...
    here the scenario is.
    id idnumber chdate chtime
    1 123456 20060606 135312
    2 123456 20060606 135900
    3 123456 20060606 132300
    4 123457 20060606 140000
    5 123457 20060606 142500
    in the above scenario i must keep in my mind that the most recently changed record is identical to its idnumber i can say that:
    the record should be fetched this way
    id idnumber chdate chtime
    3 123456 20060606 132300
    5 123457 20060606 142500
    because here the id 3 is the most recently changed in the idnumber 123456
    where id 5 is the most recently changed in the idnumber 123457
    please help me to determin how i am supposed to carry out this task any suggestion, code will be great help of mine.
    regards
    Naim

    After testing my suggestion above, I realized that it doesn't work because the delete adjacent actually will keep the first one and delete the rest.  I'm working with Srinivas's code a bit now,  I think it is almost what you want.  I am under the impression that you dont' want to HIGHest date/time, but just the last record of the sequence, if this is the case, then this code will help.  Here we will assign an index to each record per the idnumber, that way we can sort it and get the lastest record.
    report zrich_0001.
    types: begin of itab_type,
            id       type i,
            idnumber type i,
            chdate   like sy-datum,
            chtime   like sy-uzeit.
    types: end of itab_type.
    types: begin of itab_type2,
            id       type i,
            idnumber type i,
            index    type i,
            chdate   like sy-datum,
            chtime   like sy-uzeit.
    types: end of itab_type2.
    data: itab     type table of itab_type with header line,
          itab2    type table of itab_type2 with header line,
          prev_rec type itab_type.
    data: v_id type i.
    start-of-selection.
      itab-id       = 1.
      itab-idnumber = 123456.
      itab-chdate   = '20060606'.
      itab-chtime   = '135312'.
      append itab. clear itab.
      itab-id       = 2.
      itab-idnumber = 123456.
      itab-chdate   = '20060606'.
      itab-chtime   = '135900'.
      append itab. clear itab.
      itab-id       = 3.
      itab-idnumber = 123456.
      itab-chdate   = '20060606'.
      itab-chtime   = '142500'.
      append itab. clear itab.
      itab-id       = 4.
      itab-idnumber = 123457.
      itab-chdate   = '20060606'.
      itab-chtime   = '140000'.
      append itab. clear itab.
      itab-id       = 5.
      itab-idnumber = 123457.
      itab-chdate   = '20060606'.
      itab-chtime   = '120000'.
      append itab.
      clear itab.
    <b>  data: counter type i.
    * Assign an index to each row per idnumber
      loop at itab.
        on change of itab-idnumber.
        if sy-tabix > 1.
          clear counter.
          endif.
        endon.
        clear itab2.
        move-corresponding itab to itab2.
        counter = counter + 1.
        itab2-index = counter.
        append itab2.
      endloop.
    * Sort it and get rid of older records.
      sort itab2  by idnumber ascending
                     index descending.
      delete adjacent duplicates from itab2 comparing idnumber.</b>
      read table itab2 with key idnumber = '123456'.
      write:/ itab2-chdate, itab2-chtime.
      read table itab2 with key idnumber = '123457'.
      write:/ itab2-chdate, itab2-chtime.
    Regards,
    Rich Heilman

  • How to retrieve the data from the data base,-- its urgent!

    public class UserInfo extends GenericServlet
    public void service(ServletRequest req,ServletResponse res)throws ServletException,IOException
    res.setContentType("text/html");
    PrintWriter out=res.getWriter();
    Connection con=null;
    PreparedStatement pst=null;
    ResultSet rs=null;
    try{
    con=DriverManager.getConnection("jdbc:mysql://localhost/userdetails","mysql","xxxx");
    pst=con.prepareStatement("select * from user_info where ufn=? and uln=? and ueid=? and uname=? and upass=? and urd=? and uage=? and sem=?; ");
    rs=pst.executeQuery();
    if (rs.next())
    {out.println("first name"+rs.getString(1)+"Last name"+rs.getString(2)+"email ID"+rs.getString(3)+"Login name"+rs.getString(4)+"password: masked <br>Registration Date "+rs.getString(7)+"Users age"+rs.getString(8)+"Employed or not if yes 1 and for No 0"+rs.getString(6)   );
    return  ;
    catch(Exception e){out.println(e);}
    finally{try{con.close();}catch(Exception e){out.println(e);}}
    exception : is http method not found ......
    please help me

    1) When you post code, please use[code] and [/code] tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    2) I don't know what you are saying is not found. More information would be helpful.
    3) You had better think of binding some parameters to your PreparedStatement/.
    4) Please close your ResultSets and Statements as well as your Connections.

  • To add a method on select of a date from a date input field

    Hi,
    I have a input field which is binded to context element, type date. Hence the output screen has a date popup, from which user can select any dates.
    Is it any way i can have a action executed on select of a date value?
    I mean when the user selects a date from the date field an wction should be called.
    As I have chosen it to be input field so at present I have only the option of OnEnter, which is not fulfilling the requirement.
    Regards,
    Pranay

    Hi Pranay,
    Use the Date Navigator instead. It has got the same functionality as Date Picker (this is what you are using) & moreover, you can achieve what you desired. It has got the functions like onDaySelect, onWeekSelect & onMonthSelect & onSelect.
    That will trigger the action what you want.
    Regards
    Chander Kararia
    # Please close the thread once get the correct answer. Give rewards for answers.

  • Service Level tracking summary report/ Error subreport

    Hi Everybody,
    I have SCOM 2012 SP1 RU2, after apply the RU2 and import the .mbp when I try to run the report Service Level tracking summary report I get this message:
    Any Idea?
    Regards!!!

    What's version of SQL Reporting Service?
    http://support.microsoft.com/kb/967749/en-us
    Also you can check below link, may be help you
    http://blogs.technet.com/b/mgoedtel/archive/2013/01/06/how-to-fix-the-om-2012-service-level-tracking-summary-report.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Failed to retrieve data from the database/invalid argument provided when employing link between two web services datasources

    Post Author: vpost
    CA Forum: Data Connectivity and SQL
    I am trying to join information from two related web services within CR XI. I have successfully set up the web services as data sources have been able to get to the point where I get good data back. However, when I try to pull in certain fields, I get an error that says "Failed to retrieve data from the database/invalid argument provided". Here's the scenario:
    The web services are structured as follows:Web Service 1 (Artist) has attributes of Artist Name and Date of Birth.Web Service 2 (CD) has attributes of CD Title and Release Date. Underneath each CD are songs, each of which have a Song Title and Artist Name.
    I have defined both web services and defined a link between Artist.Artist Name and CD/Song.Artist Name. I am able to run a report with Song Title and Date of Birth that crosses web services. I am able to run another report with Song Title and CD Title that crosses the different levels in the second web service. However, if I add CD Title to the first report or Date of Birth to the second (both of which effectively force CR to employ the link between the two web services AND the CD/Song hierarchical structure in the second web service, I get the aforementioned error.
    Any assistance understanding how multiple web services can be linked in this manner would be greatly appreciated.
    Thanks in advance.

    Post Author: Mike Wright
    CA Forum: Data Connectivity and SQL
    Not sure about your exact situation, but having similar problem with another application and have tracked down to security. Added user to group Domain Admin and it works fine. It appears to be accessing a subdirectory which it does not have permission to use and then times out and returns the "invalid....". Seems that once the query just over a certain size (and I'm not sure what triggers this) it needs to make use of temparory file disk, intead of ram.
    I'm still trying to track down which temporary it's trying to uses - so if you have any ques.
    cheers

  • Service level tracking items are not deleted

    hi,
    every time i add a new service level tracking, after that when I delete it, it is deleted from the service level tracking items. but it resides as available items when i want to run a SLA report.
    i have already removed 'Test-Remove' from service level tracking in 'Authoring' tab but it still exist as available items to run a report as above picture.
    do i have to remove it manually from sql server? any help is appreciated

    Hi,
    I checked on my lab, and I have the same result as yours. When I newed a service level tracking, I then go to the Operation DB to query below table
    [OperationsManager].[dbo].[ServiceLevelObjective]
    And found the object created, and then I delete the service level tracking on the operation manager console, and recheck the table again, the object is removed there also.
    After that, I run service level tracking summary report, I can see the deleted service level tracking there.
    It is hard to explain, but I think maybe there are temp files keep this information.
    I would like to suggest you wait for some days and then recheck it.
    Regards, Yan Li

Maybe you are looking for