Defining Services

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Create service entities

Define Services

Business Scenario

Your company is planning to develop a set of cloud-based applications based on the SAP Cloud Application Programming Model (CAP), and these applications will be deployed to SAP Business Technology Platform (BTP) as extension applications for the SAP Core Back-end Systems.

In this exercise, you will perform the following task: Create service entities.

Now you will create service entities for Risks and Mitigations, to define which parts of the data models you just created should be exposed to the application.

Note

Note that some of the services that this learning journey links to, can incur costs.

If you are concerned about charges, you can opt to skip the corresponding exercises and watch the simulation instead.

Exercise Options

You can perform this exercise in two ways:

  1. Live Environment – by using the instructions provided below, you can perform the steps in your SAP BTP account.
  2. Platform Simulation – follow the step-by-step instructions within the simulation.
Note
We strongly recommend to perform the steps in the live environment first.

The following simulation reproduces the full exercise execution:

Task 1: Create Services

Steps

  1. Create a new service.

    Use the following data:

    FieldValue
    NameRisks
    NamespaceRiskmanagementService
    TypeRiskmanagement.Risks

    1. Go back to the Home tab of the application.

    2. Find the Services tile.

    3. Choose the + icon to add a new service entity.

    4. Enter the values from the list above.

    5. Choose Create to finish.

  2. Set it to draft editing.

    Draft Editing provides temporary storage of entity data, allowing users to interrupt their editing, and resume editing later, without the need to store the data in the database.

    1. In the RiskManagementService screen, select the risks entity.

    2. Select Hide/Show Property Sheet in the menu bar of the RiskManagementService screen.

      A menu will appear on the right side of the screen.

    3. In the section risks, check the checkbox for draft editing.

  3. Configure a new entity.

    Use the following data:

    FieldValue
    NameMitigation
    NamespaceRiskmanagementService
    TypeRiskmanagement.Mitigations

    1. Back in RiskManagementService screen, choose Add Entity.

    2. A new entity appears, which you have to drop on the RiskManagementService tab.

      A pop-up opens.

    3. Enter the data from the table above as shown in the screenshot below.

    4. Choose Create to finish.

  4. Set the new entity to draft editing.

    1. In the RiskManagementService screen, select the Mitigations entity.

    2. Select Hide/Show Property Sheet in the menu bar of the RiskManagementService screen.

      A menu will appear on the right side of the screen.

    3. In the section mitigation, check the checkbox for draft editing.

Save progress to your learning plan by logging in or creating an account

Login or Register