Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor
0 Kudos
I want to write a simple application and compare the tasks to deploy it on XSA (SAP Cloud Platform is similar) and using the HanaAppContainer.

At the end you will understand why deploying the application in XSA is a matter of an hour compared to the two minutes using this Open Source initiative.



The goal is to show the contents of a Hana table in a UI control in such a way:


The corresponding html code is this:
<meta http-equiv="X-UA-Compatible" content="IE-edge" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Show all Hana Users</title>
<script src="/openui5/resources/sap-ui-core.js"
id="sap-ui-bootstrap" data-sap-ui-libs="sap.m,sap.ui.table"
var oModel = new sap.ui.model.odata.v4.ODataModel( {
"groupId": "$direct",
synchronizationMode : "None",
serviceUrl : "../../odata/SYS/USERS/"
} );
var oTable = new sap.ui.table.Table(
{ title: "List all database users" }
oTable.addColumn(new sap.ui.table.Column(
{ label: "Name", template: "USER_NAME" }
<body class="sapUiBody">
<div id="uiArea"></div>


Deploy in XSA/CF

Now the question is, what needs to be done in XSA/CF to show this screen? SAP provides tutorials for that, how to configure a space and how to build a first application.


Deploy in HanaAppContainer

What needs to be done when using the HanaAppContainer approach?

Open the Design Time Browser, add the index.html file and we are done.


When opening the URL HanaAppContainer/protected/hanarepo/RTDI/index.html the first time, the Hana database user/password is asked and then our application is shown.


From a functionality point of view both deployment options result in the same capabilities. Multi-Tenancy, Multi-User, scaling,...


all posts tagged "HanaAppContainer"
Labels in this area