How do I deploy only certain parts of an app to SAP Cloud Platform? - sapui5

I've imported an existing SAPUI5 app into SAP Web IDE and wish to deploy it to Hana Cloud Platform (HCP) SAP Cloud Platform (SCP) SAP Business Technology Platform (SAP BTP).
Unfortunately the structure is not just one app, rather 3 apps within a parent app folder.
When I deploy to HCP SCP SAP BTP, it simply picks up the first app and ignores the other 2.
Can any of the config files (neo-app.json etc) be changed to allow specific folders to be deployed?

Related

Migrate SAPUI5 Fiori application from Neo to Clould Foundry

I have some SAPUI5 Fiori applications developed using SAP WEB IDE in the Neo platform. Now I need to migrate those applications to the cloud foundry environment. So far as I checked there are few differences in the application files of NEO & Cloud Foundry.
eg:
Neo has neo-app.json and cloud foundry has xs-app.json
Are there any guidance or information related on correctly migrating SAPUI5 apps from Neo to Cloud Platform.
There are indeed not that many differences but there is some different handling in terms of tooling files, etc ...
I would propose to create a new multi-target test project using the provided standard templates and then add a UI5 test template subproject.
That will give you an idea of how the CF UI5 project structure looks like and which files are being generated.
It also depends on whether you are going to use the new HTML5-repo application architecture or not. That newer format has more impact and changes under the hood.

Can I deploy an app built on SAP Cloud SDK to Kubernetes?

We build a SCP native java application based on SAP cloud SDK. if we later on migrate to SCP kubernete env., would the app runs without migration? if changes needed, how much effort would it be? thanks.
Applications using the Java libraries of the SAP Cloud SDK can also run on a local machine and, as a consequence, as part of an application running in a container in Kubernetes. Additionally, the SDK already today provides abstractions that allow to run the same code on Cloud Foundry and Neo when accessing services of SAP Cloud Platform.
I cannot yet say how the access to specific functionality of SAP Cloud Platform works in Cloud Foundry versus a future Kubernetes environment, but this should be the blueprint.

Deploy SAPUI5 application to ABAP repository

I started developping an UI5 application in SAP Web IDE. At this moment, I just run it in a test Fiori Launchpad. The next step will be to deploy it to our ABAP repository. I guess I need to adapt some parts of the application for this reason (or add some file). This is my actual project structure:
When I want to make it run on the ABAP AS...
Are there important files missing?
How should the manifest.json and Component.js be adapted? (e.g. paths)
Have you got some more hints?
if the application runs in the web ide, the application usually will run deployed to a server on this server as well. i.e.:
if the application runs in the web ide, there are no files missing.
if the application runs in the web ide, the Manifest.json and Component.json do not need to be adapted.
just test the application deployed: deploy the application through the web ide or go to transaction SE38 and run the program /UI5/UI5_REPOSITORY_LOAD. after deploying the application the same should be seeable in transaction SE80 within bsp applications. Then set up the application for the fiori launchpad: transaction LPD_CUST. After that set up the application in the fiori launchpad designer: transaction /UI2/FLPD_CUST. Thereafter create a role in transaction PFCG for the in the FLPD created group which contains the tile connected to the corresponding application. Now the tile for the application should be addable within the fiori launchpad.

Is there a solution to deploy SAP Mobile apps for Android without local SAP HAT installation?

I am asking me if there is a way to deploy SAP hybrid apps (programmed in WEB IDE) for Android / iOS without having a "local" HAT connector installed?
My intention is that with all this cloud services it should be possible to consume a "build for Android" service in the cloud instead of installing the build stuff on a local developer machine.
This question is a little bit related with these posts:
SAP Mobile Integration with android
SAP HANA Cloud Platform for mobile apps
Yes, this has been implemented end of last year. The prerequisites are as follows:
Subscribe to Portal service
Subscribe to Fiori Mobile service
Create a "default" launchpad in Portal service
Enable the Hybrid App Toolkit plugin in the WebIDE
Now when you create new apps in the WebIDE, on the first page there is a "mobile" checkbox that you need to select. If you have done this, you can trigger a cloud build via the "Fiori Mobile" context menu that you get when you right-click your project. You can find a more elaborate guide here.

How to integrate SAPUI5 apps developed on ABAP repository in HANA Cloud Platform

The scenario is to use already developed SAPUI5 applications on ABAP Gateway as portal widgets in sites developed through SAP HANA Cloud Platform,portal service.
I know we can add the ABAP backend gateway services using HANA Cloud connector and destination in HCP cockpit.
How to do we deal with the SAPUI5 applications.
a) Do we need to export them from the ABAP repository and import them into HCP web ide?
b) Can we directly deploy the same application on HCP as well and access it on the site?
In above both cases, what about the service calls made from within the app? wouldn't the urls be changed once the app is moved/imported to HCP [assuming app only makes call to relative urls.]
Any information/Documentation on this would be really helpful.
to both a) and b) my answer is Yes. With some reservation for a) as actually I just don't know of another method to deploy existing SAPUI5 apps from backend to HCP.
In my case the scenario was the following:
First, we installed HCP connector, linked it to existing S-users, then I defined a destination in my HCP account. Be aware that you have to add some specific attributes to the destination to make it available in WebIDE.
My task was to extend some existing SAPUI5 applications, so I imported them into WebIDE and it appeared that they worked just fine when running via WebIDE without changing a single line of code or configuration. Apparently they can be deployed to HCP as a standalone apps or as a part of Fiori launchpad.