Error When trying to add new user field to OCHH table

Hi
can you please check the following code ? I am geting an error "Ref count for this object is higher than 0"
Dim RetVal, ErrCode As Integer
        Dim ErrMsg As String
        Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
        oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
        ' Adding "BPCode" field
        '// Setting the Field's properties
        oUserFieldsMD.TableName = "OCHH"
        oUserFieldsMD.Name = "OBJ"
        oUserFieldsMD.Description = "OB Code"
        oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
        oUserFieldsMD.EditSize = 2
        '// Adding the Field to the Table
        RetVal = oUserFieldsMD.Add
        '// Check for errors
        If RetVal <> 0 Then
            oCompany.GetLastError(RetVal, ErrMsg)
            MsgBox(ErrMsg)
        Else
            'chkUDOAfter.SetItemChecked(1, True)
            MsgBox("Field: '" & oUserFieldsMD.Name & "' was added successfuly to " & oUserFieldsMD.TableName & " Table")
        End If
Thanks
George

Hi Denilo
Your suggestion did not solve the problem . I want to add that the code works fine with user-tables but not when I try with OCHH
Thanks
George
After alot of search
GC.select
Did the job
Thanks again
Regards
George
Edited by: George Pachakis on Sep 7, 2009 6:51 PM
Edited by: George Pachakis on Sep 7, 2009 6:54 PM

Similar Messages

  • Error  message when trying to add new user

    Hello,
    Customer is working on 2005B (2005B 7.40.252 SP00 PL39).
    They are working on this database since 2009.
    No upgrade was recently done.
    when trying to add a new user they get athe following error:
    "A user was added outsite the application. Delet it, or preform'Restore Numbering' [Message 3512-7]"
    Could you please advice.
    Regards,
    Maya

    Hi Maya......
    Go to Administration--> Utility and select the restore no. series.
    Update this and try to add User.
    But do it first in your test DB.....
    Regards,
    Rahul

  • 500 Internal Server Error when trying to add new members

    My Workspace is working correctly but when I try to add new users, I get the following error:
    500 Internal Server Error
    Thanks
    Michel C.

    Hello Michel,
    How are you processing to add new members?
    You should be manager of your workspace and
    - go to http://beehiveonline.oracle.com
    - click on buttom "Create Group or Add New Members"
    - Choose your group
    - CLick on the link "Add new member"
    regards
    Fred

  • Xennet error, when tried to add new network card

    Hi,
    I got an error when I tried to create new virtual network thru VM manager,
    I have add a new virtual network card thru VM manager in the same Xen bridge "xenbr0" , then i reboot the virtual machine, but when i tried to activate this network I got the below error:
    cannot activate network device
    xennet device eth1 does not seem to be present, delaying initialization.
    ifconfig in the virtual machine:
    dev13248 Link encap:Ethernet HWaddr 00:16:3E:0B:DD:E4
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    eth0 Link encap:Ethernet HWaddr 00:16:3E:5A:3E:6E
    inet addr:192.168.2.102 Bcast:192.168.2.255 Mask:255.255.255.0
    inet6 addr: fe80::216:3eff:fe5a:3e6e/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:204 errors:0 dropped:0 overruns:0 frame:0
    TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:47253 (46.1 KiB) TX bytes:5623 (5.4 KiB)
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:1045 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1045 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1458998 (1.3 MiB) TX bytes:1458998 (1.3 MiB)
    sit0 Link encap:IPv6-in-IPv4
    NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    ifconfig in the VM server:
    eth0 Link encap:Ethernet HWaddr 00:1C:C4:46:AF:3D
    inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:110 errors:0 dropped:0 overruns:0 frame:0
    TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:13177 (12.8 KiB) TX bytes:17612 (17.1 KiB)
    eth1 Link encap:Ethernet HWaddr 00:1C:C4:46:AF:3E
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:2052 (2.0 KiB)
    eth2 Link encap:Ethernet HWaddr 00:1C:C4:A6:B8:0E
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    eth3 Link encap:Ethernet HWaddr 00:1C:C4:A6:B8:10
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:127 errors:0 dropped:0 overruns:0 frame:0
    TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:11984 (11.7 KiB) TX bytes:11984 (11.7 KiB)
    peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:127 errors:0 dropped:0 overruns:0 frame:0
    TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:14405 (14.0 KiB) TX bytes:17422 (17.0 KiB)
    Interrupt:21
    peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST NOARP MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:23
    peth2 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST NOARP MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    Interrupt:16 Memory:f8000000-f8011100
    peth3 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST NOARP MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:23 Memory:fa000000-fa011100
    vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:98 errors:0 dropped:0 overruns:0 frame:0
    TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:17612 (17.1 KiB) TX bytes:13177 (12.8 KiB)
    vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:6 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2052 (2.0 KiB) TX bytes:0 (0.0 b)
    vif0.2 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    vif0.3 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:12 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2236 (2.1 KiB) TX bytes:0 (0.0 b)
    xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:6 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1968 (1.9 KiB) TX bytes:0 (0.0 b)
    xenbr2 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    xenbr3 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    Don't inject the Windows 7 version of the driver into your WinPE image. Depending on what version of ADK you are using determines what version of the driver you will inject into WinPE.  If you are using MDT 2013 with ADK 8.1 you are using WinPE 5.0/5.1
    which is basically Windows 8.1. Make a selection profile explicitly for your WinPE drivers to inject. Only include the drivers you want in the WinPE image. And match the architecture of the network and storage drivers (Windows 8.1 versions).
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Wss3 -- get XML "gibberish" when trying to add new user to site

    Site Actions > Site Settings > People and groups > New
    Select "book" icon  under Users\Groups, add domain user (works fine). This is displayed in the "Users\Groups" box in Add Users. The text displayed in  "Users/Groups"  looks like this:
    <span tabindex="-1" title="Domain\User" class="ms-entity-resolved" id="spanDomain\User" contenteditable="false"><div id="divEntityData" style="display: none;
    Pressing "OK" returns "No exact match was found". Help!
    TIA,
    edm2

    hi edm2,
    i think you may need to open a new thread at IE forum also, perhaps there will be more detailed clue.
    http://social.technet.microsoft.com/Forums/ie/en-US/home
    meanwhile please work through these steps.
    1. From Internet Options> General > Browsing History> Delete (next screen) uncheck Preserve Favorites website data then check and delete Temporary Internet Files.
    2. Go to Internet Options> Security> Internet Zone, set it to Default.
    3. Check any third-party security programs to see if one of them is blocking scripts, scripting, active content. A number of security programs can be configured to block scripts.
    4. Try these two commands from Start> Run> cmd [enter]
    regsvr32 vbscript.dll    [enter]
    regsvr32 jscript.dll       [enter]
    5. See if a browser add-on is causing the problem.
    Start Internet Explorer without add-ons by right-clicking the IE icon on the desktop. Choose Start without add-ons.
    or
    from Start> Programs> Accessories> System tools> Internet Explorer (no add-ons)
    If the problem goes away, an add-on is causing it. 
    http://blogs.msdn.com/b/ie/archive/2006/07/25/678113.aspx
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Error when trying to add new query on QaaWs

    Hello
    Using BO XI 3.1 enterprise client tools 'Query as a web service' the following happens:
    (I was advised by my administrator to reinstall BO which I have done but this error still occurs).
    1. Upon loggin on, I receive the message "You are trying to connect to a server which version is superior to XI 3.1. You may encounter unexpected issues. We recommend to connect to an XI 3.1 server".
    I don't understand that, I thought XI 3.1 was the latest version? Anyway, I click 'OK' and QaaWs window opens.
    2. Query-new query- publish query as a web service wizard opens. I enter a web service name and description and click 'next'. After around 30 seconds the following error message appears:
    Impossible to load the list of data sources
    The following error occurs
    GetDataSourceList exception (Error: WQR 99999)
    The request failed with HTTP status 503: Service unavailable.
    Please contact your administrator
    I'm clutching at straws, but I note I do not have an ODBC defined locally to this server, does that matter?
    Many thanks in advance
    Eddie

    Thanks for your reply.
    Well I'll need to check with my technical lead to answer all of the points you raise.
    However, if my client tools version is 3.1 sp3, how can the server version be superior??
    I am logging in as administrator to avoid issues with security.
    Eddie

  • Get the following error when trying to add a new user - Error of type eDSSchemaError (-14142) on line 1235 of /SourceCache/WorkgroupManager/WorkgroupManager-421/PMMUGMainView.mm

    Get the following error when trying to add a new user on Mac OS Server 10.5 - Error of type eDSSchemaError (-14142) on line 1235 of /SourceCache/WorkgroupManager/WorkgroupManager-421/PMMUGMainView.mm

    How come Leopard let me use the WGM in standard mode?
    While SA complains that it won't work in Standard Configuration, WGM does not. There is some fault in the logic of this for which I don't have an explanation.
    If I want to get control on Dock, selection of Home folder, config of Proxy... which I think are basic things, do I really need the advanced mode?
    If you wish to have complete control of all client settings, yes. There really is no disadvantage of using an Advanced configuration other than the learning curve.
    So if I switch to advanced mode, there is good chance I won't get this error message anymore, right?
    Yes.

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • Fatal error when trying to add derived table

    Hello,
    I'm new at desiging a universe. I get the following a fatal error when trying to add a derived table to my universe:
    1 processor x Family 15 Model 0 Stepping 0
    Windows 2000 Workstation  v5.1 build 2600 (S)
    Physical Total/Avail: 2.097.151 Kb / 2.004.940 Kb
    Temp directory C:\DOCUME1\xxxxxx\LOCALS1\Temp\ (1 Kb available)
    'Unknown' video card
       1280 x 768 in true color
    (doesn't make sense to me)
    I use an ODBC connection that connects to a MySQL database. When I test the connection it's fine.
    I am trying to add a derived table because it seems that my universe cannot produce LEFT OUTER JOINS.  I read somewhere that I should set my ansi92 parameter to YES instead of NO. But, everytime I re-open my universe, it sets itself automatically to NO again.
    My utlimate goal is :
    For example, list ALL the people, left join my table to their websites, but return ALL the people, even if they don't have a website.
    I dont' understand, my join should be simple enough.
    Anybody knows what could be causing all these restrictions ?
    Thanks for you help.
    Edited by: Sose Canadian on Feb 9, 2009 9:40 PM

    Hi Sose,
    In BusinessObjects (Universe) Designer, the outer join option in a join is not available and is dimmed when using a Generic ODBC connection.
    Try Following Solutions:
    Solution : 1
    When using an ODBC connection the odbc.prm must be modified on the machine where BusinessObjects Designer is used.
    Use the following steps to modify odbc.prm:
    1. Locate odbc.prm in the following folder:
    \Business Objects\Business Objects Enterprise 11\win32_x86\dataAccess\Connection Server\odbc
    2. Open odbc.prm in a text editor and modify the parameter 'EXT_JOIN' so its value is 'YES' instead of 'NO'.The outer join option is now available in BusinessObjects Designer.
    If the outer join option is still not available after following the steps above. open odbc.prm in a text editor and modify the parameter OUTERJOINS_GENERATION. Change its value from 'NO' to either 'ANSI92' or 'ODBC'.
    Solution : 2
    This can occur when user is using a non-database specific middleware such as generic ODBC. Generic ODBC allows creating a successful connection and universe, however will not allow the Outer Join option.
    The syntax for outer joins is specific to each database and the Generic ODBC driver only lets you access standard common features of all ODBC data sources.
    Ensure that you are using the database specific middleware to create the connection.
    I Hope this Helpsu2026.
    Thanksu2026.
    Pratik

  • I am getting an error when trying to add a caption.

    I get the following error when trying to add a caption to a photo.   "An error occurred while reading files or writing files to disc.  The disc may be full or there may be a problem with the source media."    I am running Windows 7 Pro.   The files are located on my c:.   The drive has 274 GB Free so space isn't an issue.   I have tried deleting a file and readding it to the same catalog and still the same problem.   I have copied the file to the desktop and cataloged it from there and the error went away.  
    If i check on the folder attibutes it is set to read-only but the desktop folder is as well.   If i try to remove the read only it only resets itelf to read only again.   Once i get the error another file shows up with the image name plus -edTM P-1 and it has the caption on it.  

    I was able to get it to work.  The root folder which held the pictures had a lock on it through windows 7.   Even though the drive was shared, I still had to go into the folder properties and share it with everyone.   Once i got the lock off and rebooted I was able to add captions again.

  • Error when trying to add a new item in table

    Hello I have this error when I want to insert a record in a table of the year 2010,
    Warning:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/r/e/l/reliefsale/html/php/reliefsale_functions.php on line 16
    I have 3 more years 2009, 2008 and 2007, when I want to insert a new item in any of the other years, everything works fine but in 2010 any ideas??
    Thanks

    Hi there,
    better post your question in the regular Dreamweaver Application Development forum where a wider group of users might be able to reflect on your issue and help you out. The current forum deals with questions which are related to the Dreamweaver extension ADDT, which generates non-standard PHP code code and has been discontinued over a year ago.
    Cheers,
    Günter

  • Error when trying to activate new valuation area.

    Hello forum,
    I´m getting an error when trying to activate a new valuation area by using AFBN transaction. I get a message that says "Closed fiscal years for areas 01 and 10 differ by more than 1 year".
    Then the system recomends me to check the settings of the depreciation areas for the closed fiscal years since the closed fiscal years of the areas are not allowed to more than 1 years apart.
    But when I check the settings in transaction OAAR what I see is that same fiscal year is assigned to all the areas.
    I don´t understand why the system is showing me this error then...How can I ensure all areas to be in the same fiscal year.
    Thanks in advance

    Hi,
    Do you have other company codes which are using the same Chart of  Depreciation? Please check these company codes and perform fiscal  year change to them.
    It seems that the problem is related to note 421549 : the system tries             
    to check the entries for field T093B-ABGJA for all the entries,not                 
    only for the relevant company code. If there's a difference of more                
    than 1 fiscal year between the last closed fiscal year for the area                
    you are trying to create, and one of the entries in T093B, then,                   
    error AU 158 arises."                                                              
    Because according to the note 421549: the system tried to check the entries for field for ALL THE ENTRIES,not only for the relevant company  code.                                                                               
    If there's a difference of more than 1 fiscal year between the last  closed fiscal year for the area you are trying to create, and one of the entries in T093B, then, error AU 158 arises. 
    Regards Bernhard
    Edited by: Bernhard Kirchner on Jul 19, 2010 1:22 PM

  • Error When Trying to add more attribute to primary key

    I have a problem that I have an editable table that is mapped to view object
    this view object is mapped to singe Entity Object.
    My Entity Object has composite primary key the primary key composed from two attributes.
    but now I tried to change the primary key to make it composed from tree attributes that I tried to make one more attribute as primary key .
    when know I try to run the form this error appear
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.adf.model.binding.DCIteratorBinding.reserveRowWithKey(DCIteratorBinding.java:3857)
         at oracle.jbo.uicli.binding.JUIteratorBinding.reserveRowWithKey(JUIteratorBinding.java:483)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.setupRegionIteratorBinding(JUCtrlHierNodeBinding.java:2128)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getRegionBinding(JUCtrlHierNodeBinding.java:2054)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getBindings(JUCtrlHierNodeBinding.java:1933)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalGet(JUCtrlHierNodeBinding.java:1528)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.internalGet(FacesCtrlHierNodeBinding.java:119)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
         at oracle.adfinternal.view.faces.model.HierNodeBindingELResolver.getValue(HierNodeBindingELResolver.java:52)
         at oracle.adfinternal.view.faces.model.AdfELResolver.getValue(AdfELResolver.java:86)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:82)
         at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
         at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:481)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:411)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:116)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1213)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:103)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1932)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:1601)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:1003)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:504)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:529)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:785)
         at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:113)
         at org.apache.myfaces.trinidadinternal.context.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:222)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:378)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
         at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils.renderChild(InvokeOnComponentUtils.java:43)
         at oracle.adfinternal.view.faces.streaming.StreamingDataManager._pprComponent(StreamingDataManager.java:611)
         at oracle.adfinternal.view.faces.streaming.StreamingDataManager.execute(StreamingDataManager.java:460)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3200)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1245)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:785)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.egabi.mcit.utils.SecurityFilter.doFilter(SecurityFilter.java:78)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)I didn't change any thing in the page only tried to add new attribute to be primary key
    when I mark this attribute in the entity as primary key .
    this error appear
    when I remove it the page run with no problem.
    The model run with no problem
    What is the problem about this.

    Do I get you right that you have changes the pk of the EO successfully and you see the error when running the app with the changed EO?
    Have you checked if the change of the PK was distributed to the VO too?
    Sometimes it helps to remove the component bound to the VO in question from the page and put it back on again.
    Timo

  • Getting error when trying to add authorzation in ERM (AC 5.3_SP,)

    Hi Experts,
    I have created a role in ERM and successfully saved it, when trying to add authorization by selecting the functional area->selected the functional are(procurement dept.) -> next i clicked on the authorization data-> aded one row ->when searching for the function id from the description field, it's searching for some time and after that, getting the follwing error .
    "Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://xiserver.ep.in:50000/VirsaCCFunction5_0Service/Config1?wsdl&style=document"
    Please do help.
    Best Reagrds,
    Gurugobinda
    Edited by: gurugobinda harichandan parida on Sep 10, 2009 6:29 PM

    Hi Alpesh and Zaher,
    Thanks a lot for all your help and support.
    After applying the note 1279722 my error got resolved, but after that when I am going to the next step to maintain PFCG it is giving me the error as: "Unhandled error; Function template PRGN_CHECK_ROLE_EXISTScould not be retrieved from CPD".
    Please do suggest.
    Regards,
    Gurugobinda

  • Portal runtime error when trying to create new Iviews in EP

    Hi
    Require an Urgent help
    getting portal runtime error when trying to create a new iView in portal. I am unable to create a single iView  in portal.
    It was working before please see this error message
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
    Component Name : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
    Error occurs during the rendering of jsp component.
    Exception id: 05:20_12/01/08_0004_17115850
    See the details for the exception ID in the log file
    AM Iworking on NW2004s sp11. I was able to create iViews on this system before
    let me know where to check the log file also. Points will be awarded
    Thank you
    Krishna Kanth
    Edited by: siddi siddi on Jan 13, 2008 12:05 AM

    Krishna Kanth,
    logs can be read from nwa, if you hv the relevant access or get portal admin to pass the defaulttrace file to you. Login to nwa, navigate to Monitoring-Logs and traces and select (either default trace or last 24hrs) to view the logs. hope this helps
    prachi

Maybe you are looking for

  • Adobe acrobat invalid annotation object in Adobe Acrobat 9 Pro (Version 9.3.1)

    Does Acrobat still support "9 Pro"? If yes does Acrobat wish to address the issue? if already did, where? I tried the following resolution, but problem is back: •         Launch Adobe Acrobat. •         Select Edit. •         Select Preferences. •   

  • Problem with bind variable

    Hi, I need to get bind variables on SIEBEL to test the performance of query and my problem is on BIND :3 because it's impossible to interprete this. NAME     POSITION     LAST_CAPTURED     VALUE_STRING :1     1,00     02/17/2010 11:54:25     1-15BVYY

  • Power Mac G4 MDD Random Power Shut Down

    I am located in Thailand and have a Power Mac G4 purchased in November 2003. Last month the computer shut-down at random times and during various types of operations. CPU and hard drive temperatures were well within range, the installed battery teste

  • IMac detecting second display, but no image on second monitor

    I'm trying to use a Philps HDTV as a secondary monitor for my new 21.5 inch iMac.  I'm using a MiniDisplay to HDMI cable, and the iMac detects the TV just fine, but there is no picture sent to the TV.  I hooked up a MacBook to the same TV with the sa

  • Why can I change the callout text font in some documents and not others?

    By experimenting I have determined that some documents that will allow me to add callouts also let me change the text font to a different font or font size.  Other documents that will let me add callouts will not allow me to change the text font. A s