Category: SAP Cloud Platform

  • AppRouter in SAP BTP

    Preface – This post is part of the SAP Multi-Target Application (MTA)  series.

    Introduction

    In the era of cloud applications, a single project has multiple UI5 applications and multiple microservices. In this use case either we can have individual urls to access these or a single url that can act as an entry point. An approuter helps developers to get a single url to access all their apps and microservices. In this article we will learn more about AppRouter in SAP.

    What is App Router in SAP?

    SAP Cloud Foundry provides a nodeJs library in the form of BTP instance that acts as a single point-of-entry for an application or microservice running in the Cloud Foundry. It is known as Application Router or App Router or AppRouter.

    We can perform following operations using App Router:

    • Serve static data: The index.html file within App Router can be used to display static content or welcome page of an application
    • Authenticate users: A user can be authenticated at approuter level, even before accessing any application
    • Rewrite URLs: It can be used to integrate destination, integrate business services and even perform logout for an application
    • Request to other microservices within same project

    Types of App Router in SAP

    SAP provides two types of approuter, they are:

    1.      Standalone Approuter

    A standalone approuter is a custom approuter that is created and maintained by developer. A developer has to update the xs-app.json and MTA.yaml files according to the project needs.

    2.      SAP Managed Approuter

    A SAP Managed Approuter enables a developer to execute HTML5 applications in SAP Cloud Platform. It is completely managed by SAP, hence you are not required to update any details further, once created.
    To use managed application router, SAP provides three options:

    • SAP Work Zone
    • SAP Launchpad service
    • SAP Cloud Portal

    Once the application is deployed, the apps are available under the tab HTML5Repository within sub-account.

    How to add Standalone Approuter using BAS?

    To add a standalone approuter using BAS, follow the given steps:

    Step 01: Create a MTA or CAPM Application such that your project has a MTA.yaml file.

    Step 02: Right click on the MTA file and click “Open MTA Module from Template”

    Open MTA Module from Template

    Step 03: Click “Approuter configuration” from the wizard

    Approuter configuration

    Step 04: Enter the details as shown below:

    App Router Details

    That’s it, an approuter will be added in your project with configuration in MTA file. Read more about it here.

    How to add Managed Approuter using BAS?

    The creation of SAP Managed approuter is almost similar to Standalone approuter until step 03.
    In step 04, you need to choose “Managed Approuter” from the drop down, followed by a unique name for the approuter. That’s it, an approuter will be added in your project with configuration in MTA file. Read more about it here.

    Once deployed, you can visit HTML5 Applications under your subaccount. In case you see the given screen:

    Managed Approuter

    In this case you need to subscribe any of the above, then you will be able to see your Applications as shown below:

    HTML5 Applications

  • SAP Cloud Platform (SAP Business Technology Platform) Overview

    Preface – This post is part of the SAP on Azure series.

    Introduction

    In SAP’s world, SAP Cloud Platform or SAP Business Technology Platform is a well-known term. After introduction of SAP MTA and SAP CAPm, it has gained a lot of attention. In this article we will try to explore it.

    What is SAP Cloud Platform (SAP Business Technology Platform)

    SAP Cloud Platform is a Platform as a Service (PaaS) offered by SAP to develop cloud business applications. SAP Business Technology Platform (SAP BTP) offers SAP Cloud Platform with additional services in the form of Infrastructure as a Service and Software as a Service. It can be accessed here.

    SAP Business Technology Platform

    You can create a trial account by just clicking the Sign in button at right top.

    Let us discuss some important concepts related to SAP Cloud Platform:

    Global Accounts

    When you visit first time SAP Cloud Platform, then it is the first thing that you will create. A Global Account is mainly created for a team of projects or sometimes for a project. In this way you keep multiple teams or projects separate from each other on Cloud Platform.

    Regions

    While creating a Global Account, you might be asked to choose regions. A region here simply donate the location of the Hosting or database. If you stay in Germany, then you should the nearest location based region, as it improves the call speed and hence product quality.

    Sub Accounts

    Inside a Global Account, you need to create sub accounts. The sub accounts can be either SAP Neo or SAP Cloud Foundry. The WebIDE services are mostly linked to SAP Neo, hence it gets mandatory to have it. If you just want to plan deployment of UI5/Fiori with backend in the form of ABAP OData (on premise) or non-HANA based services, then you can simply go with Neo, else for MTA, CAPM, or SAP Leonardo, you will have to go for SAP Cloud Foundry based Sub Accounts.
    Neo belongs to SAP while Cloud Foundry is based on either AWS, Azure, GCP or Alibaba Hosting.

    Spaces

    Within a sub account, you have an option to create multiple spaces. It is must to have one space. This is the place where all your code is deployed. A space is used to divide a single account for multiple use case, like one for Development, one for Testing and one for Production.

    Services

    At all level i.e. Global Account, Sub Account and Spaces, you will find option to add a service. A service in SAP Cloud Platform is like an extension where you can utilise multiple cloud services from SAP like Destination, AWS object store, malware scanner, Business objects, Blockchain services and much more.

    Instances

    When you choose a service, you need to create an instance that will be linked to your project. An instance basically means a preserved copy of service, just for our project or space linked with micro services running within space.

    Destinations

    Destination is a place where you can maintain third party API calls, or OData API or even SAP APIs. We can either create a Destination as an Instance (as discussed above) or directly within space.

    Cloud Connectors

    A cloud connector is an important link to connect an on-premise service to SAP Cloud Platform.

    Security in SAP Cloud Platform

    SAP Cloud Platform provides an option to access Apps and services based upon roles. For this use case, Users, Roles and Role Collections are maintained within the space.

  • SAP Cloud Hosting options

    Preface – This post is part of the SAP on Azure series.

    Introduction

    SAP, headquartered in Waldorf, Germany, with a location in Frankfurt, New York and Bangalore, is a large enterprise having ERP & Business objects software as its main product. SAP stands for “System, Applications & Products in Data Processing”. SAP is mainly divided into two parts in terms of hosting i.e. on premise hosting and Cloud Hosting. The SAP on premise hosting is mainly SAP HANA hosting which a relational database. In this article we will discuss in detail regarding SAP cloud hosting options.

    Different SAP Cloud Hosting options

    SAP, with its partnership with different global cloud hosting companies provides the following cloud hosting options:

    • HANA Enterprise Cloud (HEC)
    • AWS
    • GCP
    • Microsoft Azure
    • Alibaba cloud

    Alibaba has signed a contract recently with SAP, and is majorily focused for the clients in China and nearby regions.

    SAP HANA Enterprise Cloud is a HANA service provided by SAP on its contract. All the data was initially saved in SAP environment, later SAP opened it up to an eco-system of external hosting partners such as DXC, IBM Cloud and NTT.

    Comparison of different SAP Cloud Hosting options

    Let us compare the major SAP Cloud Hosting Providers:

    Factors Google Cloud AWS Azure
    Compute Very large VMs SAP S/4HANA up to 4 nodes totalling 48 TB of memory VMs support up to 24TB & 48 TB memory Very large VMs and bare metal for HANA SAP S/4HANA up to 24 TB RAM scale-up, and up to 60TB RAM scale-out
    Storage Cloud Storage EBS & S3 Cloud storage & Elastic File System Azure Storage and Azure NetApp Files
    Network Virtual networking & Interconnect Virtual networking (VCP) & Direct Connect Virtual networking & ExpressRoute
    Security (IAM) Cloud Identity and Access Management (IAM) AWS IAM Azure AD, RBAC, MFA
    Monitoring Custom monitoring agent collects metrics from SAP HANA & sends to Google Cloud Monitoring CloudWatch & CloudTrail Azure Monitor for SAP Solutions
    Automation Automation tool portfolio Automation tool portfolio Automation tool portfolio
    Backups Backups via SAP Backint agent, snapshots, or backup to cloud storage Backups via EC2 Create Image function & Amazon EBS snapshots SAP HANA backup using Azure Backup Highley Available VMs
    HA/DR HA via Linux clustering across regions & zones HA and DR via multiple Availability Zones and Regions HANA system replication / Azure Site Recovery