(DI-1711) Installation / Configuration / Upgrade guide
How to setup HANA XS application
For delivery of HANA XS application standard delivery unit (DU) is used.
Prerequisites for installation
- access to an SAP HANA system
- assigned the SAP HANA sap.hana.xs.lm.roles::Administrator user role
- Open HANA Application Lifecycle Management
- using link: http://<host_address>:80<instance_number>/sap/hana/xs/lm
- using link: http://<host_address>:80<instance_number>/sap/hana/xs/lm
- Import Delivery Unit
- Navigate to Products → Delivery units
- Click Import and find delivery unit package in your file system
- Click Import and then confirm with import button
- Application is successfully imported
- Navigate to Products → Delivery units
Create database users
For successful configuration two kind of users needs to be created. First user will be dedicated to connection from SAPUI5 application, second from indexing agent to SAP HANA XS server.
User roles
User role | Description |
---|---|
dvd.filesearch.roles::user | Used for connection from SAPUI5 application to XS server, only reading access is allowed |
dvd.filesearch.roles::agent | Used for connection from File indexing agents to XS server, modification operation are allowed |
If you are using multiple File indexing agent, we strongly recommend to create dedicated database user for each agent.
How to add destination to SAP Cloud
- Log in into your SAP Cloud platform account.
- Create database user that will be used in destination and assign role 'dvd.filesearch.roles::user'
- Navigate to SAP HANA / SAP ASE → Databases & Schemas and chose dedicated database
- Click on SAP HANA Web-based Development Workbench
- Login with user with administrator rights
- Click on Security tile
- Right click on Users and chose New user
- Assign role 'dvd.filesearch.roles::user' to created user
- Set initial password
- Save user
- Log in with user and initial password and set production password
- User is ready to use for destination
- Create new Destination to HANA XS server
- Fill in all necessary connection details
- As authentication chose BasicAuthentication
- Use user and password that you created at beginning of this step list
add additional parameters:
Parameter Value odata_xs /dvd/filesearch/
- As authentication chose BasicAuthentication
- Check created Destination
How to import and setup SAPUI5 application to SAP Cloud platform
- Log in into your SAP Cloud platform account.
- Open SAP Web IDE
Services → SAP Web IDE - Import file into SAP Web IDE
- Chose File → Import → From File System
- Find zip file with application and chose path where application should be imported
- After successful import new directory should be added into your SAP Web IDE
- Chose File → Import → From File System
- Deploy application
- Right click on root directory of imported application → Deploy → Deploy to SAP Cloud Platform
- Now you have to options:
- Deploy a new application (if you are doing initial setup)
- Update an existing application (if you are doing update of already deployed application)
- Deploy a new application (if you are doing initial setup)
- After successful deployment you will obtain link to application
- Right click on root directory of imported application → Deploy → Deploy to SAP Cloud Platform
- Change default location of oData service for deployed application
- Return back to SAP Cloud platform Cockpit and navigate to HTML5 Applications
Applications → HTML5 Applications
- Click on deployed application name and in application details change mapped Subaccount Destination to destination to HANA XS server setup-ed before and save
- Now your application should be fully working from link that you gather in this step list
- Return back to SAP Cloud platform Cockpit and navigate to HTML5 Applications