cTMS Setup for SAP Analytical Cloud (SAC)

Estimated read time 9 min read

Introduction

The cTMS setup process is mostly similar to SAP Datasphere, only difference is, SAC tenants are provisioned by SAP, and the tenant details are provided directly by them, where as SAP Datasphere tenants are typically provisioned by the customer through BTP subaccounts within their own BTP Global Account.

As a result, SAC tenants are not part of your existing BTP Global Account, but instead reside in a separate Global Account that is linked to your SAP customer number. Let us dive deep into the procedure of setting up cTMS for SAC.Ā 

cTMS Architecture – SAP Analytical Cloud

Here we have four environmentsĀ Dev, QA, UAT, and Prod,Ā each corresponding to a separateĀ SAC Account. We have provisioned the Cloud Transport Management Service (cTMS) in a separate subaccount.Ā The SAC development team develop/configure various content packages and export the same from theĀ DevĀ SAC tenantĀ usingĀ Cloud Transport Management Service (cTMS), which then adds the transport to theĀ QAĀ node.Ā From there, it is imported into QA and the subsequent environments (UAT, Prod) throughĀ Solution Manager (SolMan), leveragingĀ Focused Build (FB)Ā orĀ ChaRMĀ status transitions.

Additionally, this setup can beĀ integrated with SAP Cloud ALM

Setup Steps:

Since several of these SaaS applications share common setup steps, please begin by following theĀ initial setup stepsĀ outlined hereĀ Setting Up Cloud TMS for Various SAP SaaS SolutionsĀ 

Step1: Setup OAuth Client in SAC

To enable integration viaĀ Destinations, you mustĀ set up an OAuth client in each SAP SAC tenant.

Login to SAP SACĀ and follow these steps:

Navigate to:
SystemĀ >Ā AdministrationĀ >Ā App IntegrationĀ >Ā OAuth Clients

Click onĀ “Configure Clients”

SelectĀ “Add a New OAuth Client”Ā to create a new client configuration.

Name: Give appropriate name
Purpose: API Access
Access: Analytical Content Network Interaction
Security: Client credentials
Token lifetime: by default 1 hour, you can extend it up to 24 hrs.

Note:Ā Make sure to copy and securely store the Client ID and Client Secret.
TheĀ Client Secret will not be visible againĀ after you clickĀ Add.

Step2: Create Destinations to SAC Tenants

In the subaccount where theĀ Cloud Transport ManagementĀ (cTMS) service is subscribed, create aĀ destinationĀ to each targetĀ SAPĀ SAC Tenant.Ā 

Name:Ā Give appropriate name to resemble your CTMS Node

URL:https://<SACTenant>.<region>.hcs.cloud.sap/api/v1/content/deploy/

Token Service URL: https://<SACTenant>.authentication.<region>.hana.ondemand.com/oauth/token

Use the Client id andĀ Secret you setup in step1 above.Ā 

Step3: Configure Transport Nodes in cTMS

Prerequisites

You have been assigned one of the following roles: Administrator or LandscapeOperator.

From the cTMS UI, you can define transport nodes to represent your system landscape. There are multiple ways to create a node:

You can either Create a node on the Landscape Visualization screen or from Transport Nodes screen.Ā 

Allow Upload to Node:Ā Enable this checkbox to allow file uploads to the node. Enabled for the Dev node only.Ā 

Forward Mode:Ā Default value is Auto,Ā You can change this setting based on your landscape and transport flow requirements.

Controlled by SAP Solution Manager:Ā Select this checkbox only if you plan to integrate with SAP Solution Manager (e.g., Charm or Focused Build). We will only enable this for QA and upper environments.Ā  When you enable this, it will not allow manual imports from cTMS UI, only through Charm/FB status change.Ā 

Note:Ā If you plan to integrate with Cloud ALM, do not check this option.Ā 

Content Type:Ā For SAP SAC, select Application Content.

Destination:Ā Select the appropriate target destination you previously configured in your cTMS subaccount in Step2.

Step4:Ā Create Transport routes in cTMS

In SAP Cloud Transport Management, transport routes are used to connect transport nodes.

Name: Provide the appropriate name

Chose the Source node & Target node and click on OK.Ā 

Your landscape loos like this

Note:Ā You can also use Transport Landscape Wizard, with which you can setup the all your landscape nodes & routes at a time.

Step5: SAC Configuration

To enable cTMS integration in SAP Analytical Cloud, you have to connect it to cTMS by following these steps:

Log in to the DevĀ SAP SAC tenant

Go to:Ā Transport → Export

Navigate to the Content Network Storage tab and select My Content

In the menu bar, click Settings

Upload the cTMS service key (in JSON format)

Once successfully uploaded, the status will change toĀ Live, indicating that the integration is active

Now the option toĀ upload content to cTMSĀ becomes available.

SelectĀ the content package(s) you want to transport

Click theĀ “Upload to cTMS”Ā option toĀ export the content to Cloud Transport Management Service

This will initiate the transport process and push the selected content to the configuredĀ QA node.

Step6: Integrate with Solution Manager

To integrate Cloud Transport Management (cTMS) with SAP Solution Manager (Charm / Focused Build), follow theĀ step6Ā from below article.Ā 

If you want to integrate with Cloud ALM, follow theĀ step7Ā from below article.Ā 

Ā Setting Up Cloud TMS for Various SAP SaaS SolutionsĀ 

Conclusion:

I hope you have learned, how to setup cTMS for SAP Analytical Cloud.Ā Now the setup is complete and ready for transporting the content using cTMS either integrated with SAP Solution Manager or Cloud ALM.

Thank you for readingĀ  my article, feel free to provide any feedback or comment for any questions.

Thanks,
Raghu

Ā 

Ā 

​ IntroductionThe cTMS setup process is mostly similar to SAP Datasphere, only difference is, SAC tenants are provisioned by SAP, and the tenant details are provided directly by them, where as SAP Datasphere tenants are typically provisioned by the customer through BTP subaccounts within their own BTP Global Account. As a result, SAC tenants are not part of your existing BTP Global Account, but instead reside in a separate Global Account that is linked to your SAP customer number. Let us dive deep into the procedure of setting up cTMS for SAC.Ā cTMS Architecture – SAP Analytical CloudHere we have four environmentsĀ Dev, QA, UAT, and Prod,Ā each corresponding to a separateĀ SAC Account. We have provisioned the Cloud Transport Management Service (cTMS) in a separate subaccount.Ā The SAC development team develop/configure various content packages and export the same from theĀ DevĀ SAC tenantĀ usingĀ Cloud Transport Management Service (cTMS), which then adds the transport to theĀ QAĀ node.Ā From there, it is imported into QA and the subsequent environments (UAT, Prod) throughĀ Solution Manager (SolMan), leveragingĀ Focused Build (FB)Ā orĀ ChaRMĀ status transitions.Additionally, this setup can beĀ integrated with SAP Cloud ALMSetup Steps:Since several of these SaaS applications share common setup steps, please begin by following theĀ initial setup stepsĀ outlined hereĀ Setting Up Cloud TMS for Various SAP SaaS SolutionsĀ Step1: Setup OAuth Client in SACTo enable integration viaĀ Destinations, you mustĀ set up an OAuth client in each SAP SAC tenant.Login to SAP SACĀ and follow these steps:Navigate to:SystemĀ >Ā AdministrationĀ >Ā App IntegrationĀ >Ā OAuth ClientsClick onĀ “Configure Clients”SelectĀ “Add a New OAuth Client”Ā to create a new client configuration.Name: Give appropriate namePurpose: API AccessAccess: Analytical Content Network InteractionSecurity: Client credentialsToken lifetime: by default 1 hour, you can extend it up to 24 hrs.Note:Ā Make sure to copy and securely store the Client ID and Client Secret.TheĀ Client Secret will not be visible againĀ after you clickĀ Add.Step2: Create Destinations to SAC TenantsIn the subaccount where theĀ Cloud Transport ManagementĀ (cTMS) service is subscribed, create aĀ destinationĀ to each targetĀ SAPĀ SAC Tenant.Ā Name:Ā Give appropriate name to resemble your CTMS NodeURL:https://<SACTenant>.<region>.hcs.cloud.sap/api/v1/content/deploy/Token Service URL: https://<SACTenant>.authentication.<region>.hana.ondemand.com/oauth/tokenUse the Client id andĀ Secret you setup in step1 above.Ā Step3: Configure Transport Nodes in cTMSPrerequisitesYou have been assigned one of the following roles: Administrator or LandscapeOperator.From the cTMS UI, you can define transport nodes to represent your system landscape. There are multiple ways to create a node:You can either Create a node on the Landscape Visualization screen or from Transport Nodes screen.Ā Allow Upload to Node:Ā Enable this checkbox to allow file uploads to the node. Enabled for the Dev node only.Ā Forward Mode:Ā Default value is Auto,Ā You can change this setting based on your landscape and transport flow requirements.Controlled by SAP Solution Manager:Ā Select this checkbox only if you plan to integrate with SAP Solution Manager (e.g., Charm or Focused Build). We will only enable this for QA and upper environments.Ā  When you enable this, it will not allow manual imports from cTMS UI, only through Charm/FB status change.Ā Note:Ā If you plan to integrate with Cloud ALM, do not check this option.Ā Content Type:Ā For SAP SAC, select Application Content.Destination:Ā Select the appropriate target destination you previously configured in your cTMS subaccount in Step2.Step4:Ā Create Transport routes in cTMSIn SAP Cloud Transport Management, transport routes are used to connect transport nodes.Name: Provide the appropriate nameChose the Source node & Target node and click on OK.Ā Your landscape loos like thisNote:Ā You can also use Transport Landscape Wizard, with which you can setup the all your landscape nodes & routes at a time.Step5: SAC ConfigurationTo enable cTMS integration in SAP Analytical Cloud, you have to connect it to cTMS by following these steps:Log in to the DevĀ SAP SAC tenantGo to:Ā Transport → ExportNavigate to the Content Network Storage tab and select My ContentIn the menu bar, click SettingsUpload the cTMS service key (in JSON format)Once successfully uploaded, the status will change toĀ Live, indicating that the integration is activeNow the option toĀ upload content to cTMSĀ becomes available.SelectĀ the content package(s) you want to transportClick theĀ “Upload to cTMS”Ā option toĀ export the content to Cloud Transport Management ServiceThis will initiate the transport process and push the selected content to the configuredĀ QA node.Step6: Integrate with Solution ManagerTo integrate Cloud Transport Management (cTMS) with SAP Solution Manager (Charm / Focused Build), follow theĀ step6Ā from below article.Ā If you want to integrate with Cloud ALM, follow theĀ step7Ā from below article.Ā Ā Setting Up Cloud TMS for Various SAP SaaS SolutionsĀ Conclusion:I hope you have learned, how to setup cTMS for SAP Analytical Cloud.Ā Now the setup is complete and ready for transporting the content using cTMS either integrated with SAP Solution Manager or Cloud ALM.Thank you for readingĀ  my article, feel free to provide any feedback or comment for any questions.Thanks,RaghuĀ Ā Ā Ā Read MoreĀ Technology Blog Posts by Members articlesĀ 

#SAP

#SAPTechnologyblog

You May Also Like

More From Author