Symptom
The following error is raised when importing JSON/CSN file into Datasphere space
- XXX.json cannot be imported
The object XXXX cannot be saved because it depends on following missing objects : XXXX, XXX , XXX
Environment
SAP Datasphere
Reproducing the Issue
- Create a View in Space A
- Export to CSN/JSON File
- Edit JSON File and replace Space A with Space B
- Go to Space B --> Import objects from CSN/JSON file
Resolution
- It is recommended to not modify the CSN manually
- When changing shared object to local, remove "@cds.persistence.exists": true
-
Remove the whole definition of context as well
: {"kind": "context","@EndUserText.label": "","@DataWarehouse.space.schema": "","@DataWarehouse.space.name": ""}
See Also
Keywords
space, JSON, csn object, view, cds, datasphere, , KBA , DS-MD , Modeling (Data Builder) , Problem
Product
SAP Datasphere all versions