To set up SAP Datasphere, use the following resources:
- Create Your SAP Datasphere Service Instance in SAP BTP for Cloud Platform Enterprise Agreement or subscription type accounts in SAP BTP.
- SAP Datasphere Trial for SAP BTP free tier model with Pay-As-You-Go plan.
- Tutorial: Introduction to SAP Datasphere Administration
SAP Datasphere serves as the repository for master data, which is readily accessible to SAP Build Apps through a CAP application. The transactional data, entered via the SAP Build Apps application, complements the master data. Additionally, SAP Datasphere facilitates the creation of an analytical model, leveraging the master and transactional data, specifically designed for data analysis within SAP Analytics Cloud.
When you are added as a user to SAP Datasphere, you receive a welcome email. Choose Activate Account to connect to the server and set your password. The main panel of the SAP Datasphere Home screen gives you access to shortcuts to help you get started.
All data acquisition, preparation, and modeling happen inside spaces. A space is a secure area - space data cannot be accessed outside the space unless it is shared to another space or exposed for consumption.
-
In the side navigation area, choose Space Management and then choose Create.
-
In the Space Name field, enter a name for the space, for example Tank Farm.
-
In the Space ID field, enter an ID for the space, for example TANK_FARM. See Create Space.
-
Choose Create.
-
In the Members section, choose + to add users as members of this space.
-
Choose Deploy in the upper right corner to save and deploy your space to the database. See Assign Members to Your Space.
-
Once the space is created, it is listed in Space Management.
To access SAP Datasphere artifacts, which are exposed for consumption as sources from the CAP application, you must create a database user with the appropriate privileges, create a user-provided service in the SAP BTP cockpit, and configure your HDI project.
To create a database user, follow these steps:
-
In the side navigation area, choose Space Management, locate your space tile, and choose Edit to open it.
-
In the Database Users section, choose Create to open the Create Database User dialog.
-
In the Database User Name Suffix field, enter TECH_USER.
-
Select the Enable Read Access (SQL) checkbox.
-
Select the Enable HDI Consumption checkbox. Choose OK in the confirmation dialog box if any.
-
Select the Enable Write Access (SQL, DDL, & DML) checkbox, if it is not selected already.
-
Choose Create.
-
Once the user is created, a message may pop up saying Database User Created.
Note: Recent activities can be viewed from the upper right corner menu Notification as well.
-
Choose Deploy in the upper right corner.
-
Once the deployement is completed, in the Database Users section, choose the info icon from the database user (FARM_TANK#TECH_USER) to open the Database User Details dialog.
-
In the Password section, choose Request New Password.
-
In the HDI Consumption section, choose Copy Full Credentials.
-
IMPORTANT: Store this copied info in secure place to use it later including the password.
See:
The SAP HANA Deployment Infrastructure (HDI) uses containers to store design-time artifacts and the corresponding deployed run-time (catalog) objects. By deploying it into SAP HANA Cloud underneath the SAP Datasphere, you can write into SAP Datasphere space.
To enable the option to add an HDI Container into the SAP Datasphere space, follow these steps.
-
In the side navigation area, choose Space Management, locate your space tile (Tank Farm), and choose Edit to open it.
-
Go to the HDI Containers section. If it is not available, make sure that you have DW Scoped Space Administrator role for the space.
Note:
- If you are a System Owner, you may not have the HDI Containers section by default. In this case, you will need to have the DW Scoped Space Administrator as well.
- No users can assign roles to themselves, even if you are a System Owner. Roles must be assigned by another DW Administrator user.
-
In the HDI Containers section, if the + button is not available, then you need to raise a ticket following the dialog instruction.
This creates instance mapping between SAP BTP space and SAP Datasphere database. Since the mapping is tied to a particular SAP BTP space, it is necessary to create a unique mapping for each space in use. To create this mapping, you will be required to provide the ID of the SAP BTP Organization, Space ID, and SAP Datasphere tenant as essential details.
Note: For SAP internal users, create a JIRA ticket containing the following information: Project: FPA35 - Ops Request (Andreas); Component: Service Request; Include details about BTP Org ID, BTP Space ID, datasphere tenant and Datasphere tenant url.
See:
Linking SAP Datasphere and SAP Analytics Cloud makes easier to switch between these two products.
See Enable the Product Switch to Access an SAP Analytics Cloud Tenant.
You can find the linked products in the top right corner under the label Product Switch, allowing you to switch easily between them.
With SAP Datasphere successfully set up, you can now proceed to prepare your CAP application to interact with it. You have the capability to both read from and write into SAP Datasphere using an HDI Container. This integration allows your CAP application to seamlessly access and manipulate data within the SAP Datasphere environment.