sap-datasphere
Skill1 starsChanged 4 months agoMITView on GitHub
SAP Datasphere — cloud data warehouse on BTP for semantic data modeling, federation, analytical models, spaces, remote/local tables, data flows, replication flows, catalog, role-based access, SAC integration. Use when building Datasphere data models, federating SAP and non-SAP data, creating analytical datasets for SAP Analytics Cloud, or managing Open SQL schemas and Data Builder artifacts.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- yan252/trae-sap-skillstheir own version, first seen Feb 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- yan252/trae-sap-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository413 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- .cursor/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sap-router-skillCopilot instructions
- .cursor/rules/sap-router.mdcCursor rule
- abap-cloud-migrationSkill
- abap-cloudSkill
- abap-code-patternsSkill
- abap-code-reviewSkill
- abap-docs-referenceSkill
- abapgitSkill
- abapSkill
- abap-snippetSkill
- abap-sql-amdpSkill
- abap-system-infoSkill
- abap-unit-testingSkill
- arc-1-skillsSkill
- atc-cloudificationSkill
- authorization-iamSkill
- automation-pilot-catalog-explorerSkill
- automation-pilot-command-generationSkill
- automation-pilot-command-reviewSkill
- automation-pilot-content-management-via-apiSkill
- automation-pilot-debuggerSkill
- automation-pilot-executions-apiSkill
- automation-pilot-executor-executescriptSkill
- automation-pilot-executor-httprequestSkill
- automation-pilot-mcp-server-generationSkill
- automation-pilot-scheduled-executions-apiSkill
- badi-enhancementSkill
- btp-abap-environmentSkill
- btp-best-practicesSkill
- btp-build-work-zoneSkill
- btp-business-application-studioSkill
- btp-ciasSkill
- btp-cloud-foundrySkill
- btp-cloud-identitySkill
- btp-cloud-loggingSkill
- btp-cloud-platformSkill
- btp-cloud-transport-managementSkill
- btp-connectivitySkill
- btp-developer-guideSkill
- btp-diagram-generatorSkill
- btp-integration-suiteSkill
- btp-job-schedulingSkill
- btp-master-data-integrationSkill
- btp-service-managerSkill
- cap-add-remote-serviceSkill
- cap-developerSkill
- cap-triviaSkill
- capture-answerSkill
- cap-upgradeSkill
- cds-view-entitiesSkill
- claude-abap-skillsSkill
- claude-memSkill
- clean-abapSkill
- context-modeSkill
- cpi-iflow-developmentSkill
- The first 60 shown.
The file
Files
SAP Datasphere
Cloud data warehouse on SAP BTP — semantic data modeling, federation, and catalog. Built on SAP HANA Cloud; consumes CDS views from S/4HANA and external sources alike.
Pré-requisitos
- SAP BTP global account with Datasphere entitlement (Cloud Foundry)
- Space assignment (e.g.
Finance,Sales) — content isolation boundary - Source connection configured: S/4HANA (CDS views via ODP), Azure SQL, CSV, etc.
- Database user with Open SQL schema if pushing data from external systems
- IP allowlist updated for any external source system
- SAP Analytics Cloud (SAC) instance for consumption (optional but typical)
Architecture
Sources Datasphere Consumers
──────── ────────── ─────────
SAP S/4HANA (CDS/ODP) ──┐
SAP SuccessFactors ────────┤ Spaces
Non-SAP (SQL Server) ──────┤ ├── Connections
CSV / Parquet files ───────┘ ├── Remote Tables (federation)
├── Local Tables (replicated/Open SQL)
├── Views (SQL / graphical)
├── Data Flows (ETL)
├── Replication Flows (CDC / batch)
└── Analytical Models (star schema)
↓
SAC / Data Lake / APISpaces
Space: Finance (content isolation)
├── Connections — S4HANA_PRD, AZURE_SQL, CONCUR_API
├── Tables — remote (federated) + local (replicated/pushed)
├── Views — SQL views, graphical views
├── Data Flows — ETL transformations (max 30 steps)
└── Analytical Models — star schema with measures + dimensionsRemote Tables (Federation)
Federated queries execute on the source — no data copy, always fresh.
-- Create remote table from S/4HANA CDS view
CREATE REMOTE TABLE ZRT_MATERIALS
ON ZS4_CONNECTION
AS SELECT * FROM Z_I_PRODUCT;
-- Federated join: Datasphere local + S/4HANA remote
SELECT ds.sales_amount, s4.product_desc
FROM ZDS_SALES AS ds
JOIN ZRT_PRODUCTS AS s4 ON ds.material = s4.material;
-- Federation on federation (HANA Cloud → Data Lake via virtual table)
CREATE VIRTUAL TABLE VT_DL_SALES
AT "REMOTE_SOURCE_DL"."<NULL>"."DL_SCHEMA"."SALES_FACT";Open SQL Schema (External Push)
External systems push data directly into Datasphere via database users.
-- Admin creates Open SQL schema + database user
-- External system writes via standard SQL INSERT/UPSERT
-- Then import in Data Builder → deployed as local tableData Flows
Source Table → Join → Filter → Aggregation → Target Table
MARA (remote) → +MAKT → active only → count by type → Z_MATERIAL_STATS- Max 30 transformation steps per flow
- Schedule: manual, timer, or event-based
Replication Flows
S/4HANA CDS View → CDC (near-real-time) → Datasphere Remote Table
→ Batch (scheduled) → Local Table (snapshot)Analytical Model (Star Schema)
Fact: SalesFacts
├── Dimension: ProductDim (ProductID, Material, Description)
├── Dimension: TimeDim (Date, Month, Quarter, Year)
├── Dimension: CustomerDim (CustomerID, Name, Region)
└── Measures: Revenue, Quantity, MarginExpose as OData service → consumed by SAC stories and dashboards.
VDM Connection (CDS Views from S/4HANA)
SAP S/4HANA exposes a Virtual Data Model (VDM) via CDS views with layers:
Basic (F) → Composite (I) → Consumption (C) → Query
raw data reused joins ready-to-consume analytics- Datasphere imports
I_*orC_*views via ODP (Operational Data Provisioning) - Associations in CDS become navigation paths in Datasphere views
- Annotations (e.g.
@AnalyticsDetails) carry through to SAC
ACLs and Data Access Controls
Space: Finance
├── Role: Finance_Analyst → Read access to all Finance views
└── Role: Finance_Restricted → Read access with row-level filter (region = 'EU')Pitfalls
- Remote table performance — queries execute on source system; large scans can overload S/4HANA. Use replication for heavy reads.
- Federation on federation — virtual table over virtual table adds latency; validate before production.
- Data flow step limit — 30 steps max per flow. Split complex pipelines into chained flows.
- Federated queries bypass cache — always fresh but potentially slower than replicated local tables.
- Open SQL schema isolation — pushed data is local to the schema; must be imported in Data Builder to appear in views.
- CDC replication lag — near-real-time ≠ real-time; verify SLA requirements for dashboards.
- IP allowlist — external push systems must be registered in Datasphere IP allowlist before connection works.
- Space deletion cascades — deleting a space removes all contained objects. Export content first.
- VDM layer selection — consuming
F_*(basic) views is discouraged; preferI_*orC_*for stability.
Verificação
# 1. Check space connectivity (Datasphere CLI or web UI)
# Space → Connections → verify green status on each connection
# 2. Validate remote table freshness
SELECT COUNT(*), MAX(last_loaded_at) FROM ZRT_MATERIALS;
# 3. Test analytical model exposure
# Open model in Data Builder → Preview → verify rows return
# 4. Verify SAC connection
# SAC → Connection → Datasphere → Test → green
# 5. Check replication flow status
# Data Integration Monitor → flow name → Last Run = Success
# 6. Confirm ACL enforcement
# Log in as restricted user → verify row-level filter appliedDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

