Error while  deleting a row in entity

Hi
I am facing a problem while trying to delete a row from a entity.
Below is the scenario where i am facinmg a problrm.
I have a ViewObject which has attributes from two entity and on e transient variable.
in the RowImpl java class for the above Viewobject i changes the getter method of the transient variable to some text.
I display all the Viewobject as a table in the UI.
When a user selects a row and press delete method.
I get a id(one of the attribute from the Viewobject) from the selected row and remove the row from the Entity.
When i try to commit the changes i am getting the below error
Another user has changed the row with primary key oracle.jbo.Key [742]. (Another user has changed the row with primary key {0}.)
Can any one please help me in this
Thanks
Ranjith

check {message:id=9271952}

Similar Messages

  • Error while deleting a row from the Entity Object

    Hi OAF Guys,
    i am unable to delete the newly created row from the entity object.
    let me explain my scenario.
    1. i have a table of which some of the columns are mandatory.
    2. I am writing the code in the validateEntity to check wether the user really enter anything into the fields.
    3. My problem is, when the user creates row and wanted to delete the row without entering any details, the validate entity of the EO gets fired which will not allows to delete the row.
    Is there any workaround for this problem.
    Regards,
    Nagesh Manda.

    Hi Tapash,
    I am very sorry for not providing you the complete details of my scenario. Here i am explaining
    1. what code you have placed while creating the row and in validation method on EOImpl.
    while creating a new row i am initializing the primary key of the EO with the sequence value.
    2.When you say, you are unable to delete the row, are you getting a error message ? if yes, custom message or fwk error ?
    its not the fwk error, its the custom message which wrote in my validateEntity method of EO to check whether the user had entered all the necesary columns or not.
    3.How are you trying to delete the row ?
    while the user clicks on the delete switcher i am getting the primary key of the row and searching for the row in the vo and finally deleting it.
    The problem arises when the user creates a row, and later doesnt want to enter the details and delete it. Here while deleting the row the validateEntity method of the EO gets fired and doesnt allow me to do so :(.
    Any way appreciate your help tapash.
    Regards,
    Nagesh Manda.

  • Error while Insert new Row in Entity Base View Object

    Hi,
    can someone tell me the reason of following problem? :
    There is a Entity Base View object, which is Binded as ADF Table in a JSFX Page.
    I took the standard operations from the Control Panel: CreateInsert, Commit and Rollback.
    Places them a ADF Buttons.
    Whenever i am trying to insert a Row, after commit i am getting the ORA Error: ORA-01410: invalid ROWID.
    By the way: The Entity Object is using the RowID as Primary Key.
    When i press commit a second time, the the Row is inserted in the Database.
    Any Idea, how to workarround this ORA Error?
    Thank You!

    n by default if you had no pkconstrainst in db,
    in jdev default rowid as prim key.
    as john said make the key as proper.
    and do it.
    if you have db constrainst in db.
    it can be achived by dbconstrainstname with ora.
    what am saying dbconstranist name will map it ora.
    http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/bcadvgen.htm#BABEFGCI

  • Problem w/: Error while getting estimated row count for view

    JDev 10.1.3 - Steps
    1. created a ADF VO w/ one bind variable vNAME.
    2. Created a basic jspx page, use the data control pal. to drop in VO w/ executeparam option. Use the data control pal to drop in VO w/ ADF Read-Only Table w/ select and sort option. Selected all VO columns in table.
    3. Following Error msg occurs when running jspx page -
    oracle.jbo.DMLException: Error while getting estimated row count for view object CategoryView, statement SELECT count(1) FROM (SELECT
    CATEGORY.CATID CATID,
    CATEGORY.NAME NAME,
    CATEGORY.PICTURE PICTURE,
    CATEGORY.ACTIVE ACTIVE
    FROM
    CATEGORY
    WHERE
    (CATEGORY.NAME LIKE UPPER(:vName)||'%')) .
    Tested SQL Statement in SQL Worksheet works ok (with a Value replacing ':vName').
    Can anyone advise - seems to be a straight forward process that is returning this error msg. I have tried variations of the SQL stmt with no luck. The jspx page errors when the ADF Read-Only Table is added.

    I seem 2 have the same error, in a slightly different situation.
    I have a view which subclasses a Entity with a history column 'CreatedOn'. When performing a quick search/filter on this column I get the same error. The ADF app is build on a DB2 database, so no named parameters here. Instead invalid SQL is created when executing the estimated row count. The WHERE clause contains 'CreatedOn = null', should be 'CreatedOn is null'. Furthermore the input of my quick search is not filled in this clause.
    Any help would be appreciated

  • Error while deleting a mapping

    Hi all,
    I am getting the following error while deleting a mapping. My client version is 10.2.0.4.36
    API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    oracle.wh.util.Assert: API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
         at oracle.wh.util.Assert.owbAssert(Assert.java:51)
         at oracle.wh.ui.jcommon.OutputConfigure.showMsg(OutputConfigure.java:216)
         at oracle.wh.ui.common.CommonUtils.error(CommonUtils.java:370)
         at oracle.wh.ui.common.WhDeletion.doActualDel(WhDeletion.java:512)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:203)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:283)
         at oracle.wh.ui.jcommon.tree.WhTree.deleteItem(WhTree.java:346)
         at oracle.wh.ui.console.commands.DeleteCmd.performAction(DeleteCmd.java:50)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Thanks in advance!
    Sebastian

    These type of Internal Errors are all too common in OWB and it's difficult to diagnose the exact problem.
    I'd suggest closing the Design Centre, going back in and trying to delete it again, this will often resolve Internal errors.
    There's also an article on Metalink Doc ID: 460411.1 about errors when deleting mappings but it's specific to an ACLContainer error, so may or may not be of use.
    One of the suggestions is to connect as the Repository Owner rather than a User and try to delete the mapping.
    Cheers
    Si
    Edited by: ScoobySi on Sep 10, 2009 11:44 AM

  • Error while deleting values of characteristic /1FB/COMPANY/Company (RFC des

    Dear all,
    I am trying to synchronize Company master data between local BCS system and SAP BW with UGMD_BATCH_SYNC program. In the synchronization mode, Full Synschronization (Write and Delete) was selected.
    However, I receive the following error message when executing the program:
    Error while deleting values of characteristic /1FB/COMPANY/Company (RFC destination )
    Message no. UGMD077
    Diagnosis
    When writing or deleting values of characteristic /1FB/COMPANY/Company errors occurred in the system with RFC destination . As the changes have already been defined in the local storage location this results in the master data being asynchronous between the local and remote storage location.
    System Response
    Processing is continued.
    Procedure
    Carry out a manual synchronization of the master data later using report UGMD_BATCH_SYNC. You can find additional information there under Application Help.
    FYI, RFC Destination for my data basis is left blank.
    What may causes this error and how to resolve it?
    Thank you.

    Hi MontyBurns,
    May I know what settings that I need to check in UGMDSYNC program? As far as I can tell, there is only one parameter that we need to specify in the program i.e. Field Name. As I am trying to synchronize from BCS to BW, I have chosen the followings settings:
    Source = LOCAL
    Target = ALLBW
    All,
    Interesting thing that I notice after executing the UGMDSYNC program is the following message:
    Synchronize/Display Variances Between Systems
         The compound dependencies for the attributes or texts are not defined
         uniformly in the systems investigated.
         Example:
         Texts are defined as language-specific in the local systems and as
         language-independent in remote systems (for example BW systems). The
         same can apply for other compounds such as version or time dependencies.
    System Response
         The display of differences between the systems will be affected. A
         manual synchronization will not be completely successful.
    Procedure
         1.  Ensure that the dependencies for the attributes and texts are the
             same in all systems.
         2.  Start the synchronization process again.
    Procedure for System Administration
    I can check the attributes and texts in BW via RSD1 by specifying InfoObject = 0COMPANY and checking the Master data/texts and Attribute tabs. But how do I check similar settings in BCS Workbench? I can't determine whether the Company text is language-dependent or not simply by displaying specific Company from Process View > Master Data > Consolidation Units > Company.
    Thanks.

  • Error while deleting master data (Message no. RSDMD118)

    Dear all,
    I am performing a test to create and delete new Company Codes in Consolidation Workbench.
    Creation of new Company Codes went on successfully but deleting them give me the following error message upon saving:
    Error while deleting master data
    Message no. RSDMD118
    Since they are new Company Codes, they have not been used and stored in any BW cubes. Any idea on why BCS prevents me from deleting them?
    Appreciate assistance to troubleshoot and resolve this error.
    Thank you.

    Thank you both for your replies.
    I am sure those are not the case here as I deleted the Company immediately after creating it.
    Just to make sure, I performed "Where-Used List" again and BCS confirmed that it is not being used anywhere:
    Use of: Company UAT1 UAT Company 1
    Number of Uses Found: 0 
    However, the same error message was displayed again after I tried to delete the Company and save the configuration. Still can't find any solid reason behind this.

  • Error while deleting Interface

    Hi all
    I have a ODI interface which I need to delete. But when I do right click > delete ... I get an error message 'Error while deleting'. The details shows the following.
    Please help me if you can
    java.sql.SQLException: ORA-00923: FROM keyword not found where expected
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3026)
    at com.sunopsis.l.r.b(r.java)
    at com.sunopsis.l.r.a(r.java)
    at com.sunopsis.l.r.a(r.java)
    at com.sunopsis.l.r.a(r.java)
    at com.sunopsis.l.r.a(r.java)
    at com.sunopsis.l.e.a(e.java)
    at com.sunopsis.l.f.a(f.java)
    at com.sunopsis.l.a.a(a.java)
    at com.sunopsis.l.a.a(a.java)
    at com.sunopsis.dwg.DwgObject.f(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.deleteAction(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.deleteAction(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.deleteAction(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.delete(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.delete(DwgObject.java)
    at com.sunopsis.graphical.g.d.c(d.java)
    at com.sunopsis.graphical.g.d.a(d.java)
    at com.sunopsis.graphical.s.m.actionPerformed(m.java)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.doClick(Unknown Source)
    at com.jidesoft.plaf.vsnet.VsnetMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    thanx
    Sam

    It's about underlying SQL. If your working repository is on Oracle you can try something like this:
    - connect to your work repository
    - try deleting interface
    - if it fails look into v$sqlarea for your query
    - paste it here

  • Error While deleting the Profit Center

    Hi I am getting the below error while  deleting the Profit center. Please help me how to fix this issue...
    Profit center Scenario was activated in New GL Accounting
    what configurations do i need to change to fix this error? Kindly advise me..
    Thanks
    Kishore

    Dear,
    while deleting  the profit center we have to requrie follow the steps
    1) OBR1 - Reset Transaction data
    2)OBR2 - Reset the master data
    3)OKKS - Set Controlling Area
    4)OKC3 - Delete Transcation Data
    5) KL14 - Delete Activity Types
    6)OKE5 - Profit center De - Active
    7)OKE1 - Profit center Transcation data delete
    8)OKE2 - profit center delete
    if if you follow above steps easily we can make the delete the profitcenter and we donot have to activate profitcenter
    i hope solve you r problem
    With regards /G chandu

  • Error while deleting the agreement

    Hi,
    I am facing the following error while deleting the agreement.
    There was an error deleting agreement.
    Error -: AIP-16015: Delete of Internal Delivery Channel Usage failed with error: Cannot delete Internal Delivery Channel Usage which is referenced by Participant Delivery Channel
    Error -: AIP-16011: Cannot delete Internal Delivery Channel Usage which is referenced by Participant Delivery Channel
    We are getting the same error while deleting the individual TP participants from the agreement.
    I don't have any agreements deployed on the B2B.
    Can you please let me know the reason for this error?
    Regard,
    Ravi Shah

    Please refer B2B Error:- AIP-16015 and AIP-16016 when deleting a TP Agreement

  • Error while deleting from BIA index

    HI EXPERTS GETTING BELOW ERROR PLZ GIVE CLARITY ON THIS:
         1.A communication error occured, with the TREX TcpIp     
         2.Error while deleting from BIA index; reconstruction required     
    THANKS &REGARDS,
    rAMESH,

    Dear Ramesh,
    Please check the connection with BIA. Please ask the Basis team to check the BW to BIA connection if they maintain it.
    YOu can go to rsddbiamon2 and check BIA connection availibility for more details.
    If that is right please try redoing the step at which you faced error and it should help.
    Please close the question if you have got the answer or solved it.
    Regards,
    Den

  • Error while Deleting Software Component

    Hi All,
    I am getting following error while deleting Software Component Version:
    Unable to Delete object DELETEDEMO_COMPONENET, 1.0 of delete.
    You cannot delete a sotware component version if it contains imported interfaces.
    Is there any shortcut isntead of deleting all objets manuually?
    Sri

    Hi Sri.
    It's very simple
    Solution:
    Double Click on Software Component, On Right Hand side >Go to Software Component Version->Delete the software component.If all the necessary Objects have been properly deleted, there will be no problem in Deleting the Software Componet version
    1) Delete the created Data Types, Message Types, Message Interfaces, Message Mappings, and Interface Mappings.
    2) There should be no Imported SAP Objects in the Software Component. If any delete them and activate changes.
    3) Delete all namespaces in the editor using sign. Do not save the changes.
    4) Delete the two default data types that are created in the Interface Objects-->Data Types of the software component version (ExchangeFaultdata, ExchangeLogdata). Now save changes for the s/w component version and activate the changes. Ignore the warnings that pop-up.
    5) The radio button for u201CInterface import should be at u201CNot permittedu201D instead of u201CImport RFC and IDoc Interfaces from SAP Systems Permittedu201D.
    6) Now go to Software component version menu in the right hand pane. Click on delete and the software component vanishes from left hand pane 
    >> Is there any shortcut isntead of deleting all objets manuually?
    NO.. other way or any any shortcut for this
    Abid

  • Error while deleting the Master data

    Hi Friends,
    i am getting the below error while deleting the data from a master data:-
    The system is unable to delete all of the specified master data,because some of it is still in use. (See log:Object RSDMD, sub-object MD_DEL )
    Do you want to delete the data records that are no longer in use?
    Could you guide how should i proceed to delete the data.
    Regards,
    Hirdesh

    Hi Hirdesh,
        If you are using master data in someother data targets u cant delete master data.So first you have to delete the data in data targets where this particual master data object is used, then remove the data in master data object.
    Regards
    Prasad

  • ERROR WHILE DELETING PAGE (WWC-44130)

    sir,
    I have a page group in my portal. It is is having many pages. i am getting following error
    if i try to delete a page.
    ERROR WHILE DELETING PAGE.(WWC-44130)
    DAV: USER-DEFINED EXCEPTION (WWS-18026)
    UNEXPECTED ERROR - ORA -01403: NO DATA FOUND (WWC-35000)
    How to resolve this problem?
    i have noticed thate in,
    http://server/dav_portal/portal i can find all page group and subpages. the actual subpage, which is i am trying to delete is not visible. the same subpage is visible in portal navigate page.
    how to resove this problem? please guide me properly. please help me.
    portal verison 9.0.4.0.99
    regards
    sudhir

    Dear Sudhir,
    I don't know if this is of any help to you, but I sporadically encounter the same error when trying to delete regions/items/tabs etc. from TEMPLATES (not from pages). I am sure that this is a bug.
    However, after creating a page from the template and then detaching it from the template, I can delete the corrupt elements. So I can currently work around the problem.
    Maybe this applies to your situation?
    Eckhard

  • Error while deleting the Data Source

    Hi gurus,
    I am getting an error while deleting a Data Source - "Source system XXXXX  not found RSAR205".
    but that source system no more available.
    Is there any way to delete the Data Source.
    Thanks in advance.
    CK.

    Hi,
    That source system deleted.
    Using RSDS also same error.
    Thanks,
    CK
    Edited by: CK on Oct 3, 2008 11:37 AM

Maybe you are looking for

  • Numeric Data Types

    What are the numeric data types in Oracle? I created the following table: CREATE TABLE CONTRACT ( CONTRACT_ID INTEGER NOT NULL, QUOTE_ID LONG, BOOK_RATE NUMBER, IBTSS_CONTRACT_NUM VARCHAR2(20) But in the Object Browser, the data type of CONTRACT_ID b

  • Dynamic orderby in a procedure

    Hi All! in the follow mentioned procedure is not working can u check up and please provide a solution. Thanks Shyam koti create or replace procedure p1 (ordby varchar) as type rdep is ref cursor; curdept rdep; drec dept%rowtype; sqlstmt varchar(500);

  • Saving MS Word 2010 documents in Windows 8.1

    I am trying to save a document and every time I try, the application just stalls. The steps I follow are: Click File Click Save As A little circle appears, like the hourglass in previous versions (the good ones...) of Windows I wait ...and wait...and

  • HT1476 I've blown out 4 charging "cubes". What's up with this?

    The little white cube that plugs into the wall keeps frying out. I've lost 4 so far. I really don't want to continue purchasing these things.

  • SQL query question for SQL Swing Applet

    Hi I am building a little SQL Swing applet. I was wondering if there is a SQL query statement to find: * The names of all the tables in the Database loaded. * The number of tables in a database loaded. Thank you very much in advance, A.