Skip to main content

sap-datasphere

SAP Datasphere development skill with 3 specialized agents, 5 slash commands, and validation hooks. Use when building data warehouses on SAP BTP, creating analytic models, configuring data flows and replication flows, setting up connections, managing spaces and users, implementing data access controls, using the datasphere CLI, or inspecting authenticated Datasphere browser UI state with Microsoft Edge CDP. Covers Data Builder, Business Builder, analytic models, 40+ connection types, real-time replication, task chains, content transport, and data marketplace.

Source facts

Repository
secondsky/sap-skills
Last source activity
August 6, 2026 at 23:39
Detected SKILL.md language
English
Stars
462
Forks
120

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
21 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
sap-datasphere
description
SAP Datasphere development skill with 3 specialized agents, 5 slash commands, and validation hooks. Use when building data warehouses on SAP BTP, creating analytic models, configuring data flows and replication flows, setting up connections, managing spaces and users, implementing data access controls, using the datasphere CLI, or inspecting authenticated Datasphere browser UI state with Microsoft Edge CDP. Covers Data Builder, Business Builder, analytic models, 40+ connection types, real-time replication, task chains, content transport, and data marketplace.
license
GPL-3.0
metadata
{"maintainer":"Eduard Jiglau","maintainer_email":"hello@sap-ai-skills.com","website":"https://sap-ai-skills.com","version":"2.4.1","last_verified":"2026-06-11T00:00:00.000Z","keywords":["sap datasphere","data warehouse cloud","dwc","data builder","business builder","analytic model","graphical view","sql view","transformation flow","replication flow","data flow","task chain","remote table","local table","datasphere connection","datasphere space","data access control","elastic compute node","datasphere cli","data products","data marketplace","catalog","governance","business data cloud","bdc","sap databricks"]}
# SAP Datasphere Skill ## Related Skills - **sap-dependency-security**: Use for secure dependency policy, lockfile hygiene, and exact MCP server pins when managing large connector or integration projects with package-managed tooling ## Table of Contents - [Overview](#overview) - [Quick Reference](#quick-reference) - [Core Components](#core-components) - [Object Types](#object-types) - [Data Builder](#data-builder) - [Graphical Views](#graphical-views) - [SQL Views](#sql-views) - [Tables](#tables) - [Flows](#flows) - [Task Chains](#task-chains) - [Business Builder](#business-builder) - [Analytic Models](#analytic-models) - [Connections](#connections) - [Space Management](#space-management) - [Data Access Control](#data-access-control) - [Monitoring](#monitoring) - [CLI Reference](#cli-reference) - [Data Products & Marketplace](#data-products--marketplace) - [Catalog & Governance](#catalog--governance) - [Content Transport](#content-transport) - [Common Issues](#common-issues) - [Bundled Resources](#bundled-resources) - [Documentation Links](#documentation-links) ## Overview SAP Datasphere is SAP's cloud-native data warehouse solution on SAP Business Technology Platform (BTP). It serves as the **data foundation** within **SAP Business Data Cloud (BDC)**, SAP's unified data and analytics platform that also includes SAP Analytics Cloud, SAP HANA Cloud, SAP Databricks, and curated data products. See `references/business-data-cloud.md` for the BDC architecture and how Datasphere fits within it. This skill provides comprehensive guidance for data acquisition, preparation, modeling, administration, and integration. ## When to Use This Skill **Use this skill when**: - Creating data warehouses on SAP BTP - Building analytic models for SAP Analytics Cloud - Setting up data flows, replication flows, or transformation flows - Configuring connections to SAP or third-party systems - Managing spaces, users, and access controls - Implementing real-time data replication - Monitoring data integration tasks - Inspecting authenticated Datasphere browser UI state in Microsoft Edge when MCP, CLI, logs, or exported artifacts cannot observe the needed state For Datasphere browser triage, use the shared `sap-browser-automation` skill for manual in-app authentication, consent-gated authenticated Edge profile copying, fresh loopback CDP startup, target selection, and recovery. The local `references/edge-cdp-control.md` add-on retains Datasphere-specific boundaries. Use CDP for local read-only inspection of Data Builder, Business Builder, monitoring, connection, catalog, and admin UI state; ask before saving, deploying, deleting, importing, exporting, running task chains, or changing users/roles. --- ## Quick Reference ### Core Components | Component | Purpose | Key Objects | |-----------|---------|-------------| | **Data Builder** | Data acquisition & preparation | Views, Tables, Flows, Task Chains | | **Business Builder** | Semantic layer modeling | Business Entities, Fact Models, Consumption Models | | **Analytic Model** | Analytics-ready structures | Dimensions, Facts, Measures, Hierarchies | | **Connections** | External data sources | 40+ connection types | | **Spaces** | Logical data containers | Storage, Users, Objects | ### Object Types **Views**: - Graphical View: Visual data modeling with drag-and-drop - SQL View: SQL-based view definitions - Analytic Model: Analytics-optimized semantic layer **Tables**: - Local Table: Data stored in Datasphere - Remote Table: Virtual access to external data - Local Table (File): Object store-based storage **Flows**: - Data Flow: ETL transformations - Replication Flow: Data replication from sources - Transformation Flow: Delta-aware transformations --- ## Data Builder ### Graphical Views Create views visually by dragging sources and adding transformations. **Supported Operations**: - Join: Inner, Left Outer, Right Outer, Full Outer, Cross - Union: Combine multiple sources - Projection: Select/rename columns - Filter: Row-level filtering - Aggregation: Group by with aggregates - Calculated Columns: Derived values **Best Practices**: - Use input parameters for dynamic filtering - Apply data access controls for row-level security - Enable persistence for frequently accessed views - Use lineage analysis to understand dependencies For detailed graphical view operations, see `references/graphical-sql-views.md`. ### SQL Views Create views using SQL or SQLScript. ```sql -- Basic SQL View SELECT customer_id, customer_name, SUM(order_amount) AS total_orders FROM orders GROUP BY customer_id, customer_name ``` **SQLScript Support**: - Table variables - Scalar variables - Control flow (IF, WHILE, FOR) - Exception handling For SQL/SQLScript reference, see `references/graphical-sql-views.md`. ### Data Flows ETL pipelines for data transformation and loading. **Operators**: - Source: Remote/local tables, views - Target: Local tables - Join, Union, Projection, Filter, Aggregation - Script: Python custom logic - Calculated Columns **Execution**: - Manual run or scheduled via task chains - Delta capture for incremental loads - Input parameters for runtime configuration For data flow details, see `references/data-acquisition-preparation.md`. ### Replication Flows Replicate data from source systems to Datasphere or external targets. **Supported Sources**: - SAP S/4HANA (Cloud/On-Premise) - SAP BW/4HANA - SAP ECC - ABAP-based systems - Cloud storage (S3, Azure Blob, GCS) - Kafka/Confluent - SFTP **Supported Targets**: - SAP Datasphere (local tables) - Apache Kafka - Google BigQuery - Cloud storage providers - SAP Signavio **Load Types**: - Initial Load: Full data extraction - Delta Load: Changed data only - Real-Time: Continuous replication For replication flow configuration, see `references/data-acquisition-preparation.md`. ### Transformation Flows Delta-aware transformations with automatic change propagation. **Key Features**: - Automatic delta detection - Target table management - Graphical or SQL view as source - Run modes: Start, Delete, Truncate For transformation flow details, see `references/data-acquisition-preparation.md`. ### Task Chains Orchestrate multiple tasks in sequence or parallel. **Supported Tasks**: - Data flows - Replication flows - Transformation flows - Remote table replication - View persistence - Open SQL procedures - API tasks - BW Bridge process chains **Features**: - Parallel execution branches - Input parameters - Email notifications - Nested task chains - Scheduling (simple or cron) --- ## Data Modeling ### Analytic Models Create analytics-ready semantic models for SAP Analytics Cloud. **Components**: - **Fact**: Contains measures (quantitative data) - **Dimension**: Categorizes data (master data) - **Measure**: Quantifiable metrics - **Hierarchy**: Navigation structures - **Variable**: Runtime parameters **Creating an Analytic Model**: 1. Add a fact source (view or table) 2. Add dimension associations 3. Define measures with aggregation 4. Configure variables for filtering 5. Set data access controls For detailed modeling guidance, see `references/data-modeling.md`. ### Dimensions Categorize and filter analytical data. **Types**: - Standard: Basic categorical data - Time: Calendar-based filtering - Fiscal Time: Custom fiscal calendars - Text Entity: Multilingual labels **Features**: - Hierarchies (level-based, parent-child) - Time dependency (SCD Type 2) - Compound keys - Associated text entities ### Measures Quantifiable values for analysis. **Types**: - Simple: Direct aggregation - Calculated: Derived from other measures - Restricted: Filtered aggregation - Currency Conversion: Dynamic conversion - Unit Conversion: Dynamic conversion - Count Distinct: Unique value count - Non-Cumulative: Point-in-time values **Aggregation Types**: - SUM, MIN, MAX, COUNT, AVG - Exception aggregation for non-additive scenarios For measure configuration, see `references/data-modeling.md`. ### Business Builder Create business-oriented semantic models. **Objects**: - **Business Entity**: Reusable dimension/fact definitions - **Fact Model**: Combines business entities - **Consumption Model**: Analytics-ready model - **Authorization Scenario**: Row-level security For Business Builder details, see `references/data-modeling.md`. --- ## Connectivity ### Connection Types SAP Datasphere supports 40+ connection types. **SAP Systems**: - SAP S/4HANA Cloud/On-Premise - SAP BW/4HANA (Model Transfer) - SAP BW Bridge - SAP ECC - SAP HANA (Cloud/On-Premise) - SAP SuccessFactors - SAP Fieldglass - SAP Marketing Cloud - SAP Signavio **Cloud Platforms**: - Amazon S3, Athena, Redshift - Google Cloud Storage, BigQuery - Microsoft Azure Blob, Data Lake, SQL Database - Microsoft OneLake **Databases**: - Oracle - Microsoft SQL Server - Generic JDBC **Streaming**: - Apache Kafka - Confluent **Other**: - Generic OData, HTTP, SFTP - Adverity, Precog - SAP Open Connectors For connection configuration, see `references/connectivity.md`. ### Connection Features | Feature | Description | |---------|-------------| | Remote Tables | Virtual data access | | Data Flows | ETL transformation | | Replication Flows | Data replication | | Model Import | BW/4HANA model transfer | --- ## Administration ### Spaces Logical containers for data and objects. **Configuration**: - Storage allocation (disk + in-memory) - User access and roles - Priority and statement limits - Workload management **Operations**: - Create, copy, delete spaces - Export/import space data - Command-line management (datasphere CLI) For space management, see `references/administration.md`. ### Users and Roles **Standard Roles**: - DW Administrator - DW Space Administrator - DW Integrator - DW Modeler - DW Viewer **Scoped Roles**: - Space-specific permissions - Custom privilege combinations **Authentication**: - SAP Cloud Identity Services - Custom SAML IdP - OAuth 2.0 clients For user management, see `references/administration.md`. ### Monitoring **Capabilities**: - Capacity monitoring (storage, memory, compute) - Audit logs (database operations) - Activity logs (object changes) - Task logs (flow executions) **Database Analysis**: - Create analysis users for debugging - Monitor HANA views - Stop running statements For monitoring details, see `references/administration.md`. --- ## Data Integration Monitor ### Remote Tables **Operations**: - Replicate data (full/delta/real-time) - Partition data loads - Create statistics - Monitor queries ### Real-Time Replication **Features**: - Continuous change capture - Pause/resume capability - Automatic recovery - Watermark tracking ### View Persistence **Options**: - Scheduled refresh - On-demand refresh - Partition management - Memory optimization For monitoring details, see `references/data-integration-monitor.md`. --- ## CLI Reference ### Datasphere CLI Overview The `datasphere` CLI enables command-line administration and automation. **Installation**: ```bash npm install -g @sap/datasphere-cli ``` **Authentication**: ```bash # Interactive login datasphere config auth login # Service key (CI/CD) datasphere config auth login --service-key-path ./key.json ``` **Core Commands**: | Command | Purpose | |---------|---------| | `datasphere spaces list` | List all spaces | | `datasphere spaces create` | Create a space | | `datasphere objects export` | Export objects | | `datasphere objects import` | Import objects | | `datasphere tasks run` | Execute task chains | | `datasphere marketplace list` | List marketplace products | **CI/CD Integration**: ```bash # Export and import workflow datasphere objects export --space DEV --output-file package.zip datasphere objects import --space PROD --input-file package.zip --overwrite ``` For complete CLI reference, see `references/cli-commands.md`. --- ## Data Products & Marketplace ### Creating Data Products Package curated data for internal or external consumption: 1. **Plan**: Define purpose, target consumers, contents 2. **Prepare**: Create views/models, set semantic usage, document 3. **Configure**: Set visibility, access controls, terms 4. **Publish**: Make available in marketplace **Product Components**: - Core assets (views, models, entities) - Documentation and sample queries - Governance metadata (owner, quality score, SLA) ### Data Marketplace Discover and consume published data products: - **Search**: Find by category, provider, quality - **Request Access**: Submit justification, await approval - **Consume**: Use in views or SAC stories For complete marketplace guidance, see `references/data-products-marketplace.md`. --- ## Catalog & Governance ### Data Catalog Features Centralized discovery and governance: - **Asset Discovery**: Search all data objects with metadata - **Glossary**: Standardized business term definitions - **Data Quality**: Automated quality rules and scoring - **Lineage**: Trace data from source to consumption - **Classification**: Sensitivity levels and compliance tags ### Governance Workflow ``` Create Object → Add Metadata → Link Terms → Quality Check → Approve → Publish ``` **Roles**: - **Data Owner**: Business accountability - **Data Steward**: Quality and metadata management - **Data Custodian**: Technical implementation For detailed governance guidance, see `references/catalog-governance.md`. --- ## Data Access Controls Implement row-level security. **Types**: - Single Values: Simple value matching
View on GitHub
This SKILL.md is very large, so SkillsMP previews the first section here. View on GitHub