What Is Sap Business Application Studio (Bas)?

SAP Business Application Studio (BAS) is an SAP Business Technology Platform (SAP BTP) service that provides a modern development environment, easily accessible via an internet browser, designed for developing SAP solutions.

Business Application Studio (BAS)

The foundation of Business Application Studio (BAS) is the open-source Visual Studio Code (VS Code), developed by Microsoft and adopted by a wide community of developers. SAP took the flexible and powerful infrastructure of VS Code and built BAS by adding specific extensions, tools, and integrations that facilitate application development on the SAP BTP platform. This allows developers to work in the modern and user-friendly interface they are familiar with from VS Code, while also benefiting from SAP-specific capabilities optimized for scenarios like Fiori, CAP (Cloud Application Programming Model), and SAP HANA development. When Dev Spaces are created, SAP extensions suitable for the selected development type are automatically installed and configured, enabling developers to start developing directly without wasting time on environment setup.

Advantages Of Using Business Application Studio

  1. Web-Based IDE: SAP BAS is entirely web-based and requires no local software installation. The advantage of being web-based is its platform independence and ease of updates.
  2. Easy Integration: SAP BAS provides strong integration with systems like SAP Cloud Platform, SAP S/4HANA, and SAP HANA. It allows leveraging SAP services during application development and ensures applications work compatibly within the SAP ecosystem.
  3. Rich Toolset: BAS includes drag-and-drop interfaces, ready-made templates, best practice suggestions, and many tools. This simplifies developers’ work and speeds up the application development process. Interface design tools are essential for developing applications that improve user interaction.
  4. Multi-Programming Language Support: SAP BAS supports popular languages like JavaScript, TypeScript, Java, Python, as well as frameworks like SAP UI5. This enables developers to create applications on different platforms and in different languages.
  5. Teamwork and Collaboration: Being cloud-based, SAP BAS enables teams to collaborate more efficiently. Developers can collaborate in real-time at every stage of the application, debug, and test developed features.

The core working principle of BAS relies on Dev Spaces. A Dev Space is a project-specific, cloud- running, and completely isolated environment. Each Dev Space comes pre-packaged with the appropriate tools and runtimes for the selected development type (e.g., Fiori, CAP, S/4HANA extension). Technically, each Dev Space consists of containers running within a Kubernetes Pod, containing the necessary development components.

Business Application Studio Architectural

Business Application Studio Service Setup

To use the BAS Service, first navigate to Entitlements >> Service Assignments within the Global Account to view the list of available services.

Service Assignments

Business Application Studio Service

It is confirmed that the SAP BTP Global Account is entitled to use the BAS Service.

Adding the service (Business Application Studio) to the desired subaccount is done by navigating to Entitlements >> Entity Assignments. Select the relevant subaccount here.

Entity Assignment Subaccount

After selecting the subaccount, click the Edit button.

Entity Assignment Edit Button

Clicking the Add Service Plans button opens the service addition screen.

Add Service Plans Button

From the service addition screen, find or search for the relevant service (BAS) and select the appropriate service plan based on requirements.

Business Application Studio Add Service

In BTP Trial accounts, the BAS service only has the trial (Application) subscription. Regular accounts have different subscription types, and the appropriate one can be selected.

Business Application Studio Standard Edition Plan

With the Trial Plan, a maximum of 2 Dev Spaces can be created, and only 1 Dev Space can run concurrently.

With the Standard Edition plan, 10 different Dev Spaces can be created, and 2 different Dev Spaces can run concurrently.

After adding the service, the service plan is added for the selected subaccount.

Saving Assignment

Save Service Plan

After the service plan is added, navigate to the subaccount where it will be used. To subscribe to the service with the added plan, go to Services >> Service Marketplace. Find the service to subscribe to.

Service Marketplace

Click on the Service to view plan details and click the Create button to initiate the service subscription.

Service Marketplace Create

In the pop-up screen, the relevant service and plan are automatically selected. Start the subscription by clicking the Create button.

Service Create

The service subscription is completed.

Subscribed

After these steps, role assignment is necessary to use the service. Role assignment can be done in 2 different ways:

  1. Assign User through the relevant Role Collection.
  2. Select User and assign the relevant Role Collection.

The second method will be used here. Go to the Security >> Users tab in the side panel and select the user

User

Select Assign Role Collection from the Role Collection tab.

Assign Role Collection

Assign the necessary roles for Business Application Studio.

Assign Role Collection

After completing the service plan addition, service subscription, and role assignments, Business Application Studio (BAS) is ready to use. Access the service by clicking on it in the subaccount.

Subaccount Business Application Studio Service

Since this is the first time accessing the service, the DEV SPACE creation screen appears.

Create Dev Space

To create a Dev Space, first enter a Dev Space name. Select the appropriate one from the 6 different development environments (SAP Fiori in this example).

Create Dev Space

Wait for the Dev Space to start.

Starting Dev Space

The Dev Space is now ready to use. Access it by clicking on the Dev Space name.

Running Dev Space

After logging into Business Application Studio, projects are placed into a workspace to be created.

Open Folder

Select the Projects folder to bring the applications to be developed into the workspace area.

/home/user/projects/

As in the VS Code application, desired extensions can be installed from the Extensions tab.

Extensions

To connect the applications to be developed to the relevant Cloud Foundry service, select Cloud Foundry from the tab section.

Cloud Foundary

Click the Create button to enter the Cloud Foundry service addition screen.

Create Cloud Foundary

The relevant endpoint for Cloud Foundry is obtained from the Subaccount >> Overview >> Cloud Foundry Environment tab.

Cloud Foundary Endpoint

There are 2 options for Authentication:

1. Credentials: Username and password entry

Credentials

2. SSO Passcode: One-time authentication code

SSO Passcode

Continue with the default user.

Default Identity Provider

Copy the one-time password.

Authentication Code

Paste it into the input field and log in.

Sign In

After logging into the Cloud Foundry service, log in to select the organization and space to access services and deploy applications.

CF Services

After selecting the organization and space, save it, and the connection to the Cloud Foundry service is established.

Organization – Space

SAP Business Application Studio (BAS), with its easy integration, rich toolset, and cloud-based structure, is a powerful solution for efficient application development in the SAP ecosystem. The setup and basic configuration steps covered in this article will help you quickly start using BAS.

Resources

Cebrail PEKÖZ

SAP BTP & Fiori Consultant