SAP Knowledge Base Article - Public

2601441 - Error Occurs When Saving Cloud Data Source

Symptom

While saving the Cloud Data Source, an error message appears stating: ‘A key for master data is required.

Environment

SAP Cloud for Customer Core Applications

Reproducing the Issue

  1. Navigate to Business Analytics.
  2. Go to Design Data Source and select Edit.
  3. Create a Cloud Data Source.
  4. Select the characteristics required in the data source.
  5. Select the field that you want to set as “Key for Master Data”.
  6. Observe that an error message appears at the bottom of the page.

Cause

This behavior is expected. The “Key for Master Data” field can only be assigned to characteristics that do not have any Referencing Data Source information maintained.

Resolution

The purpose of creating a Cloud Data Source with usage as Master Data (with or without description) is to enable other Transactional Data Sources to reference it, using the characteristic marked as Key for Master Data.

Example:

Create a Cloud Data Source of usage Master Data, e.g., CDS1, and mark one of its characteristics as Key for Master Data.
Create a second Cloud Data Source of usage Transactional Data, e.g., CDS2.

In CDS2, you can reference CDS1 and use the key marked in CDS1 to populate the Referencing Data Source information for the characteristic in CDS2.

Important Note:
A characteristic cannot have both Referencing Data Source information and be marked as Key for Master Data at the same time. This restriction ensures proper data source relationships and avoids conflicts.

Keywords

Cloud Data Source, Analytics, Key for Master Data , KBA , AP-RC-ANA , C4C, ByD, Travel: Analytics Tools & Frameworks , How To

Product

SAP Cloud for Customer core applications all versions