on 01-27-2020 4:18 PM
Hi Team,
I am developing side by side app from S4C(S4 HANA Cloud) to HCP(HANA Cloud Platform). In WebIde, I have created couple of app's and deployed to HANA Cloud Platform and I am referring URL which got generated in HCP in my S4C as custom tile.
My query is in S4C, we have two different instance (Q & Prod ) but in HCP, how do I segregate the UI5 app if I distiguish between Q and prod?
Please suggest?
Regards
Ankesh
You should use a different subaccount that is connected to the S/4HANA Cloud Production instance. The base URL should be placed in a Destination which is named always i.e. S4C so you don't have to adjust your apps when deploying to the production subaccount.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi gregor.wolf2,
What would be best approach to segregate S/4HANA Cloud Production instance out of these two: 1) Create different spaces within same sub-account, 2) Create different sub-account and why?
Also,
The base URL should be placed in a Destination which is named always i.e. S4C so you don't have to adjust your apps when deploying to the production subaccount.
I faces this issue lately , In Manifest.Json, On creating Fiori-Element app, Destinations are added in front of base-url. If I remove Destination, i can't test in WebIde, if I retain destination it will give issue after deployment , how do I overcome this issue.
I guess it is not good idea to put Destination everytime I test it from WebIde and delete the destination before deploying to S/4HANA Cloud instance, Please suggest?
Regards
Ankesh
Hi Ankesh,
you have you create separate Subaccounts as the destinations are maintained on the Subaccount level and not in a space. For the problem with your manifest.json and the destination you should check the Network trace in your Browser developer tools to find out what's different after deployment. Also read up on the details for the neo-app.json file. You can do many tricks there regarding request routing.
Best regards
Gregor
Hi,
You could use a GIT repository to keep different versions of your app. We're doing the same at our customers. We use one branch for each environment, once we move from one environment to another we merge the branches.
Another thing I can mention is that you can deploy your app directly to the S/4HANA Cloud launchpad in stead of using a custom tile with URL. If you deploy to the S/4HANA Cloud Launchpad your app will actual run inside the launchpad giving you access to additional features (e.g. in app navigation using semantic navigation) and you don't need to worry about destinations anymore.
Best regards,
Geert-Jan Klaps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you're going to deploy to SAP Cloud Platform, you should use the approach mentioned by Gregor. Create a subaccount for each S/4HANA Cloud instance (typically test and production) and connect each subaccount to the right S/4HANA Cloud instance. Within each subaccount use the same name for your destinations but point the to the corresponding instance (e.g. test or production).
Best regards,
Geert-Jan Klaps
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.