Hana Xs Engine
Hana Xs Engine
Hana Xs Engine
Qs. Is it possible to call an external service from Internet in XS application? If yes, then how?
Yes, we can call an external service from Internet. This can be achieved with HTTP Destination
(xshttpdest).
We first need to create an HTTP Destination file and provide the details of external service along
with other security and proxy details. Then we can call this destination from XSJS using
$.net.http.readDestination API.
Qs. What are the different Web-based tools available in HANA XS? How do we access them?
There are mainly 4 XS Web-based tools.
Editor: Inspect, create, change, delete and activate SAP HANA repository objects.
Catalog: Create, edit, execute and manage SQL catalog artifacts in the SAP HANA database.
Security: Manage users and roles.
Trace: View and download SAP HANA trace files and set trace levels (for example, info, error,
debug).
The URL to access these tools is: http://<WebServerHost>:80<SAPHANAinstance>/sap/hana/xs/ide
Qs. What is HANA CDS? What are the artifacts we can create using CDS?
Core Data Services (CDS) artifacts are design-time definitions. When CDS file is activated, it generate
runtime objects.
CDS can be used to create following database artifacts:
Qs. Can we call an HTTP destination from an XSJS if HTTP destination is in a different package?
No.
We must keep the HTTP destination configuration in the same package as the application that uses
it. An application cannot reference an HTTP destination configuration that is located in another
application package.
Qs. Suppose we want to create an XS application and want to make it public. User should not need
any HANA database user to access this application. Is it possible? If yes, how?
In .xsaccess file, we can set the authentication to null. After this anyone can open the application
without user id and password.