cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

New primary key definition is invalid due to duplicate entries

JABS
Discoverer
0 Kudos
419

Hello SAP.

I am new to datasphere and trying to figure it out.

I am trying to set up an intelligent lookup as illustrated from this link: Data Marketplace and Intelligent Lookup – Part 1 (sap.com) at around 11 min. 25. sec.

I am unable to insert SalesByCityView due to entity not having any primary keys. In the link provided, it does not seem that the instructor have used priamry keys in sales_by_city at around 3 min. 54 sec.

Then, when i am trying to change set a new key in e.g. JABS_test_addresses looks like this:

JABS_1-1724238074991.png 

with the following error: new primary key definition is invalid due to duplicate entries. Tried removing all primary keys and then i am able to deploy the views or tables just fine. Though when I am trying to set a new primary key, the same error comes.

Could you please assist in, thoroughly pinpoint where the duplicate entry happens? And how can I fix it? Is it due to circular referencing between dependent objects?

Kind regards, 

Jannik

SAP Datasphere

Accepted Solutions (0)

Answers (1)

Answers (1)

Martin_Kuma
Contributor
0 Kudos

Hi Jabs, Try to specify the pairing column as CITY.