-
Notifications
You must be signed in to change notification settings - Fork 29
setup
See installation for detailed configuration information
You can use a step by step wizard to connect to your system. Will still need to enable your sicf node and figure out your base url (see below) To start the wizard go in the command palette (Ctrl+Shift+P) and type AbapFs Create connection, then enter, and follow the instructions
-
find your server's base URL.
An easy way to do it is starting any UI5/BSP/webdynpro application. I will use transaction SOAMANAGER which opens a browser window to configure SOAP connections, but any web application running in ABAP will do. In my case the URL is https://vhcalnplci:44300/sap/bc/webdynpro/sap/appl_soap_management, and the bit required for the configuration is https://vhcalnplci:44300 . Note that chrome marked the URL as not secure, so I will need to set option "allowSelfSigned": true -
in transaction SICF, make sure that node /default_host/sap/bc/adt is active
-
Go to in your visual studio code settings, select abap-fs configuration and press Edit in settings.json You will end up in an editor showing settings.json, and will need at least one entry for abapfs.remote
A basic configuration will look like this: \{ "abapfs.remote": { "NPL": { "url": "http://vhcalnplci.bti.local:8000", "username": "developer", "password": "whatever" } } }
In my case will have to add "allowSelfSigned": true because I'm using a self signed certificate
-
connect to your ABAP server
- start the command palette by pressing Ctrl+Shift+P
- run command
- select your connection Ignore the hotkey, it's my personal setting
- after a few seconds you should get an error or success message, and you will see your ABAP system in the explorer pane, which you'll navigate as if it was a folder on your hard drive:
To connect with a SAPGUI the configuration above would need to be extended. If this is my configuration entry in SAPLOGON:
{
"abapfs.remote": {
"NPL": {
"url": "http://vhcalnplci.bti.local:8000",
"username": "developer",
"password": "whatever",
"client": "001",
"sapGui": {
"server": "172.18.0.3",
"systemNumber": "00"
}
}
}
}
Note that if the url host (vhcalnplci.bti.local) resolves to the sapgui ip (172.18.0.3), specifying the client is enough Also note you might need different settings for load balancing configurations