Retrieval-augmented generation

In ABAP the data is already in the system and the model is not. The ABAP AI SDK reaches a language model through Intelligent Scenario Lifecycle Management, and embeddings and similarity search over ABAP tables are built beside it.

Overview

SAP SHIPS

Present, not yet described.

Not covered: The released classes of the ABAP AI SDK send a prompt to a language model and return the completion, and the classes SAP lists for it stop there. None of them stores an embedding or searches for the nearest one, so retrieval over ABAP tables is written beside the SDK.

The completion call is SAP's, and SAP AI Core serves this door with Document Grounding over documents in a connected repository. The ABAP AI SDK was checked only through SAP's cheat sheet, not through its help pages.

THE COMMUNITY ADDS

Retrieval over ABAP tables comes from community code such as zvdb by Alice V., a vector store written in ABAP that returns the document chunks for a prompt.

Artifacts2

2 of 2 artifacts
ArtifactSignals
Packages1
zvdbVector database implemented in ABAP for document chunk retrieval
Signals
none
Services1
SAP AI CoreAI runtime on BTP with the Generative AI Hub
Signals
none

Content5

Group by
Piece, what it offers
CAP in the age of AI #7 - vector embeddings wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 7 of 7, Video
CAP in the age of AI #6 - vector embeddings
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Daniel Schlachter, part 6 of 7, Video
🟣 Bring AI into Your ABAP Applications with ISLM: Build, Integrate, and Consume AI Natively
YouTube — SAP Developers playlists, SAP Developers, Talk
Show 2 more
Document Grounding
SAP BTP AI Best Practices, SAP, DocThe reasoningA reference
Building agentic applications with SAP HANA Cloud
SAP TechEd — session catalogue, TalkA recipe
CAP in the age of AI #7 - vector embeddings wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 7 of 7, Video
CAP in the age of AI #6 - vector embeddings
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Daniel Schlachter, part 6 of 7, Video
🟣 Bring AI into Your ABAP Applications with ISLM: Build, Integrate, and Consume AI Natively
YouTube — SAP Developers playlists, SAP Developers, Talk
Show 2 more
Document Grounding
SAP BTP AI Best Practices, SAP, DocThe reasoningA reference
Building agentic applications with SAP HANA Cloud
SAP TechEd — session catalogue, TalkA recipe

Details

Coverage
statecore and community, ABAP
assessed
relationshipunassessed
also inCAP, BTP/BAIP
Designs that place it1
Integrating and Extending JouleIntegrating and Extending Joulereference architecturedocument grounding in customer-owned content
For your agent
Ref
capability:retrieval-augmented-generation
JSON
/capabilities/retrieval-augmented-generation.json
MCP
Connecting an agent