2020 Jan 22 4:24 PM
how do I insert data into a custom database even if the primary keys are the same (from a report).?
how do I insert data into a custom database even if the primary keys are the same (from a report).?
2020 Jan 22 4:34 PM
2020 Jan 22 4:46 PM
A primary key is unique for each record.. it defeats the purpose if you'd like to insert duplicates..
2020 Jan 22 4:53 PM
Insert help can provide you with correct syntax but you can use command Insert accepting duplicate keys
2020 Feb 01 8:52 AM
ACCEPTING DUPLICATE KEYS just means that the insert doesn't dump. It does not insert records with duplicate keys.
2020 Jan 22 7:37 PM
nick.reyan,
You should not do that, it contradicts the primary key concept completely.
Recommend you to add all those fields that can represent a unique entry when combined as primary key. By this you can both adhere to the table standards and preserve data as well.
Can you explain the business scenario here?
Regards!
2020 Jan 31 4:46 PM
nick.reyan Please check out this tutorial about asking questions in SAP Community, it helps you and other community members who need help by other community members.
Thanks and best regards
Mynyna ( SAP Community moderator)