All skills
secondsky avatar

/sap-btp-business-application-studio

@620a19a
by Eddiesecondsky/sap-skills456 stars
120

This skill provides comprehensive guidance for SAP Business Application Studio (BAS), the cloud-based IDE on SAP BTP built on Code-OSS. Use when setting up BAS subscriptions, creating dev spaces, connecting to external systems, deploying MTA applications, troubleshooting connectivity issues, managing Git repositories, configuring runtime versions, or using the layout editor. Keywords: SAP Business Application Studio, BAS, SAP BTP, dev space, Cloud Foundry, MTA, multitarget application, SAP Fiori, CAP, HANA, destination, WebIDEEnabled, Cloud Connector, Service Center, Storyboard, Layout Editor, ABAP, OData, subscription, entitlements, role collection, Business_Application_Studio_Developer, Git, clone, push, pull, Gerrit, PAT, OAuth, asdf, runtime, Node.js, Java, Python, Task Explorer, CI/CD, Yeoman, generator, template wizard, mbt, mtar, debugging, breakpoint

Use this Skill: https://skilld.dev/gh/secondsky/sap-skills/sap-btp-business-application-studio

This session only. Nothing lands on disk.

templatesdestination-config.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Destination Configuration Templates

How to Use This Template

  • Purpose: Configure SAP BTP destinations for SAP Business Application Studio connectivity
  • When to Use: Connecting to ABAP systems, OData services, or external systems
  • Instructions: Replace [bracketed values] with your specific configuration

Template 1: ABAP On-Premise System

Use for connecting to SAP S/4HANA, ECC, or other on-premise ABAP systems.

# Basic Configuration
Name = [DESTINATION_NAME]
Type = HTTP
URL = https://[virtual-host]:[port]
ProxyType = OnPremise
Authentication = [BasicAuthentication | PrincipalPropagation | NoAuthentication]

# Required for BAS
WebIDEEnabled = true
HTML5.DynamicDestination = true

# ABAP-Specific
WebIDEUsage = odata_abap,dev_abap
sap-client = [CLIENT_NUMBER]

# For BasicAuthentication
User = [USERNAME]
Password = [PASSWORD]

Notes

  • URL must be host:port only (no path)
  • Virtual host/port must match Cloud Connector configuration
  • sap-client is required for ABAP systems

Template 2: SAP S/4HANA Cloud

Use for connecting to SAP S/4HANA Cloud public edition.

# Basic Configuration
Name = [DESTINATION_NAME]
Type = HTTP
URL = https://[tenant].s4hana.ondemand.com
ProxyType = Internet
Authentication = OAuth2SAMLBearerAssertion

# Required for BAS
WebIDEEnabled = true
HTML5.DynamicDestination = true

# S/4HANA Cloud Specific
WebIDEUsage = odata_abap,dev_abap

# OAuth Configuration
tokenServiceURL = https://[tenant].s4hana.ondemand.com/sap/bc/sec/oauth2/token
clientKey = [CLIENT_ID]
tokenServiceUser = [TOKEN_SERVICE_USER]
tokenServicePassword = [TOKEN_SERVICE_PASSWORD]

Additional Steps

  1. Establish trust with SAP S/4HANA Cloud
  2. Create Communication Arrangement
  3. See: Integrating SAP Business Application Studio

Template 3: SAP BTP ABAP Environment

Use for connecting to SAP BTP ABAP Environment (Steampunk).

# Basic Configuration
Name = [DESTINATION_NAME]
Type = HTTP
URL = https://[abap-env-instance].abap.[region].hana.ondemand.com
ProxyType = Internet
Authentication = OAuth2UserTokenExchange

# Required for BAS
WebIDEEnabled = true
HTML5.DynamicDestination = true

# ABAP Environment Specific
WebIDEUsage = odata_abap,dev_abap

# OAuth Configuration
tokenServiceURLType = Dedicated
tokenServiceURL = [TOKEN_SERVICE_URL]
clientId = [CLIENT_ID]
clientSecret = [CLIENT_SECRET]

Template 4: Generic OData Service

Use for connecting to any OData service.

# Basic Configuration
Name = [DESTINATION_NAME]
Type = HTTP
URL = https://[service-host]/[path]
ProxyType = Internet
Authentication = [BasicAuthentication | OAuth2ClientCredentials | NoAuthentication]

# Required for BAS
WebIDEEnabled = true
HTML5.DynamicDestination = true

# Generic OData
WebIDEUsage = odata_gen

# Optional: Additional data
WebIDEAdditionalData = [additional_data]

Template 5: SAP Business Accelerator Hub (Sandbox)

Use for connecting to SAP Business Accelerator Hub sandbox APIs.

# Basic Configuration
Name = [DESTINATION_NAME]
Type = HTTP
URL = https://sandbox.api.sap.com
ProxyType = Internet
Authentication = NoAuthentication

# Required for BAS
WebIDEEnabled = true
HTML5.DynamicDestination = true

# API Hub Specific
WebIDEUsage = apihub_sandbox

# API Key Header
URL.headers.APIKey = [YOUR_API_KEY]

Notes

  • Get API key from SAP Business Accelerator Hub
  • No authentication needed (API key in header)

Template 6: SAP Cloud for Customer (C4C)

Use for connecting to SAP Cloud for Customer.

# Basic Configuration
Name = [DESTINATION_NAME]
Type = HTTP
URL = https://[tenant].crm.ondemand.com
ProxyType = Internet
Authentication = BasicAuthentication

# Required for BAS
WebIDEEnabled = true
HTML5.DynamicDestination = true

# C4C Specific
WebIDEUsage = odata_c4c

# Credentials
User = [USERNAME]
Password = [PASSWORD]

Verification Checklist

After creating a destination, verify:

  • Destination name matches what you'll use in dev space
  • WebIDEEnabled = true is set
  • HTML5.DynamicDestination = true is set
  • Correct WebIDEUsage value for system type
  • URL format is correct (host:port for on-premise)
  • Authentication credentials are valid
  • Check Connection succeeds in BTP Cockpit

From Dev Space Terminal

# Refresh destinations
curl localhost:8887/reload

# List destinations
curl $H2O_URL/api/listDestinations -o dests.json

Common Issues

Issue Solution
Destination not visible Restart dev space after creating destination
Connection fails Verify Cloud Connector for on-premise systems
OData catalog empty Check sap-client value for ABAP systems
Authentication errors Verify credentials and token service URLs

Documentation Links:

Source: SKILL.md on GitHub

1 warning17d5 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill is a comprehensive and secure documentation guide for SAP Business Application Studio. It provides technical instructions for configuring development spaces, connectivity, and deployment workflows using standard SAP tools and best practices. No malicious patterns or security vulnerabilities were detected. The skill correctly identifies and recommends security best practices, such as using Personal Access Tokens (PATs) and protected connections for external systems.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer6mo

    5/12 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 620a19a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 months ago
Other metadata
metadata
{
  "maintainer": "Eduard Jiglau",
  "maintainer_email": "hello@sap-ai-skills.com",
  "website": "https://sap-ai-skills.com",
  "version": "2.4.1",
  "last_verified": "2025-11-27"
}

README badge

README badge for secondsky/sap-skills/sap-btp-business-application-studio