SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Learn how to bring SAP Concur data to SAP Datasphere

Overview

🎓 advanced 20 min. SAP DatasphereCloud IntegrationSAP ConcurSAP Integration SuiteAdvanced

You will learn

  • How to create Database Users/Open SQL Schemas SAP Datasphere’s database.
  • How to registered external systems IP address in SAP Datasphere IP allowlist.
  • Update the existing integration flow with SAP Datasphere Data Source.
  • Modeling using Graphical view on SAP Concur data
Lalit Mohan Sharma L Lalit Mohan Sharma January 23, 2024
Created by October 20, 2023
Contributors

Prerequisites

Prerequisites

Steps

For analyzing data, SAP Datasphere is a flexible, scalable, and cost-effective solution; with Integrated tools and data governance, and Self-service analytics, you can easily cleanse, enrich, and visualize your data. It provides a large set of default connections to access data from a wide range of sources, which might be in the cloud as well as on-premises, or from SAP as well as from non-SAP sources or partner tools.

To extend connectivity beyond SAP Datasphere standard remote connectivity and cover additional data sources we can create a connection to a partner tool and generate an Open SQL schema in SAP Datasphere. When data is pushed by the source via created database users with an Open SQL schema, you can directly import a table in the Data Builder which is then deployed as a local table.

architecture
architecture

Step 1 Create Database Schema & table

  1. To create a Space, click on the Space management tab on the bottom left, and click on the Create button on the top right.

    discoveriflow
    discoveriflow

  2. Enter a name for your Space. The Space ID will auto-populate. In this example, let’s call your Space DEV SPACE. Click on Create, and you’ve successfully created your Space in SAP Datasphere.

    discoveriflow
    discoveriflow

  3. We need this space to create a dedicated schema which will be used to store the Concur Expense Report data. To do so, navigate to Database Access, and choose Database Users section.

    discoveriflow
    discoveriflow

  4. To create database users to connect external tools to SAP Datasphere Click on Create in the Database Users section.

    discoveriflow
    discoveriflow

  5. Provide a Database User Name Suffix for your schema, and enable both Read and Write access. Click on Create to close.

    discoveriflow
    discoveriflow

  6. Once created, Deploy the space to activate it. Click the little information icon next to your user to open its details.

    discoveriflow
    discoveriflow

  7. Take note of the Database User Name, Host Name, Port and Password. To see the password you have to request one by clicking the button. Make sure to note this password down as you won’t be able to retrieve it again afterwards.

    discoveriflow
    discoveriflow

  8. Finally, we can open the Database Explorer and log in with the credentials we just noted down.

    discoveriflow
    discoveriflow

  9. In Explorer, open a new SQL window (use the little SQL icon on the left) and verify that you are connected to the correct schema. In order to store the Concur Expense Report data we need to create a new table.

    We will create a table to store Expense Reports, which will have an ID, Name, currency code, Country, Total, and so on with all necessary fields which are required for analyzing data.

    You can use the below sample code and hit Execute (the green play button) to execute your statement.

    discoveriflow
    discoveriflow

  10. This is the SQL code you can used to create the “SPEND_ANALYSIS#EXTERNAL”.“REPORTS” table:

SQL
CREATE COLUMN TABLE "SPEND_ANALYSIS#EXTERNAL"."REPORTS"(
	"CREATED" LONGDATE DEFAULT CURRENT_TIMESTAMP,
	"ID" NVARCHAR(25),
	"NAME" NVARCHAR(50),
	"CURRENCYCODE" NVARCHAR(5),
	"COUNTRY" NVARCHAR(20),
	"RECEIPTSRECEIVED" BOOLEAN,
	"OWNERNAME" NVARCHAR(50),
	"OWNERLOGINID" NVARCHAR(50),
	"PAYMENTSTATUSNAME" NVARCHAR(100),
	"TOTAL" DOUBLE,
	PRIMARY KEY(
		"ID"
	)
)
Step 2 Add Cloud Integration IP address range to IP Allowlist
+
Step 3 Create the JDBC Data Source
+
Step 4 Modify the integration flow's script
+
Step 5 Add steps to connect with Database
+
Step 6 Deploy & Monitor integration Flow
+
Step 7 Modeling using Graphical view
+
Step 8 Final Result
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. Create Database Schema & table 2. Add Cloud Integration IP address range to IP Allowlist 3. Create the JDBC Data Source 4. Modify the integration flow's script 5. Add steps to connect with Database 6. Deploy & Monitor integration Flow 7. Modeling using Graphical view 8. Final Result

Learn more →