Skip to content

js1972/tutorial-cap-full-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANZ Tech Hub - Getting Started with Full-Stack Application Development on SAP BTP.

Description

This repository contains the material for the SAP TechHub session: Getting Started with Full-Stack Application Development on SAP BTP with the Cloud Application Programming model.

Overview

The goal of this hands-on tutorial is to help developers implementing business applications on SAP BTP including the integration with the SAP cloud suite. This session introduces attendees to...

  • Building a CAP application with a SAP Fiori Elements UI app
  • Adding custom logic, local launchpad, authorization and tests for local development
  • Deploying the application to BTP Cloud Foundry environment
  • [Optional] Remote Service Integration (connect to an API from S/4HANA)
  • [Optional] Replication of data from remote service
  • [Optional] Create a pre-built integration package for the remote service

With tips and tricks along the way.

Requirements

The requirements to follow the exercises in this repository are...

  • You have an enterprise global account in SAP BTP. To use services for free, you can sign up for a CPEA (Cloud Platform Enterprise Agreement) or a Pay-As-You-Go for SAP BTP global account and make use of the free tier services only. See Using Free Service Plans.

  • You have an S-user or P-user. See User and Member Management.

  • You are an administrator of the global account in SAP BTP.

  • You have a subaccount in SAP BTP to deploy the services and applications.

    See this tutorial for preparing SAP BTP (create subaccount and add entitlements). If you provide your own subaccount or use a free trial account there is no need to suffix object names with your userid (<xxx>).

    Access an existing BTP trial account or create a new BTP trial account. For a trial account: Please choose either the US or EU region for your subaccount to ensure all required service entitlements are available in the trial account.

  • You have one of the following browsers that are supported for working in SAP Business Application Studio:

    • Mozilla Firefox
    • Google Chrome
    • Microsoft Edge
  • You have a running instance of SAP HANA Cloud and SAP Work Zone Standard.

    See this tutorial for preparing a SAP HANA Cloud instance. See this tutorial for subscribing to SAP Build Work Zone, Standard Edition.

  • You have a running instance of SAP Business Application Studio with a Full Stack Cloud Application dev space. See this tutorial on setting up Business Application Studio (it is already setup on trial accounts).

    You can also use vscode as the code editor. See this tutorial to setup your local machine.

Note: When using BAS from a BTP trial account it is not considered to be within the BTP IP address range so when setting up your HANA Cloud instance you need to allow connections from anywhere!

Map HANA Cloud instance to your CF org and space. This can be done by editing the HANA Cloud configuration in the HANA tools app. Find the org id with cf org <org-name> --guid Find the space id with cf space <space-name> --guid.

Configure the entitlements

Prerequisite: You must have an administrator role for SAP BTP.

To deploy the Incident Management applications, you need the following entitlements:

Service Plan Quota required
Cloud Foundry runtime MEMORY 1
SAP Build Work Zone, standard edition standard (Application) 1
SAP HANA Cloud hana 1
SAP HANA Cloud tools (Application) 1
SAP HANA Schemas & HDI Containers hdi-shared 1
SAP Application Logging Service standard/lite 1
SAP Business Application Studio standard-edition (application) 1

Exercises

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) 2023 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

About

A tutorial on building production ready CAP apps with Fiori Elements UIs.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published