SAP Knowledge Base Article - Public

2601441 - Error while saving Cloud Data Source

Symptom

When saving the cloud data source an error message is noticed saying "a key for master data is required".

Environment

Cloud for Customer

Reproducing the Issue

  • Go to Business Analytics.
  • Go to Design data source an select "Edit".
  • Create an Cloud Data Source.
  • Select the Characteristics which you need in the data source.
  • Select the field which you want to set as "Key for Master Data".
  • Error is noticed at the bottom of the page

 

Cause

This behavior is expected. The field Key for Master Data can only be set for those characteristics which do not have Referencing Data Source information filled.

Resolution

The purpose of creating a Cloud Data Source having usage as Master Data(with or without description) is to enable other Transactional data sources to use this data source & the characteristic marked as Key for Master Data as a Referencing Data Source of their own. Consider the below example for better understanding :-

You can create a cloud data source of usage Master Data, CDS1, and mark one of its characteristics as Key for Master Data. Now, you can create a 2nd cloud data source of usage Transactional Data, CDS2 & then use the data source CDS1 & the key marked in CDS1 for filling the Referencing Data Source information in characteristic of CDS2. Hence, having both referencing data source information as well as marking Key for Master Data source cannot be allowed at the same time for a characteristic

 CDS1 = Cloud Data Source 1
 CDS2 = Cloud Data Source 2

Keywords

Cloud Data Source, Master Data Key, Error in Cloud Data Source , KBA , cloud data source, key for master data , AP-RC-ANA , C4C, ByD, Travel: Analytics Tools & Frameworks , How To

Product

SAP Cloud for Customer add-ins 1802 ; SAP Hybris Cloud for Customer add-ins 1711