Getting Started With BAS and Cloud Connector
Getting Started With BAS and Cloud Connector
Getting Started With BAS and Cloud Connector
Getting Started with the Business Application Studio and Cloud Connector
CUSTOMER
TABLE OF CONTENTS
INTRODUCTION...................................................................................................................................................... 3
GET AN SAP BTP TRIAL ACCOUNT .................................................................................................................... 4
UNDERSTAND YOUR DEPLOYMENT ................................................................................................................ 15
Use Cloud Connector to connect your BTP Trial Account to your SAP backend system - RECOMMENDED 15
Use a direct connection between your BTP Trial Account and your SAP backend system ....................... 15
INSTALL SAP JVM ............................................................................................................................................... 16
INSTALL CLOUD CONNECTOR .......................................................................................................................... 20
Prerequisites: Hardware and internet Access .................................................................................................. 20
SETUP CONNECTIVITY BETWEEN ABAP SYSTEM AND SAP BTP ............................................................... 35
CREATE DESTINATION TO YOUR BACKEND SYSTEM USING CLOUD CONNECTOR ............................... 51
CREATE DESTINATION TO YOUR SAP BACKEND USING A DIRECT CONNECTION ................................. 57
ACTIVATE SAP BUSINESS APPLICATION STUDIO ......................................................................................... 62
CONFIGURE SAP BUSINESS APPLICATION STUDIO (BAS) .......................................................................... 72
VALIDATE CONNECTIVITY IN BUSINESS APPLICATION STUDIO................................................................. 77
TROUBLESHOOTING BUSINESS APPLICATION STUDIO CONNECTIVITY .................................................. 86
UNDERSTANDING DEVELOPMENT IN SAP S/4HANA ..................................................................................... 92
Ensuring Connectivity between SAP BTP, your desktop/network and SAP Backend................................. 93
Connectivity Checks between your desktop/network and SAP BTP ..................................................................... 94
Connectivity Checks between your desktop/network and SAP Backend .............................................................. 96
2
INTRODUCTION
This document has the scope to explain you the steps required to complete all the activities planned for the current work-package.
By executing the steps described in this document you will be able to understand the main procedures required to select and activate SAP Fiori apps in your
implementation project.
Note that the steps described in this document refer only to the technical activation steps, additional functional activation steps may be needed depending on the
application scope. The required functional steps are described in the SAP Fiori apps reference library.
3
GET AN SAP BTP TRIAL ACCOUNT
In this step you will be setting up your SAP BTP Trial Account and subaccount
Steps / Comments Screenshot
https://www.sap.com/products/business-
technology-platform/free-trials.html
4
Steps / Comments Screenshot
5
Steps / Comments Screenshot
6
Steps / Comments Screenshot
7
Steps / Comments Screenshot
8
Steps / Comments Screenshot
9
Steps / Comments Screenshot
10
Steps / Comments Screenshot
11
Steps / Comments Screenshot
12
Steps / Comments Screenshot
13
Steps / Comments Screenshot
14
UNDERSTAND YOUR DEPLOYMENT
There are mainly two options to connect your SAP BTP Trial account to your SAP Backend system, a decision on which one to use should be taken based on your
learning expectation but also on your current landscape deployment and network architecture. For this exercise you have the option to decide which path you want
to take.
(Optional) For both scenarios we recommend reviewing and understanding the checks available in section Ensuring Connectivity between SAP BTP,
SAP Cloud Connector and SAP Backend as these will help you understand which option fits best to your current network architecture.
Use Cloud Connector to connect your BTP Trial Account to your SAP backend system - RECOMMENDED
In this scenario you will deploy and configure SAP Cloud Connector to establish a secure connection between your SAP Backend system and SAP BTP
(regardless of your SAP backend system being an On-Premise or CAL instance). This is the recommended scenario for the 5 Steps to Fiori training as this
resembles a real implementation project and will help you identify risks and challenges in your current SAP landscape and your network.
To start this path, jump to section INSTALL SAP JVM
NOTE: If you are using a CAL instance, this should have an SAP Cloud Connector already installed, you can check this with the URL
https://vhcals4hcs.dummy.nodomain:8443/, if this is the case you can skip steps 14 thru 29 inclusive.
Use a direct connection between your BTP Trial Account and your SAP backend system
In this scenario you will establish a direct connection from your SAP backend system to your SAP BTP account, this scenario considers that your SAP Backend
system is publicly available on the internet, so network exposure has been correctly defined and your business has no risk in exposing information to the internet.
To start this path, jump to section CREATE DESTINATION TO YOUR SAP BACKEND USING A DIRECT CONNECTION
15
INSTALL SAP JVM
Installation of a Java virtual machine (JVM) version 8 is required for you to make use of SAP Cloud Connector. In the following section you will find the steps to
deploy SAP JVM.
https://tools.hana.ondemand.com/#cloud
16
Steps / Comments Screenshot
17
Steps / Comments Screenshot
18
Steps / Comments Screenshot
C:\Users\Downloads\sapjvm_8
Note – Directory to where SAP JVM was extracted is just for reference, you MUST DEFINE a proper folder in your own desktop where to deploy this
component
19
INSTALL CLOUD CONNECTOR
In the following section you will find the steps to install SAP Cloud Connector in your desktop.
Note – For learning purposes you will be using the portable version of SAP Cloud Connector. The Portable archives for Cloud Connector are meant for non-
productive scenarios only. They can be used even if you don't have administrator permissions on the machine, on which you like to use the Cloud Connector.
However, those variants do not support upgrades from previous versions.
20
Steps / Comments Screenshot
https://tools.hana.ondemand.com/#cloud
21
Steps / Comments Screenshot
22
Steps / Comments Screenshot
23
Steps / Comments Screenshot
C:\Users\I834429\Downloads\SAPCC
Note – Directory to where SAP Cloud Connector was extracted is just for reference, you MUST DEFINE a proper folder in your own desktop where to
deploy this component
24
Steps / Comments Screenshot
25
Steps / Comments Screenshot
26
Steps / Comments Screenshot
27
Steps / Comments Screenshot
28
Steps / Comments Screenshot
29
Steps / Comments Screenshot
30
Steps / Comments Screenshot
31
Steps / Comments Screenshot
User Administrator
Password manage
32
Steps / Comments Screenshot
33
Steps / Comments Screenshot
34
SETUP CONNECTIVITY BETWEEN ABAP SYSTEM AND SAP BTP
In the following section you will find the steps to connect SAP Cloud Connector and your SAP BTP Trial Account.
https://account.hanatrial.ondemand.com/trial/#/home/trial
35
Steps / Comments Screenshot
36
Steps / Comments Screenshot
37
Steps / Comments Screenshot
38
Steps / Comments Screenshot
39
Steps / Comments Screenshot
40
Steps / Comments Screenshot
41
Steps / Comments Screenshot
42
Steps / Comments Screenshot
43
Steps / Comments Screenshot
44
Steps / Comments Screenshot
45
Steps / Comments Screenshot
46
Steps / Comments Screenshot
47
Steps / Comments Screenshot
48
Steps / Comments Screenshot
URL Path: /
Active: Checked
Access Path and All Sub-Paths
Policy:
49
Steps / Comments Screenshot
50
CREATE DESTINATION TO YOUR BACKEND SYSTEM USING CLOUD CONNECTOR
Follow the next steps to help you create and configure a destination in BTP Cloud Foundry to your backend system while connecting through SAP Cloud
Connector.
51
Steps / Comments Screenshot
52
Steps / Comments Screenshot
53
Steps / Comments Screenshot
<Protocol>://<virtual_hostname>:<port>
For example:
https://5steps2fiori.dummy.nodomain:44303
54
Steps / Comments Screenshot
55
Steps / Comments Screenshot
56
CREATE DESTINATION TO YOUR SAP BACKEND USING A DIRECT CONNECTION
Follow the next steps to configure a destination in BTP Cloud Foundry to enable a direct connection to your SAP Backend system.
Note – To run this scenario you have made sure that your SAP Backend system is exposed to public internet, meaning, you can run the checks in
section Connectivity Checks between your desktop and SAP Backend while in your home network without using any VPN or tunneling software.
57
Steps / Comments Screenshot
58
Steps / Comments Screenshot
59
Steps / Comments Screenshot
<Protocol>://<virtual_hostname>:<port>
For example:
https://5steps2fiori.dummy.nodomain:44303
60
Steps / Comments Screenshot
61
ACTIVATE SAP BUSINESS APPLICATION STUDIO
In this section you will go through the setup of SAP Business Application Studio in your SAP BTP Trial Subaccount.
62
Steps / Comments Screenshot
63
Steps / Comments Screenshot
64
Steps / Comments Screenshot
65
Steps / Comments Screenshot
66
Steps / Comments Screenshot
Business_Application_Studio_Administrator
Business_Application_Studio_Developer
Business_Application_Studio_Extension_Developer
67
Steps / Comments Screenshot
68
Steps / Comments Screenshot
88. Click OK
69
Steps / Comments Screenshot
70
Steps / Comments Screenshot
71
CONFIGURE SAP BUSINESS APPLICATION STUDIO (BAS)
In this section you will go through the required configurations in SAP BAS to setup your Development Space.
72
Steps / Comments Screenshot
cf login
73
Steps / Comments Screenshot
74
Steps / Comments Screenshot
75
Steps / Comments Screenshot
cf target
76
VALIDATE CONNECTIVITY IN BUSINESS APPLICATION STUDIO
In this section you run an initial check to validate connectivity between SAP BTP, SAP Cloud Connector and your SAP Backend system
77
Steps / Comments Screenshot
curl http://localhost:8887/reload
78
Steps / Comments Screenshot
79
Steps / Comments Screenshot
80
Steps / Comments Screenshot
81
Steps / Comments Screenshot
82
Steps / Comments Screenshot
83
Steps / Comments Screenshot
84
Steps / Comments Screenshot
85
TROUBLESHOOTING BUSINESS APPLICATION STUDIO CONNECTIVITY
In this section you will learn about some additional troubleshooting options for SAP BAS.
86
Steps / Comments Screenshot
87
Steps / Comments Screenshot
88
Steps / Comments Screenshot
89
Steps / Comments Screenshot
90
Steps / Comments Screenshot
91
UNDERSTANDING DEVELOPMENT IN SAP S/4HANA
Development in SAP S/4HANA is a very broad topic, covering:
• ABAP Development,
• ABAP CDS (Core Data Service) Development
• Programming models for SAP Fiori
• Developing with SAP Cloud Platform.
As this is a long and complex topic, the first approach is to align and understand strategy for developments in SAP S/4HANA. You can find a summary
of key concepts, key architectural options, and decision matrix in:
The following content is also helpful and can help your developers get a better understanding of the development efforts in SAP S/4HANA. You can
use these references to guide you in building a strong and flexible development plan after this training
• Introducing UI5 Tooling for SAPUI5 Projects
• The UI5 Tooling and SAPUI5 – The Next Step
• UI5 Tooling
• openSAP: SAP Fiori Overview: Design, Develop and Deploy
• openSAP: Evolved Web Apps with SAPUI5
• openSAP: Building Applications with SAP Cloud Application Programming Model
92
Ensuring Connectivity between SAP BTP, your desktop/network and SAP Backend
When working with SAP BTP you need to be aware of the connectivity requirements of each of the components in your landscape which in summary
are three:
1. Your desktop/network – Which acts as the integrator between the backend system and the SAP BTP Cloud services.
2. Your backend system – Which provides data from the business processes.
3. Your Cloud BTP account – Where cloud service administration is performed.
With these elements considered in your architecture, you need to make sure connections between all components are set up correctly. In the following
sections you will find the checks you should try to run to validate these connections.
Be aware that depending on your IT infrastructure some checks, or adjustments would need to be run by your IT department
93
Connectivity Checks between your desktop/network and SAP BTP
94
Steps / Comments Screenshot
Note that depending on your IT administration policies some additional corrections or check might need to be done by your IT administration
team based on the results of the checks we have listed
95
Connectivity Checks between your desktop/network and SAP Backend
NOTE – In this section we will assume you have access to an SAP Cloud Appliance Library based backend system so we will show instructions for
checking connectivity to such type of systems, however, you can apply the same checks to your On-Premise SAP system.
96
Steps / Comments Screenshot
button
97
Steps / Comments Screenshot
https://www.whatismyip.com/
Note – Your SAP CAL Administrator must enter IPv4 addresses in the configuration and can enter a single IP address (for example:
192.168.68.16) or specify a range of IP addresses using CIDR notation, also known as “slash notation” (for example: 192.168.0.0/16).
98
Steps / Comments Screenshot
Note that depending on your IT administration policies some additional corrections or check might need to be done by your IT administration
team based on the results of the checks we have listed
99
www.sap.com/contactsap
© 2021 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.
The information contained herein may be changed without prior notice. 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 are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP 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, and
they should not be relied upon in making purchasing decisions.
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. All other product
and service names mentioned are the trademarks of their respective companies. See www.sap.com/trademark for additional trademark information and notices.