user3373861
user3373861

Reputation: 13

Same Values unable to be inserted in SAP table

I have made two keys in the table in SAP, mandt and subject values of subject have to be repetitive. But I'm unable to insert same values. Error being shown is:

an entry already exists with the same key

This error persists even after I remove subject as the key. This may be a silly question, but I'm new to world of SAP.

Upvotes: 0

Views: 583

Answers (1)

Nelson Miranda
Nelson Miranda

Reputation: 5554

The fact that those values are keys is the issue. You must use any other field that make them non-unique.

I don't know your case but you can use another field, a sequence or a guid value.

Hope it helps.

Upvotes: 1

Related Questions