on 10-23-2015 9:21 AM
I am using this code to call store procedure but when I execute .xsjs I get this error:
Found the following errors:
===========================
ReferenceError: reference to undefined property $.hdb (line 5 position 0 in /s0015145715trial/development/machines/services/MachinesJSON.xsjs)
Code:
5. var conn = $.hdb.getConnection();
6. var getResult = conn.loadProcedure("_SYS_BIC", "s0015145715trial.development.machines.data.storeProcedure::machines");
7. var result = getResult("param1","param2");
8
9. $.response.contentType = "application/json";
10. $.response.status = $.net.http.OK;
11. $.response.setBody(JSON.stringify(result));
12. $.response.headers.set('access-control-allow-origin','*');
Hello Matej,
according to the mentioned hostname (s9hanaxs) you are on the HANA trial instance of the HCP trial. The SPS level of the trial instance is still SPS08. The new database interface ($.hdb) was introduced with SPS09. Therefore it is not available in your system and cannot be used at the moment.
According to different people from SAP the trial instance SPS level should be updated. But there is no official concrete date. Check also post
Best Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.