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.

hana-xs
Filter by
Sorted by
Tagged with
0 votes
0 answers
167 views

How to migrate a SAP CAP tenant-mode: dedicated app to a tenant-mode: shared one?

According to SAP CAP document adding multi tenancy is simple: https://cap.cloud.sap/docs/guides/multitenancy/ cds add multitenancy Should already do the trick. Ok first of all there is a bug in usage ...
user3783327's user avatar
0 votes
0 answers
88 views

Reset Git Server Credentials

I am attempting a Push in HANA XSA, and getting an authentication failure. I am following steps from a tutorial https://developers.sap.com/tutorials/xsa-ml-e2e-github-mta.html . I am the admin of the ...
THR's user avatar
  • 1
1 vote
1 answer
2k views

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....
M.Morris's user avatar
  • 147
0 votes
1 answer
157 views

create procedure dynamic in HANA XS

I am trying to "translate" the following command into dynamic SQL to be used in a procedure: SELECT *, 'IDS' AS SYSID FROM MODE_TEST.USR02 Can someone help with this question? I am facing ...
anita fernandez's user avatar
0 votes
1 answer
46 views

How transpose array of mixed data in efficient way in HANA XS / Javascript

I have to transpose data of a HANA table into an array on which to create a json model, so I've got an array like: [COLOR, TYPE, INFO, DAY, VALUE] COLOR, TYPE and DAY is the Primary Key and period is ...
Umberto's user avatar
  • 41
0 votes
1 answer
619 views

List Binding is not bound against a list for XSODATA service

I have dropdown list, this consume a xsodata service in my app SAP UI5. This service working in local mode in SAP Web IDE Rest Full, in the deploy proccess I haven't error but when I test my app ...
Gme Moreno's user avatar
3 votes
1 answer
2k views

'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 ...
user2605996's user avatar
0 votes
1 answer
405 views

Used HANA XS to create a HANA DB and expose it via OData - unable to POST using Postman

I used HANA XS on SAP Cloud Platform Neo to create a HANA DB and expose it via OData - unable to POST using Postman. I get a 400 - Bad Request - "Syntax error at position 0." Here is the .xsodata ...
scurry's user avatar
  • 19
0 votes
2 answers
2k views

How to upgrade SAP HANA XS Node.js Engine

Version of node.js engine v8.x in SAP HANA XS. But when I make this value 10.x I get the error. The package.json in the Node.js application looks like this: { "name": "server", "...
Avare Kodcu's user avatar
0 votes
0 answers
717 views

Fiori Launchpad error "Refused to execute inline script ..."

I created a new "SAP Fiori Launchpad Site Module" inside of an "Multi Target Application" project from the WebIde on "SAP HANA© XS Advanced Runtime on premise" (docker image store/saplabs/...
WebEnd's user avatar
  • 1
0 votes
1 answer
865 views

Sharing HDI container in MTA XSA application

I have some experience developing in the xs classical apps in the SAP Cloud platform neo evironment. And plan to migrate to xsadvanced in the cloud foundary landscape. I have a few fundamental doubts ...
anil keshav's user avatar
1 vote
1 answer
1k views

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 ...
André Shevantes's user avatar
0 votes
1 answer
449 views

return updated object in xsodata update operation exit

I was wondering if it was possible in SAP HANA to update an entity with an xsjslib file and return the updated object. Currently, when updating an entry, it returns '204 - No Content'. Sample of ...
Matthijs Mennens's user avatar
2 votes
0 answers
669 views

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 .../...
cabay's user avatar
  • 41
0 votes
1 answer
1k views

Dynamic tile in Fiori launchpad in HANA XSA. How?

How can we create a dynamic tile in Fiori launchpad module in HANA XSA. Can you please share some link or documentation. Thanks, Shivam
Shivam Bedwal's user avatar
0 votes
1 answer
238 views

How to use oData interface options with Avro similar to JSON format for exposing the data

I have created an XSOdata service in SAP HANA and the external system needs in AVRO format rather than JSON format. JSON format looks like below with a link and its developments on a HANA Calculation ...
Nachappa's user avatar
0 votes
2 answers
2k views

Replicating XML data from a source into SAP HANA Table

I have been asked this question many times that how can I replicate data from a source with XML format into HANA tables. I have actually done the opposite of it i.e. converting data from HANA CV into ...
Sarthak Srivastava's user avatar
0 votes
1 answer
803 views

Not able to establish database connection -dberror(Connection.prepareStatement): 258 - insufficient privilege: Not authorized

I am new to SAP Hana cloud environment and was trying to learn sentiment analysis using Hana cloud platform. I am using the following code in my .xsjs script : var body = "error"; var data = { ...
Aayush's user avatar
  • 1,254
0 votes
0 answers
689 views

Failed to Load resource: the server responded with status 404 (not Found) during BUILD of a Hana DB Module

I am trying to create synonym in SAP WEB IDE. I created a new multi tenant project and also added a SAP HANA DATABASE MODULE under it. For creating a Synonym, I followed below steps: 1) I have ...
user3298144's user avatar
1 vote
1 answer
326 views

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 ...
Shivam Bedwal's user avatar
2 votes
1 answer
2k views

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?
Shivam Bedwal's user avatar
0 votes
1 answer
981 views

How to create a new table in database using sapui5?

I'm looking for your help. I created a webapp. Here I can create a table and control entries. Now I'm in frustration because I have no idea how I can save this table to database. Here is the save ...
Arthur Gewert's user avatar
1 vote
1 answer
844 views

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 ...
RawMVC's user avatar
  • 123
0 votes
1 answer
2k views

xsjs $.hdb.getConnection undefined

I'm trying to do some exercises, like this one: https://blogs.sap.com/2016/03/28/developing-with-xs-advanced-add-business-logic-with-nodejs/ In that exercise, there is this code snippet: function ...
xOCh's user avatar
  • 1
0 votes
2 answers
4k views

XSCRON for scheduling a xsjob

I need a XS Cron to schedule a job for every second Tuesday of every month. I have a Cron which is "* * * tue 12 0 0"; it states that the job is scheduled for every month every tuesday to run at 12. ...
RenitaR's user avatar
  • 26
0 votes
1 answer
1k views

get record by Id XSJS

I'm new to xsjs, i know to retrieve data from db(HANA db) we need to use prepare statements. I tried using it but any how my .xsjs file is returning me empty JSON. can some one help me? Sharing my ...
Prasanna's user avatar
  • 1,751
0 votes
1 answer
3k views

SAPUI5 - how to set value to input parameter in binding dynamically

In my XSOData service I have an entity based on calculation view with input parameters. I can to set these parameters as constants in my XML view, i.e. <List items="{dicts>/AncParams(...
Lev83's user avatar
  • 41
1 vote
0 answers
936 views

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" ...
Heer's user avatar
  • 43
2 votes
1 answer
1k views

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 { ...
Bryan Avila Araya's user avatar
1 vote
1 answer
67 views

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). ...
mcerne's user avatar
  • 23
0 votes
0 answers
731 views

passing authentication parameters to xsjs

We have SAP HANA 1.0 SPS12. We are using xsjs for sending email alerts. We have below URL of same - https://localhost:4300/ALERTS/TEST.xsjs?id=1&name=abc id and name are parameters which will be ...
Anirudh D's user avatar
  • 191
2 votes
1 answer
440 views

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 : ...
TheRadianer's user avatar
1 vote
1 answer
644 views

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 ...
Bram Hendriks's user avatar
0 votes
0 answers
671 views

SAPUI5 OData Select

currently i am facing issues with my xsodata service. It is created based on HANA calculation view. It has one collection with about 40 properties. I want to use filters and the select system query. ...
Bendit's user avatar
  • 21
1 vote
0 answers
320 views

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 ...
Jasper_07's user avatar
  • 2,463
0 votes
1 answer
3k views

SAPUI5 OData Binding not refreshing on route navigation

For a SAPUI5 app I created an OData service having an entity "Enquiries". The service itself works fine. In order to build a first SAPUI5 app on top of that service, I took the Walkthrough to get the ...
Nils's user avatar
  • 94
3 votes
1 answer
520 views

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's user avatar
  • 125
0 votes
1 answer
56 views

Convert HANA XSC app into Mobile app?

Is it possible to convert HANA XSC that runs XSJS and OData services into a hybrid app? Cordova framework converts UI5 apps into a hybrid app. But my concern is to convert app that uses HANA ...
Manjunath's user avatar
  • 125
0 votes
1 answer
186 views

Bind Association XSOData in UI5?

Let's say I have Employee entity associated with Address entity in XSOData and I want to bind them to a single control - StandardListItem. How to achieve this? <List id="EmployeeList" headerText="...
Manjunath's user avatar
  • 125
-1 votes
1 answer
867 views

Does SSO authentication on SAP HANA 2 with XSA and Azure Active Directory as IDP really work?

I am testing the SSO authentication on SAP HANA 2 with XSA and Azure Active Directory (AAD) as IDP, and the result is quite discouraging. Even if the configuration of the systems is simple, the ...
dtosato's user avatar
  • 129
1 vote
0 answers
167 views

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 ...
Yasin's user avatar
  • 51
0 votes
0 answers
948 views

How to use XSOData with sapui5

I'm trying to configure XSOData service with my SAPUI5 application. simple odata service working fine. but when with XSOData i've some authentication problem. metadata file return me some sort of ...
user avatar
-1 votes
1 answer
467 views

How to bind xsodata in sapui5 table?

I am trying to bind xsodata in sapui5, but i don't know how to instantiate xsodata model in it . Also, is it possible to perform create and update operation with the help of xsodata in sap hana ...
NEHA CHOUDHARY's user avatar
0 votes
0 answers
439 views

How to debug HANA XSJS using eclipse?

Can some please help me how to add debugger to eclipse for debuffing xsjs file? I looked into lot of blogs but no success. Thanks
user557657's user avatar
1 vote
1 answer
225 views

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 ...
lacexd's user avatar
  • 923
0 votes
1 answer
1k views

How to access XS server of multitenant database with same host name and system number

Tenant HANA database installed in same host. All tenant database has same host name and system number i.e. 00. To access XS server we follow link http:/<hostname>:80<instance> since for ...
sanket's user avatar
  • 1
0 votes
2 answers
4k views

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 ......\...
eigschpee's user avatar
  • 440
3 votes
1 answer
2k views

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 ...
polaris's user avatar
  • 339
0 votes
1 answer
397 views

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?...
Houssem's user avatar
  • 23
0 votes
2 answers
2k views

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 ...
Louis's user avatar
  • 11