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
6
votes
2 answers

SAP HANA XS File upload with UI5

I'm trying to implement a file upload in a UI5 application on a HANA XS Server. I can't find many informations how to do that - somebody got an idea?
user2345998
  • 649
  • 13
  • 31
5
votes
1 answer

Dynamic URLs in HANA XS

I'm trying to implement simple product catalog using HANA XS Javascript. Pages of the catalog should be rendered on the server side. How can I handle "dynamic" URLs based on data read from HANA database? For example,…
Fedor
  • 1,392
  • 1
  • 17
  • 30
4
votes
1 answer

How to print from XSJS to Console

I have some code in XSJS to populate/Update my Hana DB based on some conditions. I am looking for a mechanism where I can print few comments to console or to some log file. I know i can use console.log(); for normal javascript on web browser but it…
Raghuveer
  • 1,413
  • 3
  • 23
  • 39
3
votes
1 answer

'Unable to build destination for service binding' with SAP Cloud SDK JS app

I'm trying to build an OData client on SAP CF that would connect and get content from S4 on-prem system. I have followed this tutorial: https://developers.sap.com/group.s4sdk-js-cloud-foundry.html I have not created and deployed a custom destination…
3
votes
1 answer

Use Node JS module in HANA trial account

How to enable node js module for HANA XSA in HCP? BTW, It is not under Tools --> Preferences --> Feature where in I enabled JAVA development. Thanks in Advance.
Manjunath
  • 125
  • 1
  • 1
  • 8
3
votes
1 answer

is possible to import external libraries to an xsjs or xsjslibfile?

I'm new to xsjs and xsjslib and my task seems to involve using xsjs files and possibly xsjslib files too. Here is the app I'm building: A user enters some inputs on the front end, clicks a button and a job gets scheduled to run later in the day. The…
polaris
  • 339
  • 2
  • 14
  • 33
3
votes
1 answer

Mailgun in .xsjs

is there a way to send an email via Mailgun with html page as its content that is longer than ~2000 characters? I have this code, that works perfectly for short html as I believe it is sent in URL address: var obj = $.request.body.asString(); …
2
votes
0 answers

Component.js not found - when run from XSA launchpad

I have issue with link sapui5 app to the launchpad. I was able to add tile and display it, but when I try to run it, error is logged to the console: Error: failed to load '.../Component.js' from .../Component.js: 404 - Not Found I think that I…
cabay
  • 41
  • 5
2
votes
1 answer

How to deploy Fiori Launchpad on HANA XS running with HANA DB?

If the system landscape has HANA XS running in HANA DB, is it possible to deploy FIORI launchpad in the landscape?
2
votes
1 answer

HANA Express XSODATA update operation error

I have a SAP HANA Express Server with XSA, I create a MTA Application with a DB and NodeJS modules, in the NodeJS module I create a .xsodata connected to the DB module. XSOdata definition: service { //Definición de servicios …
2
votes
1 answer

xsodata: converter[index] is not a function

I have two entitys in hdbcds: context PyramidDB { entity PipelineType { key TypeName : String(200) not null; Displayname : String(200) not null; Description : String(300); }; entity PyramidType { …
TheRadianer
  • 57
  • 1
  • 7
2
votes
2 answers

OData vs XSJS in SAP Hana Development

I am developing an application using SAP Hana studio and I am confused on why I would use XSODATA and why I would use XSJS. Why can't I just use a XSODATA file to perform all of my database transactions? I get XSJS is server-side, but if I am doing…
SAPUI5GUY
  • 71
  • 1
  • 2
  • 10
2
votes
1 answer

How to pass in multiple parameters as entity on xsodata call?

var dataURL = "urlTo .xsodata file"; var oModel = new sap.ui.model.odata.ODataModel(dataURL, true); var products = new sap.ui.model.json.JSONModel(); oModel.read("/input('"+input+"')/Results/", null, null, true,…
polaris
  • 339
  • 2
  • 14
  • 33
2
votes
1 answer

How can I connect to my hana xs service and consume it as oData in my ui5 project?

my aim is to create an oDataModel and consume my services. I can see my all entities under this url : https://s12hanaxs.hanatrial.ondemand.com/account_name/schema_name/service_name.xsodata/ with my trial account. I followed these steps to create…
melomg
  • 737
  • 3
  • 20
  • 39
2
votes
3 answers

How to use external jar library in a SAP HANA XS project

I am trying to make an XS project in HANA which will use some of the classes and methods that can be found in a .jar file. These classes and methods will do some calculations and present it to the user in the UI. The question is: How do I access…
hana_fan
  • 21
  • 3
1
2 3 4 5 6