SAPUI5 Getting Started (SAP HANA): Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 22: Zeile 22:


Listings:
Listings:
 
# https://github.com/mattxdev/opensap-hana7/blob/master/mta.yaml
# https://github.com/mattxdev/openSAPHANA/blob/master/mta.yaml
# https://github.com/mattxdev/opensap-hana7/blob/master/web/xs-app.json
# https://github.com/mattxdev/openSAPHANA/blob/master/web/xs-app.json
# https://github.com/mattxdev/opensap-hana7/blob/master/web/resources/index.html
# https://github.com/mattxdev/openSAPHANA/blob/master/web/resources/index.html





Version vom 16. November 2020, 11:34 Uhr

This page contains basic knowledge on how to start with SAPUI5 development on SAP HANA development stack.

SAPUI5 Micro Service

SAPUI5 libraries can be used from the public SAPUI5 libraries.

Since SAP HANA 2.0 SPS 03 XS Advanced is capable of providing a micro service itself for local consumption.

A local micro service can be created either in XS Advanced Cockpit at

  • HANAExpress -> development space -> Services -> Service Marketplace -> sapui5_sb

or via command line with:

xs create-service sapui5_sb sapui5-1.52 openSAPHANA_00-ui5

The service has to be added in:

  1. mta.yaml -> Create new resource and add it to modules
  2. xs-app.json -> Use replace capability of app router to insert UI5 service URL dynamically
  3. index.html

Listings:

  1. https://github.com/mattxdev/opensap-hana7/blob/master/mta.yaml
  2. https://github.com/mattxdev/opensap-hana7/blob/master/web/xs-app.json
  3. https://github.com/mattxdev/opensap-hana7/blob/master/web/resources/index.html