XS Engine database access
Accessing the database itself from within an XS Engine application is done simply, from JavaScript. In this section, we'll take a look at what needs to be done on the backend to get this to work.
The first thing that SAP HANA requires in order to give access to the database is that a user should be logged into the system. For that reason, the authentication-less application we've just built cannot be used as-is for database access.
You, therefore, have two options at this point:
Use the application skeleton we've just built as a template for new applications, and copy it to initialize applications as you create them
Modify the application we've just made, building upon it and adding more features as we go
The option you choose is really up to you. If you will be building a great deal of XS Engine applications, it can be interesting to have a basic template you use (especially if you need to create and use an HTML template, maybe with some images and company-specific...