UCM error which retrieving values

Hello All,
I am using jdev 11.1.1.6
I am trying to display in a iterator few values from UCM.
The iterator is binded with backing bean, In backing bean the values are populated..
Iterator should display list of values for each doc..
Some files on UCM are not proper, I am getting error below
oracle.stellent.ridc.protocol.ServiceException: Could not load document information. Exception type is 'javax.xml.bind.UnmarshalException'. org.xml.sax.SAXParseException: Premature end of file..
I want to skip this error in java.may be adding try catch and populate those files which are correct...

Hi,
its an UCM problem, so chances are this is the wrong forum to post to. Anyway, what is the question you have? To use a try/catch block see, if your custom bean class shows in the stack trace. If so you have th eline number to surround with try/catch
Frank

Similar Messages

  • Error in retrieving value from the inputfield.

    Hi Experts,
    There is this behaviour I saw in WD which was understood by me.
    Let me explain it :
    I am doing a comparison scenario where I compare 2 products in a grid format.
    For this I have a table with a various types of variants.
    In this grid I have a inputfield which takes an integer input and based on which there is an effect on other variant field of that product.
    Now I am retriving the value of the input field in the modify view through
    input.getValue(); parse this string to an Integer and then pass it to the model.
    Here is the problem everything works fine when the user goes and changes the value for the firsttime but if he does the same thing without the input field loosing focus it throws a Numberformat exception this occurs because the string value retrived this time is an empty string which obviously can't be parsed.
    Can anyone explain me the why is it behaving in this way?
    Any help will be truly appriciated.
    Best Regards & Thanks in Advance
    Amit

    Hi,
    If u want to change the focus before retrieving the data from input field, try
    IWDButton b=(IWDButton)view.getElement("Button");
    b.requestFocus();
    before
    IWDInputField in1=(IWDInputField)view.getElement("InputField2");
    int a=Integer.parseInt(in1.getValue());
    Regards
    Fahad Hamsa

  • Fun. mod which retrieves  values stored in the SETLEAF & SELINET  Table

    I am doing a report which needs to find the meaningless location.  For which i need to go the transaction GS03 and give the set id Z_AA_EXCEPTION_LIST_M03, and get the meaningless location. This value is stored in the table SETHEADER, SETLEAF, AND SETLINET table . I need to know which function module that retrieves the values from the above mentioned table

    hi,
    The Internal order group details are found in the table SETHEADER & SETLEAF, SETHEADER-SETNAME would be the internal order group for the setclass for the order group set class '0103',
    to get all internal orders for an ordergroup.
    You can use fm K_HIERARCHY_TABLES_READ.
    or
    HRGPBS_ORDERGROUP_GETDETAIL
    Vasanth

  • Passing values to subreport in SSRS throwing an error - Data Retrieval failed for the report, please check the log for more details.

    Hi,
    I have the subreport calling from the main report. The subreport is based on MDX query agianst the SSAS cube. some dimensions in cube has values 0 and 1.
    when I try to pass '0' to the sub report as the parameter value, it gives an error "Data Retrieval failed for the report, please check the log for more details".
    Actually I am using table for storing these parameter values. In the main report I am calling this table (dataset) and passing these values to subreport.
    so I have given like [0],[1] and this works fine. when I give only either [0] or [1] then it is throwing an error.
    Could you please advise on this.
    Appreciate all and any help.
    Thanks,
    Divya

    Hi Divya,
    Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
    To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
    values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Question: How do I retrieve values after creating an autofilter.

    So the question is sort of simple but my code is below, this is my first time really running in VBA but it isn't so far all to dissimilar to LotusScript which I am a bit more knowledgeable in. What I am trying to do is retrieve values from the filtered information,
    or more simply, I am trying to retrieve values from two cells in the spreadsheet that I want move together.
    As noted below one of them is a countries field which simply concatenates the country string with the duplicates with the same first column (A#) fields. 
    Example 123 .. UK
                  123 .. US
                  123 .. CA
    The output stored in countries would be UK,US,CA and posted to sheet3.
    Sub proFirst()
    Dim wSheet As Worksheet
    Dim columnCount As Integer
    Dim rowCount As Long
    Dim testVar As Long
    Dim coll As New Collection, a
    Dim Assignee() As String
    Dim tmpList() As String
    Dim newVar As Variant
    Dim dict As Object
    Const rowDataBegin = 2
    Dim count As Long
    rowCount = Sheets("Sheet1").UsedRange.Rows.count
    columnCount = Sheets("Sheet1").UsedRange.Columns.count
    '** This Cleans up the filtering to ensure all data is viewable before we begin **
    Sheets("Sheet1").Activate
    If (ActiveSheet.AutoFilterMode And ActiveSheet.FilterMode) Or ActiveSheet.FilterMode Then
      ActiveSheet.ShowAllData
    End If
    Sheets("Sheet3").Activate
    If (ActiveSheet.AutoFilterMode And ActiveSheet.FilterMode) Or ActiveSheet.FilterMode Then
      ActiveSheet.ShowAllData
    End If
    '** This sets a filter to filter by column O which is designated as Submitted Date  **
    Sheets("Sheet1").Columns("A:S").AutoFilter Field:=15, Criteria1:="<>"
    '** This block copuies and pastes the values we need for the final report however   **
    '** this is not a permenent viewable format for the report, a recut may be required **
    Application.CutCopyMode = False
    rowCount = Sheets("Sheet1").UsedRange.Rows.count
    Sheets("Sheet1").Range("A1:D" & rowCount).Copy Sheets("Sheet3").Range("A1:D" & rowCount)
    Application.CutCopyMode = False
    Sheets("Sheet1").Range("J1:J" & rowCount).Copy Sheets("Sheet3").Range("H1:H" & rowCount)
    Application.CutCopyMode = False
    Sheets("Sheet1").Range("O1:O" & rowCount).Copy Sheets("Sheet3").Range("I1:I" & rowCount)
    Application.CutCopyMode = False
    'loops through the first column and acquires all of the data and generates as string array
    rowCount = Sheets("Sheet3").UsedRange.Rows.count
    columnCount = Sheets("Sheet3").UsedRange.Columns.count
    ReDim Assignee(rowCount)
    ReDim tmpList(rowCount) 'helper variant to make it smoother for recall of lines
    For i = rowDataBegin To rowCount
        Assignee(i - rowDataBegin) = CStr(Sheets("Sheet3").Cells(i, 1).Value)
        tmpList(i - rowDataBegin) = rowCount
    Next i
    Set dict = CreateObject("Scripting.Dictionary")
    For i = LBound(Assignee) To UBound(Assignee)
       If dict.exists(Assignee(i)) Then
            dict.Item(Assignee(i)) = dict.Item(Assignee(i)) + 1
             Else
            dict.Add Assignee(i), 1
        End If
       Next i
    Sheets("Sheet3").Range("$A$1:$I$" + CStr(rowCount)).RemoveDuplicates Columns:=1, Header:=xlYes
    rowCount = 2
    Application.Workbooks(1).Worksheets("Sheet3").Activate
    '** Header values Change as needed                                                             
    Sheets("Sheet3").Cells(1, 5).Value = "Completed Global Questionnaire? (Yes or No)"
    Sheets("Sheet3").Cells(1, 6).Value = "Number of Countries"
    Sheets("Sheet3").Cells(1, 7).Value = "Name of Countries Submitted"
    For Each v In dict.keys
    If dict.Item(v) > 0 And v <> "" Then
    Sheets("Sheet3").Cells(rowCount, 6).Value = dict.Item(v)
    rowCount = rowCount + 1
    End If
    Next v
    Sheets("Sheet3").Columns("A:I").AutoFilter Field:=6, Criteria1:=">1", _
            Operator:=xlAnd
    '** BEGIN TESTING AREA
    '** Stage 2 Test Complete - able to retrieve a list of how many rows are in use
    '** Stage 3 test - retrieve countries
    Sheets("Sheet1").Activate
    count = 2
    For Each v In dict.keys
    countries = ""
    rowCount = 0
    If dict.Item(v) > 1 Then
        With ActiveSheet
           Set rnData = .UsedRange
            With rnData
                .AutoFilter Field:=1, Criteria1:=v
               .Select
                'xlCellTypeVisible = 12
                 For Each rngArea In .SpecialCells(xlCellTypeVisible).Areas
                 tmp = .SpecialCells(xlCellTypeVisible).Rows
                Next
                For Z = 2 To rowCount
                    If countries = "" Then
                        countries = .Range("I" & Z).Value
                    Else
                        countries = countries & ", " & .Range("I" & Z).Value
                    End If
                Next Z
            End With
        End With
         Sheets("Sheet3").Cells(count, 7).Value = countries
    End If
    count = count + 1
    Next v
    '**  Testing block              **
    Sheets("Sheet3").Columns("A:I").AutoFit
    MsgBox "End loop"
                                                

    The code below is only semi-tested but it should give you the idea of how to loop through the visible data of an AutoFiltered Range. You can't use code like "For r = 2 to Rows.Count" because the code stops after the first non contiguous row. However,
    you can use For Each loop to loop through the rows and get the row number from there.
    An explanation of the code to set rngVisible. (Note that a space and underscore at the end of a line is a line break in an otherwise single line of code.)
    With .AutoFilter.Range   This is the entire AutoFilter Range (Includes column headers, visible and non visible rows)
     .Offset(1, 0)     Moves down one row off the column headers but now includes an additional row at the bottom below the data. (Still includes visible and non visible rows)
     .Resize(.Rows.Count - 1, .Columns.Count)     Removes the additional row due to Offset (Still includes visible and non visible rows)
    .SpecialCells(xlCellTypeVisible)      Only include the visible rows.
        Sheets("Sheet1").Activate
        For Each v In dict.keys
            countries = ""
            If dict.Item(v) > 1 Then
                With ActiveSheet
                    Set rnData = .UsedRange
                    With rnData
                        .AutoFilter Field:=1, Criteria1:=v
                    End With
                    'Note that AutoFilter.Range is an inbuilt object variable _
                    for the entire range covered by the AutoFilter
                    With .AutoFilter.Range
                        'Following tests if any rows (other than column header) are visible _
                        in the AutoFilter.Range.  If > 1 then more than just column headers. _
                        Attempting to set the rngVisible will error if not at least one row _
                        of visible data.
                        If .Columns(1).SpecialCells(xlCellTypeVisible).Cells.Count > 1 Then
                            'Assign the visible data to a range variable
                            Set rngVisible = .Offset(1, 0) _
                                       .Resize(.Rows.Count - 1, .Columns.Count) _
                                       .SpecialCells(xlCellTypeVisible)
                        Else
                            MsgBox "No visible data. Procesing terminated."
                            'Left for you to handle what you want to do if the _
                             filter does not exist in the data and no visible rows present
                            Exit Sub
                        End If
                    End With
                    'Loop through the rows of rngVisible
                    'and get the row numbers
                    For Each rngRow In rngVisible.Rows
                        Z = rngRow.Row
                        If countries = "" Then
                           countries = .Range("I" & Z).Value
                        Else
                           countries = countries & ", " & .Range("I" & Z).Value
                        End If
                    Next rngRow
                End With
            End If
        Next v
    Regards, OssieMac

  • Error: Missing Parameter Values on

    I've started experiencing the "Missing Parameter Values" error on a report containing a subreport. All of my other reports can export just fine, but just not the one with the subreport. The report (and the subreport) both use a stored procedure to retrieve their data, with 4 parameters. The first three parameters are linked directly from the report to the subreport. The 4th parameter is optional, and is linked to the subreport with a Formula Field.
    When I delete the subreport, the report exports just fine, so the issue is definitely with the subreport ?configuration?
    I'm using Visual Studio 2005, with Crystal Reports for VS 2005. I've been searching the forums, and I downloaded and installed a package: crnet20win32x86_en_chf.zip, but it didn't solve my problem. Just to be sure, I restarted and installed it with nothing running, in case that could be a factor.
    Is there anything I can do to work through this? Any other fix I'm missing?
    Thanks
    Alex

    Thanks for the tip. I did that just now, and I found the [Hot Fix|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313339333533393334%7D.do]
    That particular Hot Fix describes my situation exactly, in that a report Stored Procedure parameter is "supposed" to be passed on to the Subreport. However, the Hot Fix describes prompting, which isn't occurring in my case, since I'm exporting the report entirely in code. My situation is just the error, Missing Parameter Values.
    In any case, I've already run that entire Hot Fix package (twice), and I've found that I have 2 of the crpe32.dlls. Neither one is the version specified in the Hot Fix, (Version 10.2.0.1256). The second dll listed below seems to be of a version prior to the Hot Fix, I don't know if it could be the reason why it still doesn't work after applying the Hot Fix.
    C:Program FilesCommon FilesBusiness Objects2.7Bin (Date 1/11/2007, version: 10.2.0.1624) and
    C:Program FilesCommon FilesCrystal Decisions2.5Bin (Date 10/5/2005, version: 10.0.5.1177).
    I've checked all the versions of references in my projects, and they all reference the 2.7 dlls, but I'd like to know if there is a way to replace the 2.5 version, just in case.
    As far as the other search results, they hinted at things I've already tried. What else can I try?
    Thanks,
    Alex

  • Cannot sync pacman; error: failed retrieving file, No address record

    Hello,
    As a heads up, I'm trying not to repost
    I've searched the forums but found nothing, I'll keep looking. I've read the front page news about the mirrorlist and tried using the old mirrorlist file. I've been on #archlinux on IRC. Nothing yet.
    Here is an example of what I see:
    root@dungeon pacman.d # pacman -Sy
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : No address record
    error: failed to update core (No address record)
    error: failed retrieving file 'extra.db.tar.gz' from ftp.archlinux.org : No address record
    error: failed to update extra (No address record)
    error: failed retrieving file 'community.db.tar.gz' from ftp.archlinux.org : No address record
    error: failed to update community (No address record)
    error: failed to synchronize any databases
    I've commented out all but one of the servers in the mirrorlost file to shorten the output.
    Any ideas?

    Snowman wrote:You are trying to fetch non-official dbs which are not on the Arch Linux  mirrors. Are you using Chakra?  Post your pacman.conf
    no I am using normal Arch, and it was working fine until i updated on tuseday. I am using "yaourt -Syu --aur" to update.
    My actual pacman.conf is (changed automaticly to this within unsuccesfull update yesterday):
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl -C - %u > %o
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    [core-testing]
    Include = /etc/pacman.d/mirrorlist
    [desktop]
    Include = /etc/pacman.d/mirrorlist
    #[desktop-testing]
    #Include = /etc/pacman.d/mirrorlist
    [platform-testing]
    Include = /etc/pacman.d/mirrorlist
    [apps]
    Include = /etc/pacman.d/mirrorlist
    #[apps-testing]
    #Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    NOW I tried the saved pacman.conf (wich worked fine for months) wich is like this
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    #CleanMethod = KeepInstalled
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    ## Add your preferred servers here, they will be used first
    #Include = /etc/pacman.d/mirrorlist
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    ## Add your preferred servers here, they will be used first
    #Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    #ArchAudio
    # tried and tested packages
    [archaudio-stable]
    Server = http://repos.archaudio.org/stable/x86_64
    #ArchAudio
    # these are..for testing?
    [archaudio-testing]
    Server = http://repos.archaudio.org/testing/x86_64
    #ArchAudio
    # for your pleasure
    [archaudio-experimental]
    Server = http://repos.archaudio.org/experimental/x86_64
    and tried to update with it using pacman, wich doesn't succed also:
    [studio@myhost ~]$ sudo pacman -Syu
    Senha:
    erro: O mirror ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch contém a variável $arch, mas não possui arquitetura definida.
    erro: O mirror ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch contém a variável $arch, mas não possui arquitetura definida.
    erro: O mirror ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch contém a variável $arch, mas não possui arquitetura definida.
    :: Sincronizando a base de dados de pacotes...
    erro: falha ao atualizar core (nenhum servidor configurado para o repositório)
    erro: falha ao atualizar extra (nenhum servidor configurado para o repositório)
    erro: falha ao atualizar community (nenhum servidor configurado para o repositório)
    archaudio-stable está atualizado
    archaudio-testing está atualizado
    archaudio-experimental está atualizado
    :: Iniciando atualização do sistema...
    atenção: bristol: local (0.60.5-1) é mais novo que archaudio-testing (0.40.8-1)
    atenção: fil-plugins: local (0.3.0-4) é mais novo que archaudio-testing (0.3.0-3)
    atenção: guitarix: local (0.11.0-1) é mais novo que archaudio-testing (0.06.0-1)
    atenção: kernel26rt: local (2.6.33.7_rt29-1) é mais novo que archaudio-stable (2.6.31_rt10-4)
    atenção: lash: local (0.6.0~rc2-3) é mais novo que archaudio-testing (0.6.0~rc2-1)
    atenção: ll-plugins: local (0.2.1-4) é mais novo que archaudio-testing (0.2.1-3)
    atenção: lv2-c++-tools: local (1.0.3-1) é mais novo que archaudio-testing (1.0.2-1)
    atenção: lv2vocoder: local (1-4) é mais novo que archaudio-testing (1-3)
    atenção: rakarrack: local (0.5.8-1) é mais novo que archaudio-testing (0.4.2-1)
    atenção: rev-plugins: local (0.3.1-3) é mais novo que archaudio-testing (0.3.1-2)
    atenção: swh-lv2: local (1.0.15-3) é mais novo que archaudio-testing (1.0.15-2)
    não há nada a fazer
    [studio@myhost ~]$
    !!!all messages are in portuguese but I think it is possible to understand them, if not i will translate
    EDIT:
    OK, I undestand the last problem and I changed my mirrolist from
    # 2010-08-11 23:15
    # generated by reflector
    # ranked by rankmirrors
    Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
    Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
    Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
    Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
    Server = http://archlinux.limun.org/$repo/os/$arch
    Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
    Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
    Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
    to
    # 2010-08-11 23:15
    # generated by reflector
    # ranked by rankmirrors
    Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64
    Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = ftp://mirrors.kernel.org/archlinux/$repo/os/x86_64
    Server = http://archlinux.c3sl.ufpr.br/$repo/os/x86_64
    Server = http://archlinux.limun.org/$repo/os/x86_64
    Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64
    Server = http://mirrors.kernel.org/archlinux/$repo/os/x86_64
    Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
    and now it's working again
    but I don't understand how this all happened
    AND: how can I force reflector to output a correct mirrorlist for 64bit?
    Last edited by capoeira (2010-08-12 15:18:15)

  • Retrieving values from Database in Excel Task Pane App

    So far,
    I created a website with a database on Azure, I then published my App to Azure. My problem is that I'm not sure how I retrieve values from the database (in SQL: SELECT * FROM EXAMPLE_TABLE WHERE date = str). If someone could provide me with sample code,
    that would be amazing! :D
    It would also be very helpful if anyone knew a method to automatically update the database using information from a xml stream on another website, once a day.
    Thank you!

    Hi,
    >> My problem is that I'm not sure how I retrieve values from the database
    You can use jquery ajax call to call your webserivce or REST API, which will query the database and return a json result.
    Sample:
    Apps for Office: Create a web service using the ASP.NET Web API
    >> It would also be very helpful if anyone knew a method to automatically update the database using information from a xml stream on another website
    For the database sync-up question, I suggest you posting them on the forums like SQL Server Forum.
    Thanks for your understanding.
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Retrieving values from a table

    Hi all,
    I need to retrieve values from CSKS-KOSTL for values containing the pattern entered by the user. For example, if the user enters 1, need to retrieve all the KOSTL values starting with 1. But when i write a SELECT statement mentioning where kostl in '1', it is ignoring all the values like (0000001, 00001034, 0012334, and others). Only values starting with 1 is only retrieved as this is a character field and due to conversion routine, zeroes are prefixed while storing in the database.
    Could any one let me know how to retrieve the values from the database in this situation?

    If you want to use IN operator in your where clause then you should define a range variable(R_KOSTL) which refers to CSKS=KOSTL and populate the range as below
    R_KOSTL-SIGN = 'I'.
    R_KOSTL-OPTION = 'CP'.
    R_KOSTL-LOW = '1*'.
    APPEND R_KOSTL.
    and then write your select statement as .... WHERE kostl IN r_kostl.
    The approach suggested by Amit should also work fine.
    Thanks
    Kiran

  • SQL Error: ORA-12899: value too large for column

    Hi,
    I'm trying to understand the above error. It occurs when we are migrating data from one oracle database to another:
    Error report:
    SQL Error: ORA-12899: value too large for column "USER_XYZ"."TAB_XYZ"."COL_XYZ" (actual: 10, maximum: 8)
    12899. 00000 - "value too large for column %s (actual: %s, maximum: %s)"
    *Cause:    An attempt was made to insert or update a column with a value
    which is too wide for the width of the destination column.
    The name of the column is given, along with the actual width
    of the value, and the maximum allowed width of the column.
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.
    *Action:   Examine the SQL statement for correctness.  Check source
    and destination column data types.
    Either make the destination column wider, or use a subset
    of the source column (i.e. use substring).
    The source database runs - Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    The target database runs - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    The source and target table are identical and the column definitions are exactly the same. The column we get the error on is of CHAR(8). To migrate the data we use either a dblink or oracle datapump, both result in the same error. The data in the column is a fixed length string of 8 characters.
    To resolve the error the column "COL_XYZ" gets widened by:
    alter table TAB_XYZ modify (COL_XYZ varchar2(10));
    -alter table TAB_XYZ succeeded.
    We now move the data from the source into the target table without problem and then run:
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));
    -Error report:
    SQL Error: ORA-01441: cannot decrease column length because some value is too big
    01441. 00000 - "cannot decrease column length because some value is too big"
    *Cause:   
    *Action:
    So we leave the column width at 10, but the curious thing is - once we have the data in the target table, we can then truncate the same table at source (ie. get rid of all the data) and move the data back in the original table (with COL_XYZ set at CHAR(8)) - without any issue.
    My guess the error has something to do with the storage on the target database, but I would like to understand why. If anybody has an idea or suggestion what to look for - much appreciated.
    Cheers.

    843217 wrote:
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.You are looking at character lengths vs byte lengths.
    The data in the column is a fixed length string of 8 characters.
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));varchar2(8 byte) or varchar2(8 char)?
    Use SQL Reference for datatype specification, length function, etc.
    For more info, reference {forum:id=50} forum on the topic. And of course, the Globalization support guide.

  • How to retrieve value from xml file

    hi all,
    can somebody pls tell me how to retrieve value from xml file using SAXParser.
    I want to retrieve value of only one tag and have to perform some validation with that value.
    it's urgent .
    pls help me out
    thnx in adv.
    ritu

    hi shanu,
    the pbm is solved, now i m able to access XXX no. in action class & i m able to validate it. The only thing which i want to know is it ok to declare static ArrayList as i have done in this code. i mean will it affect the performance or functionality of the system.
    pls have a look at the following code snippet.
    public class XMLValidator {
    static ArrayList strXXX = new ArrayList();
    public void validate(){
    factory.setValidating(true);
    parser = factory.newSAXParser();
    //all factory code is here only
    parser.parse(xmlURI, new XMLErrorHandler());     
    public void setXXX(String pstrXXX){          
    strUpn.add(pstrXXX);
    public ArrayList getXXX(){
    return strXXX;
    class XMLErrorHandler extends DefaultHandler {
    String tagName = "";
    String tagValue = "";
    String applicationRefNo = "";
    String XXXValue ="";
    String XXXNo = "";          
    XMLValidator objXmlValidator = new XMLValidator();
    public void startElement(String uri, String name, String qName, Attributes atts) {
    tagName = qName;
    public void characters(char ch[], int start, int length) {
    if ("Reference".equals(tagName)) {
    tagValue = new String(ch, start, length).trim();
    if (tagValue.length() > 0) {
    RefNo = new String(ch, start, length);
    if ("XXX".equals(tagName)) {
    XXXValue = new String(ch, start, length).trim();
    if (XXXValue.length() > 0) {
    XXXNo = new String(ch, start, length);
    public void endElement(String uri, String localName, String qName) throws SAXException {                    
    if(qName.equalsIgnoreCase("XXX")) {     
    objXmlValidator.setXXX(XXXNo);
    thnx & Regards,
    ritu

  • Error in setting value with prepareStament

    Dear Friends,
    I've a problem with prepareStatement while setting the value. Bellow i'm mentioning the error which i get while compiling. Could any please guide me what is the problem.
    String str="insert into prep (id,name,age,dob) values (?,?,?,?))";
    PreparedStatement pstmt=conn.prepareStatement(str);
    pstmt.clearParameters ();
    pstmt.setString(1,"dhananjay",28,"10/10/1975");
    pstmt.execute();
    pstmt.close();
    while compiling bellow error comes :-
    TLogin.java:214: setString(int,java.lang.String) in java.sql.PreparedStatement cannot be applied to (int,java.lang.String,int,java.lang.String)
    pstmt.setString(1,"dhananjay",28,"10/10/1975");
    ^
    Thanking you..
    Jayshri

    Thanx Tom for your reply,
    As you suggested i tried to use bellow code :
    PreparedStatement pstmt=conn.con.prepareStatement("insert into prep(id,name,age,dob) values (?,?,?,?)");
    pstmt.setString(1,1);
    pstmt.setString(2,"dhananjay");
    pstmt.setString(3,28);
    pstmt.setString(4,"10/10/1975");
    pstmt.execute();
    it gave me bellow error :
    TLogin.java:214: setString(int,java.lang.String) in java.sql.PreparedStatement cannot be applied to (int,int)
    pstmt.setString(1,1);
    ^
    TLogin.java:216: setString(int,java.lang.String) in java.sql.PreparedStatement cannot be applied to (int,int)
    pstmt.setString(3,28);
    ^
    so i changed the code to :
    PreparedStatement pstmt=conn.con.prepareStatement("insert into prep(id,name,age,dob) values (?,?,?,?)");
    pstmt.setString(1,"1");
    pstmt.setString(2,"dhananjay");
    pstmt.setString(3,"28");
    pstmt.setString(4,"10/10/1975");
    pstmt.execute();
    above got compiled without error but while executing it is not inserting row in table, because id and age is integer in database and here i'm passing as string.
    what i do to solve this problem?
    thanking you.
    Jayshri

  • There was an error while retrieving the universes from the CMS (Central Management Server). (PS 20003)

    Hi there,
    When I'm trying to manage spaces in SAP Business Objects Explorer 4.1 SP04, I'm getting the following error:
    Failed to retrieve the data source list.
    There was an error while retrieving the universes from the CMS (Central Management Server). (PS 20003)
    For input string: "false"
    I've already restart Explorer servers (Explorer Exploration Server, Explorer Indexing Server, Explorer Master Server and Explorer Search Server) and rebooted the server where Explorer is installed.
    Nothing seems to fix this error message. I'm not able to create new spaces because I cant access the sources:
    I'd appreciate some help !
    Thanks in advance

    HI Pavan,
    Admin is on the Administrators Group, which as Full Control on the Explorer Application
    I think this worked on the day the Explorer was installed (past week).
    Since them never worked.

  • Evdre encountered an error while retrieving the data

    hi
    all
    i have an error
    "evdre encountered an error while retrieving data" evdre addin
    evdre cannot retrieve data
    working on ms 7.0 bpc
    excel 2003
    i have gone thru the sap service place and found that i have to replace 2003 to 2007
    please let me know also if there is any possibility to change my reports in such a way that i may pass with out this error
    what is the mistake i am doing while i create the reports ?
    ur help is appreciated
    thanks

    This error message has many root cause.
    First let's check if the installation of BPC client is correct.
    Just use a simple EVDRE functions and try to expand.
    Are you receiving any error? If yes then I suggest to try also for Apshell ppset.
    If it is not working then that's means you have a problem with installation.
    If you can use EVDRE from another machine then the problem is installaytion of the client.
    If the problem is into all computers then the problem is into server.
    If the problem is just into one report then you have to review that report because some parameters sent to EVDRE are wrong otit is trying to retrievea region which is toobig.
    I hope this will help you toinvestigate the issue.
    Regards
    Sorin Radulescu

  • Getting an error while retrieving ASO through Excel-Addin

    I am getting an error while retrieving ASO cube via Excel-Addin. when i try to expand dimension, i am getting the following msg box,
    "No message for message #1270041 in message database"
    Can somebody help me out, your help will be greatly appreciated.
    I am also making sure that the members does not exceed the 65XXXX limit even than i m getting this error.
    Secondly, how can i increas the cache value and on what parameters i should be looking for changing the cache value.
    Thanks in advance

    From the message.txt for 9.3.1:
    ##1270041 For better performance, increase the size of aggregate storage cache
    Tim Tow
    Oracle ACE
    Applied OLAP, Inc.

Maybe you are looking for