SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

SAP HANA Native, Create a User Interface with the Cloud Application Programming Model

Use services based on Node.js and use an SAP Fiori wizard to create a user interface.

Overview

🎓 beginner 20 min. SAP HANABeginnerExpress Edition

You will learn

  • โœ”How to create an HTML5 web interface
  • โœ”How to configure the approuter
Thomas Jung T Thomas Jung November 1, 2022
Created by July 25, 2019
Contributors

Prerequisites

Prerequisites

  • This tutorial is designed for SAP HANA on premise and SAP HANA, express edition. It is not designed for SAP HANA Cloud.
  • You have created a Multi-Target Application using the Cloud Application Programming Model.
  • You have created database artifacts and loaded data as explained in this tutorial.

Steps

Step 1 Build the services
โ€”

Return to the code editor and right-click on the srv folder. In the file interaction_srv.cds you created the definition for two read-only services that expose the header and items entities in your database module.

Choose Run > Run as Node.js Application.

Run as Node.js application
Run as Node.js application

You will see the run console shows the progress. Once the application is running, click the URL to open the service.

Run as Node.js application
Run as Node.js application

You should see the list of entities you exposed.

Run as Node.js application
Run as Node.js application

You can click on the entities to see the values in a JSON format.

Step 2 Test the services
+
Step 3 Configure routing
+
Step 4 Edit the deployment descriptor
+
Step 5 Create a quick and dirty web interface
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Build the services 2. Test the services 3. Configure routing 4. Edit the deployment descriptor 5. Create a quick and dirty web interface

Learn more →