Sap Btp Best Practices logo

Sap Btp Best Practices

Community
secondsky
sap-btp-best-practices

SAP BTP best practices for enterprise architecture, account management, security, and operations, with verification evidence tracked in the repository ledger. Use when planning BTP implementations, setting up account hierarchies, configuring environments, implementing authentication, designing CI/CD pipelines, establishing governance, building Platform Engineering teams, implementing failover strategies, or managing application lifecycle on SAP BTP. Keywords: SAP BTP, account hierarchy, global account, directory, subaccount, Cloud Foundry, Kyma, ABAP, SAP Identity Authentication, CI/CD, governance, Platform Engineering, failover, multi-region, SAP BTP best practices

Overview

Publishersecondsky
Repositorysap-skills
Skill namesap-btp-best-practices
Stars
445
Forks
117
Bundled files
9
LicenseGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by secondsky on GitHub. Read the source before you install it.

Installation

Install the Sap Btp Best Practices AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/secondsky/sap-skills.git /tmp/sap-skills
mkdir -p .claude/skills
cp -r /tmp/sap-skills/plugins/sap-btp-best-practices/skills/sap-btp-best-practices .claude/skills/sap-btp-best-practices
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sap Btp Best Practices in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sap Btp Best Practices on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sap Btp Best Practices is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SAP BTP Best Practices

Related Skills

  • sap-btp-cloud-platform: Use for technical implementation details, CLI commands, and runtime configurations
  • sap-btp-connectivity: Use for connectivity patterns, destination configuration, and Cloud Connector setup
  • sap-btp-service-manager: Use for service lifecycle management and programmatic service operations
  • sap-btp-developer-guide: Use for development workflows, CAP integration, and application patterns
  • sap-cap-capire: Use when designing CAP applications on BTP or implementing multitenancy
  • sap-ai-core: Use for AI Core platform setup, model deployment, and orchestration configuration
  • sap-cloud-sdk-ai: Use for SDK-level AI integration in CAP or standalone BTP applications
  • sap-fiori-tools: Use for UI deployment strategies and frontend application guidelines

When to Use This Skill

Use this skill when designing a BTP account model, setting up governance, choosing commercial/environment patterns, establishing security and authentication defaults, designing CI/CD and operations practices, or reviewing a BTP landscape before implementation.

Quick Start

  1. Identify the target account model: global account, directories, subaccounts, environments, and regions.
  2. Choose the runtime path: Cloud Foundry, Kyma, ABAP Environment, or a hybrid portfolio.
  3. Apply security defaults from Security and Authentication.
  4. Use the relevant implementation skill for detailed execution: sap-btp-cloud-platform, sap-btp-connectivity, sap-btp-service-manager, sap-cap-capire, or sap-fiori-tools.
  5. Record production-specific gaps in the project plan before changing last_verified.

Documentation-audited SAP BTP implementation guidance based on official SAP documentation. The last_verified date remains stale until the source refresh and any live account checks are completed.

Quick Links:


Table of Contents

  1. Platform Fundamentals
  2. Account Model Setup
  3. Security and Authentication
  4. Connectivity
  5. Governance and Teams
  6. Development
  7. AI Development
  8. Deployment and Delivery
  9. High Availability and Failover
  10. Operations and Monitoring
  11. Cost Management
  12. Bundled Resources

Platform Fundamentals

Account Hierarchy

Global Account (SAP contract)
├── Directory (optional, up to 7 levels)
│   └── Subaccount (region-specific, apps run here)
│       ├── Cloud Foundry Org → Spaces
│       └── Kyma Cluster → Namespaces
└── Subaccount

Key Points:

  • Global account = contract with SAP (one per commercial model)
  • Directory = groups subaccounts (max 7 levels deep)
  • Subaccount = deployed in specific region, enables runtimes
  • Use labels for virtual grouping (Dev/Test/Prod, cost centers)

Environments

EnvironmentUse CaseKey Features
Cloud FoundryPolyglot appsMultiple buildpacks, spaces
KymaCloud-native K8sOpen-source, namespaces
ABAPABAP extensionsRAP, cloud-ready ABAP
NeoLegacyMigrate away - HTML5, Java, HANA XS

Commercial Models

  • Consumption-Based (BTPEA/CPEA): Flexible access, best for pilots
  • Subscription-Based: Fixed-cost for known service needs

Best Practice: Start with consumption-based, move to subscription for stable workloads.


Account Model Setup

Simple Model (3 subaccounts)

Global Account
├── Dev Subaccount
├── Test Subaccount
└── Prod Subaccount

Best for: Initial implementations, single team, <3 projects

Directory Model (scalable)

Global Account
├── Directory: HR
│   ├── hr-dev / hr-test / hr-prod
├── Directory: Sales
│   ├── sales-dev / sales-test / sales-prod
└── Directory: Central IT
    ├── api-management
    └── shared-services

Best for: Multiple teams, cost allocation, complex governance

Naming Conventions

EntityConventionExample
SubaccountNatural language"HR Development"
SubdomainLowercase, hyphenshr-dev-acme
CF OrgCompany prefixacme-hr-dev
CF SpaceConsistent across stageshr-recruiting

Tip: Derive CF org/Kyma names from subaccount names for consistency.


Security and Authentication

Identity Provider Setup

Always use SAP Cloud Identity Services - Identity Authentication

Corporate IdP → Identity Authentication (proxy) → SAP BTP

Critical Steps:

  1. Add multiple administrators (different time zones)
  2. Enable MFA for all admins
  3. Configure security alerts
  4. Set up backup admins in SAP ID Service

Authorization Methods

MethodBest ForNotes
ProvisioningProduction, many usersCentralized roles, automated offboarding
FederationSimple scenariosReal-time sync, but doesn't scale well
ManualTesting onlyQuick setup, not production-ready

Destination Authentication

Recommended:

  • PrincipalPropagation - SAP on-premise systems
  • OAuth2SAMLBearerAssertion - Third-party systems
  • OAuth2JWTBearer - User token exchange

Avoid in Production:

  • BasicAuthentication
  • OAuth2Password

See: references/security-and-authentication.md for complete guidance


Connectivity

Remote System Access

  • Internet Services: Destinations with authentication
  • On-Premise Systems: Destinations + Cloud Connector

Cloud Connector

  • Lightweight on-premise agent
  • Secure tunnel to SAP BTP (no inbound ports)
  • Fine-grained access control
  • Supports RFC and HTTP protocols
  • Enables principal propagation

Note: Each subaccount needs separate Cloud Connector config.


Governance and Teams

Required Teams

Platform Engineering Team (Center of Excellence):

  • Manages cloud landscape infrastructure
  • Handles account operations, build infrastructure
  • Creates governance and compliance guidelines
  • Does NOT manage individual application lifecycles

Cloud Development Teams:

  • Follow DevOps (develop AND operate)
  • Responsible for application lifecycle
  • Regular maintenance (e.g., UI updates every 6 months)

Essential Documentation

  1. Onboarding Doc: Organization, app IDs, timeline, tech stack
  2. Security Doc: Data sensitivity, policies, auth framework
  3. Services Catalog: Templates for destinations, builds, schemas

Development

Programming Models

SAP CAP (Cloud Application Programming Model):

  • Framework with languages, libraries, tools
  • Supports Java, JavaScript, TypeScript
  • Enterprise-grade services and data models

ABAP Cloud:

  • Modern ABAP for cloud-ready apps
  • RAP (RESTful ABAP Programming Model)
  • Extensions for ABAP-based products

Development Lifecycle

  1. Explore: Business opportunity, team roles
  2. Discover: Use cases, technology options
  3. Design: UX design, domain-driven design
  4. Deliver: Landscape setup, development
  5. Run and Scale: Feedback, optimization

AI Development

SAP BTP provides AI capabilities through SAP AI Core for:

  • Generative AI (LLMs, RAG)
  • Narrow AI (classical ML)

Key Resources:

Best Practices:

  • Use service keys for secure authentication
  • Implement PII data masking
  • Build RAG with SAP HANA Cloud Vector Engine
  • Configure content filtering
  • Monitor model drift

Use Cases: 20+ samples including chatbots, PDF extraction, procurement.

CAP + AI Integration Patterns:

  • Use SAP Cloud SDK for AI (@sap-ai-sdk/orchestration) inside CAP event handlers — never raw HTTP calls to LLM providers
  • Bind AI Core service instance to CAP app via MTA (plan: extended) — credentials are managed by BTP, not in code
  • Always process LLM calls asynchronously in production: return 202 Accepted, process in background via cds.spawn. LLM responses can take 30-60 seconds, exceeding BTP load balancer timeouts
  • Externalize prompts into JSON files or CDS entities so they can be updated without redeployment
  • Use HANA Cloud Vector(1536) type in CDS entities for RAG scenarios with the HANA Vector Engine
  • Allocate at least 512MB memory for Node.js containers processing large text payloads with the AI SDK
  • Implement resilience: validate LLM outputs before writing to the database (prevent injection attacks), cache frequent responses for cost control

See: references/ai-development-best-practices.md for patterns and examples. For CAP-specific code patterns, see sap-cap-capire skill. For SDK integration, see sap-cloud-sdk-ai skill.


Deployment and Delivery

Deployment Methods

Cloud Foundry/Neo:

  • Package as MTA archive
  • Deploy via: BTP Cockpit, CF CLI, Business Application Studio

Kyma:

  • Docker images (Dockerfile or Cloud Native Buildpacks)
  • Helm charts for production
  • Deploy via SAP Continuous Integration and Delivery

CI/CD Approaches

SAP Continuous Integration and Delivery:

  • Low expertise required
  • Ready-to-use infrastructure
  • Direct SAP support

Project "Piper":

  • High expertise required
  • Jenkins-based
  • Open-source community support

Best Practice: Combine CI/CD with SAP Cloud Transport Management for governance + agility.

See: references/deployment-and-delivery.md for detailed configs


High Availability and Failover

Multi-Region Architecture

Custom Domain URL
    Load Balancer
       ├── Region 1 (active)
       └── Region 2 (passive/active)

Failover Implementation

Four Core Principles:

  1. Deploy in Two Regions: Near users and backend systems
  2. Keep Synced: CI/CD pipeline or Cloud Transport Management
  3. Define Detection: Monitor 5xx errors, timeouts
  4. Plan Failback: Visual differentiation, user-driven

Legal: Check cross-region data processing restrictions.

See: references/failover-and-resilience.md for implementation details


Operations and Monitoring

Go-Live Checklist

  1. Deploy to production
  2. Set go-live timeframe (avoid quarter-end)
  3. Embed in SAP Fiori Launchpad
  4. Provision business users
  5. Configure role collections

Monitoring Tools

SAP Cloud ALM (Enterprise Support):

  • Real User Monitoring
  • Health Monitoring
  • Integration and Exception Monitoring
  • Job Automation Monitoring

SAP Cloud Logging:

  • Observability across CF, Kyma, Kubernetes

SAP Alert Notification:

  • Multi-channel notifications (email, chat, ticketing)

Cost Management

Best Practices

  1. Check Costs and Usage monthly
  2. Provide minimal required entitlements
  3. Use labels for cost allocation
  4. Set up automated alerts (Usage Data Management + Alert Notification)

Contract Strategies

  • Consolidate subscriptions in one global account
  • Use hybrid accounts for mixed workloads
  • Note: Consumption credits non-transferable between global accounts

Bundled Resources

This skill provides comprehensive reference documentation:

Account & Governance

  • references/account-models.md (11K lines)

    • Detailed account structure patterns
    • Naming conventions and examples
    • Cost allocation strategies
  • references/governance-and-teams.md (13K lines)

    • Platform Engineering team structure
    • Onboarding processes
    • Documentation templates

Security & Connectivity

  • references/security-and-authentication.md (13K lines)
    • Complete auth methods comparison
    • Destination configuration
    • Kyma RBAC manifests
    • Identity lifecycle management

Deployment & Operations

  • references/deployment-and-delivery.md (10K lines)

    • MTA descriptor templates
    • CI/CD pipeline configs
    • Transport management setup
  • references/operations-and-monitoring.md (11K lines)

    • Go-live procedures
    • Monitoring setup guides
    • Troubleshooting checklists

High Availability

  • references/failover-and-resilience.md (12K lines)
    • Multi-region architecture
    • Load balancer configurations
    • Failover automation scripts

Templates & Examples

  • references/templates-and-examples.md (18K lines)
    • Complete code templates
    • Kubernetes RBAC manifests
    • MTA descriptors
    • Helm charts
    • CI/CD configs

AI Development

  • references/ai-development-best-practices.md (6K lines)
    • Generative AI patterns
    • RAG implementation
    • 20+ use cases catalog

Progress Tracking

  • Implementation status
  • Coverage details
  • Validation checklists

Administration Tools

ToolUse Case
SAP BTP CockpitGUI for all admin tasks
btp CLITerminal/automation scripting
REST APIsProgrammatic administration
Terraform ProviderInfrastructure as Code
SAP Automation PilotLow-code/no-code automation

Shared Responsibility Model

SAP Manages:

  • Platform software updates/patches
  • Infrastructure and OS monitoring
  • BTP service monitoring
  • Capacity management and incidents
  • Global account provisioning
  • HANA database operations
  • Kyma kyma-system namespace

You Manage:

  • Global account strategy and subaccount config
  • Application development, deployment, security
  • Role assignments and integrations
  • Application monitoring and health checks
  • Open source vulnerability scanning
  • Triggering HANA revision updates

Last Updated: 2026-06-16 Review Progress: See SAP_SKILLS_REVIEW_PROGRESS.md Next Review: Source refresh pending; do not advance last_verified without primary-source evidence.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sap Btp Best Practices AI skill do?

SAP BTP best practices for enterprise architecture, account management, security, and operations, with verification evidence tracked in the repository ledger. Use when planning BTP implementations, setting up account hierarchies, configuring environments, implementing authentication, designing CI/CD pipelines, establishing governance, building Platform Engineering teams, implementing failover strategies, or managing application lifecycle on SAP BTP. Keywords: SAP BTP, account hierarchy, global account, directory, subaccount, Cloud Foundry, Kyma, ABAP, SAP Identity Authentication, CI/CD, gov...

Why use Sap Btp Best Practices on TypingMind?

Because you install it once and use it with any model. Sap Btp Best Practices is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sap Btp Best Practices in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/secondsky/sap-skills/tree/main/plugins/sap-btp-best-practices/skills/sap-btp-best-practices. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sap Btp Best Practices?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sap Btp Best Practices?

As many as you like. As long as a model supports skills, you can use Sap Btp Best Practices with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sap Btp Best Practices AI skill free?

Yes. It is published on GitHub by secondsky under the GPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇