Setting Up SAP Build Code (with a Booster) in SAP BTP and Creating a First Project

Objective

After completing this lesson, you will be able to set up SAP Build Code (with a Booster) in SAP BTP and create a first project

Set up SAP Build Code

For SAP Build Code, a booster guides you through the setup process. Boosters provide a set of guided interactive steps that enable you to select, configure, and consume services on SAP BTP to achieve a specific technical goal. For further information about SAP BTP boosters, read the documentation.

Prerequisites: You need access to a global account in the SAP BTP cockpit (see Getting a Global Account).

Hint

If you already use SAP Business Application Studio and want to upgrade to SAP Build Code, see: Changing Service Plans | SAP Help Portal

Note

There is a booster for each of the SAP Build Code service plans: The standard plan is for productive use. For test and evaluation purposes, you can use either the free plan or a trial account. For more information on the available service plans for SAP Build Code, see Service Plans.

For more information on the trial account see Working with a Trial Account.

Depending on whether you are using a standard plan, a free plan or the trial account, the options available might differ. If you are using an Enterprise Account with the standard plan, you have access to all options. If you are using the free plan or a trial account, you might find that some options are not available. See Service Plans for information on trial account restrictions.

Note

To see if SAP Build Code is available in your region, search for SAP Build Code in the Discovery Center.

Benefits of Using a Booster

The booster in SAP Build Code simplifies the setup process by:

  • Automating configurations:
    • Creating a subaccount on SAP BTP.
    • Connecting to your chosen identity provider.
  • Checking prerequisites:
    • Validating your available resources and authorizations.
    • Notifying you of any missing authorizations or resources.
  • Optimizing the setup sequence:
    • Guiding you through the setup process step-by-step.
    • Displaying only the steps relevant to your specific configuration.
    • Preventing configuration errors by automatically entering valid values.
  • Saving time: Significantly reducing the setup time.
  • Simplifying the usage:
    • Making the setup easy even for users with less technical knowledge.
    • Eliminating the need for manual configuration.

In summary, the booster for SAP Build Code ensures a quick, smooth, and error-free setup of the development environment, allowing you to focus on what matters most: Developing your applications.

Let's take a closer look at the steps.

  1. Access your Global Account in the SAP BTP Cockpit and choose Boosters from the Navigation Pane.On the navigation pane, choose Boosters.
  2. Search for the Get Started with SAP Build Code booster.The screenshot shows the selection: Get Started with SAP Build Code
  3. Open the booster to see the overview, components, and additional resources, and choose Start.The screenshot shows the position of the Start icon.
  4. Make sure that you comply with all the prerequisites and choose Next.The screenshot shows the position of Next.
  5. In the Select Scenario step, select the Create Subaccount radio button, and choose Next.Choosing Create Subaccount and Choosing Next
  6. In the Configure Subaccount step, define the name of your subaccount, provider, and region, and choose Next.The screenshot shows the places to enter subaccount name, provider and region.

    Note

    Make sure to provide a meaningful name for the subaccount.
  7. Add users and assign them to the relevant roles, and choose Next.Screen, to add users
  8. In the Review step, choose Finish.The Review screen.

    Note

    The booster creates an entitlement to the Cloud Logging service but it doesn't create an instance. An instance is automatically created the first time you deploy an application.

    The Cloud Logging service is included only for development purposes in SAP Build Code. If you want to use a productive version of the service, delete this service from the list in the SAP Build Code booster, and subscribe to it separately without using the build-code plan. See Cloud Logging.

  9. After running the booster, in the pop-up window, choose Navigate to Subaccount.Screenshot, showing the Navigate to Subaccount link.

Verify Subscription

  1. From the navigation pane, select ServicesInstances and Subscriptions.On the navigation pane, choose Services ->Instances and Subscriptions.
  2. Make sure you are subscribed to SAP Business Application Studio and SAP Build Code.Screen, to ensure, that the required services are subscribed.

Verify Role Assignments

  1. From the navigation pane, select SecurityRole Collections.On the navigation pane, choose Security, and the Role Collections.
  2. Search for the Build Code Administrator role collection.Screen, to choose the Build Code Administrator role collection.
  3. Open the role collection and make sure you see the users you added in the booster.Screen, displaying the assigned users.
  4. Search for the Build Code Developer role collection.Screen, displaying the Build Code Developer role collection.
  5. Open the role collection and make sure you see the users you added in the booster.On the Build Code Developer screen, you can check the role collection.

Open the SAP Build Lobby

  1. From the navigation pane, select ServicesInstances and Subscriptions.
  2. Under Subscriptions, choose SAP Build Code.Position, where you can select SAP Build Code.
  3. The SAP Build Lobby opens.Screenshot of the SAP Build Lobby. The Create button is highlighted.

Summary

In this lesson, we explored the essential steps to set up SAP Build Code including the use of the booster for simplifying the setup, configuring the subaccount, defining role collections for users, and ensuring necessary entitlements. The session emphasized the streamlined process for initializing and preparing the SAP Build Code environment, setting a strong foundation for efficient and productive application development in the SAP ecosystem.

Create an SAP Build Code Project

In this exercise, you learn how to create your first project to develop a full-stack application.

Task 1: Your First SAP Build Code Project

Steps

  1. Create your first SAP Build Code project. Use the following data:

    FieldValue
    Name<of your choice>
    Description<of your choice>
    Dev space<You can either select an existing dev space or you can create a new one>
    1. Navigate to the SAP Build Lobby.

    2. Choose Create to start the creation process.

      Choose Create.
    3. Choose the Build an Application tile.

      Choose Build an Application.
    4. Choose the SAP Build Code tile to develop your project in the SAP Build Code Development Environment, using the capabilities of the services included in SAP Build Code.

      Choose SAP Build Code.
    5. Choose the Full-Stack Application tile.

      Choose Full-Stack Application.
    6. Provide a name and a description for your project.

      in the Description field, enter a description for your project.
    7. Select the dev space where you want the project to reside and select Create.

      Note

      You can either select an existing dev space or you can create a new one.

    8. Return to the lobby where you can see the project being created. It may take a moment for your project to be generated.

      In the Lobby, you see that your project is being created.
    9. When the creation is done, you see a message confirming that the project has been created. You can open the project by choosing its name.

      In the Lobby, you see that your project has been created.
    10. The project opens in the SAP Build Code Development Environment.

      Screenshot of the open project in the SAP Build Code Development Environment.

Task 2: Develop a Full-Stack Application and Use the Guides

Now that you have created your first project, you learn how SAP Build Code helps you by providing everything you need to start your development journey.

Steps

  1. Develop a Full-Stack Application and use the Guides.

    1. In the navigation pane on the left, select the Guide Center icon.

      On the navigation pane, choose Guide Center.
    2. The Guide Center opens. In the upper part, you find a tutorial "Develop an Incident Management App." Go through this tutorial to get detailed guidance on developing a full-stack application for an incident management scenario.

      Screenshot of the Guide Center with the open tutorial.
    3. In addition to the tutorial, the guide center provides you with several guides describing in detail how to perform common development tasks based on the best practices defined by SAP experts. Check out the available guides.

      Screenshot displaying open guides including Create an Application Using Productivity Toolkit, Create an Application Using External Data Models, and Launch Your Application in a Site.

Result

In this lesson, we walked through the steps to create an SAP Build Code project, starting from the SAP Build Lobby. Key stages included selecting project types, setting up the development environment, and initiating project creation. This process ensures a smooth and guided start to developing with SAP Build Code. Also, you learned how to use the guide center.

Log in to track your progress & complete quizzes