6

Everything you need to know about SAP Cloud Transport Management _ End to End gu...

 1 year ago
source link: https://blogs.sap.com/2023/07/04/everything-you-need-to-know-about-sap-cloud-transport-management-_-end-to-end-guide/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Everything you need to know about SAP Cloud Transport Management _ End to End guide

1 4 153

Hello Beautiful People,
OMG! Finally, I implemented this. And, it was so easy. Well, it’s always difficult until you have faced it.

I have always wanted to implement this, but not a single client that I worked for wanted to give this comfort of Transport Management to their developers until I met my current client, who also are enthusiasts like me, and they were like, “Sookriti, we have got to do this!”.

And thus, I started. The first thing I did was, hit the SAP Cloud Integration Community. I gathered a couple of blogs. I am going to drop them in the reference section. This blog is a quick summary of everything I did that the bloggers mentioned, and also what they didn’t.

It’s my belief that if stumble upon my blog, and want to follow it, chances are, you won’t be disappointed.

Image tagged in penguins squad - Imgflip

Pre-requisites:

A Global Account, a Subaccount, a Space, and below Entitlements:

Source
/Target
Service Name Technical Name Plan Status
Source Cloud Transport Management alm-ts standard (Application) ✅
Source Cloud Transport Management transport standard ✅
Source Process Integration Runtime it-rt
integration-flow
✅
Source Process Integration Runtime it-rt
✅
Source Integration Suite integrationsuite
enterprise_agreement (Application)
✅
Source
Content Agent Service
content-agent-ui
free (Application)
✅
Source
Content Agent Service
content-agent
application
✅
Source
Content Agent Service
content-agent
standard
✅
Target
Integration Suite integrationsuite
enterprise_agreement (Application)
✅
Target
Process Integration Runtime it-rt
integration-flow
✅
Target Process Integration Runtime it-rt
✅

Create Subscription/ Instance, Service Key, and Destinations in Source and Target Subaccounts in BTP Cockpit

Copy paste this table below in an excel sheet, and start configuring.

Reference No.
Source/ Target
Entitlement Name
Subscription
Instance
Instance – Service (Plan)
Service Key
Destination
Destination Name
A
B
C
D
E
F
G
1
Source
Cloud Transport Management
✅
❌
➖
✅
✅
TransportManagementService
2
Source
Integration Suite
✅
❌
➖
❌
❌
➖
3
Source
Process Integration Runtime
❌ 
✅
Process Integration Runtime (integration-flow)
✅
❌
➖
4
Source
Process Integration Runtime
❌
✅
Process Integration Runtime (api)
✅
✅
CloudIntegration
5
Source
Content Agent Service
❌
✅
Content Agent Service (Plan)
✅
✅
ContentAssemblyService
6
Source
➖
➖
➖
➖
➖
       ✅
TargetDestination 
7
Target
Integration Suite
✅
❌
➖
❌
❌
➖
8
Target
Process Integration Runtime
❌
✅
Process Integration Runtime (api)
✅
✅
➖

In Source BTP Subaccount:

Reference A1 || Create Entitlements for Cloud Transport Management 

Service Name Technical Name Plan Status
Cloud Transport Management alm-ts standard (Application) ✅
Cloud Transport Management transport standard ✅

Reference B1 || Create Subscription for Cloud Transport Management

Services ➡ Instances and Subscriptions ➡ Click Create]

Instance Name
(as per naming convention)
Service Plan
CloudTransportManagement Cloud Transport Management standard

Screenshot-2023-06-13-at-9.33.09-PM.png

Reference E1 || Create Service Key for Cloud Transport Management

Services ➡ Instances and Subscriptions ➡ Select Instance ➡ Create Service Key

Screenshot-2023-06-13-at-9.40.56-PM.png

Reference F1 || Create Destination TransportManagementService

Connectivity ➡️ Destinations

Create a destination for the Instance which you created for Cloud Transport Management.
The name of the Destination should be, TransportManagementService

Screenshot-2023-06-13-at-10.51.24-PM.png


On the next screen, you will see all the elements from the Service Key created for Cloud Transport Management. In case you don’t see the URL, Client ID, Client Secret, and Token Service URL, then open the Service Key JSON file, and manually copy and paste it.
Add an additional property like sourceSystemId and the value, the same as what you will create as a Transport Node in SAP Cloud Transport Management. In my case, I am mentioning CF_DEV_NODE.

Screenshot-2023-06-13-at-11.01.48-PM.png

Connection Test

Screenshot-2023-07-04-at-11.02.09-PM.png

Reference A2 || Create Entitlement for Integration Suite

Service Name Technical Name Plan Status
Integration Suite integrationsuite
enterprise_agreement (Application)
✅

Reference B2 || Create Subscription Integration Suite

Services ➡ Instances and Subscriptions ➡ Click Create

Screenshot-2023-06-25-at-3.24.00-PM.png

Reference A3, A4 || In Source _ Create Entitlement for Process Integration Runtime

Service Name Technical Name Plan Status
Process Integration Runtime it-rt
integration-flow
✅
Process Integration Runtime it-rt
✅

Reference B3, B4 || Create Instance for Process Integration Runtime – api

Services ➡ Instances and Subscriptions ➡ Click Create

You will need to create 2 Instances to be created like below. One for integration-flow plan, two, for api plan
Screenshot-2023-06-25-at-3.32.01-PM.png
The service key generated for the plan integration-flow can be used for the authentication of Cloud Integration end-point URLs using OAuth-based authentication.

The service key generated for plan api shall be used to create a Destination for Cloud Transport Management, as shown below:

Screenshot-2023-06-13-at-9.56.58-PM.png
Screenshot-2023-06-13-at-9.57.12-PM.png

Reference E4 || Create Service Key for Process Integration Runtime

Services ➡ Instances and Subscriptions ➡ Select Instance ➡ Create Service Key

Screenshot-2023-06-13-at-10.03.30-PM.png

Reference F4 || Create Destination

Connectivity ➡️ Destinations

Create a destination for the Instance which you created for Cloud Transport Management.
The name of the Destination should be, CloudIntegration.
– First, open the Service Key, i.e. the JSON code, where you will find the Client ID, Client Secret, Token Service URL.

– For the URL (underneath the description field), as https://<cloud integration source tenant url>/api/1.0/transportmodule/Transport
– The cloud integration source tenant URL can be found in the JSON file mentioned as “url”: “https://somethingSomething.region.hana.ondemand.com”.

Screenshot-2023-06-25-at-3.43.16-PM.png
Connection Test
Screenshot-2023-07-04-at-11.01.39-PM.png

.

Reference A5 || Create Entitlement for Content Agent Service

Service Name Technical Name Plan Status
Content Agent Service
content-agent-ui
free (Application)
✅
Content Agent Service
content-agent
application
✅
Content Agent Service
content-agent
standard
✅

Reference C5 || Create Instance for Content Agent Service

Services ➡ Instances and Subscriptions ➡ Click Create

Instance Name
(as per naming convention)
Service Plan
ContentAgentService Content Agent Service standard

Content.png

Reference E5 || Create Service Key for Content Agent Service

Services ➡ Instances and Subscriptions ➡ Select Instance ➡ Create Service Key

Screenshot-2023-06-13-at-9.48.12-PM-1.png

Reference F5 || Create Destination for Content Agent Service

Connectivity ➡️ Destinations

Create a destination for the Instance which you created for Content Agent Service.
The name of the Destination should be, ContentAssemblyService

Screenshot-2023-06-13-at-11.18.41-PM.png

On the next screen, you will see all the elements from the Service Key created for Content Assembly Service. In case you don’t see the URL, Client ID, Client Secret, and Token Service URL, then open the Service Key JSON file, and manually copy and paste it.

Screenshot-2023-06-13-at-11.23.16-PM.png

Connection Test

Screenshot-2023-07-04-at-11.01.51-PM.png

Reference F6 || Create Destination to connect with TargetDestination

Connectivity ➡️ Destinations

Create a destination to connect with the Target system. The name of the Destination can be anything, but let’s go for the name as TargetDestination.
The URL will be: https://deploy-service.cfapps.<Region of the Target Subaccount> .hana.ondemand.com/slprot/<Name of the Target Subaccount>/<Name of the Target Subaccount’s Space>/slp

Screenshot-2023-06-25-at-5.22.13-PM.png

Connection Test

Screenshot-2023-07-04-at-11.02.28-PM.png

In case you have more than 2 sub-accounts, and you wish to generate a TR each for all the CPI Tenant, add multiple Destination for Target, as shown below:

Screenshot-2023-07-04-at-9.10.27-PM.png

To summarise:

– the below 2 subscriptions and 4 instances will be left created, and each instance will have a Service Key created:

Screenshot-2023-06-25-at-5.11.24-PM.png

– the below 4 destinations will be left created:

Screenshot-2023-07-04-at-8.41.10-PM.pngScreenshot-2023-07-04-at-8.41.02-PM.png

In Target BTP Subaccount:

Add the entitlements for Integration Suite, and Process Integration Runtime (iflow, and api), in the same way as you added in the Source BTP Tenant.


Create Transport Nodes, and Transport Routes in SAP Cloud Transport Management

Create Transport Nodes

In SAP Cloud Transport Management, create a Transport each representing the Source and the Target Cloud Integration Tenants like below:

Screenshot-2023-07-04-at-9.25.35-PM.png

The Source Node should have the following settings:

Screenshot-2023-07-04-at-9.29.41-PM.png

The Target Node should have the following settings:

Screenshot-2023-07-04-at-9.30.02-PM.png

Create Transport Routes

Create Transport Routes as shown below. One route each representing the route from Dev to the lower environments. 

Screenshot-2023-07-04-at-9.41.38-PM.png

MINIONS Finally! All configs are complete


Testing Time!

STEP 1: Open the Cloud Integration’s Development or the Source Tenant, and click on Transport button. Then, a pop-up window will open, where you can fill in your precious comments, and select the check-box, as should below, in case you want the “Created By” to reflect your name. If you do not hit that check-box, it will show a system-generated name.

Screenshot-2023-07-04-at-10.12.31-PM.png

STEP 2: After the TR has been successfully generated, you will see a message like below:

Screenshot-2023-07-04-at-10.14.47-PM.png

STEP 3: Open Cloud Transport Management portal, and open the node which represents the Target Node, to import.

Screenshot-2023-07-04-at-10.43.07-PM.png

Screenshot-2023-07-04-at-10.50.27-PM.png

Tears of joy! 

Screenshot-2023-07-04-at-10.52.28-PM.png

Tears of joy Blank Template - Imgflip 

Go try it out, let know if it worked. If it didn’t, let me know that too!
Toodles!

Sookriti Mishra

❤️ As Roy T. Bennett says: “Be the reason someone smiles. Be the reason someone feels loved and believes in the goodness in people.”


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK