Skip to Content
2
Sep 05, 2023 at 01:23 PM

How to connect an existing SAPUI5 app to a CAP APP?

400 Views

Hello everyone!

I had to move my backend ABAP service to the a CAP app. Following the SAP Tutorial it shows how to connect a Frontend app (SAPUI5) to the CAP app but the tutorial only shows when the frontend app is created after de CAP app, and so the front end app is added to the /App folder inside de CAP project.

In my case I alredy have an Frontend app deployed in the BTP, but now I must change to where the frontend app have to connect, instead point to a service abap, I want to point to the new CAP app (Also deployed in the BTP) without having to add the front end project to the /App folder inside the CAP project.

How can I expose a destination to the CAP App when it has to authenticate with JWT?
How should I configure the Frontend to connect to this CAP App?