Technology Blog Posts 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: 
appalanaidu_uppada
Product and Topic Expert
Product and Topic Expert
40,370

Introduction


SAP Cloud Integration is now available on Cloud Foundry environment of SAP BTP. You can now have CPI tenants running on Cloud Foundry environment, If you are entitled to Cloud Platform Enterprise Agreement (CPEA) license.

In this blog, I will talk about the steps involved in provisioning/decommissioning of a CPI tenant on the Cloud Foundry environment.

Refer my other blog if you want to learn about the self-service provisioning of CPI tenants on Neo environment.

Refer Integration Suite – Simplified Onboarding and Provisioning if you want to Get started with Integration Suite.

Refer Integration Suite – Accessing Cloud Integration Runtime if you want to follow the steps required to access deployed integration flow endpoint

NOTE: This blog is relevant only for the customers migrating from Neo standalone CPI tenant to CF standalone CPI tenant.

Let’s get started.

Overview



  • Provisioning: Perform the following steps to provision your tenant and run integration scenarios on Cloud Foundry.





    1. Create a subaccount on the CPEA Global account

    2. Enable Cloud Foundry on the subaccount to create Org ( Required only for step 7 )

    3. Subscribe to Process Integration SaaS Application

    4. Configure the user access to the application

    5. Provision a tenant

    6. Create and Deploy integration flows from the design-time of the tenant

    7. Access the deployed integration flow endpoint through the credentials provided by the Process Integration Runtime instance.





  • Enterprise Messaging: Additionally, if you want to run scenarios with JMS message queues you need perform the below step





    1. Activate Enterprise Messaging on the tenant to run scenarios with JMS/AS2/XI (with JMS storage ) adapter





  • Decommissioning: To decommission a tenant, you need to simply unsubscribe the service.


Provisioning


 1. Create a subaccount:


Create a subaccount on the CPEA Global Account as shown below.

You need to select



    •                 Environment as Cloud Foundry

    •                 Provider as Amazon Web Services (AWS)

    •                 Region as Europe (Frankfurt).





2. Enable Cloud Foundry:


Once you have created your subaccount for SAP BTP , you need to enable Cloud Foundry for this account to create Org on the cloud foundry environment as shown below.





Once this step is successful, you would see Org and API Endpoint on CF as shown below


3. Subscribe to Process Integration SaaS Application:


After enabling the Cloud Foundry on the subaccount, you need to subscribe to the Process Integration SaaS Application to provision a CPI tenant on the subaccount. The procedure to subscribe is shown below.





On Successful subscription, you would see the below screen



After the subscription is successful, Attempt to access application with a click on Go To Application would not succeed . You need to additionally configure user access by assigning the roles as mentioned in the next step.

In the upcoming releases, we would be improving this experience by assigning the required roles to the user on the click on Subscribe button ( similar to that of Neo) .

4.Configure the user access to the application


In order to configure the user access, you need to navigate back to Subaccount level as shown below


Create a Role collection:

Create a role collection as shown below.





Click on the newly created role collection name to assign the required roles.



Click on Add Role and assign AuthGroup_Administrator, AuthGroup_BusinessExpert and AuthGroup_IntegrationDeveloper to the role collection.





After all the roles are assigned, you should see the below shown screen.


Assign Role Collection:

Now, you should assign the user to the created role collection. Inorder to do that you need to choose SecurityTrust Configuration > SAP ID Service and assign role collection to the user.







After the Role Collection assignment is successful, you can access the application by clicking on the Go To Application.

5. Provisioning a CPI tenant


Navigate back to Subaccount > Subscriptions > Process Integration and choose Go To Application



Enter email and password to logon to the application



As soon as you logon, you would see provisioning application with an option to choose the environment of the tenant that you want to provision.

Please be aware of the below impact of the tenant environment

  • For Non-Production CPI tenants, as per contract, billing will include only CPI instance charges and additional connections will not be billed.

  • For Non-Production CPI tenants, SAP will not commit for any SLAs (Service Level Agreements).







6.Create and Deploy integration flows from the design-time of the tenant


Once tenant provisioning is successful, you can access the tenant URL to access the design time of the tenant as shown below



After accessing the tenant URL,Create a Integration package by navigating to Design > Create as shown below



Create an iflow under the package as shown below



Create a simple integration flow with HTTP Sender adapter as shown below



Save and Deploy the integration flow.

Now navigate to Monitoring > Manage Integration Content to view the status of the deployed integration flow.

During the deployment of first integration flow , the start of the integration flow would take up to 10 minutes.



We will use the deployed iflow endpoint to post message in the next step.

7.Access Deployed Iflow Endpoint


Do not perform this step till the tenant provisioning mentioned in the step#5 is successful.

 

In order to access the deployed integration flow endpoint through a rest client ( e.g: postman ), you need to create OAuth client .

Follow the below mentioned procedure to achieve this.
 Assign Process Integration Runtime entitlement ( Not required for Trial):

You need to be Global Account admin to perform this action.

Navigate to Global Account > Entitlements > Subaccounts > <Select the subaccount of the cpi tenant > > Go as shown below



 

Configure Entitlements



 

Add Service Plans



 



 


Create Process Integration Runtime service instance:

Inorder to create a service instance, you need to create a space first.

Create Space



Navigate to Process Integration Runtime in Service Marketplace





Create New Instance



Choose Service Plan as integration-flow



Specify Parameters value as:

{
"roles": [
"ESBMessaging.send"
]
}



 

Mention Instance Name and Finish

 



Service Key creation



Create service key



Copy the values of clientId and clientsecret



Post message to the deployed iflow endpoint ( using the clientid as username and clientsecret as password )


8. Accessing Client Certificate based iflow endpoints:


Follow the blog for step-by-step guidance.

 

That brings me to the end of provisioning steps.

Similar to Neo environment, You can create only one CPI tenant per subaccount .

As of now, we do not support moving the existing CPI tenants from Neo environment to CF environment.

There will not be any difference w.r.t features on Neo and CF. As of now, we have few limitations on CF as mentioned in the release note 

 

 

Enterprise Messaging:


Now, let me show you how you can run scenarios with AS2/JMS/XI (with JMS storage) adapter scenarios.

You can activate Enterprise Messaging on the tenant by navigating to Process Integration > Go To Application > Enterprise Messaging as shown below.





After successful activation, you would see the below screen



As soon as the Message broker is activated, you would see Message Queues tile appear on Monitoring page of the tenant.
Deactivate Message Broker:

Incase if you no more need JMS scenarios on your tenant, you can deactivate the broker as shown below


Decommissioning:


Sometimes, you may come across cases of deleting few cpi tenants to avoid additional costs.

This can be achieved by following a simple step shown below.



That's all.

Hope you enjoyed reading the blog on how to provision and decommission a cpi tenant on CF environment.

See you again with another interesting topic.
81 Comments
azael_navarro
Active Participant
0 Kudos
Hi dear appalanaidu.uppada ,

 

I have the same issue:



Tenant provisioning failed. Please try after sometime.





Can you help me please?


Thank you!!!
former_member396057
Participant
0 Kudos
Hi Appala Naidu,

I am getting the following error " Tenant provisioning failed. Please try after sometime. "

I tried for three times still the same error.Please find the screen short below.

Let me know how to resolve the issue.

 



 

Thanks & Regards,

Shabbir
manukapur
Active Participant
0 Kudos
Tenant provisioning stuck at 94% for 10 hours. Not moving. Any pointers?
0 Kudos
Same here. Tried several times, along with subscribing - unsubscribing, or even deletion and re-creation subaccount. Always stuck at 94%.
Former Member
0 Kudos

Hi Appala Naidu,

 

Thanks for the detailed post.

EDIT: I have successfully completed all the provisioning steps.

While trying to post a request to the endpoint via SOAP UI / Google Postman, I receive the following response.

HTTP Status 403 – Forbidden</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Forbidden. Missing CSRF token.</p><p><b>Description</b> The server understood the request but refuses to authorize it.</p><hr class="line" /><h3>Apache Tomcat/8.5.32</h3></body></html>

Request you to advise if any additional authorization is required. I have provided the username (clientID) and password (clientsecret) as per the instructions.

 

Best Regards,

Krishna Sharma 

ashish_goel4
Active Participant
0 Kudos
Hi Appala,

Same issue for me...failed after sometime in provision step. Can you help.
Subdomain

p1638870684trial

Regards,

Ashish
former_member635823
Discoverer
0 Kudos
Hi Appala Naidu,

Blog is very informative and helpful new CPI consultants, I have tried to setup for trial, but getting following error while creating 'New Instance'.
Unable to create service instance. We are sorry, but we have encountered an internal error. If the problem persists, please create a support ticket.


Service broker error: Internal Server Error



Can you please help to move from here.



Thanks,

Nagarjuna

 
former_member614232
Discoverer
0 Kudos
I too have same issue

" Tenant provisioning has failed. Create service broker instances only after successful provisioning. Please try after some time. "

 

After training multiple times... Still same issue persists. Please find my account details...please check any issue from SAP.

 

Subdomain : s0008735205trial
0 Kudos
Hi Appala,

From this blog https://blogs.sap.com/2019/06/10/self-service-enablement-of-cloud-integration-service-on-cloud-found...

I'm not able to continue after "Create Space". Under "Service Marketplace" I don't see Process Integration Runtime option. I see only "10 Services".

Please help.
0 Kudos
Also my trial account 30 days is going to expire, please let me know how to extend the validity.
appalanaidu_uppada
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Praveen,

You can extend the trial validation by clicking on the top right side section of the acccount.

Thanks,

Appala
KyleMack
Explorer
0 Kudos
Hello,

 

Similar to Praveen, I do not see "Process Integration" as a subscription option. I have 8 options displayed, and none of them are the required SaaS subscription. I am using a trial account and attempting to follow the below tutorial:

https://developers.sap.com/tutorials/cp-starter-integration-cpi-onboard-subscribe.html

 

Thank you,

Kyle

 

 
p330068
Active Contributor
0 Kudos
Hi Appala,

The iFlow is in starting state. Could you please assist me to start it successfully.

 

With regards,

Arun J
indiri2020
Explorer
0 Kudos
Hi Dear Appala,

Same issue for me as indicated by Arun, kindly see further details below:

 

Iflow status seems to be stuck on “The integration Flow is starting” (screenshot below)

On https://launchpad.support.sap.com/#/notes/2524719 it’s mentioned on question 32 this topic as common issue, however the link referred (SAP KBA 2648752is broken, please could you provide any support on this?

Q: My iFlow is stuck in “Starting” status, how to solve it?

A: You can find all guidance over this issue in the SAP KBA 2648752 – Unable to Deploy Integration Flow.

 

Many thanks in advance,


Ingrid

celofiorito
Product and Topic Expert
Product and Topic Expert
0 Kudos
Having the same issue on provision part....always getting error. 😞

 
Tenant provisioning has failed due to technical reasons. Please try again after some time. If the issue persists, please send your global account ID, subdomain name and a brief description of your issue to cpitrialfeedback@sap.com



subdomain

p2002211204trial

Environment

Trial

Provisioned By

marcelo.elumini@gmail.com

Provisioned On

Wed Apr 01 2020 03:37:48 (Brasilia Standard Time)

dirugadr
Participant
0 Kudos
Hello, I'm facing the same issue as you. Were you able to fix it?

Regards,
rasjoshi
Active Contributor
0 Kudos
Under subscriptions, I am not getting option for SaaS - Process Integration/Orchestration option.

 

BR,

Rashmi
former_member586768
Discoverer
0 Kudos
Same issue for me.. any solution?
andre_almeiada_f
Explorer
0 Kudos
for me too.. any solution?

 


Print

rasjoshi
Active Contributor
0 Kudos
Hi appalanaidu.uppada ,

 

I have created CPI account on Cloud Foundry successfully and created credentials also.

Now I am trying to connect SCP with Cloud Connector (CPI --> Cloud Connector --> SAP S4H).

I am able to add my subaccount in Cloud Connector, however it did not generate any Destination in my SCP cockpit.

I tried to create destination manually in cockpit but test connection giving error.

Please help to understand which step I am missing.

Below is the thread open for the same -->

https://answers.sap.com/questions/13090778/cloud-foundy-cpi-cockpit-destination-for-cloud-con.html

BR,

Rashmi
appalanaidu_uppada
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Rashmi,

Request you to open a ticket and attach the necessary screenshots.

Thanks,

Appala
rasjoshi
Active Contributor
0 Kudos
Hi appalanaidu.uppada

This is trial account, please suggest how to raise ticket for the same?

BR,

Rashmi
former_member700038
Discoverer
0 Kudos
Hello Appala,

Very nice blog

I have the same issue with provisioning. It's stuck at 0% since more than 6 hours. Can you please assist me on this?

Thanks & Regards


Hi,



When I was trying to create an instance in process integration runtime I am facing a service broker error. I am attaching the screenshot below

former_member707496
Discoverer
0 Kudos
Even i was trying since the last few days . Can anyone please help to solve this error!!!!!!!!!!!!!!!!!
0 Kudos
Even I am facing the same issue. Can anyone please provide a solution to it.
former_member707497
Discoverer
0 Kudos
Having the same issue. please provide the solution.
former_member688034
Discoverer
0 Kudos
I am also having the same issue. Can anyone help to find the solution.
former_member198282
Participant
0 Kudos
Can you update your blog because most of the topics covered like process integration runtime is no more. I have been working on PI since 2006 and am really struggling with this product. CPI is really confusing to use and most non-SAP integration developers found PI too tough ... LOL

 
former_member277096
Discoverer
0 Kudos

Hello, nice blog!

I've tried to logon to the application but without success, even though for my colleague it is working... Any idea? could it be my SAP ID?

kdhiman
Explorer
0 Kudos
Hello Sir,

Since I have been following your steps for configuring SAP BTP cockpit, when I was going to subscription I was getting an error of Subscription failed


I was subscribing to SAP Integration Suite and I do not know the drecommissioning process.

Can you please help me out in this ??