SAP

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

Thomas Jung T Thomas Jung November 1, 2022
Created on July 10, 2018
Contributors

More from Thomas Jung

See all 228 tutorials by Thomas Jung →

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 > ### More about binding
+
Step 4 Add missing libraries
+
Step 5 > ### More about these libraries
+
Step 6 Add the SAPUI5 service as a dependency
+
Step 7 > ### Where are the values coming from?
+
Step 8 Adjust the AppRouter replacement
+
Step 9 > ### What does this mean?
+
Step 10 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 10
1. Remove the default scripts 2. Bind the OData model to a table 3. > ### More about binding 4. Add missing libraries 5. > ### More about these libraries 6. Add the SAPUI5 service as a dependency 7. > ### Where are the values coming from? 8. Adjust the AppRouter replacement 9. > ### What does this mean? 10. Call the micro-service in your HTML file
Next