The focus of this project is to demonstrate the features of annotation-driven SAP Fiori Elements for oData V4, using the ABAP RESTful Application Programming Model (RAP). The oData V4 app has been developed to be transactional- and draft- enabled.
To run the feature showcase app, pull the source code from GitHub into your system (see instructions below for different system types), locate the Service Binding and publish it locally. You can start the app preview by selecting the Root node. You can also run it by building your own Fiori app using the SAP Business Application Studio and connecting to the backend via the service binding.
Tip
A corresponding app built using CAP can be found at https://github.com/SAP-samples/fiori-elements-feature-showcase.
Important
A number of issues have been identified and documented in the Wiki Identified Constraints.
Choose this if you are working on SAP BTP or SAP S/4HANA Cloud, public edition.
To import the feature showcase app into your ABAP Environment, follow the steps in the README file of the branch ABAP-platform-cloud and download the sources from this branch.
Choose this if you are working on SAP S/4HANA, on-premise edition or SAP S/4HANA Cloud, private edition.
To import the feature showcase app into your ABAP system, follow the steps in the relevant README file and download the sources from the branch corresponding to your backend version:
- README of branch ABAP-platform-2022 (Application Server ABAP 7.57)
- README of branch ABAP-platform-2023 (Application Server ABAP 7.58)
If you don’t have a system available, you could also try it out in the SAP BTP ABAP Environment Trial systems. Check out this tutorial on how to get a trial user.
The Updated Guide is divided into 6 sections. You can peruse it on your own without refering to the app, based on what you want to implement.
Documentation | Description |
---|---|
General Features | Describes the features that are generally used throughout, be it in the List Report or Object Page |
List Report - Header | Describes the features that are for the header area of the List Report |
List Report - Content | Describes the features that are for the content area of the List Report |
Object Page - General | Describes the features that are generally used for Object Page |
Object Page - Header | Describes the features that are for the header area of the Object Page |
Object Page - Content | Describes the features that are for the content area of the Object Page |
For searching via the search term from the App, there are 2 ways:
...when you see a feature that you would like to implement, copy or take note of the search term (e.g., #SearchTermExample) and perform a search in the Repository. Clicking on a result brings you to the markdown code of the respective Guide, so just click on the Preview and search for the term again.
...you can still use the old way and search in the Wiki instead.
From the Guide, you will get
- a short description of the feature,
- code snippets and where to find them in the source code,
- and in some cases, a link to the official RAP documentation for more information.
Alternatively, you can search for an annotation in the Guide/Wiki, get the search term, and use it to locate the UI feature in the app. If the annotation cannot be found, it could simply mean that it is not showcased in the current release.
This project is provided "as-is": there is no guarantee that raised issues will be answered or addressed in future releases. However we do welcome your comments or reports, so please use the Issues feature to report them.
Copyright (c) 2022 - 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the SAP Sample Code License except as noted otherwise in the LICENSE file.