cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to connect an HTTP OnPremise destination using BasicAuthentication to a Fiori App in BAS on SAP?

DhairyaM
Explorer
0 Kudos
1,073

I am working on SAP BTP and need to connect a destination to a Fiori App in the Business Application Studio. Here are the relevant details:

  1. Destination Details:
    - Type: HTTP
    - Proxy Type: OnPremise
    - Authentication: BasicAuthentication
  2. Cloud Connector:
    - Version: 2.14.2
    - Java Version: 1.8.0_252 (IcedTea)
  3. Exposed Back-End Systems:
    - Protocol: HTTP
    - Back-End Type: ABAP System

How can I connect the above destination to a Fiori App on SAP Business Application Studio?

View Entire Topic
skrime
Explorer

Hi,

Just to clarify, you have created your backend destination in your sub-account (from SAP BTP) under Connectivity.
If, That's wright you are several options :
- You are creating a new project with Fiori Templates like Sap Fiori Application for example List Report Page and in the wizard a step appears to select your Subaccount backend Destination
- You can add the destination to ui5*.yaml (ui5-deploy.yaml, ui5-local.yaml...) different parameters can used example with ui5.yaml :
backend:
server:
customMiddleware:
name: fiori-tools-proxy
afterMiddleware: compression
...
...
...
configuration:
path: /sap
url: <your URL from your Subaccount Destination>
client: '<Your Client from your Subaccount Destination>'
destination: <Your Subaccount Destination>

For your user/password use the .env file option you can see details from this link : 

https://help.sap.com/docs/SAP_FIORI_tools/17d50220bcd848aa854c9c182d65b699/1c859274b511435ab6bd45f70... 

I hope this help you.

Regards.

Skrime