Download as pdf or txt
Download as pdf or txt
You are on page 1of 94

ADMCLD

Introduction to SAP Business


Technology Platform (BTP)
Administration

.
.
EXERCISES AND SOLUTIONS
.
Course Version: 2108
Course Duration: 5 Hours 5 Minutes
Material Number: 50158625
SAP Copyrights, Trademarks and
Disclaimers

© 2022 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the
express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are
trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other
countries. Please see https://www.sap.com/corporate/en/legal/copyright.html for additional
trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software
components of other software vendors.
National product specifications may vary.
These materials may have been machine translated and may contain grammatical errors or
inaccuracies.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only,
without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable
for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate
company products and services are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business
outlined in this document or any related presentation, or to develop or release any functionality
mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’
strategy and possible future developments, products, and/or platform directions and functionality are
all subject to change and may be changed by SAP SE or its affiliated companies at any time for any
reason without notice. The information in this document is not a commitment, promise, or legal
obligation to deliver any material, code, or functionality. All forward-looking statements are subject to
various risks and uncertainties that could cause actual results to differ materially from expectations.
Readers are cautioned not to place undue reliance on these forward-looking statements, which speak
only as of their dates, and they should not be relied upon in making purchasing decisions.

© Copyright. All rights reserved. iii


Typographic Conventions

American English is the standard used in this handbook.


The following typographic conventions are also used.

This information is displayed in the instructor’s presentation

Demonstration

Procedure

Warning or Caution

Hint

Related or Additional Information

Facilitated Discussion

User interface control Example text

Window title Example text

© Copyright. All rights reserved. iv


Contents

Unit 1: SAP Strategy

1 Exercise 1: Initialize the Training Environment

Unit 2: Architecture

3 Exercise 2: Create Directories and Subaccounts


6 Exercise 3: Enable Service Subscriptions
9 Exercise 4: Enable a Cloud Foundry Environment
13 Exercise 5: Enable a Kyma Runtime
16 Exercise 6: Create an ABAP Environment in Cloud Foundry
19 Exercise 7: Initialize SAP Business Application Studio

Unit 3: Configuration

22 Exercise 8: Operate SAP Discovery Center


24 Exercise 9: Start a Booster in SAP BTP
26 Exercise 10: Operate Command Line Interface of SAP BTP

Unit 4: Connectivity

30 Exercise 11: Provide and Start the Portable Version of the Cloud
Connector
36 Exercise 12: Configure the Cloud Connector
47 Exercise 13: Deploy an SAP Fiori Application

Unit 5: Identity and Access Management

58 Exercise 14: Create User in a Subaccount and Assign a Role


Collection
64 Exercise 15: Research Roles Required for an Application
71 Exercise 16: Create a Role Collection

Unit 6: Database Offerings

No exercises

Unit 7: Application Lifecycle Management

No exercises

Unit 8: Monitoring

80 Exercise 17: Operate SAP Application Logging


85 Exercise 18: Operate SAP Cloud ALM Interface Channel Monitoring

© Copyright. All rights reserved. v


Unit 9: Transport Management

No exercises

© Copyright. All rights reserved. vi


Unit 1
Exercise 1
Initialize the Training Environment

In this exercise, we will prepare our on-premise and cloud environment for training.

Task 1: Prepare the on-premise system

1. Go to https://learn.sap/classroom.

2. Log on with the credentials provided by your instructor.

3. Initialize the training environment.

Task 2: Enter the SAP BTP global account

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

1. Log on to the SAP BTP global account (https://cockpit.eu10.hana.ondemand.com/


cockpit/) using the credentials provided from your Instructor.

Note:
The credentials consists of an email address, a password, a user identifier
(##) and a system line (<L>). These information will be provided by your
instructor.

Caution:
During the log on it could happen that you need to proof that you are not a
robot through reCAPTCHA.

© Copyright. All rights reserved. 1


Unit 1
Solution 1
Initialize the Training Environment

In this exercise, we will prepare our on-premise and cloud environment for training.

Task 1: Prepare the on-premise system

1. Go to https://learn.sap/classroom.

2. Log on with the credentials provided by your instructor.

3. Initialize the training environment.


a) Select the Initialize ADM-WTS windows tile and run the script.

Task 2: Enter the SAP BTP global account

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

1. Log on to the SAP BTP global account (https://cockpit.eu10.hana.ondemand.com/


cockpit/) using the credentials provided from your Instructor.

Note:
The credentials consists of an email address, a password, a user identifier
(##) and a system line (<L>). These information will be provided by your
instructor.

Caution:
During the log on it could happen that you need to proof that you are not a
robot through reCAPTCHA.

a) Open the SAP BTP cockpit in your web browser (https://


cockpit.eu10.hana.ondemand.com/cockpit/).

b) Log on using the provided credentials.

© Copyright. All rights reserved. 2


Unit 2
Exercise 2
Create Directories and Subaccounts

In a global account for SAP Business Technology Platform (BTP), you want to create a
hierarchy of subaccounts using directories.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

1. Log on to the SAP BTP global account (https://cockpit.eu10.hana.ondemand.com/


cockpit/) and open the Account Explorer in the SAP BTP Cockpit.

2. In the Account Explorer, switch to the tree view for directories and subaccounts. Create
the directories ##_eurasia (Internal accounts) and ##_americas (Partner
accounts) with your global account as the parent.

3. In the eurasia directory, create the subaccounts ##_dev (Development), ##_test


(Testing), and ##_prod (Production) in the region Europe (Frankfurt) cf-eu10.

4. In the americas directory, create the subaccount ##_partner (Partner portal) in the
region North or South America.

5. Create the subaccount ##_sandbox in the region Europe (Frankfurt) cf-eu10, with the
global account as a parent.

© Copyright. All rights reserved. 3


Unit 2
Solution 2
Create Directories and Subaccounts

In a global account for SAP Business Technology Platform (BTP), you want to create a
hierarchy of subaccounts using directories.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

1. Log on to the SAP BTP global account (https://cockpit.eu10.hana.ondemand.com/


cockpit/) and open the Account Explorer in the SAP BTP Cockpit.
a) Open the SAP BTP global account in your web browser (https://
cockpit.eu10.hana.ondemand.com/cockpit/).

b) Log on using the provided credentials.

c) Choose Account Explorer on the left if not already selected.

2. In the Account Explorer, switch to the tree view for directories and subaccounts. Create
the directories ##_eurasia (Internal accounts) and ##_americas (Partner
accounts) with your global account as the parent.
a) In the Account Explorer, choose the Directories and Subaccounts tab.

b) Choose Tree View.

c) Choose Create → Directory on the top right.

d) In the Display Name field, enter ##_eurasia.

e) In the Description field, enter Internal accounts.

f) Choose Create.

g) Choose Create → Directory on the top right.

h) In the Display Name field, enter ##_americas.

i) In the Description field, enter Partner accounts.

j) Choose Create.

3. In the eurasia directory, create the subaccounts ##_dev (Development), ##_test


(Testing), and ##_prod (Production) in the region Europe (Frankfurt) cf-eu10.

© Copyright. All rights reserved. 4


Solution 2: Create Directories and Subaccounts

a) For the eurasia directory, choose Actions (three dots next to directory).

b) Choose Create Subaccount.

c) In the Display Name field, enter ##_dev.

d) In the Description field, enter Development ##.

e) In the Region dropdown, choose Europe (Frankfurt) cf-eu10 as provider.

f) Choose Create.

g) For the eurasia directory, choose Actions → Create Subaccount.

h) In the Display Name field, enter ##_test.

i) In the Description field, enter Testing ##.

j) In the Region dropdown, choose Europe (Frankfurt) cf-eu10 as provider.

k) Choose Create.

l) For the eurasia directory, choose Actions → Create Subaccount.

m) In the Display Name field, enter ##_prod.

n) In the Description field, enter Production ##.

o) In the Region dropdown, choose Europe (Frankfurt) cf-eu10 as provider.

p) Choose Create.

4. In the americas directory, create the subaccount ##_partner (Partner portal) in the
region North or South America.
a) For the americas directory, choose Actions (three points next to directory).

b) Choose Create Subaccount.

c) In the Display Name field, enter ##_partner.

d) In the Description field, enter Partner portal ##.

e) In the Region dropdown, choose US West (WA) cf-us20 as provider.

f) Choose Create.

5. Create the subaccount ##_sandbox in the region Europe (Frankfurt) cf-eu10, with the
global account as a parent.
a) Choose Create Subaccount.

b) In the Display Name field, enter ##_sandbox.

c) In the Description field, enter Sandbox ##.

d) In the Region dropdown, choose Europe (Frankfurt) cf-eu10 as provider.

e) Choose Create.

© Copyright. All rights reserved. 5


Unit 2
Exercise 3
Enable Service Subscriptions

In the entitlements of a directory, you want to add a service plan for a service subscription.
You want to assign and create this subscription to/in a subaccount of the directory.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

Account structure was created in exercise Create Directories and Subaccounts.

1. In your SAP BTP Cockpit, enable entitlement management for the eurasia directory.

2. In the ##_eurasia directory, add a service plan for SAP Business Application Studio.

3. In the ##_dev subaccount, add a service plan for SAP Business Application Studio.

4. In the ##_dev subaccount, create a service subscription for SAP Business Application
Studio with the service plan trial.

© Copyright. All rights reserved. 6


Unit 2
Solution 3
Enable Service Subscriptions

In the entitlements of a directory, you want to add a service plan for a service subscription.
You want to assign and create this subscription to/in a subaccount of the directory.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

Account structure was created in exercise Create Directories and Subaccounts.

1. In your SAP BTP Cockpit, enable entitlement management for the eurasia directory.
a) In the Directories and Subaccounts tab of the Account Explorer, choose the ##_eurasia
directory.

b) Choose Entitlements on the left.

c) Choose Enable Entitlement Management.

d) In the Information popup, choose Enable.

2. In the ##_eurasia directory, add a service plan for SAP Business Application Studio.
a) In Entitlements → Entity Assignments of the ##_eurasia subaccount, choose Configure
Entitlements.

b) Choose Add Service Plans.

c) In the Search field, enter studio.

d) Choose SAP Business Application Studio.

e) Select the trial (Application) checkbox.

f) Choose Add 1 Service Plan.

g) Choose Save.

3. In the ##_dev subaccount, add a service plan for SAP Business Application Studio.
a) For the Select Entities field, open the value help.

b) In the Select Entities popup, deselect eurasia and select ##_dev.

c) Choose Select.

d) Choose Go on the right.

© Copyright. All rights reserved. 7


Unit 2: Architecture

e) Choose Configure Entitlements.

f) Choose Add Service Plans.

g) In the Categories dropdown, select Extension Suite.

h) Choose SAP Business Application Studio.

i) Select the trial (Application) checkbox.

j) Choose Add 1 Service Plan.

k) Choose Save.

l) Choose your account ID in the breadcrumb menu at the top.

4. In the ##_dev subaccount, create a service subscription for SAP Business Application
Studio with the service plan trial.
a) In the Directories and Subaccounts tab of the Account Explorer, choose the ##_dev
subaccount.

b) Choose Service → Service Marketplace on the left.

c) In the Search field, enter studio.

d) Choose SAP Business Application Studio.

e) Choose Create on the top right.

f) In the New Instance and Subscription popup, select the Plan trial and choose Create.

g) In the Creation Progress popup, choose View Subscription.

h) Wait until the Status is Subscribed.

© Copyright. All rights reserved. 8


Unit 2
Exercise 4
Enable a Cloud Foundry Environment

You want to add a service plan for Cloud Foundry environment and enable it in a subaccount.
In addition, you want to enable a service instance of the
HTLM5 Application Repository Service for Cloud Foundry.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

Account structure was created in exercise Create Directories and Subaccounts.

Task 1: Add a service plan for Cloud Foundry environment.

1. In your ##_dev subaccount, configure the entitlement for the Cloud Foundry Runtime.

2. In the ##_eurasia directory, add a service plan for one unit of the Cloud Foundry Runtime.

3. In the ##_dev subaccount, add a service plan for one unit of the Cloud Foundry Runtime.

Task 2: Enable and configure a Cloud Foundry environment.

1. In the ##_dev subaccount, enable the Cloud Foundry environment.

2. In the ##_dev subaccount, create a space with the name dev_space.

3. In the ##_dev subaccount, create a quota plan with the name dev_quota and assign it to
dev_space.

Task 3: Create a Service Instance in Cloud Foundry environment.

1. In the ##_dev subaccount, create the service instance dev_html5 for the HTLM5
Application Repository Service with the service plan app-host in the cloud foundry space
dev_space.

Hint:
The service plan app-host is used to deploy HTML5 applications to the
repository.

© Copyright. All rights reserved. 9


Unit 2
Solution 4
Enable a Cloud Foundry Environment

You want to add a service plan for Cloud Foundry environment and enable it in a subaccount.
In addition, you want to enable a service instance of the
HTLM5 Application Repository Service for Cloud Foundry.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

Account structure was created in exercise Create Directories and Subaccounts.

Task 1: Add a service plan for Cloud Foundry environment.

1. In your ##_dev subaccount, configure the entitlement for the Cloud Foundry Runtime.
a) In the Directories and Subaccounts tab of the Account Explorer, choose the ##_dev
subaccount.

b) Choose Entitlements on the left.

c) Choose Configure Entitlements.

d) Choose Add Service Plans.

e) In the Search field, enter foundry.

f) Choose Cloud Foundry Runtime.

g) Select the MEMORY checkbox.

h) Choose Add 1 Service Plan.

i) Choose Save.

j) Choose the global account ID in the breadcrumb menu at the top.

2. In the ##_eurasia directory, add a service plan for one unit of the Cloud Foundry Runtime.
a) In the Directories and Subaccounts tab of the Account Explorer, choose the ##_eurasia
directory.

b) In the ##_eurasia directory, choose Entitlements → Entity Assignments on the left.

c) For the Select Entities field, open the value help.

d) In the Select Entities popup, select eurasia.

© Copyright. All rights reserved. 10


Solution 4: Enable a Cloud Foundry Environment

e) Choose Select.

f) Choose Go on the right.

g) Choose Configure Entitlements.

h) Choose Add Service Plans.

i) In the Search field, enter foundry.

j) Choose Cloud Foundry Runtime.

k) Select the MEMORY checkbox.

l) Choose Add 1 Service Plan.

m) Choose Save.

n) Choose your account ID in the breadcrumb menu at the top.

3. In the ##_dev subaccount, add a service plan for one unit of the Cloud Foundry Runtime.
a) In the Directories and Subaccounts tab of the Account Explorer, choose the ##_dev
subaccount.

b) Choose Entitlements on the left.

c) Choose Configure Entitlements.

d) Choose Add Service Plans.

e) In the Search field, enter foundry.

f) Choose Cloud Foundry Runtime.

g) Select the MEMORY checkbox.

h) Choose Add 1 Service Plan.

i) Choose Save.

Task 2: Enable and configure a Cloud Foundry environment.

1. In the ##_dev subaccount, enable the Cloud Foundry environment.


a) In the ##_dev subaccount, choose Overview on the left.

b) Choose the Cloud Foundry Environment tab.

c) Choose Enable Cloud Foundry.

d) In the Enable Cloud Foundry popup, choose Create.

e) Wait until the Cloud Foundry Environment is created.

2. In the ##_dev subaccount, create a space with the name dev_space.


a) In the ##_dev subaccount, choose Cloud Foundry → Spaces on the left.

b) Choose Create Space.

c) In the Space Name field, enter dev_space.

d) Choose Create.

e) Wait until dev_space is created.

© Copyright. All rights reserved. 11


Unit 2: Architecture

3. In the ##_dev subaccount, create a quota plan with the name dev_quota and assign it to
dev_space.
a) In the ##_dev subaccount, choose Cloud Foundry → Quota Plans on the left.

b) Choose New Plan.

c) In the Name field, enter dev_quota.

d) Choose Save.

e) Wait until dev_quota is created.

f) In the Plan Assignment pane, select dev_quota as Quota Plan for dev_space.

Task 3: Create a Service Instance in Cloud Foundry environment.

1. In the ##_dev subaccount, create the service instance dev_html5 for the HTLM5
Application Repository Service with the service plan app-host in the cloud foundry space
dev_space.

Hint:
The service plan app-host is used to deploy HTML5 applications to the
repository.

a) In the ##_dev subaccount navigate into the cloud foundry space dev_space, choose
Service → Service Marketplace on the left.

b) In the Search field, enter html.

c) Choose HTLM5 Application Repository Service.

d) Choose Create at the top right.

e) In the New Instance and Subscription popup, enter the following values:
Field Value
Plan app-host

Runtime Environment Cloud Foundry

Space dev_space

Instance Name dev_html5

f) Choose Create.

g) In the Creation Progress popup, choose View Instance.

h) Wait until the Status is Created.

© Copyright. All rights reserved. 12


Unit 2
Exercise 5
Enable a Kyma Runtime

You want to enable the Kyma runtime in a subaccount. In addition, you want to enable a
service instance of the HTLM5 Application Repository service for Kyma.

Note:
In this exercise replace all ## with your assigned group number.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Task 1: Enable a Kyma runtime.

1. In your ##_partners subaccount, enable the Kyma Environment.

Task 2: Add a service instance in Kyma runtime.

1. In the dashboard of the Kyma Environment, analyze the available resources of the default
namespace.

2. In the default namespace, create a service instance of the HTML5 Application Repository
with the service plan app-host.

Hint:
The service plan app-host is used to deploy HTML5 applications to the
repository.

© Copyright. All rights reserved. 13


Unit 2
Solution 5
Enable a Kyma Runtime

You want to enable the Kyma runtime in a subaccount. In addition, you want to enable a
service instance of the HTLM5 Application Repository service for Kyma.

Note:
In this exercise replace all ## with your assigned group number.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Task 1: Enable a Kyma runtime.

1. In your ##_partners subaccount, enable the Kyma Environment.


a) In the Directories and Subaccounts tab of the Account Explorer, choose the
##_partners subaccount.

b) In the ##_partners subaccount, choose the Kyma Environment tab.

c) Choose Enable Kyma.

d) In the Enable Kyma popup, choose Create.

e) Wait until the Kyma Environment is created.

Task 2: Add a service instance in Kyma runtime.

1. In the dashboard of the Kyma Environment, analyze the available resources of the default
namespace.
a) In the ##_partners subaccount, choose Overview on the left.

b) In the Kyma Environment tab, choose Link to dashboard.

c) Choose Access Console.

d) In the Kyma Dashboard, choose Namespaces.

e) Choose the default namespace.

f) There are no resources in use.

2. In the default namespace, create a service instance of the HTML5 Application Repository
with the service plan app-host.

© Copyright. All rights reserved. 14


Solution 5: Enable a Kyma Runtime

Hint:
The service plan app-host is used to deploy HTML5 applications to the
repository.

a) In the default namespace in the Kyma Dashboard, choose Service Management → BTP
Service Instances on the left.

b) Choose Create Service Instance.

c) Enter html5 in the field Name.

d) Enter html5-apps-repo in the field Offering Name.

e) Enter app-host in the field Plan Name.

f) Choose Create.

g) Wait until the Status is PROVISIONED.

© Copyright. All rights reserved. 15


Unit 2
Exercise 6
Create an ABAP Environment in Cloud Foundry

You want to enable the ABAP environment in a subaccount and open the Application System
Dashboard for analysis.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

1. In the ##_dev subaccount, create the service instance abap for the ABAP Environment in
the dev_space space. Add your e-mail address as a parameter. Ensure that the
entitlements are configured by yourself and that cloud foundry is activated.
Entitlements which needs to be configured:

● abap_compute_unit - 1 units

● hana_compute_unit - 4 units

● 16_abap_64_db - 1 units

● Web access for ABAP

2. In the ##_dev subaccount, create the subscription for the Web access for ABAP.

3. In the dashboard of the ABAP Runtime Environment, analyze the available work processes.

© Copyright. All rights reserved. 16


Unit 2
Solution 6
Create an ABAP Environment in Cloud Foundry

You want to enable the ABAP environment in a subaccount and open the Application System
Dashboard for analysis.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

1. In the ##_dev subaccount, create the service instance abap for the ABAP Environment in
the dev_space space. Add your e-mail address as a parameter. Ensure that the
entitlements are configured by yourself and that cloud foundry is activated.
Entitlements which needs to be configured:

● abap_compute_unit - 1 units

● hana_compute_unit - 4 units

● 16_abap_64_db - 1 units

● Web access for ABAP

a) In the Directories and Subaccounts tab of the Account Explorer, choose the ##_dev
subaccount.

b) In the ##_dev subaccount, choose Service → Service Marketplace on the left.

c) In the Search field, enter abap.

d) Choose ABAP Environment.

e) Choose Create at the top right.

f) In the New Instance and Subscription popup, enter the following values:
Field Value
Plan 16_abap_64_db

Runtime Environment Cloud Foundry

Space dev_space

© Copyright. All rights reserved. 17


Unit 2: Architecture

Field Value
Instance Name abap

g) Choose Next.

h) In the Parameters file, enter your e-mail address in the empty quotation marks.

i) Choose Create.

j) In the Creation Progress popup, choose View Instance.

k) Wait until the Status reads Created.

2. In the ##_dev subaccount, create the subscription for the Web access for ABAP.
a) In the Directories and Subaccounts tab of the Account Explorer, choose the ##_dev
subaccount.

b) In the ##_dev subaccount, choose Service → Service Marketplace on the left.

c) In the Search field, enter web.

d) Choose Web access for ABAP.

e) Choose Create at the top right.

f) Choose Create.

g) In the Creation Progress popup, choose View Subscription.

h) Wait until the Status reads Created.

3. In the dashboard of the ABAP Runtime Environment, analyze the available work processes.
a) In the Services → Instances and Subscriptions of your ##_dev subaccount, choose the
abap instance.

b) Choose View Dashboard.

c) Choose Technical Monitoring → Work Process Analysis.

d) Operate the app as you wish.

© Copyright. All rights reserved. 18


Unit 2
Exercise 7
Initialize SAP Business Application Studio

You want to develop your own software projects on the


SAP Business Technology Platform (BTP). The tool of choice for all software development
tasks is SAP Business Application Studio (BAS). As an administrator, you need to create a
service subscription of the BAS.
Before a developer can start with a project, they need at least one Dev Space - a virtual
environment with testing and development tools. Developers can create these spaces
themselves.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

Task 1: Create a service subscription for SAP Business Application Studio.

1. In the ##_sandbox subaccount, create a service subscription for the SAP Business
Application Studio with the service plan trial. Ensure to configure the entitlements.

Task 2: Create a Dev Space for Cloud Development in SAP Business Application Studio.

1. Open SAP Business Application Studio.

2. Create the Dev Space CloudApps for Full Stack Cloud Application.

© Copyright. All rights reserved. 19


Unit 2
Solution 7
Initialize SAP Business Application Studio

You want to develop your own software projects on the


SAP Business Technology Platform (BTP). The tool of choice for all software development
tasks is SAP Business Application Studio (BAS). As an administrator, you need to create a
service subscription of the BAS.
Before a developer can start with a project, they need at least one Dev Space - a virtual
environment with testing and development tools. Developers can create these spaces
themselves.

Caution:
Due to the rapidly changing nature of cloud software, the naming of fields,
buttons, and steps may differ from the exercise solution.

Note:
In this exercise replace all ## with your assigned group number.

Task 1: Create a service subscription for SAP Business Application Studio.

1. In the ##_sandbox subaccount, create a service subscription for the SAP Business
Application Studio with the service plan trial. Ensure to configure the entitlements.
a) In the Directories and Subaccounts tab of the Account Explorer, choose the
##_sandbox subaccount.

b) Choose Entitlements on the left.

c) Choose Configure Entitlements.

d) Choose Add Service Plans.

e) In the Search field, enter studio.

f) Choose SAP Business Application Studio.

g) Select trial as service plan.

h) Choose Add 1 Service Plan.

i) Choose Save.

j) Choose Service → Service Marketplace on the left.

k) In the Search field, enter studio.

l) Choose SAP Business Application Studio.

m) Choose Create at the top right.

© Copyright. All rights reserved. 20


Solution 7: Initialize SAP Business Application Studio

n) In the New Instance and Subscription popup, select the Plan trial and choose Create.

o) In the Creation Progress popup, choose View Subscription.

p) Wait until the Status is Subscribed.

Task 2: Create a Dev Space for Cloud Development in SAP Business Application Studio.

1. Open SAP Business Application Studio.


a) In the Services → Instances and Subscriptions of the ##_sandbox account, choose
SAP Business Application Studio.

b) Confirm the privacy statement.

2. Create the Dev Space CloudApps for Full Stack Cloud Application.
a) Choose Create Dev Space.

b) In the Dev Space name field, enter CloudApps.

c) Select Full Stack Cloud Application.

d) Choose Create Dev Space at the bottom right.

e) Wait until CloudApps is RUNNING.

f) Choose CloudApps.

g) Operate the application as you wish.

© Copyright. All rights reserved. 21


Unit 3
Exercise 8
Operate SAP Discovery Center

If you use the SAP Business Technology Platform in your organization, you might want to
learn about best practices or methods for several implementation topics. In addition, you
might need to plan which services should be used and how much the subscriptions fees would
be.

Task 1: Start a Mission

1. Go to https://discovery-center.cloud.sap/.

2. Go to the Mission Catalog.

3. Inspect the mission Getting Started with Discovery Center Missions.

Task 2: Inspect the Services

1. Go to https://discovery-center.cloud.sap/.

2. Go to the Service Catalog.

3. Inspect the service Business Application Studio.

4. Optional: Add the Business Application Studio to the Estimator tool.

© Copyright. All rights reserved. 22


Unit 3
Solution 8
Operate SAP Discovery Center

If you use the SAP Business Technology Platform in your organization, you might want to
learn about best practices or methods for several implementation topics. In addition, you
might need to plan which services should be used and how much the subscriptions fees would
be.

Task 1: Start a Mission

1. Go to https://discovery-center.cloud.sap/.

2. Go to the Mission Catalog.


a) Choose Mission Catalog, or go to https://discovery-center.cloud.sap/missions/.

3. Inspect the mission Getting Started with Discovery Center Missions.


a) Search for the mission Getting Started with Discovery Center Missions.

b) Select the mission tile.

Task 2: Inspect the Services

1. Go to https://discovery-center.cloud.sap/.

2. Go to the Service Catalog.


a) Choose Service Catalog, or go to https://discovery-center.cloud.sap/viewServices/
(URL subject to change).

3. Inspect the service Business Application Studio.


a) Search for the service Business Application Studio.

b) Select the service tile.

4. Optional: Add the Business Application Studio to the Estimator tool.


a) Choose Add to Estimator.

b) Choose Open in Estimator Tool.

© Copyright. All rights reserved. 23


Unit 3
Exercise 9
Start a Booster in SAP BTP

In this exercise, you will use a booster capabilities.

Note:
In this exercise replace all ## with your assigned group number.

Start the Booster "Set up account for SAP Process Automation (Free)"

1. Access the global account.

2. Execute the booster with name Set up account for SAP Process Automation
(Free) in your ##_sandbox subaccount.

© Copyright. All rights reserved. 24


Unit 3
Solution 9
Start a Booster in SAP BTP

In this exercise, you will use a booster capabilities.

Note:
In this exercise replace all ## with your assigned group number.

Start the Booster "Set up account for SAP Process Automation (Free)"

1. Access the global account.


a) Navigate to https://cockpit.eu10.hana.ondemand.com/cockpit/.

2. Execute the booster with name Set up account for SAP Process Automation
(Free) in your ##_sandbox subaccount.
a) Choose the Boosters entry in the side menu of the BTP cockpit.

b) Search for Set up account for SAP Process Automation (Free).

c) Choose the tile Set up account for SAP Process Automation (Free).

d) In the details of the booster click on Start.

e) The booster checks the prerequisites automatically. When successfully choose Next.

f) In the next screen choose Select Subaccount and proceed.

g) Please select your ##_sandbox subaccount as the subaccount for execution. Leave all
other properties as proposed and click on Next.

h) Enter your user email in the admin email address and proceed.

i) Choose Finishto execute the booster.

j) Wait till the booster finish. When it fails you might try again.

© Copyright. All rights reserved. 25


Unit 3
Exercise 10
Operate Command Line Interface of SAP BTP

Task 1: Set up the btp CLI

Note:
In this exercise replace all ## with your assigned group number.

1. Go to https://tools.hana.ondemand.com/#cloud-btpcli to download the latest version of


the CLI client for your operating system.

2. Extract the client executable from the tar.gz archive.

● Linux: Use the terminal to extract the tar.gz archive with tar -vxzf <tar.gz
name>.

● macOS: Open the tar.gz file with a double click.

● Windows: Use PowerShell to extract the tar.gz archive with tar -vxzf <tar.gz
name>. Alternatively, use an external tool to extract the executable file to your system.

3. Run the btp CLI from within the extracted folder using the btp command.

Task 2: Log in to your global account

1. Execute the command btp login.

2. Insert the URL of your CLI Server.

3. Enter the subdomain of your global account.

4. Type in your e-mail address or username.

5. Type in your password.

Task 3: Use the help command of btp cli

1. Retrieve the help overview of the btp cli.

2. Execute the help command for subaccount purposes.

3. Execute the help command for subaccount creation.

Task 4: Set up a new subaccount

1. Create a new subaccount in your environment.

2. Retrieve a list of your subaccounts.

© Copyright. All rights reserved. 26


Unit 3
Solution 10
Operate Command Line Interface of SAP BTP

Task 1: Set up the btp CLI

Note:
In this exercise replace all ## with your assigned group number.

1. Go to https://tools.hana.ondemand.com/#cloud-btpcli to download the latest version of


the CLI client for your operating system.

2. Extract the client executable from the tar.gz archive.

● Linux: Use the terminal to extract the tar.gz archive with tar -vxzf <tar.gz
name>.

● macOS: Open the tar.gz file with a double click.

● Windows: Use PowerShell to extract the tar.gz archive with tar -vxzf <tar.gz
name>. Alternatively, use an external tool to extract the executable file to your system.

3. Run the btp CLI from within the extracted folder using the btp command.
a) Open a terminal or command prompt.

b) Use the cd command to navigate to the extracted file.

Hint:
You may also add the path to your system environment variables.
Otherwise you need to use .\btp.exe instead of just btp in the
commands and you need to open the command prompt inside of the
same directory than the btp.exe file.

c) Execute the file (on Windows run .\btp.exe).

Task 2: Log in to your global account

1. Execute the command btp login.

2. Insert the URL of your CLI Server.


a) The CLI will provide you with a default value for the eu10 environment. Confirm with
Enter doesn't matter which environment your account is. There is just one btp cli
endpoint URL available.

© Copyright. All rights reserved. 27


Unit 3: Configuration

Note:
When you enter a new server URL for the first time, you are asked to
confirm that you trust it.

3. Enter the subdomain of your global account.


a) Open the BTP Cockpit.

b) Select your global account.

c) Choose Switch Global Account.

d) Copy the subdomain name of your global account.

e) Paste the subdomain name into the terminal/command prompt and confirm with
Enter.

4. Type in your e-mail address or username.


a) Insert your e-mail address or username.

b) Press Enter to confirm.

5. Type in your password.


a) Insert your password.

b) Press Enter to confirm.

Task 3: Use the help command of btp cli

1. Retrieve the help overview of the btp cli.


a) Execute btp help to get an overview of the help from the btp cli.

2. Execute the help command for subaccount purposes.


a) Execute btp help accounts/subaccount to get an overview of the subaccount
commands from the btp cli.

3. Execute the help command for subaccount creation.


a) Execute btp help create accounts/subaccount to get details about the
creation command for subaccounts.

Task 4: Set up a new subaccount

1. Create a new subaccount in your environment.


a) Run this command in the btp CLI:
btp create accounts/subaccount --display-name <my-subaccount> --region
<my-region> --subdomain <my-subaccount-subdomain>

b) Replace the placeholders with the following values. Please adapt them according to
your account values:

Placeholder Input
<my-subaccount> ##_cmd

© Copyright. All rights reserved. 28


Solution 10: Operate Command Line Interface of SAP BTP

Placeholder Input
<my-region> eu10
<my-subaccount-subdomain> ##_cmd

2. Retrieve a list of your subaccounts.


a) Execute the following command: btp list accounts/subaccount.

b) Notice that the new subaccount created in step 1 is displayed in the list.

© Copyright. All rights reserved. 29


Unit 4
Exercise 11
Provide and Start the Portable Version of the
Cloud Connector

Business Example
In this exercise, you will provide and start the portable version of the Cloud Connector.

Note:
For productive installations, use the regular (non-portable) version of the Cloud
Connector.
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Task 1: Check Prerequisite SAP JVM

1. Determine the SAP JVM version available on the ADM-WTS.

An SAP JVM is already prepared on the ADM-WTS, note the section SAP Java Server VM in
the output.

Task 2: Download Portable Version of the Cloud Connector

1. Download the portable version of Cloud Connector for Windows.

You have downloaded the latest portable version of the Cloud Connector for Windows.

Hint:
When https://tools.hana.ondemand.com/#cloud is not available, as a fallback,
use the latest archive offered in folder S:\Courses\ADMCLD_2108\Cloud
Connector - Windows portable.

Task 3: Extract Portable Version of the Cloud Connector

1. Extract the ZIP archive to folder N:\sapcc##.

You have extracted the Cloud Connector ZIP archive.

Task 4: Set HTTPS Port for the Cloud Connector UI

1. Using the changeport.bat utility, change the HTTPS port of the Cloud Connector UI
from 8443 to 443##.

You have set the HTTPS port of your Cloud Connector UI – this prevents interference with the
Cloud Connectors of the other participants working on the same ADM-WTS.

© Copyright. All rights reserved. 30


Exercise 11: Provide and Start the Portable Version of the Cloud Connector

Task 5: Start the Cloud Connector

1. Start your Cloud Connector.

Your Cloud Connector is running (as long as you keep the command prompt open).

© Copyright. All rights reserved. 31


Unit 4
Solution 11
Provide and Start the Portable Version of the
Cloud Connector

Business Example
In this exercise, you will provide and start the portable version of the Cloud Connector.

Note:
For productive installations, use the regular (non-portable) version of the Cloud
Connector.
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Task 1: Check Prerequisite SAP JVM

1. Determine the SAP JVM version available on the ADM-WTS.


a) On the ADM-WTS, open a command prompt (for example by choosing Windows,
typing cmd, and pressing Enter).

b) Within the command prompt, issue the command java -version.

c) Note the output. When done, you may close the command prompt.

An SAP JVM is already prepared on the ADM-WTS, note the section SAP Java Server VM in
the output.

Task 2: Download Portable Version of the Cloud Connector

1. Download the portable version of Cloud Connector for Windows.


a) On the ADM-WTS, launch a web browser.

b) Open the URL https://tools.hana.ondemand.com/#cloud.

c) In the table Available Cloud Connectors, search for the line Windows (Portable). Select
the download link offered in the column Download.

© Copyright. All rights reserved. 32


Solution 11: Provide and Start the Portable Version of the Cloud Connector

You have downloaded the latest portable version of the Cloud Connector for Windows.

Hint:
When https://tools.hana.ondemand.com/#cloud is not available, as a fallback,
use the latest archive offered in folder S:\Courses\ADMCLD_2108\Cloud
Connector - Windows portable.

Task 3: Extract Portable Version of the Cloud Connector

1. Extract the ZIP archive to folder N:\sapcc##.


a) On the ADM-WTS, open a file explorer.

b) Below the N:\ drive, create a folder named sapcc##. Remember to replace ## with
the number your trainer assigned to you.

Note:
Each user at ADM-WTS level has their own N:\ drive.

c) Open the Cloud Connector ZIP archive from the former task.

d) In the WinRAR window, choose Extract To.

e) In the Extraction path and options window, choose your folder N:\sapcc## and
choose OK.

f) After the extraction is finished, close the Cloud Connector ZIP archive.

You have extracted the Cloud Connector ZIP archive.

© Copyright. All rights reserved. 33


Unit 4: Connectivity

Task 4: Set HTTPS Port for the Cloud Connector UI

1. Using the changeport.bat utility, change the HTTPS port of the Cloud Connector UI
from 8443 to 443##.
a) On the ADM-WTS, open a file explorer.

b) In the left pane, navigate to your N:\sapcc## folder.

c) Right- click your N:\sapcc## folder and choose CMD Prompt Here.

d) Within the command prompt, execute the command dir to verify that the
changeport.bat utility is available in the current folder.

e) Within the command prompt, execute the command changeport 443##. Remember
to replace ## with the number your trainer assigned to you.

f) Keep the command prompt open.

You have set the HTTPS port of your Cloud Connector UI – this prevents interference with the
Cloud Connectors of the other participants working on the same ADM-WTS.

Task 5: Start the Cloud Connector

1. Start your Cloud Connector.


a) Execute the command go in the command prompt from the former task.

b) Note the output.

© Copyright. All rights reserved. 34


Solution 11: Provide and Start the Portable Version of the Cloud Connector

Caution:
Closing this command prompt will stop your Cloud Connector. If you have
to log off from the ADM-WTS, you will need to repeat the last step to start
Cloud Connector again.

Your Cloud Connector is running (as long as you keep the command prompt open).

© Copyright. All rights reserved. 35


Unit 4
Exercise 12
Configure the Cloud Connector

Business Example
In this exercise, you will configure your Cloud Connector.

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Task 1: Cloud Connector: Launch the Cloud Connector UI

1. Launch the UI of your cloud connector instance with the user Administrator and the
initial password manage. Change this initial password to sapcc##.

You have logged on to the Cloud Connector UI and changed the password of the
administrative user.

Task 2: Cloud Connector: Proxy Settings

1. For your Cloud Connector, set the proxy host to proxy and the proxy port to 8080.

Note:
In the training environment, a proxy is required to access resources on the
Internet, including the SAP BTP.

You have defined the proxy settings for your Cloud Connector.

Task 3: SAP BTP: Get Subaccount Details

1. Log on to your SAP BTP global account and determine

● your Region

● your Subaccount ID

You know Region and Subaccount ID of your SAP BTP ##_dev subaccount.

Task 4: Cloud Connector: Define Subaccount

1. As First Subaccount, provide the following:


Field Name Field Input
Region Use the input help to select the proper region (see former
task)

© Copyright. All rights reserved. 36


Exercise 12: Configure the Cloud Connector

Field Name Field Input


Subaccount Paste the Subaccount ID of your SAP BTP ##_dev subac-
count here (see former task)
Subaccount User Email used for your SAP BTP registration
Password Password used for your SAP BTP registration

Your cloud connector can connect to your SAP BTP ##_dev subaccount.

Task 5: SAP BTP: Check Cloud Connector

1. For your SAP BTP ##_dev subaccount, list all known Cloud Connector instances.

You confirmed that your Cloud Connector instance shows up in your SAP BTP ##_dev
account.

Task 6: Cloud Connector: Expose Back-End System

1. Expose the SAP S/4HANA system S4D using the following settings:
Field Name Field Input
Back-end Type ABAP System
Protocol HTTPS
Internal Host s4dhost.wdf.sap.corp

Internal Port 44310

Virtual Host s4d.virtual##

Virtual Port 443

Principal Type None


Host In Request Header Use Virtual Host
Description optional, e.g. Exposing S4D

Check Internal Host select this option

2. Expose the URL path /sap with all sub-services.

The URL path /sap with all sub-services of internal system S4D is exposed to your SAP BTP
##_dev subaccount.

Task 7: SAP BTP: Check Back-End System

1. For your SAP BTP ##_dev saccount, list all known Cloud Connector instances.

You confirmed that the internal system S4D including resources is exposed to your SAP BTP
##_dev subaccount.

Task 8: SAP BTP: Create Destination

1. In your SAP BTP account, create a destination using the following properties:

© Copyright. All rights reserved. 37


Unit 4: Connectivity

Field Name Field Input


Name S4D_##

Type HTTP
URL http://s4d.virtual##:443

Proxy Type OnPremise


Authentication BasicAuthentication
User train-##

Password your password in client 100 of system S4D

2. For your destination S4D_##, set the following additional properties:


Field Name Field Input
HandleRedirects true

HTML5.DynamicDestination true

HTML5.Timeout 60000

sap-client 100

WebIDEEnabled true

WebIDEUsage dev_abap,odata_abap

3. Perform a connection check for your destination S4D_##.

Your SAP BTP account offers a destination S4D_## to access the SAP S/4HANA system
S4D.

© Copyright. All rights reserved. 38


Unit 4
Solution 12
Configure the Cloud Connector

Business Example
In this exercise, you will configure your Cloud Connector.

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Task 1: Cloud Connector: Launch the Cloud Connector UI

1. Launch the UI of your cloud connector instance with the user Administrator and the
initial password manage. Change this initial password to sapcc##.
a) On the ADM-WTS, launch a web browser.

b) Enter the URL https://localhost:443##.

c) Your web browser may show security warnings – in our case, ignore them and
proceed.

d) On the Cloud Connector Login screen, enter user name Administrator and the initial
password manage.

e) Choose Login.

f) You will be prompted to change the password of user Administrator. Provide the
Current Password manage (once) and a New Password sapcc## (twice). Keep all other
settings unchanged and choose Save.

© Copyright. All rights reserved. 39


Unit 4: Connectivity

Note:
Do not start to define the first subaccount yet.

You have logged on to the Cloud Connector UI and changed the password of the
administrative user.

Task 2: Cloud Connector: Proxy Settings

1. For your Cloud Connector, set the proxy host to proxy and the proxy port to 8080.

Note:
In the training environment, a proxy is required to access resources on the
Internet, including the SAP BTP.

a) Within the Cloud Connector UI, navigate to Connector → Configuration → CLOUD.

b) In the HTTPS Proxy section, choose Edit.

c) For Host, enter proxy, and for Port, enter 8080.

d) Choose Save.

You have defined the proxy settings for your Cloud Connector.

Task 3: SAP BTP: Get Subaccount Details

1. Log on to your SAP BTP global account and determine

© Copyright. All rights reserved. 40


Solution 12: Configure the Cloud Connector

● your Region

● your Subaccount ID

a) On the ADM-WTS, launch a web browser.

b) Enter the URL https://cockpit.eu10.hana.ondemand.com/cockpit/.

c) Log on with your SAP BTP account credentials provided from your instructor.

d) Note the fields Provider and Region of your ##_dev subaccount (listed on the tile
representing your ##_dev subaccount).

e) Select the tile representing your ##_dev subaccount.

f) Note your ##_dev Subaccount ID in the upper area.

Note:
Make sure you do not confuse this Subaccount ID with any of the other
data displayed on the page.

g) Keep this browser window open as it will be used for the next task.

You know Region and Subaccount ID of your SAP BTP ##_dev subaccount.

© Copyright. All rights reserved. 41


Unit 4: Connectivity

Task 4: Cloud Connector: Define Subaccount

1. As First Subaccount, provide the following:


Field Name Field Input
Region Use the input help to select the proper region (see former
task)
Subaccount Paste the Subaccount ID of your SAP BTP ##_dev subac-
count here (see former task)
Subaccount User Email used for your SAP BTP registration
Password Password used for your SAP BTP registration

a) Within the Cloud Connector UI, navigate to Define Subaccount.

b) Fill in the fields as listed above.

c) Keep all other settings unchanged and choose Save.

Your cloud connector can connect to your SAP BTP ##_dev subaccount.

Task 5: SAP BTP: Check Cloud Connector

1. For your SAP BTP ##_dev subaccount, list all known Cloud Connector instances.
a) Within the SAP BTP Cockpit, navigate to Connectivity → Cloud Connectors.

b) Note the Master Instance of your Cloud Connector in status Connected. Also note the
section Exposed Back-End Systems.

© Copyright. All rights reserved. 42


Solution 12: Configure the Cloud Connector

You confirmed that your Cloud Connector instance shows up in your SAP BTP ##_dev
account.

Task 6: Cloud Connector: Expose Back-End System

1. Expose the SAP S/4HANA system S4D using the following settings:
Field Name Field Input
Back-end Type ABAP System
Protocol HTTPS
Internal Host s4dhost.wdf.sap.corp

Internal Port 44310

Virtual Host s4d.virtual##

Virtual Port 443

Principal Type None


Host In Request Header Use Virtual Host
Description optional, e.g. Exposing S4D

Check Internal Host select this option

a) Within the Cloud Connector UI, navigate to Cloud To On-Premise (below your
subaccount).

b) On the Access Control tab, choose the Add (+) button.

c) Fill in the fields presented by the wizard as listed above.

© Copyright. All rights reserved. 43


Unit 4: Connectivity

d) At the Summary screen, select the option Check Internal Host and choose Finish.

2. Expose the URL path /sap with all sub-services.


a) Within the Cloud Connector UI, navigate to Your Subaccount → Cloud To On-
Premise → ACCESS CONTROL.

b) In the section Resources Of s4d.virtual##:443(0), choose the Add (+) button.

c) In the URL Path, enter /sap.

d) For Access Policy, select Path And All Sub-Paths.

e) Keep all other settings unchanged and choose Save.

The URL path /sap with all sub-services of internal system S4D is exposed to your SAP BTP
##_dev subaccount.

Task 7: SAP BTP: Check Back-End System

1. For your SAP BTP ##_dev saccount, list all known Cloud Connector instances.
a) Within the SAP BTP Cockpit, navigate to Connectivity → Cloud Connectors.

© Copyright. All rights reserved. 44


Solution 12: Configure the Cloud Connector

b) In the section Exposed Back-End Systems, a virtual system s4d.virtual##:443 should


be displayed. Note the Resources column .

You confirmed that the internal system S4D including resources is exposed to your SAP BTP
##_dev subaccount.

Task 8: SAP BTP: Create Destination

1. In your SAP BTP account, create a destination using the following properties:
Field Name Field Input
Name S4D_##

Type HTTP
URL http://s4d.virtual##:443

Proxy Type OnPremise


Authentication BasicAuthentication
User train-##

Password your password in client 100 of system S4D

a) Within the SAP BTP Cockpit, navigate to Connectivity → Destinations.

b) Choose New Destination.

c) Fill in the fields as listed above.

d) Keep all other settings unchanged and choose Save.

2. For your destination S4D_##, set the following additional properties:


Field Name Field Input
HandleRedirects true

HTML5.DynamicDestination true

HTML5.Timeout 60000

sap-client 100

© Copyright. All rights reserved. 45


Unit 4: Connectivity

Field Name Field Input


WebIDEEnabled true

WebIDEUsage dev_abap,odata_abap

a) Still in the Destinations area, choose Edit for your destination S4D_##.

b) For each property in the table above, choose New Property and provide the proper
settings.

Note:
Property names and values are case-sensitive.

c) When done, choose Save.

3. Perform a connection check for your destination S4D_##.


a) After you have saved your destination S4D_##, choose Check Connection.

b) A message Connection to "S4D_##" successful should be displayed. If this is not the


case, re-check your settings carefully.

Your SAP BTP account offers a destination S4D_## to access the SAP S/4HANA system
S4D.

© Copyright. All rights reserved. 46


Unit 4
Exercise 13
Deploy an SAP Fiori Application

Business Example
In this exercise, you will create an application in the SAP Business Application Studio and
deploy it to the on-premise SAP S/4HANA system S4D.

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Task 1: SAP BAS: Create SAP Fiori Dev Space

1. From your SAP BTP Cockpit, launch the SAP Business Application Studio and create an
SAP Fiori dev space ADMCLD##.

2. Once running, enter the new dev space ADMCLD##.

You created an SAP Fiori dev space ADMCLD##.

Task 2: SAP BAS: Create Project

1. Within your SAP Fiori dev space ADMCLD##, create a new project with the following
settings:
Field Name Field Input
Template SAP Fiori application
target folder path /home/user/projects

Application Type SAPUI5 freestyle


Floorplan SAPUI5 Application
Data Source None
View name View1

Module name module##

Application title App ##

You created a project module## for an SAPUI5 freestyle application .

Task 3: SAP BAS: Open Project

1. Open the workspace of your project module##

You opened your project module##.

© Copyright. All rights reserved. 47


Unit 4: Connectivity

Task 4: SAP S/4HANA: Package and Transport Request

1. Log on to the SAP S/4HANA system S4D and ensure that a package ZTRAINING exists.

2. Determine the number of an open workbench transport request available for your user
train-##.

You have verified that a package ZTRAINING and an open workbench request for your user
exists in SAP S/4HANA system S4D.

Task 5: SAP BAS: Deploy SAP Fiori Application

1. In a terminal, execute npm install andnpm run build to run the build process.

2. In the terminal, execute npm run deploy-config and provide the following:

Field Name Field Input


Please choose the target press Enter to confirm ABAP

Destination press Enter to confirm S4D_##

Name ZMODULE##

Package ZTRAINING

Transport Request copy and paste from system S4D


Deployment Description enter any text

3. In the terminal, execute npm run deploy to deploy your application.

You deployed your SAP Fiori application ZMODULE## to the on-premise SAP S/4HANA
system S4D.

Task 6: SAP S/4HANA: Test SAP Fiori Application

1. Log on to the SAP S/4HANA system S4D and start your SAP Fiori application.

Your SAP Fiori application ZMODULE## was successfully deployed to the SAP S/4HANA
system S4D.

© Copyright. All rights reserved. 48


Unit 4
Solution 13
Deploy an SAP Fiori Application

Business Example
In this exercise, you will create an application in the SAP Business Application Studio and
deploy it to the on-premise SAP S/4HANA system S4D.

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Task 1: SAP BAS: Create SAP Fiori Dev Space

1. From your SAP BTP Cockpit, launch the SAP Business Application Studio and create an
SAP Fiori dev space ADMCLD##.
a) On the ADM-WTS, launch a web browser.

b) Enter the URL https://cockpit.eu10.hana.ondemand.com/cockpit/.

c) Log on with your SAP BTP account credentials provided from your instructor.

d) Within the SAP BTP Cockpit, choose SAP Business Application Studio.

e) In the Dev Spaces overview, choose Create Dev Space.

f) As New Dev Space Name, enter ADMCLD##. Ensure that SAP Fiori is selected (on the
left) and choose Create Dev Space (at bottom right).

© Copyright. All rights reserved. 49


Unit 4: Connectivity

2. Once running, enter the new dev space ADMCLD##.


a) It may take a few minutes until your SAP Fiori dev space ADMCLD## is running. Note
the status changing from STARTING to RUNNING.

Note:
It is not necessary to refresh your browser – just be patient.

b) Once the status is RUNNING, the dev space name ADMCLD## will appear in blue.
Select it to enter the dev space.

Note:
After a period of idle time, the dev space is automatically stopped. A
stopped dev space can be restarted using the dev space manager.

You created an SAP Fiori dev space ADMCLD##.

Task 2: SAP BAS: Create Project

1. Within your SAP Fiori dev space ADMCLD##, create a new project with the following
settings:
Field Name Field Input
Template SAP Fiori application
target folder path /home/user/projects

Application Type SAPUI5 freestyle


Floorplan SAPUI5 Application
Data Source None
View name View1

© Copyright. All rights reserved. 50


Solution 13: Deploy an SAP Fiori Application

Field Name Field Input


Module name module##

Application title App ##

a) Within your your SAP Fiori dev space ADMCLD##, choose Create Project.

b) Select SAP Fiori application and choose Start.

c) As Application Type, select SAPUI5 freestyle.

d) As Floorplan, select SAPUI5 Application and choose Next.

© Copyright. All rights reserved. 51


Unit 4: Connectivity

e) As Data source, select None and choose Next.

f) As View name, keep View1 and choose Next.

g) As Module name, enter module##.

h) As Application title, enter App ##.

i) Keep all other settings unchanged and choose Finish.

© Copyright. All rights reserved. 52


Solution 13: Deploy an SAP Fiori Application

You created a project module## for an SAPUI5 freestyle application .

Task 3: SAP BAS: Open Project

1. Open the workspace of your project module##


a) Wait until the message The project has been generated and will be saved for future
use. displays (on the lower right).

b) From the menu, choose File → Open Workspace.

c) Select your project module## and choose Open.

You opened your project module##.

Task 4: SAP S/4HANA: Package and Transport Request

1. Log on to the SAP S/4HANA system S4D and ensure that a package ZTRAINING exists.
a) If you are not already logged on to SAP S/4HANA system S4D:

a) On the ADM-WTS, execute the Initialize ADM-WTS script (in case you have not
done it before).

b) Start SAP Logon.

c) Within SAP Logon, navigate to 10 Development.

d) Double-click 10 S4D SAP GUI non-SNC [PAS].

e) Log on to client 100 using user train-## and the password provided by your
instructor.

b) Start transaction SE80.

c) Select Package and enter ZTRAINING.

d) Choose Display.

e) A package ZTRAINING should be available in system S4D. If not, create it. If required,
provide or create a workbench request.

© Copyright. All rights reserved. 53


Unit 4: Connectivity

2. Determine the number of an open workbench transport request available for your user
train-##.
a) Continue working in system S4D using the train-## user.

b) Start transaction SE09.

c) Ensure that:

● User is set to TRAIN-##

● for Request Type, the option Workbench Requests is selected

● for Request Status, the option Modifiable is selected

● for Request Status, the option Released is not selected

d) Choose Display.

e) An open transport request of type Workbench should be available for you. If not, create
one using Create Request.

f) Keep this SAP GUI window open as the transport request number is required for the
next task.

You have verified that a package ZTRAINING and an open workbench request for your user
exists in SAP S/4HANA system S4D.

Task 5: SAP BAS: Deploy SAP Fiori Application

1. In a terminal, execute npm install andnpm run build to run the build process.
a) From the menu, choose Terminal → New Terminal.

b) Within the terminal, execute the command npm install.

c)

d) Within the terminal, execute the command npm run build.

© Copyright. All rights reserved. 54


Solution 13: Deploy an SAP Fiori Application

2. In the terminal, execute npm run deploy-config and provide the following:

Field Name Field Input


Please choose the target press Enter to confirm ABAP

Destination press Enter to confirm S4D_##

Name ZMODULE##

Package ZTRAINING

Transport Request copy and paste from system S4D


Deployment Description enter any text

a) Within the terminal, execute the command npm run deploy-config.

b) For Please choose the target, press Enter to confirm ABAP. If ABAP is not selected,
use the arrow-keys to select ABAP. When done, press Enter.

c) For Destination, press Enter to confirm S4D_##. If you have multiple destinations
available, use the arrow-keys to select S4D_##. When done, press Enter.

d) For Name, enter ZMODULE##. Make sure to use upper case letters.

e) For Package, enter ZTRAINING. Make sure to use upper case letters.

f) For Transport Request, copy and paste the transport request number from system
S4D (see the former task). When done, press Enter.

g) For Deployment Description, enter any text of your choice. When done, press Enter.

3. In the terminal, execute npm run deploy to deploy your application.


a) Within the terminal, execute the command npm run deploy.

© Copyright. All rights reserved. 55


Unit 4: Connectivity

b) When being asked, press y to confirm the start of the deployment.

c) A message regarding the successful deployment should display.

You deployed your SAP Fiori application ZMODULE## to the on-premise SAP S/4HANA
system S4D.

Task 6: SAP S/4HANA: Test SAP Fiori Application

1. Log on to the SAP S/4HANA system S4D and start your SAP Fiori application.
a) Using SAP GUI, log on to the SAP S/4HANA system S4D.

b) Start transaction SE80.

c) Select Package ZTRAINING and choose Display.

d) Expand the path ZTRAINING → BSP Library → BSP


Applications → ZMODULE## → Pages with Flow Logic.

e) Right-click index.html and choose Test.

© Copyright. All rights reserved. 56


Solution 13: Deploy an SAP Fiori Application

f) In case of a message ZMODULE## is not a BSP application. Use SAP Web IDE., choose
Continue.

g) Note the new browser window. If required, provide the username train-## and the
password of this user.

h) Verify that your SAP Fiori application opens (as an “empty” app with just a title).

Your SAP Fiori application ZMODULE## was successfully deployed to the SAP S/4HANA
system S4D.

© Copyright. All rights reserved. 57


Unit 5
Exercise 14
Create User in a Subaccount and Assign a Role
Collection

Business Example
User management in SAP BTP is done on each level separately. Therefore, to ensure that
administrators can log on to the subaccount and perform administrative tasks, you must
create users on the subaccount level, and provide the necessary authorizations by assigning
role collections. If you want business users who work with applications on SAP BTP to access
the applications, you must create those users too, and assign the respective role collections
for the applications.

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Task 1: Create a User in a Subaccount

1. Create a new user in your ##_sandbox subaccount. Use the default identity provider and
enter a fictitious e-mail address ADMCLD_##@sap.com.

Note:
When creating a user in a subaccount, you can enter any e-mail address.
However the user needs to have an account in the identity provider that is
associated with the e-mail address to be able to log on to the subaccount.

Optional: If you have a "spare" e-mail address, you can create a new public user (P-User)
in the SAP ID Service using SAP Universal ID https://account.sap.com/core/create/
register. After you have created an account in the SAP ID Service, you can create a new
user with the e-mail address associated with this account.

Hint:
For more information about creating a free SAP user account in SAP ID
service, see Create SAP User Accounts.

Task 2: Examine the Predefined Role Collections

1. Find out what role collections are already predefined in your ##_sandbox subaccount and
can be assigned to users.

2. Find out what roles are included in the Subaccount Administrator role collection.

© Copyright. All rights reserved. 58


Exercise 14: Create User in a Subaccount and Assign a Role Collection

Task 3: Assign Role Collection to a User

1. Provide the newly created user with subaccount administrator rights.

© Copyright. All rights reserved. 59


Unit 5
Solution 14
Create User in a Subaccount and Assign a Role
Collection

Business Example
User management in SAP BTP is done on each level separately. Therefore, to ensure that
administrators can log on to the subaccount and perform administrative tasks, you must
create users on the subaccount level, and provide the necessary authorizations by assigning
role collections. If you want business users who work with applications on SAP BTP to access
the applications, you must create those users too, and assign the respective role collections
for the applications.

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Task 1: Create a User in a Subaccount

1. Create a new user in your ##_sandbox subaccount. Use the default identity provider and
enter a fictitious e-mail address ADMCLD_##@sap.com.

Note:
When creating a user in a subaccount, you can enter any e-mail address.
However the user needs to have an account in the identity provider that is
associated with the e-mail address to be able to log on to the subaccount.

Optional: If you have a "spare" e-mail address, you can create a new public user (P-User)
in the SAP ID Service using SAP Universal ID https://account.sap.com/core/create/
register. After you have created an account in the SAP ID Service, you can create a new
user with the e-mail address associated with this account.

Hint:
For more information about creating a free SAP user account in SAP ID
service, see Create SAP User Accounts.

a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Security → Users.

c) Choose Create.

© Copyright. All rights reserved. 60


Solution 14: Create User in a Subaccount and Assign a Role Collection

Figure 1: Users

d) In the New User dialog box, enter the user details of a fictional user.
Field Value
User Name ADMCLD_##@sap.com

Identity Provider Default identity provider


E-Mail ADMCLD_##@sap.com

Figure 2: New User

Alternatively, enter the details of a user that has an account in the SAP ID Service.

e) Choose Create.

Task 2: Examine the Predefined Role Collections

1. Find out what role collections are already predefined in your ##_sandbox subaccount and
can be assigned to users.
a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Security → Role Collections.

c) Inspect the different role collections and their descriptions.

d) Choose some of the role collections to drill down into the details screen and find out
more information.

2. Find out what roles are included in the Subaccount Administrator role collection.
a) Choose the Subaccount Administrator role collection.
On the Role Collection: Subaccount Administrator – Overview screen, you will find all
the roles that the role collection comprises. You can also see which users have the role
collection assigned. So far, it should be your own user only.

© Copyright. All rights reserved. 61


Unit 5: Identity and Access Management

From here, you can also add further users to the role collection. Or you can do so in the
Users section.

Figure 3: Role Collection

Task 3: Assign Role Collection to a User

1. Provide the newly created user with subaccount administrator rights.


a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Security → Users.

c) Choose the newly created user ADMCLD_##@sap.com. A drill-down screen appears


on the right-hand side.
You can also collapse it to enter the full-screen mode.

d) Scroll down to the Role Collections section and choose Assign Role Collection.

Figure 4: Assign Role Collection

e) Since you want to provide the user with administrative access to the subaccount,
select the Subaccount Administrator role collection.

© Copyright. All rights reserved. 62


Solution 14: Create User in a Subaccount and Assign a Role Collection

Figure 5: Assign Role Collection Pop Up

f) Choose Assign Role Collection.


The role has been successfully assigned to the user.
Because you have created a user with a fictitious e-mail address, you cannot use the
user to log on to the cockpit.

g) In case, you have created a user with an e-mail address that is associated with an SAP
ID Service account, log on with this user to the cockpit of your ##_sandbox
subaccount.
Check if the user has administrative access to it.

Hint:
To do so, simply copy the URL from the browser where you have your
SAP BTP global account opened and open the URL in another browser. It
is important that no single sign on is used there. Only in that case a log on
screen will appear and you can log on the SAP BTP cockpit with the
credentials from the SAP ID Service.

© Copyright. All rights reserved. 63


Unit 5
Exercise 15
Research Roles Required for an Application

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Business Example
You subscribe to applications provided by SAP BTP in subaccounts. The applications are then
used by business users, for example, developers or end users. You want to restrict access to
an application for different users by assigning role collections to them. Before you do that,
you want to check which default roles are delivered with the application, and if they are
already included in predefined role collections.

Task 1: Subscribe to SAP Launchpad Service in Subaccount

1. If not yet done, configure SAP Launchpad Service entitlements for the ##_sandbox
subaccount.
The Launchpad Service can now be subscribed in the ##_sandbox subaccount.

2. In your ##_sandbox subaccount, create a subscription to the SAP Launchpad Service.


After the application has been subscribed, you can start it from right there by choosing Go
to Application. You will realize, that you don't have permissions to use the SAP Launchpad
Service.

Task 2: Inspect the Roles Required for an Application

1. Check which roles might be required to use SAP Launchpad Service.

Task 3: Assign User to Role Collection

1. Find out which role collections enable you to perform administration tasks for a SAP
Launchpad Service site.

2. Provide your user with administrative access to SAP Launchpad Service by assigning him
to the role collection.

3. Try to access the SAP Launchpad Service once again.


Congratulations! You were able to log on to the SAP Launchpad Service - Site Manager.
Here you can create your first site.

© Copyright. All rights reserved. 64


Unit 5
Solution 15
Research Roles Required for an Application

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Business Example
You subscribe to applications provided by SAP BTP in subaccounts. The applications are then
used by business users, for example, developers or end users. You want to restrict access to
an application for different users by assigning role collections to them. Before you do that,
you want to check which default roles are delivered with the application, and if they are
already included in predefined role collections.

Task 1: Subscribe to SAP Launchpad Service in Subaccount

1. If not yet done, configure SAP Launchpad Service entitlements for the ##_sandbox
subaccount.
a) In SAP BTP global account, open the SAP BTP cockpit and navigate to
Entitlements → Entity Assignments.

b) In Select Entities field, use the value help to select your ##_sandbox subaccount.

c) Choose Go.

d) Choose Configure Entitlements.

Figure 6: Configuring Entitlements for Launchpad Service

e) Choose Add Service Plans.

f) Search for Launchpad Service.

© Copyright. All rights reserved. 65


Unit 5: Identity and Access Management

g) Select Launchpad Service and add the standard (Application) service plan.

Figure 7: Adding Service Plan for Launchpad Service

h) Back on the Entity Assignments page, chose Save. It can take some time until the
entitlements configuration is saved.

The Launchpad Service can now be subscribed in the ##_sandbox subaccount.

2. In your ##_sandbox subaccount, create a subscription to the SAP Launchpad Service.


a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Services → Service Marketplace.

c) Search for Launchpad Service.

Figure 8: Service Marketplace - Launchpad Service

d) Choose the Launchpad Service tile.


The Details screen appears.

e) Choose Create.

© Copyright. All rights reserved. 66


Solution 15: Research Roles Required for an Application

Figure 9: Creating Launchpad Service Subscription

A New Instance or Subscription wizard displays.

f) Follow the steps in the wizard to subscribe to the application. Leave the entered values
as is.

g) To confirm the subscription creation, choose Create.

h) To check the subscription, choose View Subscription. You will be navigated to


Instances and Subscriptions section.

Note:
It can take some time until the subscription process has finished.

Figure 10: Launchpad Service Subscription

After the application has been subscribed, you can start it from right there by choosing Go
to Application. You will realize, that you don't have permissions to use the SAP Launchpad
Service.

Task 2: Inspect the Roles Required for an Application

1. Check which roles might be required to use SAP Launchpad Service.

© Copyright. All rights reserved. 67


Unit 5: Identity and Access Management

a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Services → Instances and Subscriptions.


You can see the subscribed applications. Launchpad Serviceshould appear there.

c) Next to the subscribed application, choose the three dots and select Manage Roles.

Figure 11: Managing Application Roles

d) On the Details screen (which you can expand), you will see a list of roles that contain
diverse authorizations for the Launchpad Service.

Note:
When you take this way to inspect roles coming with the Launchpad
Service, be aware that not all roles are displayed. To view all the roles,
navigate to Security → Roles.

Task 3: Assign User to Role Collection

1. Find out which role collections enable you to perform administration tasks for a SAP
Launchpad Service site.
a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Security → Role Collection.

c) In the search field, search for launchpad.

Figure 12: Searching for Launchpad Admin Role Collection

© Copyright. All rights reserved. 68


Solution 15: Research Roles Required for an Application

d) Choose the Launchpad_Admin role collection. This role collection enables you to
perform all administration tasks for the SAP Launchpad service site, and is provided
out-of-the-box.
This forwards you to the role overview page.

e) Examine which roles are included in the Launchpad_Admin role collection.

2. Provide your user with administrative access to SAP Launchpad Service by assigning him
to the role collection.
a) On the Role Collection: Launchpad_Admin - Overview page, choose Edit.

b) In the Users section, enter your e-mail address to provide your user with
administration rights for the Launchpad Service.

Figure 13: Assigning User to Role Collection

c) Choose Save.

3. Try to access the SAP Launchpad Service once again.


a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Services → Instances and Subscriptions.

c) Choose Launchpad Service and go to application as you did before. You will see the
SAP Launchpad Service landing page.

Note:
Sometimes it can take some time, until the user gets the authorizations
from the role collection. It also might be necessary to log off from SAP BTP
cockpit and log on once again.

© Copyright. All rights reserved. 69


Unit 5: Identity and Access Management

Figure 14: SAP Launchpad Service - Landing Page

Congratulations! You were able to log on to the SAP Launchpad Service - Site Manager.
Here you can create your first site.

© Copyright. All rights reserved. 70


Unit 5
Exercise 16
Create a Role Collection

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Business Example
You subscribe to applications provided by SAP BTP in subaccounts. The applications are then
used by business users, for example, developers. You want to restrict access to an application
for different users by assigning role collections to them. However, you cannot assign roles
directly to users, you can only assign roles to role collections. If roles delivered for
applications are not included in predefined role collections, you need to create custom role
collections.

Task 1: Subscribe to Cloud Transport Management in Subaccount

1. Configure Cloud Transport Management entitlements for the ##_sandbox subaccount.


Cloud Transport Management can now be subscribed in the ##_sandbox subaccount.

2. Go to your ##_sandbox subaccount and create a subscription to Cloud Transport


Management.

3. Start Cloud Transport Management from the Instances and Subscriptions page.
You will realize, that you don't have permissions to use the Cloud Transport Management.

Task 2: Inspect the Roles Required for the Application

1. Check which roles are required to use Cloud Transport Management.

Task 3: Create a New Role Collection for Cloud Transport Management Administrator

1. Create a custom role collection for a Cloud Transport Management administrator.

2. Add the Administrator role for Cloud Transport Management to the newly created role
collection.

3. Assign your user to the role collection and log on to Cloud Transport Management web UI.
Congratulations! You were able to log on to the Cloud Transport Management.

© Copyright. All rights reserved. 71


Unit 5
Solution 16
Create a Role Collection

Note:
In this exercise, when an object name or value contains ##, replace ## with the
number your trainer assigned to you.

Business Example
You subscribe to applications provided by SAP BTP in subaccounts. The applications are then
used by business users, for example, developers. You want to restrict access to an application
for different users by assigning role collections to them. However, you cannot assign roles
directly to users, you can only assign roles to role collections. If roles delivered for
applications are not included in predefined role collections, you need to create custom role
collections.

Task 1: Subscribe to Cloud Transport Management in Subaccount

1. Configure Cloud Transport Management entitlements for the ##_sandbox subaccount.


a) Open the SAP BTP cockpit and navigate to Entitlements → Entity Assignments.

b) In Select Entities field, use the value help to select your ##_sandbox subaccount.

c) Choose Go.

d) Choose Configure Entitlements.

Figure 15: Configuring Entitlements for Cloud Transport Management

e) Choose Add Service Plans.

f) Search for Cloud Transport Management.

© Copyright. All rights reserved. 72


Solution 16: Create a Role Collection

g) Select Cloud Transport Management.

h) Select the lite (Application) service plan.

i) Choose Add 1 Service Plan.

Figure 16: Adding Service Plan for Cloud Transport Management

j) Back on the Entity Assignments page, chose Save. It can take some time until the
entitlements configuration is saved.

Cloud Transport Management can now be subscribed in the ##_sandbox subaccount.

2. Go to your ##_sandbox subaccount and create a subscription to Cloud Transport


Management.
a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Services → Service Marketplace.

c) Search for Cloud Transport Management.

Figure 17: Service Marketplace - Cloud Transport Management

d) To drill down to the Details screen, choose the Cloud Transport Management tile.

e) Choose Create.

© Copyright. All rights reserved. 73


Unit 5: Identity and Access Management

Figure 18: Creating Cloud Transport Management Subscription

A New Instance or Subscription wizard displays.

f) To subscribe to the application, select lite in the Plan field.

Figure 19: New Instance or Subscription - Service Plan

g) To confirm the creation, choose Create.

h) To view the subscription, choose Services → Instances and Subscriptions.

Figure 20: Cloud Transport Management Subscription

Note:
It can take some time until the subscription process has finished.

© Copyright. All rights reserved. 74


Solution 16: Create a Role Collection

3. Start Cloud Transport Management from the Instances and Subscriptions page.
a) On the Instances and Subscriptions screen, next to the application name, choose the
Go to Application icon.

Figure 21: Start Cloud Transport Management Application

The application starts in a different browser tab. A message displays that you do not
have permission to use the application.

Figure 22: Error Message

You will realize, that you don't have permissions to use the Cloud Transport Management.

Task 2: Inspect the Roles Required for the Application

1. Check which roles are required to use Cloud Transport Management.


a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) In the navigation area, choose Services → Instances and Subscriptions.


You can see the subscribed applications. Cloud Transport Management should appear
there.

c) Next to the subscribed application, choose the three dots and select Manage Roles.
On the Details screen (which you can expand), you will see a list of roles that contain
diverse authorizations for Cloud Transport Management. However, none of the roles is
included in a role collection.

© Copyright. All rights reserved. 75


Unit 5: Identity and Access Management

Figure 23: No Roles in Role Collections

Task 3: Create a New Role Collection for Cloud Transport Management Administrator

1. Create a custom role collection for a Cloud Transport Management administrator.


a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) Go to Security → Role Collections.

c) On the Role Collections screen, choose Create New Role Collection (plus icon).

Figure 24: Creating New Role Collection

d) Enter a meaningful name (for example, CTM_Admin) and a description.

e) Choose Create.

© Copyright. All rights reserved. 76


Solution 16: Create a Role Collection

Figure 25: New Role Collection

A new role collection shows up in the list. The role collections are sorted in alphabetical
order.

2. Add the Administrator role for Cloud Transport Management to the newly created role
collection.
a) Choose the role collection you just created.

b) On the Role Collection - Overview screen, choose Edit to make changes.

c) In the Roles section, search for the Administrator role for Cloud Transport
Management.

d) Select the role with role name Administrator for application identifier alm-ts!1896.

e) Choose Add.

Figure 26: Adding Role to Role Collection

f) Save the role collection.

3. Assign your user to the role collection and log on to Cloud Transport Management web UI.
a) Open the SAP BTP cockpit and navigate to your ##_sandbox subaccount.

b) Navigate to Security → Users to assign the new role collection to your own user.

c) Choose your user and drill down to the Details screen.

© Copyright. All rights reserved. 77


Unit 5: Identity and Access Management

d) Choose Assign Role Collection.

Figure 27: Assigning Role Collections to Users

e) In the Assign Role Collection dialog box, select the created CTM_Admin role collection
and confirm the selection.

Figure 28: Assigning Custom Role Collection to a User

f) Choose Services → Instances and Subscriptions and start the Cloud Transport
Management application again.
Your user should now be able to access Cloud Transport Management, without getting
the error message.

Note:
Sometimes it can take some time, until the user gets the authorizations
from the role collection. It also might be necessary to log off from SAP BTP
cockpit and log on once again.

© Copyright. All rights reserved. 78


Solution 16: Create a Role Collection

Figure 29: Starting Cloud Transport Management

Congratulations! You were able to log on to the Cloud Transport Management.

© Copyright. All rights reserved. 79


Unit 8
Exercise 17
Operate SAP Application Logging

Note:
In this exercise replace all ## with your assigned group number.

Business Example
You want to create a service instance for the SAP Application Logging service on SAP BTP,
bind it to your application and use it.

1. Log on to your SAP BTP global account.

2. Deploy the App helloWorld to the dev_space of your ##_eurasia / ##_dev Subaccount
using a zip file and manifest. Also try to open the app and review the Navigation Panel
functions.

3. Check if the service SAP Application Logging service is entitled.

4. Create a service instance for the SAP Application Logging service.

5. Create a binding to your application.

6. Use SAP Application Logging for your application.

© Copyright. All rights reserved. 80


Unit 8
Solution 17
Operate SAP Application Logging

Note:
In this exercise replace all ## with your assigned group number.

Business Example
You want to create a service instance for the SAP Application Logging service on SAP BTP,
bind it to your application and use it.

1. Log on to your SAP BTP global account.


a) Open a browser.

b) Enter the following URL:https://cockpit.eu10.hana.ondemand.com/cockpit

c) Log on with the credentials provided by the instructor.

2. Deploy the App helloWorld to the dev_space of your ##_eurasia / ##_dev Subaccount
using a zip file and manifest. Also try to open the app and review the Navigation Panel
functions.
a) In the section Directories and Subaccounts select ##_eurasia → ##_dev.

b) Within the Subaccount: ##_dev - Overview select the space dev_space.

c) Within Space: dev_space - Applications select Deploy Application.

d) In the Popup Deploy Application next to field File Location choose Browse.

e) Select wdflbmt7094 → UT44 (\\kpstransfer.wdf.sap.corp) (S:) → Courses →


ADMCLD_2108 → Monitoring.

f) Choose Helloworld.zip

g) Choose Open.

h) Select Use Manifest [x].

i) Next to the field Manifest Location choose Browse.

j) Choose manifest.yml.

k) Choose Open.

l) Finally press Deploy.

© Copyright. All rights reserved. 81


Unit 8: Monitoring

Hint:
If you receive an error message 'Upload of application failed as the
domain <domain name> does not exists'. Please try again without using
the manifest in this case.

Note:
Wait until the Application helloWorld gets started.

m) Select the Application Name URL: helloWorld.

Note:
Here you can Stop, Start Restart or delete the application as well as use the
Navigation Panel on the left to check Logs, Events, Service Bindings an
other information.

n) Press to the URL of the Application Routes: https://<Application


Name><Domain>.
Result: In a new browser tab you should read the Words: Hello World!

o) Close this tab.

3. Check if the service SAP Application Logging service is entitled.


a) You should be back to the SAP BTP Cockpit.

b) Within the SAP BTP Cockpit on the top of the content choose your global accounton
the blue Breadcrumb menu: Global account home.

c) In the navigation pane select Entitlements → Entity Assignments.

d) Within the field Select Entities use the value help and select the following:

[x] ##_eurasia
[x] ##_dev

e) Choose Select.

f) Press Go.

g) In area ##_eurasia enter to the Search field: Logging

h) In area ##_dev enter to the Search field: Logging

i) If in both areas you find the Service Application Logging Service you are Entitled for
this Service and there is nothing else to do. Jump to the next task. If not perform the
following steps:

j) In area ##_eurasia choose Configure Entitlements.

k) Choose Add Service Plans.

l) In field Search enter: Logging.

© Copyright. All rights reserved. 82


Solution 17: Operate SAP Application Logging

m) Select the Service Application Logging Service.

n) Press Add 1 Service Plans.

o) Press Save.

p) Repeat this steps for the Subaccount ##_dev.

Hint:
At the end you should see in area ##_eurasia the Service Application
Logging Service.
And in the area ##_dev you should see the Application Logging Service,
too.

4. Create a service instance for the SAP Application Logging service.


a) You should be back to the SAP BTP Cockpit.

b) Within the SAP BTP Cockpit on the top of the content choose your global accounton
the blue Breadcrumb menu: Global account home.

c) In the section Directories and Subaccounts choose the Subaccount ##_dev (lower the
directory ##_eurasia).
Result: On top you read Subaccount: ##_dev - Overview

d) In the navigation pane select Services → Instances and Subscriptions

e) In Section Instances (xx) Check if you find the service instance Application Logging
Service.

f) Go to the Service area and check that Application Logging Service is listed there. If yes,
proceed with the next step. If not, you'll need to perform the following sub-steps:

a) In the navigation pane, select Services → Service Marketplace.

b) In the Search field, enter Logging.

c) Use the three dots on the top-right of the tile Application Logging Service and select
Create.

d) On the Popup, keep the standard settings.

e) In the Instance Name field, enter ApplicationLoggingService_##.

f) Choose Create.

g) Confirm the dialog by choosing View Instance.

Note:
Wait until the Service gets created.

5. Create a binding to your application.


a) You should still be in the Subaccount: ##_dev - Instances and Subscriptions.
Navigation Services → Instances and Subscriptions.

© Copyright. All rights reserved. 83


Unit 8: Monitoring

b) In the content area in section Instances (##) you find the Service Application Logging
Service. At the end of its line press to the 3 dots and select Create Binding.

c) In the Popup New Binding and the field Choose Application field, select the application
helloWorld.

d) Choose Create.

6. Use SAP Application Logging for your application.


a) You should still be in the Subaccount: ##_dev - Instances and Subscriptions.

b) In the navigation pane choose Overview.

c) In the Content area, in Section Spaces (##) choose the Space dev_space.

d) In the navigation pane choose Applications (default).

e) Verify that the application you have bound in the previous step has started. If the
requested state is Stopped, search for the Actions heading and choose Start .

f) In field Name, choose the link of your application.

g) In the area Application Routes click to the link.

h) In the navigation pane, choose Logs.

i) Choose Open Kibana Dashboard.

j) Sign in with your e-mail or username and wait until the application loads.

k) You should be on the Dashboard - Overview page of the Kibana Application. You can
see the logs per second, log types and information of the requests.

l) Select the page Request and Logs.

m) Select other Tabs of your choice.

n) Finally, choose the Help tab.

o) On this page, look up How to Bind Your Application Using the Command Line Interface.
Result: You know how to Bind an Application using the Command Line Interface.

© Copyright. All rights reserved. 84


Unit 8
Exercise 18
Operate SAP Cloud ALM Interface Channel
Monitoring

Business Example
You want to learn how to use SAP Cloud ALM Integration & Exception Monitoring. We will take
a look at the monitoring, tracking and alerting function.

1. Log on to the SAP Cloud ALM Demo System as the user Agatha.

2. In the group SAP Cloud ALM for Operations, operate Integration & Exception Monitoring.

3. Operate Tracking the View and find your message ID.

4. Check if an operation flow exists for this error.

© Copyright. All rights reserved. 85


Unit 8
Solution 18
Operate SAP Cloud ALM Interface Channel
Monitoring

Business Example
You want to learn how to use SAP Cloud ALM Integration & Exception Monitoring. We will take
a look at the monitoring, tracking and alerting function.

1. Log on to the SAP Cloud ALM Demo System as the user Agatha.
a) Go to https://support.sap.com/en/alm/demo-systems/cloud-alm-demo-
system.html.

b) Check the available users on this page, and remember or copy the password of the
user Agatha.

c) Choose SAP Cloud ALM Launchpad.

d) Log on with user Agatha and the password from the previous sub step.

2. In the group SAP Cloud ALM for Operations, operate Integration & Exception Monitoring.
a) Select the group SAP Cloud ALM for Operations.

b) Choose the Integration & Exception Monitoring tile.

c) On the top of the screen, choose Scope Selection (icon looks like a dartboard).

d) In the Display Service field, select Configured.

e) Select the service amandp0341. If it not exists, ask your trainer, which service to use
for this exercise.

f) Choose Apply.

g) On the top left, use the hamburger symbol (toggle navigation) to open the left pane.
You should be in the Monitoring view.

Note:
In this view colors indicate the status of the components.

h) Choose the component marked in red.

i) To view the list of all red messages, choose the number of the red messages.

j) To see all the errors with the same text, choose the line or number with the most
errors.

k) In the field Status Text, you'll see More in blue. Use the mouse-over function here. Read
the error text. What do you think caused this error?

© Copyright. All rights reserved. 86


Solution 18: Operate SAP Cloud ALM Interface Channel Monitoring

l) To view the details, choose Navigate to details (at the end of the first line), or use the
technical message ID name in the first field. On the new UI that opens, go the
Application Data section.

m) In the Application Data section, look for the LogicalComponentName and write it down:
_________________________.

Note:
This name has been configured in the Cloud ALM for this component and
it's on the second page of this view.

n) Use the breadcrumb menu at the top of the page to return to the message overview
page.

o) Copy the name of the Message ID in the first line (for example: AGEiR_gejIL2qfcDuh-
USlLULgAB).

3. Operate Tracking the View and find your message ID.


a) Still in the Monitoring View please Navigate to the Tracking view on the left hand side.

b) In the search field, enter the copied message ID (for example: AGEiR_gejIL2qfcDuh-
USlLULgAB).

c) Choose Search or choose Enter.

d) Filter or find the requested message ID.

Note:
This user interface can be used to search for errors.

4. Check if an operation flow exists for this error.


a) Navigate to the Alerting view on the left hand side.

b) In the alerting view, choose the first alert.


On the right hand side you will find the Alert Details.

c) On top right, choose Show alert Action log (looks like a paper with magnifying glass).
This might take a while.
You should see an alert has been created.

d) To close this information, choose Show alert Action log again.

e) Choose Actions.

Note:
Please take note of the possibilities you have: Confirm, Add comment,
Processor, Send Notification, and Start Operation flow.

f) Choose Start Operation flow.

© Copyright. All rights reserved. 87


Unit 8: Monitoring

g) If the administrator knows how to solve this issue, they could connect an operation
flow, which could automatically be started here to solve the problem. If this is not the
case, you will see an empty popup.

Note:
This could be from SAP Workflow Management, SAP Automation Pilot, or
SAP Intelligent RPA.

© Copyright. All rights reserved. 88

You might also like