This repository contains the material for the SAP TechEd 2020 session called DEV166 - Extend SAP S/4HANA with SAP Extension Suite.
This session introduces attendees to an end-to-end flow to build an extension using best practices from SAP Extension Suite.
This workshop will guide you step-by-step through the process of
- creating new data models and a service using the SAP Cloud Application Programming Model (CAP)
- integrating a service exposed on the SAP API Business Hub
- creating a List Report Object Page application based on Fiori elements (FE) using the new service
- configuring and running a predefined Continuous Integration and Delivery (CI/CD) pipeline that automatically tests, builds, and deploys your code changes to the SAP Business Technology Platform (BTP)
Please note that the inclusion of a service displayed in the SAP API Business Hub originates from a S/4 HANA Cloud system. While large parts of the tutorial are directed to consume the service from a real S/4 HANA Cloud system, the service will eventually not be consumed from a real system but from its local copy on the SAP BTP. This is because within this tutorial and using a SAP BTP trial account, no real S/4HANA Cloud system can be provided and configured.
This is what the final application will look like:
The requirements to follow the exercises in this repository are:
- Get a free trial account on SAP BTP; see this tutorial. Choose Europe (Frankfurt) - AWS or US East (VA) - AWS regions. Alternatively, you can also watch this video to set up your trial account.
- Set up SAP Business Application Studio for development; see this tutorial.
- Getting Started
- Exercise 1 - Create a Cloud Application Programming Model Service and a Fiori Elements Application
- Exercise 1.1 - Create a CAP-Based Service
- Exercise 1.2 - Create an SAP Fiori Elements-Based Application
- Exercise 1.3 - Add Business Logic to Your Application
- Exercise 1.4 - Add the Consumption of an External Service Exposed by SAP API
- Exercise 1.5 - Consume the External Service in Your UI Application
- Exercise 1.6 - Roles and Authorization Checks In CAP
- Exercise 2 - Prepare for SAP BTP Deployment
- Exercise 2.1 - Prepare for SAP HANA Deployment
- Exercise 2.2 - Prepare User Authentication and Authorization (XSUAA) Setup
- Exercise 2.3 - Create a "Multi Target Application" (MTA) File for Deplyment
- Exercise 2.4 - Add Authorization and Trust Management Service (XSUAA)
- Exercise 2.5 - Add an Application Router
- Exercise 2.6 - Add UI and AppRouter Module to mta.yaml
- Exercise 2.7 - Remove Access for S/4 System
- Exercise 3 - Connect Your Project to SAP Continuous Integration and Delivery
- Exercise 3.1 - Create a GitHub Repository
- Exercise 3.2 - Create a Personal Access Token for GitHub
- Exercise 3.3 - Connect Your GitHub Repository with Your CAP Project
- Exercise 3.4 - Enable SAP Continuous Integration and Delivery
- Exercise 3.5 - Configure Credentials in SAP Continuous Integration and Delivery
- Exercise 3.6 - Configure a CI/CD Job
- Exercise 3.7 - Configure the Stages of Your CI/CD Pipeline
- Exercise 3.8 - Verify the Success of Your Build
- Exercise 3.9 - Assign Role Collections and Access the Deployed Application
Support for the content in this repository is available during the actual time of the online session for which this content has been designed. Otherwise, you may request support via the Issues tab.
Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.