Attila, S/4HANA, BTP Fullstack Developer (EN, DE, HU)

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.


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

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

Select service group /IWBEP/CONFIG

Press Publish Service Groups then confirm with Yes

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

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.

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



