Skip to Content
0

SAP CP CF Connectivity - Multitenancy

Mar 08 at 04:39 PM

30

avatar image
Former Member

Dear expert,

I'm wondering whether SAP CP CF Connectivity supports multitenancy. Imagine the scenario below.

  • Provider (PaaS tenant) provides a multi-tenant app including a SAPUI5 table which should display data from on-premise system.
  • Two consumers A and B (SaaS tenant) subscribe the multi-tenant app.
  • Consumer A and B have their own on-premise systems.
  • How can consumer A and B see their own data from their own on-premise system in the SAPUI5 table of the multi-tenant app?

Best regards,

Wenjun

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Yuvaraj Ramamurthy
Mar 14 at 04:26 AM
0

Hi Wenjun,

In order to consume destinations, the multi-tenant app should be bound to the destinations service(currently available plan is lite). Once the binding is done, you should be able to see the destination section part of your VCAP_SERVICES something like below.

{"VCAP_SERVICES": {"destination": [{"credentials": {"uri": "https://destination-configuration.cfapps.sap.hana.ondemand.com"}}],"xsuaa": [{"credentials": {"clientid": "xyz","clientsecret": "xxx"}}]}}

Once you have this, you can use the following URL to read the destination configuration at subaccount level using the GET call below

GET "<uri>/destination-configuration/v1/subaccountDestinations/<destination name>"

Finally, using the destination you should be able to fetch the customer specific data.

Give it a try and let us know the results. Good luck!

Share
10 |10000 characters needed characters left characters exceeded