Developing with SAP Extension Suite

Getting Started

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Get ready to build your extension project

SAP Extension Suite: Introduction

Business Case

The new risk-management application should be developed using the SAP Business Application Studio (BAS) on SAP BTP. There are several options and runtime environments available:

  • ABAP Environment
  • Cloud Foundry Runtime
  • Kyma Runtime

Before choosing a runtime, it is essential to familiarize yourself with the level of knowledge in your development department. If the developers only have ABAP knowledge, the decision for an extension written in ABAP, which in the end runs on the ABAP environment in the cloud, is quite obvious.

Your development team consists mainly of developers with Node.js knowledge. Therefore, the decision was made to develop an extension with SAP's Node.js-based Cloud Application Programming Model (CAP). The deployment will then take place on the SAP BTP, Cloud Foundry Environment - SAP Help Portal.

As part of our development team, you will develop a CAP-based application for risk management.

Course Preview

First, you will deploy your application manually into the SAP BTP, Cloud Foundry environment. After that, you will add authorizations and make your application ready for continuous integration and delivery.

Users can 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 our S/4HANA Cloud system.

To view and edit a single risk, the user can select an item. This opens the object page:

Caveat

Note that we cannot provide a complete SAP S/4HANA Cloud system for this course. Therefore, we have chosen to use the SAP API Business Hub SAP S/4HANA Sandbox, which provides the same OData API for business partners as a real S/4HANA Cloud system.

Troubleshooting

In case you run into issues during your development process, we suggest re-reading the corresponding steps carefully.

What's Next?

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

Get Started

Troubleshooting and support

f you run into any issues during this e-learning, please use our SAP Community Group for this e-learning. You can find it here.

You can also create an issue on GitHub.

SAP Business Technology Platform Trial

Tutorial Get a Free Account on SAP BTP Trial .

The SAP BTP Trial offering contains many of the most important services and tools for development on the platform.

Dev Space for Business Applications

Tutorial: Create a Dev Space for Business Applications2

SAP Business Application Studio is the cloud-based IDE for SAP’s Multi-cloud environment. It supports you in developing and extending SAP solutions, and with integrating SAP services, technologies, and solutions seamlessly.

SAP Business Application Studio provides turn-key solutions based on Development Spaces (dev spaces). A dev space3 "is a development environment with the tools, capabilities, and resources needed for developing your application." SAP Business Application Studio offers the following dev space types4:

  • SAP Fiori
  • Full-stack cloud application
  • SAP HANA native application
  • SAP mobile applications

Create a Free SAP BTP Trial Account

Business Scenario

In this exercise, you will create your own free SAP BTP Trial Account.

Prerequisites

Task 1: Register and Activate Your Account

Note
If you have already an account, you can skip this step. In this case, please go ahead with the step Log on to SAP BTP Trial and verify your account.

Steps

  1. Log on into the SAP Website.

    1. Visit https://www.sap.com and click the Log On icon in the upper-right corner.

    2. If you have already an account on https://www.sap.com (for example P, S, C, D or I-number) you can enter it, or the associated email along with your password. If you don't have an account, enter your personal data into the required fields and choose Submit, to create your new account.

    3. You will see a message that an activation link was sent to your e-mail account.

    4. Activate your account.

Task 2: Log on to SAP BTP Trial and Verify Your Account

Steps

  1. Log on to SAP BTP Trial.

    1. Once you have activated your SAP account, open https://account.hanatrial.ondemand.com/ and click Log on.

    2. Confirm the terms and conditions for the SAP BTP Trial.

    3. You will see a message that you need to verify your phone number. Click on Verify your phone number to trigger the process.

    4. Enter your phone number and choose New Code to retrieve a verification code.

    5. Enter the verification you received and choose Continue. After a successful verification you will be logged off automatically.

Task 3: Navigate to the Subaccount

Steps

  1. Create a subaccount.

    1. Log on again into SAP BTP Trial with your verified account.

    2. On the welcome screen, choose Go To Your Trial Account.

    3. On the global account page, choose CreateSubaccount.

    4. Enter your data of choice into the required fields and choose any region from the list.

      Note
      If the automatic creation of the subaccount will fail, try it again. This will be the better choice than creating the subaccount manually.
    5. When complete, click on Continue to close the pop-up and navigate to the new account.

    6. The global trial account contains one subaccount and space. Navigate to subaccount by clicking on the tile named trial(this name may vary if you created the subaccount manually).

    7. This page will display the current state of the subaccount. You can manage your subscriptions and jump into the different runtime environments. It also shows you fundamental; information of the Cloud Foundry environment, such as the API endpoint and the available spaces.

  2. Learn about the service marketplace.

    1. In the column on the left side navigate to ServicesService Marketplace.

    2. In the service marketplace you can find all services that are available on any of the environments. Use the filter bar to find the services you are looking for. From here you can specify a service plan to provision service instances.

Save progress to your learning plan by logging in or creating an account