JinJin48
JinJin48
SAP Consultant | BTP · S/4HANA · US Global Rollout
· 13 min read

Cover: Responsible AI on SAP BTP — guardrails, audit, governance

TL;DR
  • Responsible AI on BTP is three layers, not one: SAP-level governance (ISO/IEC 42001-certified, AI Ethics Steering Committee, EU AI Act alignment), runtime guardrails inside Generative AI Hub orchestration (input/output filters, prompt shield, data masking, grounding), and BTP-platform audit (Audit Log Service, default 90 days, premium for longer retention and custom-app logs).
  • The runtime controls are real and centrally enforced — but turning them on is a customer responsibility. Joule is classified as limited-risk under the EU AI Act, which means most of the burden of proof on transparency, oversight, and documentation sits on the implementing organization, not on SAP.
  • The consultant mindset shift is from “is the AI accurate?” to “can we evidence, in audit, that the right human approved the right action with the right disclosure?” If that chain of evidence is not designed into the workflow before build, governance becomes a post-hoc cleanup that delays go-live or invalidates production usage.

Where This Article Sits

IDTitle
BTP-D01Business AI: Overview and Capability Map
BTP-D02Joule: Architecture and Use
BTP-D03AI Core and GenAI Hub: Architecture and Use
BTP-D04Document AI: Architecture and Use
BTP-D05Responsible AI: Principles and Implementation (this article)
BTP-D06Business AI: Use Cases and Decision Patterns

References

ResourceURL
SAP AI Ethics and Responsible AIsap.com →
BTP Audit Log Servicehelp.sap.com →
GenAI Hub Orchestrationhelp.sap.com →

1) The Responsible AI Landscape

Three layers of Responsible AI on BTP: governance, runtime guardrails, audit

“Responsible AI” on BTP is not a single product. It is the layered combination of organizational governance, runtime guardrails, and platform audit. The most common scoping mistake is treating SAP’s certifications as customer-side controls.

LayerWhat it doesPrimary user
Organizational governanceSAP Global AI Ethics Policy, AI Ethics Office, Steering Committee + external Advisory Panel, ISO/IEC 42001, EU AI Act alignmentSAP; customers inherit and extend
Runtime guardrails (GenAI Hub orchestration)Input/output filtering, Prompt Shield, data masking, grounding, prompt registry with versioned orchestration configsCustomer architects + AI developers
Platform audit (BTP Audit Log Service)Default 90-day retention of security, config, data access events; premium edition for longer retention and custom-app eventsCustomer security/compliance, internal audit

They are not substitutes.

2) How It Connects to S/4HANA

Request flow through orchestration guardrails to S/4HANA and audit log

Responsible AI is not a feature that flows into S/4HANA. It is a set of controls that wrap any AI capability — Joule, GenAI Hub, Document AI — before and after that capability touches an S/4HANA business process.

   ┌──────────────────────────────────────────────────────────────┐
   │ Organizational governance                                    │
   │  SAP Global AI Ethics Policy + customer AI use-case register │
   └──────────────────────────┬───────────────────────────────────┘
                              ▼
   ┌──────────────────────────────────────────────────────────────┐
   │ User request (Joule chat / app embed / agent)                │
   │  Identity propagated from BTP IAS / IdP                      │
   └──────────────────────────┬───────────────────────────────────┘
                              ▼
   ┌──────────────────────────────────────────────────────────────┐
   │ Generative AI Hub — Orchestration                            │
   │  ① Data masking   → ② Input filter (Azure CS / Llama Guard)  │
   │  ③ Prompt Shield  → ④ Grounding (RAGe, customer docs)        │
   │  ⑤ LLM call       → ⑥ Output filter / re-mask                │
   └──────────────────────────┬───────────────────────────────────┘
                              ▼
   ┌──────────────────────────────────────────────────────────────┐
   │ S/4HANA action                                               │
   │  Permission-checked at backend (Joule = user authz only)     │
   │  Human-in-the-loop on transactional posting                  │
   └──────────────────────────┬───────────────────────────────────┘
                              ▼
   ┌──────────────────────────────────────────────────────────────┐
   │ BTP Audit Log Service                                        │
   │  Identity, prompt id, action, approver, override (premium)   │
   └──────────────────────────────────────────────────────────────┘

Joule executes only what the user is authorized to do in S/4HANA — RBAC is enforced in the backend, not the LLM layer. GenAI Hub orchestration is where customer-configurable guardrails run; skip orchestration and you skip the guardrails. Audit Log captures BTP events; S/4HANA application events are a customer build.

Key point: Responsible AI is a chain the customer assembles from SAP components. Treating ISO/IEC 42001 certification as a customer-side control is the single most common scoping error.

3) Maturity Map

Maturity map for Responsible AI capabilities on BTP

Maturity is not uniform. Policy framework is mature; runtime guardrails are production-ready but customer-configurable; AI-specific audit coverage is still partial.

Layer / capabilityMaturityNotes
Organizational governance (ISO/IEC 42001, AI Ethics policy, Steering Committee)✅ Production-readyCovers Joule, AI Core, AI Launchpad.
EU AI Act alignment (Joule = limited-risk)✅ Production-readyCustomer must still register own use cases under the AI Act.
GenAI Hub orchestration — input/output content filtering✅ Production-readyAzure Content Safety + LlamaGuard38b; centrally enforced via orchestration.
GenAI Hub orchestration — Prompt Shield✅ Production-readyNot auto-applied if you bypass orchestration.
GenAI Hub orchestration — data masking✅ Production-readyOff by default; customer must enable.
Prompt registry — declarative orchestration configs⚠️ Ready with prerequisitesQ1 2026 enhancement; requires updated SDK.
BTP Audit Log — 90-day default retention✅ Production-readyFree; covers BTP-side security, config, data access events.
BTP Audit Log — extended retention + custom-app events⚠️ Ready with prerequisitesPremium edition; quoted, not list-priced.
AI-specific audit events (prompt id, model version, override)🔶 Early adopterCombining BTP Audit Log with app-side logging is a customer build.
EU AI Cloud (sovereign EU-only)🔶 Early adopterNot all regions, not all LLMs. Validate before committing.

4) Requirements Checklist

§3 answers “is the layer ready?” This section answers “are we ready?” Build one per-layer checklist into every Business AI scoping document. These are requirements-stage items, not implementation tasks.

Organizational governance prerequisites

Six organizational governance prerequisites for Responsible AI

Checklist itemWhy it matters
AI use-case register maintained, with risk classification per caseRequired by EU AI Act and ISO/IEC 42001; SAP’s certification covers SAP, not your use cases.
Named accountable owner per use case (business, not IT)Without ownership, audits stall on residual-risk sign-off.
Use case classified against the customer’s own risk taxonomyJoule’s limited-risk classification is SAP’s; your use cases need yours.
Human-oversight model documented (in-the-loop / on-the-loop / in-command)“Human review” is too vague to audit.
User-facing AI disclosure implemented and reviewed by legalRequired for limited-risk under EU AI Act; not developer-authored copy.
AI Ethics review path for high-risk use casesNeeded for HR, finance, customer-facing impact.

Runtime guardrails — Generative AI Hub orchestration

Six runtime guardrails inside Generative AI Hub orchestration

Checklist itemWhy it matters
All LLM calls go through orchestration, never direct endpointsDirect calls bypass filtering, Prompt Shield, and masking. The single most important configuration choice.
Input content filter configured (Azure Content Safety or LlamaGuard38b), thresholds tuned per use caseDefaults are conservative; tuning prevents leakage and false-positive blocking.
Output content filter re-checks model responsesCatches drift and unsafe completions input filtering misses.
Prompt Shield enabled for agentic / tool-calling flows ingesting untrusted dataPrompt injection from emails, documents, tickets is real for agents.
Data masking enabled where prompts may include personal dataWithout it, PII reaches the LLM and residency reviews block production.
Grounding sources scoped to the minimum-necessary corpusOver-broad grounding leaks data across user populations.
Orchestration configurations stored in the prompt registry, versioned and declarativeNeeded to evidence which guardrails were active at audit time.

BTP audit and observability

BTP Audit Log standard versus premium tier comparison

Checklist itemWhy it matters
Audit Log Service enabled, retrieval destination (SIEM / log lake) decidedDefault 90 days is short for regulated workloads; extract continuously.
Premium edition licensed if retention > 90 days or custom-app events requiredStandard covers neither; assume premium for GxP / SOX / GDPR.
Retrieval pipeline respects API rate limit (4–8 req/sec per token) and 500-record paginationNaïve scrapers miss events or get throttled.
Application-side audit (prompt id, user, model version, approver, override) emitted by the appBTP captures platform events; AI-specific events must come from the app.
Audit retention aligned to the longest applicable regulatory horizon (SOX 7y; sectoral varies)The shortest retention you commit to is your effective ceiling.

Data residency and sovereignty

Checklist itemWhy it matters
AI Core / GenAI Hub tenant region matches the data-residency requirementCross-region traffic can violate residency; verify the chosen LLM is available in-region.
EU AI Cloud evaluated explicitly for EU-data-only workloadsNot every model is offered there; confirm coverage of the chosen LLM.
Sub-processor list (LLM, filter providers) approved by privacy and securityA privacy approval, not a developer choice.
Grounding documents stay tenant-scoped; cross-tenant grounding not usedGrounding crosses the RBAC boundary; tenant-scope is the safe default.

Change management and lifecycle

Checklist itemWhy it matters
Prompt and orchestration changes go through change management with approvalWithout change control, you cannot reconstruct what the system did on a given date.
Override / rejection rates reported regularly to the use-case ownerThe most useful quality metric, and the one most often missing.
Decommissioning playbook exists for retiring the use caseRight-to-deletion does not pause for AI.

5) Decision Criteria

The three questions to ask first

Three scoping questions for Responsible AI requirements

Q1. What measurable harm does this AI use case prevent or cause, and who is accountable for that harm?

If the customer cannot describe the harm concretely — wrong invoice posted, biased candidate filtering, mis-routed ticket reaching a regulator — Responsible AI work has nothing to anchor. A vague “we want to use AI responsibly” becomes a checklist that survives audit but does not change the system.

Q2. Where does the data live, where will the model run, and which jurisdiction’s rules apply?

Answer this before talking about prompts. EU data through a non-EU model endpoint, regulated finance data through an unmasked LLM call, PII reaching grounding without scoping — each is a residency or privacy decision. EU AI Cloud and the data masking module are the two levers to pull first.

Q3. Who owns the post-AI process — approver, override review, audit trail, disclosure copy — and do they have budget?

Responsible AI is not a one-time install. Override rates need monthly review, disclosure copy needs legal sign-off, and orchestration drifts. Without a named owner with year-two budget, the controls decay silently.

Domain selection by project context

Project context to recommended controls mapping

Project contextRecommended starting controls
Internal Joule rollout for SAP-shipped scenariosOrg governance + AI disclosure + standard Audit Log
Custom GenAI Hub agent over customer documentsFull orchestration + scoped grounding + premium Audit Log
Agentic flow ingesting external contentAbove + orchestration-only access + mandatory Prompt Shield + override review
Finance / payroll-sensitive automationAbove + HITL on every posting + premium Audit Log with extended retention
EU-data workloads with sovereignty requirementEU AI Cloud + EU-region orchestration + sub-processor approval + tenant-scoped grounding
HR / candidate-selection AIHigh-risk classification + AI Ethics review + bias monitoring + human-in-command
Regulated industry (GxP / banking), novel use caseStop. Do AI Ethics review and DPIA before scoping technical work.
No clear harm or accountable owner identified yetStop. Go back to Q1.

Licensing and cost

Layer / capabilityLicensing modelKey question to ask
Org governance & ISO/IEC 42001IncludedHave use-case owners been trained on the AI Ethics Policy?
GenAI Hub orchestration (filters, Prompt Shield, masking, grounding)SAP AI Units; third-party filter calls may meter separatelyAI Unit cost per request with full orchestration enabled?
Prompt registry — versioned orchestration configsPart of GenAI HubUsing declarative configs, or hard-coding in app code?
BTP Audit Log — standard (90 days)IncludedIs 90 days enough for our longest retention requirement? Usually no.
BTP Audit Log — premium (extended retention, custom-app events)Quoted, consumption-basedProjected event volume at year-two scale?
EU AI Cloud (sovereign EU-only)Subscription / quotedIs our chosen LLM offered in EU AI Cloud?

6) Common Failures

Seven requirements-stage failures for Responsible AI

These are not implementation bugs. They are requirements-stage failures that cause Responsible AI to under-deliver after go-live, and every one of them is preventable in scoping.

Failure 1: Treating SAP’s ISO/IEC 42001 certification as a customer-side control

The use case is approved with “SAP is certified” as the only governance evidence. The first audit finds no customer-side risk classification, no oversight model, no use-case register. SAP’s certification covers SAP; customer use cases need customer-side controls.

Failure 2: Direct model calls bypassing Generative AI Hub orchestration

A developer calls a model endpoint directly because “orchestration adds latency.” Content filtering, Prompt Shield, data masking, and the prompt registry trail all disappear. Require orchestration as the only allowed access path in production.

Failure 3: Prompt Shield omitted in agentic or tool-calling flows

An agent reads customer emails or tickets and routes responses. A malicious input embeds a prompt-injection payload, and the agent acts on it. Prompt Shield exists for this pattern and is not enabled by default.

Failure 4: Disclosure language invented by the developer, not reviewed by legal

An “AI banner” ships with boilerplate copy. Legal review at go-live finds it incomplete for EU AI Act limited-risk; rollout is delayed. Treat AI disclosure as legal copy, not UX copy.

Failure 5: Audit Log default retention assumed sufficient

The 90-day default is treated as production-grade. After an incident in month four, the relevant events are gone. Premium edition with extended retention and a retrieval pipeline to a SIEM must be designed in week one.

Failure 6: Grounding scope set to “all customer documents” by default

Grounding is pointed at a broad store because “more context is better.” A user from another department sees content their RBAC would hide. Use the minimum corpus for the given user population.

Failure 7: No named owner for override review and prompt change management

The use case launches with no monthly review of override rates and no change record on prompts. Twelve months later the model behaves differently and no one can explain why. Name the owner up front.

FAQ

Q: Does Responsible AI work the same on SAP S/4HANA on-premise as on S/4HANA Cloud?

Organizational governance and EU AI Act obligations are identical — they are about your use case, not your deployment. Runtime guardrails differ in shape: orchestration is the same, but the network path from on-prem is a customer build (Cloud Connector or approved egress), and Joule’s on-premise availability is narrower.

Q: How is Generative AI Hub orchestration licensed, and where is the surprise cost?

Orchestration is part of GenAI Hub on AI Core, consumed via SAP AI Units. Two surprises: (a) third-party content filter calls can meter separately; (b) AI Unit overage rates run 2×–4× the contracted unit cost. Budget for full-orchestration cost at year-two scale, not pilot.

Q: When should we descope an AI use case on Responsible AI grounds?

When any of the following is true: the use case sits in a high-risk EU AI Act category with no review board; required data residency cannot be met by any model + region combination; no named owner for monthly oversight; legal cannot approve disclosure copy in the project window; the customer cannot articulate the harm being prevented or caused. “Walk away” is a real consultant deliverable.

Q: How should we document a Responsible AI requirement so it survives handover to delivery?

Write it as a quintet: (1) use case + risk classification under EU AI Act and customer taxonomy, (2) runtime guardrails configured (filter chain, Prompt Shield, masking, grounding scope), (3) audit retention horizon and destination, (4) human-oversight model and named approver, (5) named owner for override and change control with year-two budget. Without all five, the requirement is incomplete.

Q: Is Joule “responsible by default” because SAP runs it?

No. Joule is limited-risk under the EU AI Act, so the customer must disclose AI interaction, document the use case, and retain audit. “Joule alone does not resolve governance questions under the EU AI Act” is SAP’s own framing.

Summary

Five elements of a complete Responsible AI requirement

Responsible AI on BTP is a chain, not a feature. SAP delivers the upper layer (Global AI Ethics Policy, ISO/IEC 42001, EU AI Act alignment) and the runtime layer through GenAI Hub orchestration: filtering, Prompt Shield, masking, grounding, and a versioned prompt registry. Customers deliver the controls that turn that platform into a compliant deployment: use-case register, human-oversight model, AI disclosure copy, premium audit retention, override review, and a named owner with year-two budget. The consultant value is reading where each link belongs and refusing to ship until every link is in place.

L1. Big PictureL2. Functional Domains
BTP-001: What is BTPL2-A. Integration
BTP-002: BTP ArchitectureL2-B. Application Development
BTP-003: BTP Capability MapL2-C. Data & Analytics
BTP-004: Deployment ModelsL2-D. AI — BTP-D05 Responsible AI (this article)
BTP-005: Licensing ModelsL2-E. Foundation Services
BTP-006: Clean Core StrategyL2-F. Architecture & Operations