Skip to Content
0
Former Member
May 14, 2008 at 07:56 AM

how to modify primary key fields of a custom table

6665 Views

Hi All,

I have a requirement to modify primary key fields of my custom table.It is like this I have 2 fields as primary key fields matnr and MSNCode and suppose if the record is existing withe the values as shown below.

matnr msncode location ersda

M1 X

I want to change now the above record to M1 Y(it has to overwrite X to Y).

Please suggest somebody how to do this since modify and update works based on primary key matching those statements are not useful here.

Please let me know how to do this requirement?

Regards

Mahesh