Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issues while changing primary key in table

Former Member
0 Likes
776

Hi

I have one table. In that two fields are primary key. I want to change the second PK as FK only. But when i am changing this field as FK. Its showing one error 'Primary Key Change not permitted for value Table ZCAUSECATMASTER' . How to avoid this error.

Please help me.

1 ACCEPTED SOLUTION
Read only

raja_narayanan2
Active Participant
0 Likes
667

Hi.....

Remove that primary key for the second field and assign your foregin key..table to that filed.....

So when you give entries in that second filed it will be validated with its foregin key table......its nothing but check table...

what all values in the foregin table only can given.....

regards

raja

3 REPLIES 3
Read only

Former Member
0 Likes
667

Hi,

Goto se14 and Adjust & activate the table there....

Regards

Karthik D

Read only

raja_narayanan2
Active Participant
0 Likes
668

Hi.....

Remove that primary key for the second field and assign your foregin key..table to that filed.....

So when you give entries in that second filed it will be validated with its foregin key table......its nothing but check table...

what all values in the foregin table only can given.....

regards

raja

Read only

Former Member
0 Likes
667

Hi,

remove that PK field from the table,activate this table and again declare that field.

In that way it will work.

Regards,

Amit