I'm trying to create a XS Application. I followed the steps in this blog (http://scn.sap.com/community/developer-center/cloud-platform/blog/2013/10/17/8-easy-steps-to-develop-an-xs-application-on-the-sap-hana-cloud-platform) and it worked for the demo schema. However, when I'm using data from my own schema, it cannot find the calculation view. If I just replaced the query variable in the .xsjs file, then everything works.
I tried executing the query I'm runing in Javascript in SQL Console and this is the error I'm getting:
Could not execute 'select TOP 10 devicename, statusdata from ...' in 128 ms 670 µs .
SAP DBTech JDBC: [259]: invalid table name: Could not find table/view <account-name>.demos.fleetmgmt.FUEL_CONSUMPTION in schema <schema-name>
Does anyone know a solution that can solve the problem?
Thanks!