Hi there,
I am currently playing around with the HANA Development Studio in Eclipse.
I created my own Databasetable in my own Scheme:
ZHemp.ZHempXSProject::ZHempMaterial
Now I am trying to query data from that table in a xsjs file:
$.response.contentType = "text/html";
var output = "Hello" <br><br>\n";
var conn = $.hdb.getConnection();
conn.executeQuery('SELECT "MaterialNumber" FROM "ZHemp"."ZHempXSProject::ZHempMaterial"');
$.response.setBody(output);
When I comment out the executeQuery line, everything works fine and I get an html page with the content "Hello".
But when I run it as it is, I only get a "500 - Internal Server Error".
Any Idea?
Thanks,
Bodo