Create a SAPUI5 interface enhancing a Fiori Master-detail template
Details
You will learn
You will create a user interface with a Fiori Master-Detail template.
Step 1: Create a UI5 module
Create a new module using the Fiori Master-Detail Module
Name it web
The wizard will present with options to bind the web interface to a data provider. In your case, you have created an OData service. Choose it from the list:
The web module depends on the Node.js module to fill the interface with data. This time, Web IDE has added the dependencies automatically in the mta.yaml file:
Locate the dependency in the Code Editor.
Paste the entire web module definition, including its requirements and no resources. Then click on Validate
×
Step 4: Modify the dependencies
Open the package.json file in the web module.
And change the version of the @sap/approuter module to 2.9.1 to match the version delivered in your virtual machine:
Make sure the js module is running first (remember, it’s a dependency).
Run the web module:
A new browser tab will open.
Click on any Purchase Order and check the URL to respond to the question below.
×
Optional: Sync to GitHub and check next steps
If you want to take the code with you, remember you can Stage All and sync to GitHub.
The application you have created can be enhanced to add more functionalities or features, such as user authentication. Here are some links if you want to get your own system or continue learning for free: