Symptom
When using the Data Import Service (DIS) API to import only some of the properties to a public dimension with multiple hierarchies and properties, the API deletes the content of properties and hierarchies not specified in the request body.
Environment
SAP Analytics Cloud 2024.21.10
Reproducing the Issue
- Public dimension has the following member:
- ID: Test_01
- Property1: P1
- Property2: P2
- Hierarchy: H1
- Set up import API clients and token, write the following in request body:
-
{ "Data":[ { "ID":"Test_01", "Property1":"P01"} ] }
-
- After running the import request, you will notice the dimension member is updated to the following:
- ID: Test_01
- Property1: P01
- Property2: (Empty)
- Hierarchy: (Empty)
Cause
The behavior observed is due to the current design of the Import API.
Resolution
Workaround:
- Data Export Service: Use the Data Export Service to export the actual values of the public dimension. This will help you capture the current state and ensure other properties.
- Data Import Service: After obtaining the current values which you will use to build your body to import data for Data Import Service, update only the necessary values for the specific properties you intend to change.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud > Learning > Data Connections
- SAP Analytics Cloud > Learning > Guided Playlists
- SAP Analytics Cloud > Learning > Guided Playlists > Getting Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
SAP Analytics Cloud, Data Integration, Data Import API, Public Dimension, Import, Properties, Hierarchies, Deletion, Unmapped Properties, Contrary Behavior, File Upload, Import Jobs, Connections. , KBA , LOD-ANA-ML-DI , Data Integration, Data Export API, Data Import API , Problem