2013 Nov 15 11:51 AM
Hi
I am modifying one Ztable. in that I'm changing the primary key fields as non primary key fields. simply unchecking the check boxes. For this table there is no table maintenance generator.
But I am getting the error as
Data base object for table <Ztable> is inconsistent.
Please suggest me, how to solve this issue
Thanks.
2013 Nov 15 12:00 PM
2013 Nov 15 12:00 PM
2013 Nov 15 12:11 PM
2013 Nov 15 12:02 PM
If the entries in the table are not important then delete the entries and then try to activate.
2013 Nov 15 12:11 PM
If I delete the entries in that table, then it is possible to do?
Thanks
2013 Nov 15 12:17 PM
2013 Nov 15 12:17 PM
Hi,
Yes, delete duplicate enties in table and activate. It will get activated.
If you still face any problem then you could do 'activate and adjust database' in SE14.
Best Regards,
Abirami
2013 Nov 15 12:26 PM
Thanks Abirami
But, with out deleting the entries, is it possible to solve this issue?
2013 Nov 15 12:34 PM
Hi,
I dont think so. You could try better by taking back up of your table data and adjust in SE14.
Till duplicate entries exists, it will not allow you to activate the table.
Best Regards,
Abirami
2013 Nov 15 6:44 PM
Hi-
In your Z-Table as you have modified primary key fields to non-primary key fields. Hence there is an inconsistency in your table structure. How to overcome this error you have Activate and adjust this table in SE14.
What will happen after activating your table in SE14?
Assuming your table consists of 3 fields out of which first 2 fields are primary keys:
In below table field1 and field2 are key fields:
Field1 Field2 Field3
------------------------------
1 1 6
1 2 6
1 3 6
Now I have changed field2 as non-primary field.
Goto SE14 adjust and activate this table.
After above step if you check this table it will contain only one entry, as now field1 is the only primary key. Once you adjust your table in SE14 all these entries(other 2 records 2nd and 3rd) gets automatically deleted.
Now table will have below entry:
Field1 Field2 Field3
------------------------------
1 1 6
So be careful before adjusting your table in SE14.
Note: Deleting duplicate entries in your table will not allow you to activate your table, you have to for sure adjust your table in SE14.
-Venkat
2013 Nov 17 7:08 AM