Skip to Content
avatar image
Former Member

SAP CP CF Connectivity - Multitenancy

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 14 at 04:26 AM

    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!

    Add comment
    10|10000 characters needed characters exceeded