2
votes

I have recently started with SAPUI5, and have been following various Blogs and tutorials. I have a few queries:

  1. We maintain Destinations in the HCP Cockpit, and then use these destinations for oData services in the web IDE. How are the Destinations maintained for the different landscapes(Dev --> QA --> PRD), so that the SAPUI5 app(s) connect to the right environment?

  2. How can we maintain destinations in Eclipse?

1

1 Answers

5
votes

Technically you need a destination for each enviroment. But the correct way to do is mapping your HCP accounts with 3-tiers landscape and use the same desination name for the 3 of them.

So, you have 3 NetWeaver systems (i.e. S1D, S1Q and S1P) and 3 HCP landscapes as well (H1D, H1Q, H1P)

Then create a destination called, for example, 'myDestination' pointing for each landscape:

  in H1D -> myDestination points to -> S1D
  in H1Q -> myDestination points to -> S1Q
  in H1P -> myDestination points to -> S1P

Therefore when you deploy your app in H1D, and calls 'myDestination' it points to the Dev NW system, the you transport your app to H1Q and when the app calls 'myDestination' it points to the Qual NW system, etc etc