how to reproduce an analytic view in SAP HANA database using the .analyticview xml descriptor file?

你离开我真会死。 提交于 2019-12-08 01:48:51

问题


I am trying to reproduce an analytic view that have already been modeled in one project within another project using the .analyticview XML file descriptor.

I managed to reproduce the required attribute views by copying and activating the .attributeview xml files to the new project. But when trying to activate the .analyticview I am getting an error saying:

Internal deployment of object failed;Repository: Encountered an error in repository
runtime extension;Model view/data not consistent:Deploy Model: Empty XML read from 
Repository for Dimension URI /path_to_attributeView/attributeviews/ITEM

Obviously the problem is that the analytic view is not able to read the attribute views. So, I tried to edit the path pointing to the attribute views in the .analyticview xml manually, I tried:

  • using relative paths ./attributeviews/ITEM since the attribute views and analytic view files are in the same folder.
  • using absolute path, considering that the folder structure of the repository workspace is folder1/folder2/data/name.attributeview I added this path to the file but still getting the same error.

Could you please check what's wrong?

Thanks


回答1:


Few things:

  1. Are the attribute views visible for the user you are using ?
  2. If you are using HANA studio try to open the analytic view descriptor with the modeler editor to see what is wrong
  3. It will be useful to attached the analytic view xml itself.


来源:https://stackoverflow.com/questions/18916045/how-to-reproduce-an-analytic-view-in-sap-hana-database-using-the-analyticview-x

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!