Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hi All,How2 delete a pkey for std table and add 2 new primary keys

Hi All,

How2 delete a pkey for std table and add 2 new primary key fields .Please provide me the required procedure .

Thanks&Regards.

Bharat.

Former Member
Former Member replied

The primary key fields on any standard table will be used in SAP programs, Transactions, view, etc. Changing them in any way will break the SAP code.

If you need data access by a different key - set up an index. Do not change the key.

As another alternative - set up a Z table with the new key you want, and with data fields that include the SAP primary key - you can then use "JOIN" between this and the SAP table to read the data.

Post details of which table you want to do this to and why, to see what others have to say about other ways of achieving your result.

Andrew

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question