executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
btp-connectivitySAP BTP Connectivity — Cloud Connector setup, Destination Service, principal propagation, on-premise tunneling.
Independent GitHub snapshot · Automated classification · Original documentation governs
name: btp-connectivity description: SAP BTP Connectivity — Cloud Connector setup, Destination Service, principal propagation, on-premise tunneling. trigger:
# Download (Linux x64)
wget https://tools.hana.ondemand.com/additional/sapcc-2.17.0-linux-x64.zip
unzip sapcc-2.17.0-linux-x64.zip -d /opt/sapcc
/opt/sapcc/go.sh
# Admin UI — default credentials: Administrator / manage
open https://localhost:8443
In the SCC UI:
Administrator / manage → change password immediatelyIn SCC UI → Connector → Add Subaccount:
s4hana-prod)In SCC UI → Cloud To On-Premise → Add:
| Field | Value |
|---|---|
| Virtual Host | s4hana-virtual:443 |
| Internal Host | s4hana.internal.corp:443 |
| Protocol | HTTPS |
| Backend Type | ABAP System |
Add resource paths:
/sap/bc/adt/sap/opu/odata/sap/opu/odata/sap/BTP Cockpit → Connectivity → Destinations → New Destination:
{
"Name": "s4hana-onprem",
"Type": "HTTP",
"URL": "https://s4hana-virtual:443",
"ProxyType": "OnPremise",
"Authentication": "PrincipalPropagation",
"Description": "S/4HANA on-premise via Cloud Connector"
}
For BasicAuth instead of PrincipalPropagation:
{
"Name": "s4hana-onprem-basic",
"Type": "HTTP",
"URL": "https://s4hana-virtual:443",
"ProxyType": "OnPremise",
"Authentication": "BasicAuthentication",
"User": "SAP_USER",
"Password": "***"
}
On the ABAP system (transaction STRUST):
icm/HTTPS/trust_client_with_subject profile parameter is set# Check SCC tunnel status from Admin UI → Connector → Status = Connected
# Test destination from BTP Cockpit (Destinations → "Test Connection" button)
# Test via curl through destination service (OAuth flow):
curl -s -X POST \
https://<subaccount>.authentication.us10.hana.ondemand.com/oauth/token \
-d "grant_type=client_credentials" \
-u "<clientid>:<clientsecret>"
# Use the access token to call the destination service:
curl -s \
"https://<destination-api>/destination-configuration/v1/destinations/s4hana-onprem" \
-H "Authorization: Bearer <token>"
# Expected: JSON with destination details + auth tokens
SCC version too old
Resources path case mismatch
/sap/bc/adt ≠ /sap/bc/ADT.Principal propagation fails silently
SCC shows "Disconnected"
*.hana.ondemand.com. Verify region matches BTP Cockpit.One SCC per subaccount limitation
--shared mode pointing to same subaccount.Destination "Test Connection" fails with 502