Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker

This is a short configuration setup to connect Fiori Tools extension in VSCode to ABAP Cloud Developer Trial running on Windows WSL / Docker. At the end both OData v2 and V4 services are accessible from VSCode. Good option for practicing and prototyping locally.

Extract the dummy certificate

Open SAP GUI and start transaction /UI2/FLP .

Fiori Launchpad starts. Export the certificate. How to dump a certificate is dependent on the web browser, this sample using Brave browser.

image-32 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker
image-33 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker

As result You should have a _.dummy.nodomain.crt file saved locally.

Right click on the certificate and install it for your user or the entire computer.

Add dummy domain to the hosts file

You will find the host file here Windows\system32\drivers\etc\hosts. Add the following lines at the end. You need admin privileges.

# ABAP Developer Trial
127.0.0.1	vhcala4hci	vhcala4hci.dummy.nodomain

Add dummy domain to the instance profile

Instance profile holds the startup parameters of the Netweaver system.

Start transaction RZ10.

Select profile A4H_D00_VHCALA4HCI

Choose Extended maintenance

Set the SAPLOCALHOSTFULL parameter to vhcala4hci.dummy.nodomain

image-34 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker

Step back. Save and Activate the instance profile from the menu. Ignore warnings and errors.

Restart ABAP Trial System.

Publish the OData V4 Catalog Service

Launch transaction /IWFND/V4_ADMIN

image-35-1024x200 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker

Select service group /IWBEP/CONFIG

image-36-1024x261 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker

Press Publish Service Groups then confirm with Yes

image-37 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker

Add System using Fiori Tools in VSCode

To be able to use Fiori Tools and Project Wizards You need to add the ABAP System first.

Use the Fiori: Add SAP System command

image-38 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker

The system is now available under the URL https://vhcala4hci.dummy.nodomain:50001/ , use that.

Since we installed the certificates and adjusted the domain, there will be no certificate issues. OData v4 services are discovered too, due we published the V4 Catalog Service.

image-40 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker

Disabling self-signed certificate issues via UI5.yaml

In each of Your project to make preview functionality work, the UI5.yaml must be adjusted. Disable certificate issue blocking your tests.

ignoreCertErrors: true

image-41 Connect VSCode and Fiori Tools to ABAP Cloud Trial on Docker
SAPDEV.EU
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.