问题
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:
- Are the attribute views visible for the user you are using ?
- If you are using HANA studio try to open the analytic view descriptor with the modeler editor to see what is wrong
- 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