Home

Awesome

<h1 align="center">SAP BTP & Fiori App Templates</h1> <p align="center"> <a href="https://angular.dev/"><img alt="angular-logo" width="300px" valign="middle" src="./docs/images/angular_wordmark_gradient.png"></a><a href="https://vuejs.org/"><img width="100px" valign="middle" src="./docs/images/vue.png"></a> <a href="https://cap.cloud.sap/"><img alt="sap-cap-logo" width="100px" valign="middle" src="./docs/images/cap.svg"></a> </p> <p align="center"> <a title="Ant Design" href="https://ant-design.antgroup.com/index-cn"><img width="80px" valign="middle" src="./docs/images/ant-design.svg"></a>βž•<a title="SAP Fiori Design" href="https://experience.sap.com/fiori-design-web/"><img width="100px" valign="middle" src="./docs/images/sap.png"></a> </p> <p align="center"> <em>This workspace contains multiple development templates for building mobile and desktop SAP BTP & Fiori applications <br> using <b>Angular</b>, Vue, React frameworks and <b>Ant Design</b>.</em> <br> </p> <p align="center"> <a href="https://mtda.cloud/en/sap/"><strong>www.mtda.cloud</strong></a> <br> </p>

English | δΈ­ζ–‡

πŸ’‘ What's New

The NGen (BTP CAP Fiori) project has now released version 0.2.0, with the following updates:

🌟 What is this?

This NGen is a collection of SAP BTP & Fiori application templates built by third-party front-end frameworks (Angular, Vue, React, etc.). It is based on Nx and UI5 Tooling.

There are several advantages to using open-source frameworks to create BTP & Fiori applications:

πŸ“„ How to use

You can download the templates under this code repository and then modify and deploy it, or you can build a project from scratch according to our creation steps.

We plan to provide project templates in multiple frameworks and multiple combinations. The templates that have been developed can all be used.

✨ Features

🌼 Screenshots

AI Copilot

<img src="./docs/images/copilot/copilot-chat-in-bi.png" alt="Copilot Screenshot" height="auto" width="100%" style="border-radius: 10px;">

Side Menu Bar

<img src="./docs/images/side-menu-bar-fiori-app.png" alt="Side Menu Bar Screenshot" height="auto" width="100%" style="border-radius: 10px;"> <details> <summary>Show / Hide Screenshots</summary>

Search Fiori Apps

<img src="./docs/images/side-menu-bar-search.png" alt="Apps Search Screenshot" height="auto" width="100%" style="border-radius: 10px;">

Top Menu Bar

<img src="./docs/images/top-menu-bar-fiori-app.png" alt="Top Menu Bar Screenshot" height="auto" width="100%" style="border-radius: 10px;">

More Fiori Apps Menu

<img src="./docs/images/top-menu-bar-more-menus.png" alt="More Fiori Apps Menu Screenshot" height="auto" width="100%" style="border-radius: 10px;">

Dark Theme

<img src="./docs/images/dark-theme.png" alt="Dark Theme Screenshot" height="auto" width="100%" style="border-radius: 10px;">

Internationalization

<img src="./docs/images/internationalization.png" alt="Internationalization Screenshot" height="auto" width="100%" style="border-radius: 10px;">

Embedded Analytics

<img src="./docs/images/bi/ocap-schema.png" alt="Embedded Analytics Screenshot" height="auto" width="100%" style="border-radius: 10px;"> </details>

🧱 Best practices

Login Mode

In the SAP Fiori Launchpad, it's usually necessary to log in to the FLP page first before gaining access to the apps within the Launchpad. If you want to log in to the SAP system without accessing the FLP login page, you can achieve this by configuring the error page handling for the app as follows:

  1. Log in to SAPGUI and open transaction code SICF.
  2. In the service path, enter /sap/bc/ui5_ui5/sap/your_project_name and execute to open the service node where the app is located.
  3. Right-click on this service node and select Display Service to open the service details page.
  4. Switch to the Error Pages tab and change Login Error to System Login.
  5. Access and log in using the URL /sap/bc/ui5_ui5/sap/your_project_name/?sap-client=100.

Fiori Deploy Error

When encountering Fiori Deploy errors without displaying specific error information, you can analyze the issue by modifying the code in the node_modules/@sap/ux-ui5-tooling/dist/cli/index.js file to print detailed information. Print error information within the function tryDeploy code.

SAP UserContext

When facing account access issues, you can check if the values such as sap-client in the sap-usercontext property within the browser's cookies are correct.

Nx

Nx is a powerful tool for building and managing modern applications, especially well-suited for large and complex projects.

Running tasks

To execute tasks with Nx use the following syntax:

npx nx <target> <project> <...options>

You can also run multiple targets:

npx nx run-many -t <target1> <target2>

..or add -p to filter specific projects

npx nx run-many -t <target1> <target2> -p <proj1> <proj2>

Targets can be defined in the project.json. Learn more in the docs.

🍺 How to contribute

πŸ’Œ Contact Us

πŸ™‹ Enterprise Support

<p align="center"> <a title="Wechat" href="https://www.mtda.cloud/#connect"><img width="280px" valign="middle" src="./docs/images/metad-community-wechat.jpeg"></a> </p>