Showing results for 
Search instead for 
Did you mean: 

SAP UI5 app to connect to multiple destinations in same subaccount.

0 Kudos

Hi All,

Our requirement is to enable single UI5 app to use multiple destinations either "A" or "B" based on from where it is called (S/4 Hana on premise).

We have 2 backend systems 1 is for build teams and 1 for Support team both connected to same BTP subaccount.

The application is called from the GUI launchpad and application is deployed and hosted at BTP subaccount.

What can be the best solution to handle this scenario.

Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello ashish.swadde.

How are you? I have include the Tag "SAP S/4HANA Cloud Extensibility" for this question, as SAP BTP Connection with SAP S/4HANA Cloud is an Extensibility Topic.


Juliano Romanato.

Accepted Solutions (0)

Answers (1)

Answers (1)

Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ashish,

You can add both BTP destinations to your xs-app.json. Based on the route that is being matched, the corresponding destination should be hit which then applies the same auth, parameters, etc.. So when defining the source in your xs-app.json, you would give different routes for your two scenarios.