Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SAP HANA XS Classic model *It provides the HANA web based
workbench to develop the entire
Run time environment which runs the applications without using/installing
application development tools
Maintain the hierarchy package structure while creating the applications
1. Create the root package(Use company’s DNS as root application development folder)
2. Create application descriptors(the root point in the package from which content can be
served to client requests & check the whether the application is permitted to expose the
data to client requests)
3. Secure the application
Application Descriptors:
- The package which contains the .xsapp file becomes the root path of the resources exposed by
the application we develop.
- Make sure that the folder containing the .xsapp application descriptor file also contains
an .xsaccess file, which controls access to the application.
- The application-descriptor file has no name and no content; it only has the file
extension “xsapp”, for example, .xsapp.
- The application root is determined by the package containing the .xsapp file. For example, if the
package sap.test contains the file .xsapp, the application will be available under the
URL http://<host>:<port>/sap.test/. Application content is available to requests from users.
.xsaccess file:
}
{
“authorization”:[“<package.path>::Execute”,
“<package.path>::Admin”]
The authorization keyword requires a corresponding entry in the .xsprivileges file, for
example, execute for basic privileges or admin for administrative privileges on the specified
package:
"authentication" :
"method": "Form"
},
"sap.xse.test::Execute",
"sap.xse.test::Admin"
],
[{
"source": "/entries/(\\d+)/(\\d+)/(\\d+)/",
"target": "/logic/entries.xsjs?year=$1&month=$2&day=$3"
} ],
[{
"extension":"jpg", "mimetype":"image/jpeg"
} ],
"enabled" : false
},
"enabled": true,
"customHeaders":
[{
"name":"X-Frame-Options","value":"SAMEORIGIN"
}]
}
Persistent model
Consumption model(exposed to
(defines schema, table, sequences, client application and users for
view that specifies what data make analyzing the data & displaying the
accessible for the consumption data in appropriate form)
model by XS application and how)
. The way you design and develop the database objects required for your data model depends on
whether you are developing applications that run in the SAP HANA XS classic or XS advanced run-
time environment.