Skip to content
Torotech
Sep 13, 2026 · Ravi Soni · 4 min read

CDS views are the best AI context layer you already own

Before you build a vector database, look at the semantic layer SAP already gives you.

CDSS/4HANARAG

Teams reaching for RAG on SAP data usually start by exporting tables. That throws away the most valuable thing SAP has: the semantics.

A well-annotated CDS view carries labels, units, currencies, associations and authorisation. Expose it through OData and an agent can ask precise questions — "open sales orders for customer X with credit block Y" — without ever learning table names.

Practical guidance

  1. Build consumption views for the agent, not raw interface views
  2. Use @ObjectModel.text and @Semantics annotations — the model reads them
  3. Return small pages; the agent should filter, not paginate
  4. Log every query the agent runs; you'll learn what it actually needs

Tell us about the process that hurts.

A 30-minute call is enough to tell whether an agent, an extension or a plain good Fiori app is the answer. No deck, no discovery fee.