DEV166 - Extend SAP S/4HANA with SAP Cloud Platform Extension Suite
Description
This repository contains the material for the SAP TechEd 2020 session called DEV166 - Extend SAP S/4HANA with SAP Cloud Platform Extension Suite.
Overview
This session introduces attendees to an end-to-end flow to build an extension using best practices from SAP Cloud Platform Extension Suite.
This workshop will guide you step-by-step through the process of
- creating new data models and a service using the Cloud Application Programming Model (CAP)
- integrates 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 Cloud Platform
Please note that the inclusion of a service exposed on the SAP API Business Hub originates from an S/4 HANA Cloud system. While large parts of the tutorial are directed to consuming the service from a real S/4 HANA Cloud system, the service will eventually not be consumed from a real system but from a local copy on SAP Cloud Platform. This is because within this tutorial and the SAP Cloud Platform trial account no real S/4 HANA Cloud system can be provided and configured.
This is what the final application will look like:
Requirements
The requirements to follow the exercises in this repository are:
- Get a free trial account on SAP Cloud Platform; 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.
Exercises
Provide the exercise content here directly in README.md using markdown and linking to the specific exercise pages, below is an example.
- 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 Cloud Platform 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 Cloud Platform 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 Cloud Platform Continuous Integration and Delivery
- Exercise 3.5 - Configure Credentials in SAP Cloud Platform 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
How to obtain support
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.
License
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.