I have created a custom table as a data dictionary object in SE11. I have the following fields :
- ID (KEY Field )
- NAME (KEY Field )
- DEP (KEY Field )
- DESIGNATION
I have activated the table and also generated a table maintenance generator but after some time, I think Field DEP is not required as a key field so I unchecked it as a key field and then again I try to activate my table I am getting this error :
There another table with a foreign key reference to Z_EMP_2410. When this is the case, you are prevented from changing a primary key. Remove this foreign key or keys from Z Tables first. Then try re-Activate the Z_emp_2410 again. Once Z_emp_2410 is activated, you can re-add the foreign key/s in Table z_? pointing to Z_EMP_2410 if it is still appropriate.