10 KiB
Connectivity Guide - Complete Troubleshooting Reference
Table of Contents
- Overview
- Destination Configuration
- Cloud Connector Setup
- Troubleshooting Connectivity Issues
- Specific System Scenarios
- Service Center
- Cloud Foundry Tools
- Network Requirements
- Documentation Links
Overview
SAP Business Application Studio dev spaces include a built-in web proxy for accessing:
- On-premise systems (ABAP, databases)
- On-premise Git repositories
- npm repositories
- External services
Security Principle: Always protect access to external systems including Private Artifact Repositories, on-premise systems, and trusted systems.
Destination Configuration
Required Properties (All Destinations)
WebIDEEnabled = true
HTML5.DynamicDestination = true
WebIDEUsage Property by System Type
| System Type | WebIDEUsage Value | WebIDEAdditionalData |
|---|---|---|
| ABAP System | odata_abap,dev_abap |
Do not set |
| SAP Cloud for Customer | odata_c4c |
As required |
| Generic Service URL | odata_gen |
As required |
| SAP Business Accelerator Hub | apihub_sandbox |
As required |
ABAP System Additional Properties
| Property | Value | Required |
|---|---|---|
sap-client |
SAP client number (e.g., 100) |
Yes for ABAP |
WebIDEUsage |
odata_abap,dev_abap |
Yes |
| URL | Host and port only (no path) | Yes |
Creating Destinations
Method 1: SAP BTP Cockpit
- Navigate to subaccount → Connectivity → Destinations
- Click New Destination
- Enter URL, authentication, and additional properties
- Save and test with Check Connection
Method 2: Service Center For OData services, use Service Center to discover and add services.
Cloud Connector Setup
Prerequisites
- Cloud Connector installed and connected to SAP BTP subaccount
- System URL exposed in Cloud Connector
Configuration Requirements
- Virtual URL Match: Cloud Connector virtual URL (host:port) must exactly match destination URL property
- Protocol: Must be HTTP
- Internal URL: Correct internal host and port for your network
Required Path Access
Grant "Path and all sub-paths" access for:
/sap/opu/odata/ # OData services
/sap/bc/ui5_ui5/ # UI5 resources
/sap/bc/adt/ # ABAP Development Tools
/sap/bc/ui2/app_index/ # App index
Finding Internal ABAP Port
- Open SAP GUI transaction
/NSMICM - Go to More → Go to → Services
- Locate port for desired protocol
Troubleshooting Connectivity Issues
Step 1: Verify Destination in BTP Cockpit
- Log into SAP BTP Cockpit
- Navigate to subscribed subaccount
- Go to Connectivity → Destinations
- Verify destination exists with correct properties:
WebIDEEnabled = trueHTML5.DynamicDestination = true- Correct
WebIDEUsagevalue - URL contains host:port only (no path)
- Use Check Connection to test
Step 2: Verify Destination from Dev Space
Run in terminal:
# Refresh destination list
curl localhost:8887/reload
# Generate destination list
curl $H2O_URL/api/listDestinations -o dests.json
Open dests.json, right-click → Format Document, and verify:
- Destination name matches exactly
- Host property points to correct URL
- Required properties present
Step 3: Fiori-Specific Verification
- Open Command Palette
- Run
Fiori: Open Environment Check - Select destination
- Provide credentials if prompted
- Save and view results in
/home/user/projects
Report shows:
- All available destinations
- OData service catalog retrieval results
- Configuration issues
Step 4: Cloud Connector Verification
In Cloud Connector:
- Check Connectivity → Cloud Connectors in BTP Cockpit
- Verify system virtual URL matches destination URL
- Verify protocol is HTTP
- Check Access Control grants required path access
- Review Cloud Connector logs for errors
Common Errors
"Tunnel handshake failed"
Causes:
- Proxy or network policy blocking connection
- No internet access to BAS connectivity service host
Solutions:
- Verify network allows connection to connectivity service
- Check connectivity service host for your region
- See SAP Note 3035686
OData Service List Not Displayed
- Test in internal network:
[https://<system-url>/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/ServiceCollection](https:///sap/opu/odata/IWFND/CATALOGSERVICE;v=2/ServiceCollection`) - Verify
sap-opu-iwfnd-catalogserviceservice is active (transaction/NSICF) - Check destination credentials
Workbench Failed to Connect
Verify network allows websocket connections to SAP Business Application Studio.
Specific System Scenarios
SAP S/4HANA Cloud
- Establish trust with SAP S/4HANA Cloud
- Manually create destination in BTP subaccount
- Follow: Integrating SAP Business Application Studio
For Cloud Foundry deployment target, setup can be automated. See Extending SAP S/4HANA Cloud.
On-Premise ABAP with Principal Propagation
Follow guides:
SAPUI5 Extension Projects
For failures during preview or Add Extension wizard:
- Locate failing request in browser network trace (filter
/sap/bc/) - Get internal host:port from Cloud Connector
- Test URL from internal network with internal host:port
- Verify
/sap/bc/adtservice is active
Service Center
Access Methods
- Click Service Center icon in activity bar
- View → Open View → search "Service Center"
- Click + in External Resources section of Storyboard
Available Service Providers
| Provider | Purpose |
|---|---|
| SAP System | Systems from BAS subaccount |
| SAP Business Accelerator Hub | SAP products, packages, services, events |
| Developer Hub | Published products and services |
| Unified Customer Landscape | Registered S/4HANA Cloud systems |
Capabilities
- Explore services, events, business objects, functions
- Use services as data sources
- Consume events and functions
- Create new services from business objects
Cloud Foundry Tools
Access
Open Command Palette, type CF
Key Operations
Login:
- Select authentication method
- Enter credentials
- Choose organization and space
Target Management:
- Create list of frequently used CF targets
- Switch targets with single click
- Reload target tree to refresh
Service Instance Creation:
- Marketplace services: Select service, plan, enter name
- User-provided services: For services not in marketplace
Service Binding:
- Binds service to locally run application
- Generates
.envfile with connection info - Available via Command Palette or Targets view
Network Requirements
Outbound IP Addresses
Use outbound IPs when connecting FROM BAS to external services.
Example (eu10 region):
- 18.158.7.155
- 3.65.235.145
- (See availability docs for complete list)
Inbound Connectivity
For firewall allowlisting:
- Connectivity service host:
[https://connectivity.[region].applicationstudio.cloud.sap](https://connectivity.[region].applicationstudio.cloud.sap`) - Inbound IPs listed in availability documentation
For trial environments, use DNS resolution:
nslookup <connectivity_service_host>
Performance Recommendation
Connect to the data center closest to your physical location.
Documentation Links
| Resource | URL |
|---|---|
| Connectivity Troubleshooting | https://help.sap.com/docs/bas/sap-business-application-studio/connectivity |
| Connecting to External Systems | https://help.sap.com/docs/bas/sap-business-application-studio/connecting-to-external-systems |
| Cloud Connector | https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/cloud-connector |
| Destination Configuration | https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/http-destinations |
| Availability/IP Addresses | https://help.sap.com/docs/bas/sap-business-application-studio/sap-business-application-studio-availability |
| Service Center | https://help.sap.com/docs/bas/sap-business-application-studio/explore-services-using-service-center |
SAP Guided Answers
Support Components
| Issue Area | Component |
|---|---|
| Connectivity | CA-BAS-CNSM |
| S/4HANA Cloud Extension | BC-SRV-APS-EXT-BAS |
| S/4HANA Cloud Setup | BC-SRV-APS-COM |
Last Updated: 2025-11-22 Source: https://github.com/SAP-docs/sap-btp-business-application-studio/tree/main/docs