Core Data save error after delete

I'm cross posting this from StackOverflow (http://stackoverflow.com/questions/1463382/core-data-save-error-after-delete)
This question is probably a long shot. I can't figure out the errors I'm getting on my core data project when I save after I delete an entity. My .xcdatamodel can be seen at:
http://jump.fm/BXRCG
I have two main entities that I work with, an Outfit and an Article. I can create them with no problem but when I delete them I get the follow error log:
for the Outfit:
2009-09-22 20:17:37.771 itryiton[29027:20b] Operation could not be completed. (Cocoa error 1600.)
2009-09-22 20:17:37.773 itryiton[29027:20b] {
NSLocalizedDescription = "Operation could not be completed. (Cocoa error 1600.)";
NSValidationErrorKey = outfitArticleViewProperties;
NSValidationErrorObject = <Article: 0x12aa3c0> (entity: Article; id: 0x12b49a0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/Article/p1> ; data: {
articleID = 2009-09-22 19:05:19 -0400;
articleImage = 0x12b4de0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/ArticleImage/p1>;
articleType = nil;
attributeTitles = "(...not nil..)";
color = nil;
comment = nil;
dateCreated = 2009-09-22 19:05:19 -0400;
designer = nil;
imageView = "(...not nil..)";
location = "(...not nil..)";
outfitArticleViewProperties = (
0x12b50f0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/OutfitArticleViewProperties/ p1>
ownesOrWants = 0;
pattern = nil;
price = nil;
retailer = nil;
thumbnail = "(...not nil..)";
washRequirements = nil;
wearableSeasons = nil;
NSValidationErrorValue = {(
<OutfitArticleViewProperties: 0x1215340> (entity: OutfitArticleViewProperties; id: 0x12b50f0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/OutfitArticleViewProperties/ p1> ; data: {
article = 0x12b49a0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/Article/p1>;
articleViewPropertiesID = nil;
outfit = nil;
touch = nil;
view = "(...not nil..)";
And if I delete an Article I get:
2009-09-22 18:58:38.591 itryiton[28655:20b] Operation could not be completed. (Cocoa error 1560.)
2009-09-22 18:58:38.593 itryiton[28655:20b] DetailedError: {
NSLocalizedDescription = "Operation could not be completed. (Cocoa error 1600.)";
NSValidationErrorKey = articleImage;
NSValidationErrorObject = <Article: 0x12aa340> (entity: Article; id: 0x12b3f10 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/Article/p1> ; data: {
articleID = 2009-09-22 18:58:26 -0400;
articleImage = 0x12b4d00 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/ArticleImage/p1>;
articleType = nil;
attributeTitles = "(...not nil..)";
color = nil;
comment = nil;
dateCreated = 2009-09-22 18:58:26 -0400;
designer = nil;
imageView = "(...not nil..)";
location = "(...not nil..)";
outfitArticleViewProperties = (
0x12b5010 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/OutfitArticleViewProperties/ p1>
ownesOrWants = 0;
pattern = nil;
price = nil;
retailer = nil;
thumbnail = "(...not nil..)";
washRequirements = nil;
wearableSeasons = nil;
NSValidationErrorValue = <ArticleImage: 0x12ad600> (entity: ArticleImage; id: 0x12b4d00 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/ArticleImage/p1> ; data: {
article = 0x12b3f10 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/Article/p1>;
image = "(...not nil..)";
A 1600 error is:
NSValidationRelationshipDeniedDeleteError Error code to denote some relationship with delete rule NSDeleteRuleDeny is non-empty.
Available in Mac OS X v10.4 and later.
Declared in CoreDataErrors.h.
But I can't see for the life of me which relationship would be preventing the delete. If some Core Data wizard can see the error of my ways, I would be humbled. But seriously, thank you!

I'm cross posting this from StackOverflow (http://stackoverflow.com/questions/1463382/core-data-save-error-after-delete)
This question is probably a long shot. I can't figure out the errors I'm getting on my core data project when I save after I delete an entity. My .xcdatamodel can be seen at:
http://jump.fm/BXRCG
I have two main entities that I work with, an Outfit and an Article. I can create them with no problem but when I delete them I get the follow error log:
for the Outfit:
2009-09-22 20:17:37.771 itryiton[29027:20b] Operation could not be completed. (Cocoa error 1600.)
2009-09-22 20:17:37.773 itryiton[29027:20b] {
NSLocalizedDescription = "Operation could not be completed. (Cocoa error 1600.)";
NSValidationErrorKey = outfitArticleViewProperties;
NSValidationErrorObject = <Article: 0x12aa3c0> (entity: Article; id: 0x12b49a0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/Article/p1> ; data: {
articleID = 2009-09-22 19:05:19 -0400;
articleImage = 0x12b4de0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/ArticleImage/p1>;
articleType = nil;
attributeTitles = "(...not nil..)";
color = nil;
comment = nil;
dateCreated = 2009-09-22 19:05:19 -0400;
designer = nil;
imageView = "(...not nil..)";
location = "(...not nil..)";
outfitArticleViewProperties = (
0x12b50f0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/OutfitArticleViewProperties/ p1>
ownesOrWants = 0;
pattern = nil;
price = nil;
retailer = nil;
thumbnail = "(...not nil..)";
washRequirements = nil;
wearableSeasons = nil;
NSValidationErrorValue = {(
<OutfitArticleViewProperties: 0x1215340> (entity: OutfitArticleViewProperties; id: 0x12b50f0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/OutfitArticleViewProperties/ p1> ; data: {
article = 0x12b49a0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/Article/p1>;
articleViewPropertiesID = nil;
outfit = nil;
touch = nil;
view = "(...not nil..)";
And if I delete an Article I get:
2009-09-22 18:58:38.591 itryiton[28655:20b] Operation could not be completed. (Cocoa error 1560.)
2009-09-22 18:58:38.593 itryiton[28655:20b] DetailedError: {
NSLocalizedDescription = "Operation could not be completed. (Cocoa error 1600.)";
NSValidationErrorKey = articleImage;
NSValidationErrorObject = <Article: 0x12aa340> (entity: Article; id: 0x12b3f10 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/Article/p1> ; data: {
articleID = 2009-09-22 18:58:26 -0400;
articleImage = 0x12b4d00 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/ArticleImage/p1>;
articleType = nil;
attributeTitles = "(...not nil..)";
color = nil;
comment = nil;
dateCreated = 2009-09-22 18:58:26 -0400;
designer = nil;
imageView = "(...not nil..)";
location = "(...not nil..)";
outfitArticleViewProperties = (
0x12b5010 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/OutfitArticleViewProperties/ p1>
ownesOrWants = 0;
pattern = nil;
price = nil;
retailer = nil;
thumbnail = "(...not nil..)";
washRequirements = nil;
wearableSeasons = nil;
NSValidationErrorValue = <ArticleImage: 0x12ad600> (entity: ArticleImage; id: 0x12b4d00 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/ArticleImage/p1> ; data: {
article = 0x12b3f10 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/Article/p1>;
image = "(...not nil..)";
A 1600 error is:
NSValidationRelationshipDeniedDeleteError Error code to denote some relationship with delete rule NSDeleteRuleDeny is non-empty.
Available in Mac OS X v10.4 and later.
Declared in CoreDataErrors.h.
But I can't see for the life of me which relationship would be preventing the delete. If some Core Data wizard can see the error of my ways, I would be humbled. But seriously, thank you!

Similar Messages

  • Clean up groupwise POA - data still big after delete account

    Hi guys,
    I migrated antest groupwise sytem from my production.
    My POA data is too big (around 80GB) , so i deleted most of mailbox and keep only 10 mailboxes with small size.
    but the POA data is still big ( around 80GB ) .
    do you know why my POA data is too big after delete? or any step i missed?
    or any command to purge my POA?
    tks all.

    Originally Posted by konecnya
    I
    It is similar to when you delete a file on the computer, it isn't really
    gone at first, just the pointers to it removed.
    If you have a good set of routine maintenance running, it will get down
    to size before long. Just the default of Emptying the trash being
    automatic after 7 days will help. The other part of the puzzle is having
    GWChecks on Contents run on a regular basis (weekly) as that will get rid
    of the rest of the bits.
    For more details on a good set of routine maintenance, see
    GroupWise Maintenance
    Andy Konecny
    Knowledge Partner (voluntary SysOp)
    KonecnyConsulting.ca in Toronto
    Andy's Profile: View Profile: konecnya - Novell Forums
    I ran and got an error "MAINT_IN_PROGRESS (0xC057)" and nothing changed
    any more ideas, andy?

  • Strange Data Mapping Errors after SEM 6 Upgrade. Please assist.

    Hi All, I encountered these sudden Mapping errors after I tried to do Testing in Post Upgrade Sand Box. Here I am trying to to perform Collected Reported Financial Data under Data Collection Method for a particular Company Code 3040. Kindly help me with some quick responses as this is kind of high priority. The errors and the Diagnosis Notes I am unable to follow as I do not where I shall write those Mapping Rules they are referring to. I do not even know if that need to apply any SAP Notes as such. Once again Highly appreciate your quick response and Many Thanks in Advance.
    Regards, BIP
    Input conversion for field Period Value LC has invalid format Message no. UCT8210 Diagnosis The mapping rule for target field Period Value LC contains a move with a selected Input Conversion indicator. Therefore, the system performs an input conversion prior to creating the target data. However, an error in the input conversion occurred while moving the source key figure to the target key figure Period Value LC. This means that the format used for the input conversion is incompatible with the target data. System Response The system will not perform the move. Procedure Examine the mapping rule for field Period Value LC. Either select the Conversion Exit indicator or deselect the Input Conversion indicator. Execute the method again. -
    3040 is incompatible with input format for field /1FB/COMPANY Message no. UCT8258 Diagnosis During execution, the method derives the source selection for source field /1FB/COMPANY from the mapping rule for the target field. 3040 is one of the values that were derived for the source selection. The system requires that this value is in the correct SAP-internal format because the Conversion Exit indicator has been selected in the move operator for field /1FB/COMPANY. However, the value 3040 is incompatible with the SAP-internal format. System Response The system attempts to interpret value 3040 as an external format and convert it to the internal format. If this fails, the system is unable to restrict the source selection using source field /1FB/COMPANY. In this case, the system may read more source data than was originally intended, which can affect performance. Procedure In the log, choose the Source button to display the source selections that are used to read the source data. When this appears, examine values selected for field /1FB/COMPANY. If the correct values were selected, you can ignore this message. To prevent this message from being issued, you can select the indicator in the mapping rule used by source field /1FB/COMPANY. If incorrect values were selected, make sure that the mapping rule used by source field /1FB/COMPANY has been defined correctly. If the mapping rule is correct and value (3040) derived for the source selection does not affect the overall result, you can ignore this message. If the source selection does not contain the value 3040 for field /1FB/COMPANY and, because of this, source data that is supposed to be read is not being read, make sure that the mapping rule has been defined correctly. If the source selection does not contain any value for field /1FB/COMPANY, make an estimation as to how much excess source data is being read and whether this might affect system performance. If you do not expect any performance problems, you can ignore this message. In any event, you have the following alternatives if the mapping rule is defined correctly, but the source selection on field /1FB/COMPANY is unsatisfactory: You can define a source selection for field /1FB/COMPANY in the Customizing settings for the method on the Selection tab page. Then the method uses this source selection instead of the source selection derived from inverse interpretation of the mapping rule. You can implement the Business Add-In (BAdI) UC_DATATRANSFER and use the method INVERT to determine the source selection on field /1FB/COMPANY. Then the method uses the result of the INVERT method for the source selection instead of the source selection derived from inverse interpretation of the mapping rule. -
    Cannot derive the source selection from target field Version Message no. UCT8252 Diagnosis Field Version has one of the following roles: Consolidation unit Group currency key Fiscal year Posting period Version To delimit the volume of the source data to be read, the system usually derives the source selection from the target selection of such a field. However, the system cannot derive a source selection from field Version. System Response It is possible that a greater volume of source data is being read than is necessary. This can lead to performance issues. Procedure Check whether a mapping rule is defined for field Version. If a mapping rule is defined, you can disregard this warning message. However, if you discover after method execution that the system did not process a large amount of data, and that system performance was not satisfactory, you may want to examine the source selection by choosing the Source button in the log. If the reason for the disregarded data is that too much source data was read because of the unrestricted selection on the source field (which is linked with target field Versionthrough mapping), choose one of the alternatives below: Change the mapping rule for field Version so that the system can derive a delimiting source selection. Implement the Business Add-In (BAdI) UC_DATATRANSFER with the method INVERT to delimit the selection for the source field that is linked via mapping to the target field Version. -
    Cannot derive the source selection from target field Group Currency Message no. UCT8252 Diagnosis Field Group Currency has one of the following roles: Consolidation unit Group currency key Fiscal year Posting period Version To delimit the volume of the source data to be read, the system usually derives the source selection from the target selection of such a field. However, the system cannot derive a source selection from field Group Currency. System Response It is possible that a greater volume of source data is being read than is necessary. This can lead to performance issues. Procedure Check whether a mapping rule is defined for field Group Currency. If a mapping rule is defined, you can disregard this warning message. However, if you discover after method execution that the system did not process a large amount of data, and that system performance was not satisfactory, you may want to examine the source selection by choosing the Source button in the log. If the reason for the disregarded data is that too much source data was read because of the unrestricted selection on the source field (which is linked with target field Group Currency through mapping), choose one of the alternatives below: Change the mapping rule for field Group Currency so that the system can derive a delimiting source selection. Implement the Business Add-In (BAdI) UC_DATATRANSFER with the method INVERT to delimit the selection for the source field that is linked via mapping to the target field Group Currency
    1 is incompatible with input format for field FISCPERIOD Message no. UCT8258 Diagnosis During execution, the method derives the source selection for source field FISCPERIOD from the mapping rule for the target field. 1 is one of the values that were derived for the source selection. The system requires that this value is in the correct SAP-internal format because the Conversion Exit indicator has been selected in the move operator for field FISCPERIOD. However, the value 1 is incompatible with the SAP-internal format. System Response The system attempts to interpret value 1 as an external format and convert it to the internal format. If this fails, the system is unable to restrict the source selection using source field FISCPERIOD. In this case, the system may read more source data than was originally intended, which can affect performance. Procedure In the log, choose the Source button to display the source selections that are used to read the source data. When this appears, examine values selected for field FISCPERIOD. If the correct values were selected, you can ignore this message. To prevent this message from being issued, you can select the indicator in the mapping rule used by source field FISCPERIOD. If incorrect values were selected, make sure that the mapping rule used by source field FISCPERIOD has been defined correctly. If the mapping rule is correct and value (1) derived for the source selection does not affect the overall result, you can ignore this message. If the source selection does not contain the value 1 for field FISCPERIOD and, because of this, source data that is supposed to be read is not being read, make sure that the mapping rule has been defined correctly. If the source selection does not contain any value for field FISCPERIOD, make an estimation as to how much excess source data is being read and whether this might affect system performance. If you do not expect any performance problems, you can ignore this message. In any event, you have the following alternatives if the mapping rule is defined correctly, but the source selection on field FISCPERIOD is unsatisfactory: You can define a source selection for field FISCPERIOD in the Customizing settings for the method on the Selection tab page. Then the method uses this source selection instead of the source selection derived from inverse interpretation of the mapping rule. You can implement the Business Add-In (BAdI) UC_DATATRANSFER and use the method INVERT to determine the source selection on field FISCPERIOD. Then the method uses the result of the INVERT method for the source selection instead of the source selection derived from inverse interpretation of the mapping rule
    Input must be in the format ___,___,__~ Message no. 00088 Diagnosis Your entry does not match the specified input format. System Response The entry in this field was rejected. Procedure The entry must comply with the edit format. The following edit format characters have a special meaning: "_" (underscore) There should be an input character at this point; this should be a number for numeric fields. "." (decimal point) (applies to numeric fields) The decimal point occurs here (setting in the user master record). "," (thousands separator) (applies to numeric fields) This separator occurs (optionally) for more than three figures. Depending on the setting in the user master record, it can be a period or a comma. "V" (applies to numeric fields) The operational sign appears here. If used, it must by at the right margin of the field. The sign is either "-" or " "(space). "~" (tilde) (applies to numeric fields) As of and including this character, leading zeros must also be entered. Otherwise, this character has the same meaning as an underscore. Leading zeros need not be entered on the left of the tilde. They are not output at this position. All other characters have their normal meanings and must be entered in the same position as in the edit format.

    Hi Dan,
    Could you Kiindly advise me where we need to write the Mapping Rules in Consolidation Monitor? All he time the errors refering to Mapping Rules. The only Tab I seen "Mapping" is in Data Basis But as per my Understanding Iwe do not have much to do there as it is system generated Mapping Tab.
    Where we actually go and select/deselct those Input Conversion Indicator/ Conversion exit Indicator.
    Highly appreciate your advise.
    Thanks and Regards,
    BIP

  • Page process throwing No data found error when deleting tabular form item

    Hi guys,
    I am trying to run a page process just before the Tabular form's MRU process and it's throwing a no data found error. Here is my code:
    BEGIN
         for i in 1..apex_application.g_f02.count LOOP     
              IF apex_application.g_f01(i) is not null THEN
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
              END IF;
         END LOOP;
    END;Here f01 is the checkbox column and the if-statement is causing the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.
    When I click on a checkbox and hit delete button which fires off both this process and then MRU I get the no data found error.
    Would be grateful if someone could shed some light on this. Many thanks.
    Edited by: taepodong on Jul 1, 2012 7:54 AM

    Hi,
    >
    I am trying to run a page process just before the Tabular form's MRU process and it's throwing a no data found error. Here is my code:
    BEGIN
         for i in 1..apex_application.g_f02.count LOOP     
              IF apex_application.g_f01(i) is not null THEN
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
              END IF;
         END LOOP;
    END;Here f01 is the checkbox column and the if-statement is causing the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.
    When I click on a checkbox and hit delete button which fires off both this process and then MRU I get the no data found error.
    >
    You are iterating on the f02 and checking for f01 not null. That is wrong usage of the the checkbox item. Please see these links . especially the OnSubmit Process examples.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_item.htm#CHDDCHAF
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_app.htm#AEAPI215
    Regards,
    PS : This is what you need to understand
    >
    <b>Note that check boxes displayed using APEX_ITEM.CHECKBOX will only contain values in the APEX_APPLICATION arrays for those rows which are checked. Unlike other items (TEXT, TEXTAREA, and DATE_POPUP) which can contain an entry in the corresponding APEX_APPLICATION array for every row submitted, a check box will only have an entry in the APEX_APPLICATION array if it is selected.</b>
    >
    Edited by: Prabodh on Jul 2, 2012 9:44 AM

  • Data block information after deletion of data

    Hi , If I have deleted a row in a particular table then which meta data table in oracle will record that the no of bytes got deducted.
    I have checked in this table for perticular table before deletion and after deletion but there is no difference in number...DBA_SEGMENTS
    Edited by: 883279 on Jan 28, 2013 4:56 AM

    883279 wrote:
    Hi , If I have deleted a row in a particular table then which meta data table in oracle will record that the no of bytes got deducted.
    I have checked in this table for perticular table before deletion and after deletion but there is no difference in number...DBA_SEGMENTS
    Edited by: 883279 on Jan 28, 2013 4:56 AM When you delete a row in a table, oracle marks the block as free block and it does not actually frees the block. The subsequent insert statement uses this information and overwrites the block with new data.
    cehck this out, I have a table
    SQL> create table t
      2  as
      3  select *
      4    from all_objects;
    Table created.Now i run this
    SQL> set autotrace on
    SQL>
    SQL> select count(*) from t;
      COUNT(*)
        213321
    Statistics
             28  recursive calls
              0  db block gets
           2960  consistent gets
           2879  physical reads
              0  redo size
            517  bytes sent via SQL*Net to client
            488  bytes received via SQL*Net from client
              4  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    SQL> select count(*) from t;
      COUNT(*)
        213321
    Statistics
              0  recursive calls
              0  db block gets
           2884  consistent gets
              0  physical reads
              0  redo size
            517  bytes sent via SQL*Net to client
            488  bytes received via SQL*Net from client
              4  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processedCheck the consistent gets in the second qyery its 2884.
    Now i delete all the rows from table
    SQL> delete from t;
    213321 rows deleted.Now i again run the query
    SQL> select count(*) from t;
      COUNT(*)
             0
    Statistics
              0  recursive calls
              0  db block gets
           2884  consistent gets
            306  physical reads
              0  redo size
            514  bytes sent via SQL*Net to client
            488  bytes received via SQL*Net from client
              4  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processedYou can see the consistent gets is same 2884, so oracle goes through all the data blocks even after
    we delete them.
    Now i truncate the table
    SQL> truncate table t;
    Table truncated.
    SQL> select count(*) from t;
      COUNT(*)
             0
    Statistics
              1  recursive calls
              1  db block gets
              6  consistent gets
              0  physical reads
             52  redo size
            514  bytes sent via SQL*Net to client
            488  bytes received via SQL*Net from client
              4  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processedNow the HWM is reset and the blocks are released.

  • Core Data - Save and Load

    Hi
    I need to add functionality to my iPad app so that I can save and load notes from a UITextView then load them when the user selects the date in the UIDatePicker that it was originally saved on, much like a calendar, notes for different dates.
    I have asked around on StackOverFlow and people have been spoon feeding me code samples but I am not quite latching on. Complain all you like, but I really want to learn how to do this, however currently its fairly important that I get the functionality added in.
    Here is where I asked:
    http://stackoverflow.com/questions/4133405/core-data-iphone-save-load-depending- on-date
    http://stackoverflow.com/questions/4177398/save-and-load-data-coredata
    I have unsuccessful so far and if anyone can help me here I would be ever so grateful and even more so if you would take a short time to take a peek at my project. You can email me at [email protected], its a fairly simple project and Im sure especially for you guys you could see what I am doing.
    Hope you can help me out.

    Core Data pretty much does away with the concepts of saving and loading. The data is just there. If you want a particular view of data, on a specific date, for examples, you create a predicate to pull only the matching data into a particular controller/UI control.

  • Restoring the data from table after deletion

    Hi,
    If  I delete the data from the database (using delete command) , is there anyway to restore that data. I know it looks bit weird but I'm checking whether there is any technique in abap by which we can restore the data.
    Your help would be appreciated.
    Thanks,
    Kranthi.

    Hi Kranthi,
               When you delete lines of a database table using the DELETE command, the process is only complete after a database commit. Before the commit, any database change can be reset using a database rollback.To be able to perform a database rollback, a database system must generate a copy of each database object before making a change. These copies are kept in a rollback log until the end of an LUW. An overflow of the rollback log always results in the termination of the transaction which caused it. For example, attempting to remind a large number of defaulting customers in the same transaction could trigger such an error. You can only solve this problem by dividing the set of database updates into several smaller units ( LUWs) for the database system. You use this statement if you cannot be certain that all the database changes have been executed correctly.
    For your information :
    An LUW begins each time you start a transaction,when the database changes of the previous LUW have been confirmed (database commit) or when the database changes of the previous LUW have been cancelled (database rollback)
    An LUW ends when the database changes have been confirmed (database commit) or when the database changes have been canceled (database rollback). Within an LUW, database changes are not made until after a database commit. Prior to this, any database change can be canceled by a database rollback.
    Cheers
    Nishanth

  • Master Data activation error after transport

    Hi,
    we have a problem in a custom master data. In development system we add 2 navigation attribute to the master data and then we transport in quality system.
    After the transportation of the IO the master data bacame inactive in quality and there is no way to reactivate them.
    The message error is the following:
    Charateristic ZAA_COB: Navigation attribute ZAA_COB__ZCTB00001 switched on (-> N.B long text)
    Characteristic ZAA_COB: Size of X/Y table does not fit P/Q table
    Error when activating InfoObject ZAA_COB
    We tryed with Tx: RSRV but the check produces dump error
    We tryed with a second CR with the only IO involved but the error was the same.
    We cannot delete the master data content.
    Any suggestion?
    Thanks
    Alberto

    we have a problem in a custom master data. In development system we add 2 navigation attribute to the master data and then we transport in quality system.
    After the transportation of the IO the master data bacame inactive in quality and there is no way to reactivate them.
    The message error is the following:
    Charateristic ZAA_COB: Navigation attribute ZAA_COB__ZCTB00001 switched on (-> N.B long text)
    Characteristic ZAA_COB: Size of X/Y table does not fit P/Q table
    Can you look up OSS or SDN on this particular message " Size of X/Y table does not fit P/Q table".
    Error when activating InfoObject ZAA_COB
    We tryed with Tx: RSRV but the check produces dump error
    This obviously means something is wrong. Take help of BASIS folks too to understand the Short-Dump.
    We tryed with a second CR with the only IO involved but the error was the same.
    We cannot delete the master data content.
    Since its Test, could you delete the data in all InfoProviders that use this InofObject, then, Delete Master Data and then re-transport. Later, load all these InfoProviders. Its one option.
    Obviously all the involved attribute are already transported in Test system. I tryed to adjust with se14 the M (view), X (SID) and P table of the master data tables. Now I have the two attribute only in the attribute tab of the IO but in all the tables they disappear.
    Did you do the "S-table too". not that it matters, since you are already there, you can complete it. Also, don;t get tempted to Delete Master Data from SE14 no matter what.
    I tryed to re-transport but i have always the same error.
    I already gave you option-1 above. Here is my thinking.
    Option-2: Go to DEV. Open the main InfoObejct in change mode. Go to the Attributes tab. There, there will be a small box where you can give numbers. Why don't you re-number them from "1" till the end. This is the sequence of how the attributes show up in pop-up boxes.
    ext, run the RSRV test on the InfoObject in DEV.
    After you do this, collect this InfoObject in a new transport and move it to Test.
    I am not sure it wil solve the problem, but its worth a try.
    But look into OSS notes on specific error message that you got. If I think of anything else, I will get back to you.
    Uday-Ram Chamarthy

  • Error after deleting a user

    Hi,
    i have a big problem. I cannot change my process template,
    cause I get the error message:
    <i>Cannot retrieve activity template: User USER.PRIVATE_DATASOURCE.un:tftak1 doesn't exist!</i>
    But the User tftak1 is not the designer, but he was involved in the process as a default role.
    After I deleted that user I got that message.
    What could I do? I need fast help, because we want to start our testing phase...
    Thanks in advance
    Steve

    Hi Steve,
    An idea would be to recreate this user tftak1 and then to edit the process and remove it from the default roles.
    Other possibility would be to go to the Administration UI in GP and there to change the user assignement for the default roles.
    The extreme solution would be to forget your process and to create a new process object. Then you can add again your existing block to this process.
    Hope this helps,
    Best regards,
    David

  • ORA-01403 NO DATA FOUND ERROR AFTER SELECTING PORTAL LINK TO CALL FORM

    I have a portal application link that I use to call a form. The field on this
    form gets populated based on a bind variable that is passed in by the link.
    This was working 2 weeks ago but now when I click on the link to call the form
    I am receiving the following error "AN UNEXPECTED ERROR OCCURRED ORA-01403 - NO
    DATA FOUND". This happens in more than one application where I set this type
    of link to call a form. Anyone have any ideas?!!

    Hi Andy,
    Thank you very much for your time!
    The fields in the form are all right. The fields get filled in perfectly in most of the cases, only those few rows don't :(
    However, now that you wrote of the process of row fetching, I think that maybe I have an idea of what is happening. My table has two primary keys (two fields together make the primary key, I don't know how it's called in English), one of them is a date. (I know that this is quite a bad practice, but, much to my regret, I cannot change it.) Now, this date is in YY-MON-DD format, which is used by my language.
    One of this dates is from 1800's. As my report shows it, the year gets truncated to the last two character. APEX passes this value into the field of the form using varchar2, and when it tries to cast it back to YY-MON-DD format, then it supposes it's from 1900's instead of 1800's. With 19xx however it doesn't find my field.
    Does this sound logical? It seems logical to me, but I am a beginner... :(
    Still, if this is the core of the problem, it's most possibly not the only problem, because I have dates from 19xx which can't identify their rows... But I am suspicious because of these date things. If you have any idea then please let me know.
    Thanks,
    Eszter

  • DA0005 date format error after install CHF17

    Post Author: Akvile
    CA Forum: Deployment
    After installing chf17 I get the following error when trying to refresh reports, which require user to enter date in the condition prompt: DA0005 Connection or SQL sentence error Exception: DBD, &#91;Sybase&#93;&#91;ODBC Driver&#93;&#91;Adaptive Server IQ&#93;Cannot convert 1900-01-00 to a timestampState: 07006 our date format was yyyy.mm.dd now refreshing works only when entering date in yy.mm.dd format I have tried the following: - to reinstall Sybase IQ ODBC driver - to change date format in universe - to add InputDateFormat and InitDateFormat parameters to odbc.sbo files - to add registry entry to HKEY_LOCAL_MACHINE>SOFTWARE>Oracle NLS_DATE_FORMAT value YYYY.MM.DD (because it was such a reccomendation in BO 5.1 error guide for similar problem) Nothing helped. Any ideas? I have XI release 2, SP1, MHF1, Oracle 9 on clients, oracle 10 on server, sybaseIQ 12.7 middleware.

    SP3 should include FP 2.5

  • Data Load Error after Client copy on Source System

    We did a client copy to our QAS source system.  After that was complete, I tried to do a couple of full data loads.  But they fail.  The only errors I see are on the source system when I try to manual update the Idocs.  They are:
    EDI: Partner Profile not available
    Entry in inbound table not found
    Is there a step I need to take after the client copy and before the loads?  I have a feeling that I'm forgeting something.
    Thanks,
    Chris

    Hi Chris,
    Check the following.
    1> Go to WE20 check whether you are able to see two logical system in "Partner Type LS" one for Source and one for Myself.
    2> If you say Yes for <1> then check in both the logical system, in the classification tab, partner status should be 'active'.
    3> Check you have used REMOTE USER in main and in Outbound and inbound Parameters "Post Processing Permitted tab " for each Message type.
    4> go to out bound message type and check the "Receiver port" pointing to correct RFC destination for both ( Source and Myself logical system).
    If your answer is no for <1> then perform all the steps.
    Hope this will help you.
    Suneel

  • Getting "Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452)" error after upgradating to siebel Open UI 8.1.1.11

    Hello Team,
    We have upgraded from Siebel 8.1.1.3 to Siebel Open UI  8.1.1.11.
    But after up-gradation we are getting the below error in   "My Account Opportunity" View.
    We detected an Error which may have occurred for one or more of the following reasons:
    Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452).
    Thanks,
    Tirupati Nanda
    Mob:-9742404115

    Hello Team,
    We have upgraded from Siebel 8.1.1.3 to Siebel Open UI  8.1.1.11.
    But after up-gradation we are getting the below error in   "My Account Opportunity" View.
    We detected an Error which may have occurred for one or more of the following reasons:
    Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452).
    Thanks,
    Tirupati Nanda
    Mob:-9742404115

  • Receive an ORA-01403: no data found error after importing

    After making changes to an application and exporting it and importing it into another applications (copy of the app) on the same server I recieve this error.
    Error Single Sign-On Procces Failed
    However if I export and import the application to a different server it works fine.
    This is done in APEX
    Thanks,
    Joyce
    Edited by: user11806126 on Aug 21, 2009 1:53 PM

    Again, please tell us your first name and show it in your forum profile to help us. Thanks.
    I asked you before to provide the versions of every major component in your configuration (apex, database, etc.).
    After making changes to an application and exporting it and importing it into another applications (copy of the app) on the same server I recieve this error.Is it relevant that you made changes to the application or does this problem manifest itself with unchanged versions of the application that you export and then import/install into the same apex instance? Did you install it in the same workspace or a different workspace?
    If you can install the application into your workspace on apex.oracle.com we might be able to find some clues.
    Scott

  • Deleted two suspect apps but data was still in iCloud.  Do I always have to delete data from iCloud after deleting the app?

    I downloaded more than ten invoicing apps from the App Store yesterday to check them out for ease of use.  I ended with five on my iPad to consider and entered trial info on each.  This morning I noticed I had duplicate headers in my calendar for major holidays.  I tried to delete one, but I could not.  Then two emails were sent in my name but with a strangely long and oddly foreign email address, which were invitations to come to Easter at my house.  I share my iPad with my husband and they were sent to his email account. in my name.  I do not know if it went out to all my contacts!!  Yikes!!  I deleted all the invoicing apps, but found that it did not delete info in iCloud for two of them, which I then deleted.  Why were they still in iCloud after I deleted the apps?  How do I make sure the virus/malware is gone from my iPad?  Is my calendar infected?  I thought all apps in App Store were vetted and safe!  I am worried because I want to set up my new home business electronically!

    Apparently you can't delete anything from the icloud and the people at Apple are not helping and they give you no support to this question.  It's all over the message boards.  Literally, thousands of people asking this exact same question with Apple remaining mute on the subject. 

Maybe you are looking for