Questions tagged [hana-xs]

HANA XS (also known as SAP HANA Extended Application Services engine or XS Engine) is a lightweight web and application server embedded into SAP HANA which includes configurable OData(XSODATA) support and server-side JS(XSJS) execution.

SAP HANA Extended Application Services(SAP HANA XS) provides a comprehensive set of embedded services that provide end-to-end support for Web-based applications. This includes a lightweight SAP HANA XS web server, configurable OData support(XSODATA), server-side JS execution(XSJS) and full access to SQL and SQLScript.

The SAP HANA XS server allows clients to access the SAP HANA system via HTTP. Controller applications can run completely natively on SAP HANA, without the need for an additional external application server. The application services can be used to expose the database data model, with its tables, views and database procedures, to clients. This can be done in a declarative way using OData services or by writing native application-specific code that runs in the SAP HANA context. Also, you can use SAP HANA XS to build dynamic HTML5 UI applications.

In addition to exposing the data model, SAP HANA XS also hosts system services that are part of the SAP HANA system. No data is stored in the SAP HANA XS server itself. To read tables or views, to modify data or to execute SQLScript database procedures and calculations, it connects to the index server (or servers, in case of a distributed system). From SPS 11, SAP HANA includes an additional run-time environment for application development: SAP HANA extended application services (XS), advanced model. SAP HANA XS advanced model represents an evolution of the application server architecture within SAP HANA by building upon the strengths (and expanding the scope) of SAP HANA extended application services (XS), classic model.

84 questions
0
votes
2 answers

Error: loading ... \sapjvm_8_jre\bin\server\jvm.dll when starting xs client of HANA Express 2.0

Trying to starting XS Client of SAP HANA Express Edition 2.0 SPS01 in the command prompt on Windows 10 machine did results in following error message: ...\xsclient\bin>xs Error: loading ......\sapjvm_8_jre\bin\server\jvm.dll
eigschpee
  • 440
  • 5
  • 9
0
votes
1 answer

Git Clone timeout error in SAP HANA XS Advanced to SAP IDE

I would like to clone project from github to my SAP IDE and I am getting error. Clone request failed Request failed: Gateway Timeout URI: /che/project/workspaceoiqcdmunycarr4ky/import/tinyworld-1?force=true I add in…
Houssem
  • 23
  • 5
0
votes
2 answers

How to know the URL of my OdataService in SAP HANA?

I created an oData service within Hana Studio. I'd like to access it from a sapui5 application, but I don't even know what the url is supposed to be so I can't test it. Does anyone know how to build this url? I know you need hostname and port…
Louis
  • 11
  • 1
  • 10
0
votes
1 answer

HANA xsodata create using procedure

Trying to create xsodata via dbprocedure "X"."SHOPLIST/Header" as "Header" navigates ("ToItem" as "ItemRef") create using "X"."SHOPLIST.shoplist::create"; it says Syntax error at line: 3, column: 15. create using "SHOPLIST.shoplist::create"; it…
Kengur
  • 19
  • 4
0
votes
1 answer

Not able to run xsjs file, error: site can't be reached

I am using office network to learn SAP HANA, to connect to HANA system I have to first connect to VPN then only the HANA system gets online. I configured a simple project XS application but when I try to run it, it shows the below error : hana01’s…
Roshan
  • 645
  • 1
  • 11
  • 36
0
votes
1 answer

how to detect HANA studio environment?

I have an sapui5 code on HANA studio and would like to know how I can programatically tell if I'm in Dev, test or Prod environment. Is there a way to do this?
polaris
  • 339
  • 2
  • 14
  • 33
0
votes
1 answer

HANA XS Advanced with sap-fibers while pushing app

I got error when I push my first XS app. I took the app from GitHub (myapp1), then I added Node Modules, then I pushed it. Here my error logs: Connected, dumping recent logs for app "myapp1-xsjs" 09.03.17 12:29:29.339 [STG/4] OUT Unpacking Node.js…
Houssem Hariz
  • 55
  • 3
  • 12
0
votes
1 answer

Should I use an OData server or a custom XSJS service implemenation?

We are on a SAP HCP. For our application we need to provide a Web API. We are unsure wheather to use an OData Service or a custom XSJS service implementation for this. A few things we need to accomplish. All items also need to do a certain user…
E. Lüders
  • 1,495
  • 1
  • 12
  • 27
0
votes
1 answer

What are the similarities and differences between SAP BusinessObjects and XS Engine?

I have an application developed using sapUI5. The next step would be to host the app on a web server/application server. That being said, there are 2 options to consider: SAP XS Engine SAP BusinessObjects I'm pretty familiar with how this…
Kode_12
  • 4,506
  • 11
  • 47
  • 97
0
votes
1 answer

Connect to SAP Hana XS using http connection from JAVA

I'm trying to figure out how to connect to Hana XS using http connection from java, I've spent days searching for anything relevant on internet but couldn't find anything. I was just trying a few thing and the best i could come up with is : public…
shubham gupta
  • 321
  • 3
  • 9
  • 23
0
votes
1 answer

SAP HANA XSA Java user authentication by UAA

Can someone give me some example how to do Java (Spring) user authentication by SAP HANA UAA service on XSA? I saw many tutorial how to do it, but just for HTML5 + Node.js combo. PDF documentation is not specific about, how it works and I wasn't…
David
  • 1,510
  • 20
  • 16
0
votes
1 answer

Best way to authenticate/authorize users of a HANA application with LDAP (on-premise, not HCP)

Running HANA on-premise I want to authenticate users in my xs-application against our existing LDAP-Server. Furthermore I need to read user-related information from LDAP (like the users group) and provide this information inside of my…
Benvorth
  • 7,416
  • 8
  • 49
  • 70
0
votes
2 answers

How to bind external json data with sap.m table controls using xml view in UI5?

`I am trying to bind JSON data from an external file to my UI5 table. following is my component.js code - var oModel = new JSONModel("/businessData.json"); this.setModel(oModel); The json file is in the same folder as component.js Following is…
KEB Nelson
  • 121
  • 5
  • 14
0
votes
2 answers

Sap HANA xsodata InputParameter value with single quote

Is there way (except replacing) to pass values with special characters into xsodata InputParameters? I tried to make request like: ../ODATA_SEARCH.xsodata/InputParams(IP_TERM='O'Neal')/Results?$format=json but got an error: { "error": { "code":…
0
votes
2 answers

How to return more than one row from HANA database using XS?

I'm trying to retrieve all data from a db table into json object, like so: function getTableData() { var vals = {}; var data = []; try { var dbCon = $.db.getConnection(); var query = 'SELECT * FROM SAPPRD.ZUSERDATATAB'; var…
pokrak94
  • 198
  • 1
  • 4
  • 20