Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
ashokkumar_kn
Product and Topic Expert
Product and Topic Expert
9,832

Introduction

This blog post dives into how SAP Datasphere and SAP BTP Cloud Transport Management service can work together to streamline transport of content between Tenants (Dev>Test>Production). We'll explore what this integration can do and walk you through the steps to set it up.

This functionality is available in SAP Datasphere Version 2024.14

Overview.png

 

 

About SAP Cloud Transport Management Service (cTMS):

Cloud Transport Management service, a service within the SAP Business Technology Platform (BTP), empowers users to manage software transport across various tenants. Below are key benefits of using SAP Cloud Transport Management service.

Unified Transport Management: Ability to handle transport for SAP Analytics Cloud, SAP Datasphere, and other BTP applications, including HANA Cloud. This unified approach provides a holistic view of all transports across your SAP landscape.

Imagine an SAP Analytics Cloud story reliant on a SAP Datasphere model which access data from HANA Cloud.  Cloud transport Management service allows you to manage SAP Hana Cloud, SAP Datasphere, SAP Analytic cloud.  This means if an issue arises during the HANA Cloud transport, the transport administrator can hold off SAP Datasphere transport and SAP Analytic cloud objects until the HANA Cloud issue is resolved.

Landscape Definition and Transport Routes: Cloud Transport Management service empowers users to define their SAP Analytics Cloud and SAP Datasphere landscape and configure transport routes.  For instance, with a three-tenant setup (Dev, Test, Prod), individual nodes can be defined for each environment, along with designated transport routes to ensure content flows smoothly.

Automated Scheduling: Cloud Transport Management service facilitates the scheduling of imports within the destination tenant. This functionality empowers transport administrators to execute transports during designated project downtime windows, minimizing disruption.

Separation of Concerns:  By leveraging a dedicated tool like Clould Transport Management service for transport management, a clear separation of concerns is established. Developers can focus on content creation and packaging within SAP Datasphere and SAP Analytic Cloud, while transport administrators maintain exclusive access to CTMS, enabling them to manage and execute transports based on project schedules. This fosters increased efficiency and streamlines the content transport process.

Transport across different Landscape: Cloud Transport management service support cross landscape transport, For example if your have developed tenant in non-EUDP landscape and Production in EUDP landscape, DSP objects can be transport in these cross landscape scenarios.

 

Configuration

config overview.png

 

 

 

1) Configure BTP Cloud Transport Management Service credentials in DSP Source Tenant. (Map Source tenant and BTP cTMS)

  • Login to BTP Platform.
  • Go to Service Marketplace and enable Cloud Transport Management.
  • Go to Instance and Subscriptions
  • Create Instance.
  • Download Credentials Key. ( Download of JSON will be saved as *.txt )

key credentials.png

 

  • Login to DSP.
  • Go to Export Transport Export> My content.
  • Go to Settings > Connect to SAP Cloud Transport Management>
  • Choose JSON text file you download in earlier steps.

Note: If Configuration is successful, you should see System Status as LIVE

Live.jpg

2) Map Target Tenants in BTP Destination.

Create DSP OAuth Client. 

  • Login in DSP
  • Go to DSP > System > Administration > App Integration > Oaut Clients>Configure Clients
  • Add a New OAuth Client

OAuth Client.png

 Create Destination in BTP Cockpit

  • Create Destination in BTP Cockpit
  • Login to SAP BTP Cockpit.
  • Go to left pane > Destination > New Destination.

Note: Create new destination for each DSP Target node. For example if you have 3 tenant mode, Dev to Test to Prod. Create separate BTP destinations for Test and Prod.

Name

Provide name of the Destination, This is to identify specific DSP Tenant.

In 3 tenant setup, users need to create 2 destination

  • One for DSP Test Tenant. (Ex DSP_TEST_TENANT)
  • One for Production Tenant.(Ex DSP_PROD_TENANT)

Type

HTTP

Description

Provide a description of destination tenant.

URL

Provide API URL which cTMS will use to trigger import during transport.

https:// <DSP Tenant>/api/v1/content/deploy/

Proxy Type

Internet
Authentication

Supported Authentication

OAuth2ClientCredentials


Client ID : Provide Client ID

Client Secret : Provide Secret.

Token Service URL Type: Dedicated.

Token service URL: <Token URL> ?grant_type=client_credentials

Token Service URL is available in DSP > System > Administration >App Integraion>  Token URL

3) Define Landscape in BTP Cloud Transport Management Service.

Configure Node and Routes on CTMS

  • Define Transport Node.
  • Go to cTMS > Landscape Wizard.
  • Choose "Three-Node-Landscape"  (or Two Node setup based on your landscape)

cTMS Node.png

 

NameDefine name of the NodeEx: DSP_DEV || DSP_TEST || DSP_PROD
Description

Provide Description.Ex: DSP Development Tenant || DSP Test Tenant || DSP Production Tenant

Allow Upload to Node

TRUE.  ( For DEV Node )This would allow DSP to upload DSP Packages to this Node.
FALSE ( For Test and Production node)

Forward Mode



Auto: This would allow to forward the uploaded package to next Node automatically.

Manual: Users need to trigger forward of uploaded packages to next Node.
Content-TypeApplication Content.
// Keep it blank for source node.
Destination

Dev Node : <Empty>

TEST and Prod Node : Choose destination defined in above step.Ex DSP_TEST_TENANT (or) DSP_PROD_TENANT

 

Transport Execution

Export Content Network Package to cTMS

  • Login to DSP
  • Go to Transport - Export. - my content.
  • Choose Package and click on Upload to Cloud Transport Management Node.
  • Choose export Node.
  • Agree the Terms to use your rights to deploy the import the package in the target tenant.

Note: Same export user should be available in Target Tenant. cTMS will use export user authorization to trigger import in target tenant.

  • Click on Upload.

Upload.png

 

Trigger Transport

  • If the transport is scheduled, import in Target node should happen as per schedule.
  • In the case of Manual transport, Login to cTMS
  • Go to the  Transport Node > Select Target node and choose the package and trigger Import.
  • cTMS will import in Destination DSP tenant.

 

Additional Tips.

Checking log details during transport failure.

  • Log in to DSP.
  • Got to Security > Activity to check the Logs.
  • For additional information to debug.

Go to cTMS > Transport Node > Choose Target Node…

Click on "Display the log for queue entry"

fatal error.jpg

 Note the Content Reference ID

ashokkumar_kn_0-1740033976337.jpeg

 

 In the new instance of the browser, fire the below URL to understand more details about the reason for failure.

" https://<your DSP teant>/ contentmanager/v4/jobs/{ContentReferenceID}??brief=false   "

Import Failure

Import in target fails for error "Import from CTMS failed as user does not exists or not having enough privileges" on DSP can occur due to the following reasons:

  • The user who published on the source tenant does not exist on the target tenant.
  • The user on the target tenant lacks lifecycle privileges.
  • Different IDPs are used for the source and target tenants.

References

BTP Cloud Transport Management service Help 

DSP Help

SAC and cTMS Integration Blog: 

 

5 Comments
Joseph_Pamisetti
Explorer
0 Kudos

Good Start

tomas_balcar4
Explorer
0 Kudos

Why imported transport via cTMS is not visible in Import queue?

sharmaar
Explorer
0 Kudos

Thanks for sharing cTMS configuration.

Can we transport replication flow from one space to another in same tenant using cTMS.

Best Regards
Arvind

ashokkumar_kn
Product and Topic Expert
Product and Topic Expert
0 Kudos

 @sharmaar 

Hi Aravind,

cTMS is used for transport between tenants. Within the same tenant, users can manually import by choosing different space locations.

Thanks,

Ashok

 

ashokkumar_kn
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tomas  @tomas_balcar4 

Recently Transport monitor functionality is introduced. (2024.25 Release)

All the imports triggered via cTMS can be monitored here

Transport > Monitor 

Thanks,

Ashok