Let's begin by considering the following scenario.
Preview of the Final Application
This course offers a comprehensive guide to building and deploying a fullstack CAP extension on the SAP Business Technology Platform. The following are the key topics you will cover during this course:
Jumpstart a New CAP Project
Initiate a new Cloud Application Programming (CAP) project within the SAP Business Application Studio.
Model Database Entities with Core Data Services (CDS)
Design and define database entities using CDS.
Expose Backend as an OData Service
Make the backend accessible through an OData (v4) service.
Connect and Consume External Services
Integrate APIs from an SAP S/4HANA Cloud System.
Event Handling in CAP
Restrict Service with Role Definitions
Define roles to limit data access.
Prepare for Deployment
Add required configuration files to prepare the application for deployment.
Manual Deployment into SAP BTP, Cloud Foundry Runtime
Deploy the application manually into the SAP BTP environment.
Ready Application for Continuous Integration and Delivery
Configure the application for SAP Continuous Integration and Delivery.
The frontend is built with SAP Fiori Elements and consists of two pages: A List Page, listing all risks, and a Object Page for displaying further information for each risk entry.
Users of this application will then be able to create, edit, and delete risks from this list page. Each risk has the properties of
priority based on each risk's potential.
The risk manager can assign mitigations to the identified risks. Both risks and mitigations are stored in the extension's own database. Details like the name of the individual business partner that is authorized to make decisions will be retrieved from a SAP S/4HANA Cloud system.
To view and edit a single risk, the user can select an item. This opens the object page, as shown in the following figure.
The following units will guide you through an end-to-end development process from development to automated deployment.