Business Application Studio Introduction

Business Application Studio Introduction

SAP Business Application Studio is a new SAP Business Technology Platform (SAP BTP) service that offers a modern development environment tailored for efficient development of business applications for the SAP Intelligent Enterprise.

Available as a cloud service, SAP Business Application Studio provides a desktop-like experience similar to leading IDEs, with command line and optimized editors. It is based on Code-OSS, an open source used for building Visual Studio Code.

  • Development (dev) Spaces Comparable to isolated virtual machines in the cloud containing tailored tools and preinstalled run-times per business scenario, such as SAP Fiori, SAP S/4HANA extensions, Workflow and Mobile.

  • Capabilities Unlike other desktop IDEs, SAP Business Application Studio is equipped with various tools specially built for developing business applications in the SAP ecosystem.

    These tools cover the end-to-end development cycle:

    • Clone an existing project with a Git client or create a new project using templates.
    • Use editors for SAP-specific technologies.
    • Easily test your application on your dev space while consuming services from remote sources.
    • Build and deploy the application as a multi-target application (MTA).

Try it out!

Create Development Space in Business Application Studio

To realize database projects we mainly use the SAP Business Application Studio (BAS). It is recommended to use the incognito tab of one of the following three browsers with the latest version.

  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  1. Select this link to open the SAP Business Application Studio.

  2. If prompted to enter a username, log in with the credentials provided for the workshop.

    • Username:
    • Password: provided during registration
    • Choose Continue

img

Create Development Space in BAS

Before you can start your project you must first create a Development Space within BAS. A dev space is a development environment with the tools, capabilities, and resources needed for developing your application. A dev space provides tailored tools and pre-installed runtimes for your business scenario. This simplifies and saves time in setting up your development environment and allows you to efficiently develop, test, build, and run your solution locally or in the cloud.

  1. To create a new development environment for your project, select Create Dev Space.

img
  1. Provide the following inputs to the wizard:

    • Give your Development Space the Name _HCGX.
    • Select SAP HANA Native Application as application kind. You do not need to add any Additional SAP Extension.
    • Select Create Dev Space.

Your _HCGX Dev Space is being created right now

  1. It takes roughly 1-2 minutes to switch from STARTING to RUNNING. Now that your space is running click on the Name _HCGX to open it. Your BAS Development Editor opens, in which you create your projects.

Customize the default BAS layout

For a better orientation in SAP BAS, the default layout can be modified.

  1. Select the Customize Layout… Icon on the top right corner.

  2. Change the visibility of the menu bar by selecting Visibility. Then close the Customize Layout wizard by selecting X.

  3. Select the highlighted icon to open the Explorer.

  4. Right-click on the Outline tab and deselect Outline.

  5. Repeat the process by right-clicking and deselecting the Timeline.

Set Cloud Foundry Endpoint

Connect the development space in SAP BAS to Cloud Foundry, so the project can later be deployed to the SAP HANA Cloud running on the Cloud Foundry environment.

  1. Choose the Cloud Foundry icon on the activity bar on the left hand side, expand Services and select the Login to Cloud Foundry icon.

  2. Provide the following inputs to the Cloud Foundry Sign In wizard:

    • Cloud Foundry Endpoint: {placeholder|cfapi}
    • Authentication method: SSO Passcode
    • Choose Open a new browser page to generate your SSO passcode

  3. Enter IDP and choose Sign in with alternative identity provider.

  4. A new browser tab opens up with a generated Temporary Authentication Code. Select the highlighted icon to copy this to the clipboard.

  5. Paste the SSO passcode into the Enter your SSO Passcode field, and select Sign In.

  6. Select the following options in the Cloud Foundry Target wizard:

    • Cloud Foundry Organization: SE Technical Academy - PROD Int_sap-build-hana-cloud
    • Cloud Foundry Space: AC_HANACLOUD
    • Then choose Apply

Note

SAP Partners might see a slightly different name for the Cloud Foundry Organization. Just choose the only option available in the drop-down.

  1. The Cloud Foundry target has been set successfully.

Note

The next step is to create a project in which all development will be done.

Create SAP HANA Cloud project

  1. Select New Project from template to build a new project.

  1. Choose SAP HANA Database Project and select Start.

  1. Provide a Project Name _Proj for the SAP HANA Cloud Database Project and choose Next.

  1. Provide the module name _db for the SAP HANA Cloud Database Project and choose Next.

  1. Provide a Namespace _NS and Schema Name for the SAP HANA Cloud Database Project and choose Next.

  1. Now bind the project to the SAP HANA Cloud database. Use the system-provided options as shown in the following screenshot, and choose Finish.

  1. Wait while the Project is generated (This process could take several minutes)

The Bind process is now completed and the project is available!