cancel
Showing results for 
Search instead for 
Did you mean: 

In SAC, using the Data Export API, how do I export the dimension hierarchies?

whl
Discoverer
0 Kudos
94

Hello everyone.

I have the Data Export working so I can export all the dimension members.   I'm using this endpoint:

/providers/{NamespaceID}/{ProviderID}/{DimensionName}Master | SAP Help Portal

I can get almost everything I need but I cannot see the hierarchies.  How do get those?  Is it from a different endpoint?  I looked through all the endpoints in the documentation it's not really obvious. I could try each in turn but I thought I'd ask before doing that.  

Thanks.

whl
Discoverer
0 Kudos
From what I can tell, it's not possible.

Accepted Solutions (1)

Accepted Solutions (1)

whl
Discoverer
0 Kudos

Looking at the blog

SAP Analytics Cloud Export Data API Sample Scripts - SAP Community

Q2: When retrieving a dimension the column 'parent' (that is used by SAP Analytics Cloud for hierarchical data structures) is not returned, why is this?

A2: The hierarchy is part of an internal hierarchy extension and doesn't form part of the data retrieval and they don't form part of the API. There are no plans to change this.

 

One of the workaround is that we'll just have to create new dimension attributes and manually copy the hierarchy values into there so it becomes data and can be exported.  It's a bit of a pain.

 

Answers (0)