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 XS Advanced - Consume the OData service in a basic HTML5 module

Use SAPUI5 as a micro-service to display data from an OData service

Overview

🎓 beginner 15 min. SAP HANABeginnerBig DataHTML5OdataSapui5Express EditionSAP Web Ide
Thomas Jung T Thomas Jung November 1, 2022
Created by July 10, 2018
Contributors

Prerequisites

Prerequisites

Steps

Time to Complete

15 Min


Step 1 Remove the default scripts
โ€”

Open the file index.html under resources. You will find the default code creates a button that fades away when pressed

Default code
Default code

Remove the logic for the button

Default code
Default code

Step 2 Bind the OData model to a table
+
Step 3 Add missing libraries
+
Step 4 Add the SAPUI5 service as a dependency
+
Step 5 Adjust the AppRouter replacement
+
Step 6 Call the micro-service in your HTML file
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Remove the default scripts 2. Bind the OData model to a table 3. Add missing libraries 4. Add the SAPUI5 service as a dependency 5. Adjust the AppRouter replacement 6. Call the micro-service in your HTML file

Learn more →