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
1
vote
1 answer

ODataModel error: Invalid metadata document (Initial loading of metadata failed)

I'm trying to read an OData but I'm getting this error and I don't understand why: The function which I invoke is the below: _getHanaData: function() { var xsODataModel = new sap.ui.model.odata.v2.ODataModel("/catalog/"); // ... }, As shown in…
M.Morris
  • 147
  • 1
  • 12
1
vote
1 answer

Is it true that each new user in SAP HANA is assigned a schema with the same name as the user?

It seems to be that, every time a new user is created in HANA, a new schema with the same name as the user is created too. Is this always true or this is a configurable behaviour? If this is always true, can you provide the link in the official…
André Shevantes
  • 439
  • 2
  • 5
  • 14
1
vote
1 answer

Fiori Notification center on HANA XS?

If Fiori Launchpad Site can be deployed on HANA XS directly from SAP Web IDE, then we do not need to install SAP NetWeaver for Fiori Launchpad with HANA XS? Is my understanding correct? If yes, then what would be the Fiori version and how can we use…
1
vote
1 answer

How to get the ID of an inserted record in HANA back to SAPUI5 application?

I got an SAPUI5-application in which I create entries and save them via OData-service. That works, the code for the create operation can be found below. What I have to do now is, I need the ID of the inserted record in HANA back in my application.…
RawMVC
  • 123
  • 1
  • 15
1
vote
0 answers

How to add SAP HANA:View with Input-Parameter to SmartTable XML SAPUI5

I'm trying to add a view Entity Set to a Smart table in XML but the Entityset got an Input parameter. "MYAPP.CalculationViews::FIVELEVELANALYSE" as "FIVELEVELANALYSE" key generate local "EMP_ID" parameters via entity "5LevelSYS" results property…
Heer
  • 43
  • 6
1
vote
1 answer

Cloud foundry / XSA how to make http only service

We are working on SAP XS Advanced that is based on Cloud foundry and we got into a funny situation, we need an app to be HTTP only (I know it's not secure...but our situation requires it to be HTTP). Does anyone know how to disable default…
mcerne
  • 23
  • 1
  • 6
1
vote
1 answer

HANA XS destination to Cloud Connector on a different SAP Cloud Platform Sub-Account

For combining Cloud stored data in HANA on my SAP Cloud Platform Sub-account, I use HANA XS with a connection to an On-Premise SAP ECC/ERP system. The ECC/ERP system is connected to the On-Premise Cloud Connector. This Cloud Connector is connected…
1
vote
0 answers

Get a list of users current scopes

I have an XSA SAPUI5 app which is used in a workflow scenario by 2 roles data capturer data approver scopes and roles for each defined in xs-security.json I want to determine which scopes a user has, i can do that in an api by calling…
Jasper_07
  • 2,453
  • 2
  • 18
  • 23
1
vote
0 answers

SAP Hana integration with Business One user Accounts Login

I have a basic problem with SAP Hana and Integration of it with B1. I have developed a project for loading data from B1 using calculation and attribute views accessed by xsodata services, and also Insert and Update using xsjs services. Now I want to…
Yasin
  • 51
  • 11
1
vote
1 answer

how to save string in HANA which contains percentage sign?

I have an XSJS service where I'm saving some strings in a HANA table like oEntity.save(new oEntity(oUploadedData)) It is working fine but if there is some special character in the string like % it fails. Is there any way to escape the percentage…
lacexd
  • 903
  • 1
  • 7
  • 22
1
vote
1 answer

HANA: xsodata: Huge performance gap between first and 2nd request execution

If I expose a VIEW CREATE VIEW myView AS SELECT ... FROM ... via xsodata service namespace "oData" { entity "mySchema"."myView" as "myView"; } and GET /myView for the first time after VIEW creation the performance is very low: However: After…
Benvorth
  • 7,416
  • 8
  • 49
  • 70
1
vote
1 answer

Binding a Drop Down in SAPUI5 to list all possible values

I've been able to successfully bind a DropDown control in SAPUI5 to list values based on one model. My questions is: how do I bind a DropDown to one model that contains all possible values and one model that contains the actual value for that…
ferask1
  • 25
  • 1
  • 2
  • 5
1
vote
1 answer

Why does my HANA XS browser session not timeout on inactivity?

I have an XSJS page served by HANA. When I try to access it from a browser, I need to go through a basic authentication mechanism which is fine. So far so good. But how can I configure HANA XSEngine so that it times out my web session after I have…
Dinesh
  • 4,437
  • 5
  • 40
  • 77
1
vote
1 answer

SAP Hana SQL Type mapped to OData Edm.boolean

In the SAP HANA developer guide there is a list explaining SQL - EDM Type mapping Missing is how to map from a SQL Type to Edm.Boolean, anyone know how?
Jasper_07
  • 2,453
  • 2
  • 18
  • 23
1
vote
1 answer

xsodata service without authentication

I am trying to create some xsodata services using SAP Hana XS Engine. I have created a .xsaccess file at global folder level which has the following content: { "exposed": true, "authentication" : null } I have a services folder inside my…
Raghuveer
  • 1,413
  • 3
  • 23
  • 39