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,004

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?

Accepted Solutions (0)

Answers (3)

Answers (3)

tridwip
Active Participant

Hi,

 Maintain this below mentioned properties(mandatory with other properties) in destination along with "Proxy Type: OnPremise

 

Authentication: BasicAuthentication
User:
Password:
"

Properties:

WebIDEEnabled: true

SAP-Client:client ID(like 300)

html5.DynamicDestination: true

Then in BAS:

1. go to menu View->Find Command

2. In the dialog enter Consume SAP Service

3. Choose the UI folder

4. Choose My SAP System

5. Choose the relevant data source (destination)

or

right click on manifest.json -> Open Service Manager and add your service

 

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

Noel_Hendrikx
Active Contributor
0 Kudos

Hi DhairyaM,

I don't have experience with BTP but with NEO cloud platform (predecessor) you assign an alias name and use that one in your neo-app.json file.

Regards,

Noël