on 2024 Jul 03 9:44 PM
Hi,
I'm working with an MTA (multi-target application) within an on-premise HANA XSA with WebIDE.
In my project I have a db module with a .hdbprocedure artifact and I'm trying to run it from a xsjs module.
In the xsjs module, I created a country.xsjs where I try to run the procedure. The code is like below:
var conn = $.hdb.getConnection();
var fnCreateCountry = conn.loadProcedure("TINYWORLD_HDI_TINYDB_1","tinyworld.tinydb::createCountry");
var result = fnCreateCountry();
conn.commit();
conn.close();
The problem when I run the country.xsjs I get the error below:
It seems that it is not finding the loadProcedure under $.hdb.getConnection...
I`m using HANA 2.0 SPS 07.
I did the exactly tinyworld exercise from the HANA developer guide:
SAP HANA Developer Guide for XS Advanced Model (SAP Web IDE) | SAP Help Portal
Appreciate any help on this.
Best Regards,
Thiago
#WebIDE, #HANA XS Advanced, #XSJS
don't waste time on xsjs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
12 | |
11 | |
10 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.