Discovering the End-to-End Use Case

Objective

After completing this lesson, you will be able to perform the setup necessary to build your extension project

Introduction

Business Case

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:

  1. Jumpstart a New CAP Project

    Initiate a new Cloud Application Programming (CAP) project within the SAP Business Application Studio.

  2. Model Database Entities with Core Data Services (CDS)

    Design and define database entities using CDS.

  3. Expose Backend as an OData Service

    Make the backend accessible through an OData (v4) service.

  4. Connect and Consume External Services

    Integrate APIs from an SAP S/4HANA Cloud System.

  5. Event Handling in CAP

    Add custom business logic using JavaScript.

  6. Restrict Service with Role Definitions

    Define roles to limit data access.

  7. Prepare for Deployment

    Add required configuration files to prepare the application for deployment.

  8. Manual Deployment into SAP BTP, Cloud Foundry Runtime

    Deploy the application manually into the SAP BTP environment.

  9. 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.

List Page

Users of this application will then be able to create, edit, and delete risks from this list page. Each risk has the properties of impact and 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.

Caveat

Note

For the SAP S/4HANA Cloud system, you will use the sandbox system, that is available in the SAP Business Accelerator Hub(formerly known as SAP API Hub). The sandbox system provides the same APIs as a typical system. This and other sandbox systems in the Hub can be also used in further projects of yourself.

What's Next?

The following units will guide you through an end-to-end development process from development to automated deployment.

Log in to track your progress & complete quizzes