Skip to content

Added CalculationView Generator

Compare
Choose a tag to compare
@andrewlunde andrewlunde released this 13 Nov 20:38
· 13 commits to master since this release

In this minor release I've fixed some bugs like it crashing if there is a Service Manager instance but no hdi containers yet.

I've created a crude .hdbcalculationview file generator(option -cv).

Be careful of what your current directory is when you use this option as it will create(or overwrite without prompting) a file of the form VIEWNAME_CALCVIEW.hdbcalculationview in the current directory. Be sure to change into the directory where you want this file to be dropped first!

Once an hdi-container is selected, it will scan for any non-calcview views and present the in a numbered list. Enter the number of the view you want to base the calcview on. It will then loop through every field except the ID field and prompt you to designate it as an attribute or measure field. If you select measure, it will then prompt you to select an aggregation function for that measure.

Note that the output will be a valid calcview xml file that can be further modified by the SAP WebIDE visual calcview editor but should be sufficient once deployed to provide a valid target for SAP Analytics Cloud(SAC) Live Connections.

Please leave me an issue if you have trouble with this feature. -Andrew