BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP CommunityPart 3 of 3

A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 3/3

The SAPUI5 frontend of the sample, and mostly an argument for writing UI5 in TypeScript: ES imports in place of sap.ui.define, a class with real private members in place of the underscore convention, and the service types generated from the CDS model copied into the UI package, so one IChats interface types the OData object the controller reads. The second half is structure — a formatter class and a singleton LayoutManager called from the XML view through core:require, a confirmation helper taking a callback, a dialog class resolving a promise, a generic createEntity<T> on a service class — all of it to keep every controller under 100 lines. What it says about arranging a UI5 app holds whatever model sits behind the chat; the tooling around it is of its date, and the post calls UI5's TypeScript support experimental.

Where it sits

Explains
cap-ui5-gpt-chatCAPUI5cap-ui5-gpt-chatsampleA working chat application on CAP and SAPUI5 against the OpenAI API — selectable models, per-user chat history in the database, maintainable chatbot personalities, and streaming responses as an option per chat.LLM integrationCAPUI5LLM integrationcapabilityCalling a language model from application code with the tenant, destination and credential handling already solved instead using an SDK call with a hand-rolled key.TypeScript supportUI5TypeScript supportcapabilityWriting apps and libraries in TypeScript — the type definitions, the module syntax the loader expects, and the build step that gets from one to the other.
Since then
cap-ui5-gpt-chat: no published releases, repository quiet for 41 months
Source
reachable

Who is behind it

Mike ZaschkaMike ZaschkaPersonWrote this
In the atlas: maintains 6, contributes to 9, wrote 12
@mikezaschka
author

In this series3

  1. 1
  2. 2
  3. 3
    A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 3/3you are here

Before you read it

read from the page
Applicability1 stale partcds2types

These exact statements were matched by hand to dated, sourced changes. The rest of the work may still be useful.

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
13,109

What was found on the page

derived
Prose
derived
5,372 words
Numbered steps
derived
2
Code blocks
derived
20
Repository links
derived
1

For llm-integration

on the edge
Applies in
authored
capui5

For ui5-typescript

on the edge
Covers
authored
What changes in a UI5 app written in TypeScript, shown as the same controller twice: the ES module and class syntax the Babel-based tooling transpiles back into `sap.ui.define`, `private` members the framework's own class system has no notion of, the framework's type definitions standing in for a trip to the API reference, and a wrong property name (`Id` for `ID`) caught by the compiler instead of surfacing as a message that never appears in the list.

More on this42

Group by42 of 42 pieces
Piece, what it offersStill applies
Also explainingLLM integration31
UI5 Views, Reimagined: Type-Safe TSX for a Modern Dev Experience
YouTube — SAP Developers playlists, Peter Muessig
nothing recorded
CAP in the age of AI #5 - agents wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 5 of 7
nothing recorded
What an AI infra engineer sees when opening SAP's AI stack (1/3): the model gateway
SAP Community, amishkush
nothing recorded
UI5 AI Features library is now an npm Package
SAP Community, Wouter LemaireThe reasoningRunnable code
Version drift
CAP in the age of AI #3 - from MCP to A2A
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Stefan Rudi, part 3 of 7
nothing recorded
Natural Language Queries for SAP CAP via MCP: The LLM Translates, CDS Executes
SAP Community, ShahidThe reasoningA recipeRunnable code
nothing recorded
Banking Sentinel: A Multi-Agent Credit-Risk Copilot on SAP BTP, Built on a Mixed AI Stack
SAP Community, ShahidThe reasoningA recipeRunnable code
Core changed
Building an LLM Agent in CAP Java with Spring AI
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
Building an LLM Agent using CAP
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
Agentic AI on BTP: a Multi‑Agent App with Pydantic AI
SAP Community, Wouter Lemaire
nothing recorded
Agentic AI on BTP: a Single Agent with LangGraph
SAP Community, Wouter Lemaire
nothing recorded
Enhancing Enterprise Applications: AI-powered User Experience with SAP CAP AI Plugin
SAP Community, rupamaityThe reasoningA recipeRunnable code
nothing recorded
Integrating a Custom AI Model into SAP CAP Using AI Launchpad
SAP Community, egeAksoyekThe reasoningRunnable code
Core changed
cds-toon-ai-protocol-adapter: a pragmatic way to cut AI token costs using SAP CAP
SAP Community, Geert-Jan KlapsThe reasoningA recipeRunnable code
nothing recorded
UI5 MCP Server Got Extended for UI Integration Cards Generation
SAP Community, daniel_vladinov
nothing recorded
Prompt-Driven Development: Building Full-Stack SAP CAP Apps from User Stories
SAP Community, AnuradhaDhinganThe reasoning
nothing recorded
Streaming LLM Output with CAP and WebSockets
SAP Community, RobinPThe reasoningA recipeRunnable code
Core changed
How to Reduce Prompt Token Costs Using Toon = Save Money
SAP Community, YoganandaThe reasoningA recipeRunnable code
Core changed
Generative AI on SAP BTP
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
How to use Cloud SDK for AI in an existing CAP NodeJS Project in CommonJS
SAP Community, Jacky_Liu1
nothing recorded
Lets Talk to the Database - CAP & SQLite Powered by Google Gemini-2.5-Pro
SAP Community, ShivamShuklaSAPThe reasoning
nothing recorded
Elevating Data Privacy in SAP CAP based GenAI Applications with CAP LLM Plugin
SAP Community, AkashAmarendraThe reasoningRunnable code
nothing recorded
An Innovative Language Exchange App developed with SAP Build Apps, CAP, Kyma, and OpenAI
SAP Community, javierywThe reasoningRunnable code
Core changed
Automate your Job Postings Using Generative AI (ChatGPT) & SAP Build Process Automation Apps
SAP Community, shivamshukla12The reasoning
nothing recorded
Creating a meal generator application with SAP Build, Cloud Application Programming and openAI
SAP Community, former_member793421The reasoning
nothing recorded
TypeScript Sheriff: How can I use TypeScript in the SAP ecosystem? (Part 2 of 3)
SAP Community, MikeDoyle, part 2 of 3The reasoning
nothing recorded
Empowering Your Data Analytics with GPT-3 and SAP CAP Integration
SAP Community, Former MemberThe reasoning
nothing recorded
debug a CAP app with UI5 TypeScript UI component with VS Code
SAP Community, Volker BuzekRunnable code
nothing recorded
Agentic CAP: Build MCP servers and enterprise AI agents
SAP TechEd — session catalogue, Daniel Hutzel, Daniel SchlachterA recipe
nothing recorded
AI-enabled administration: Automating log analysis with generative AI hub
SAP TechEd — session catalogueThe reasoning
nothing recorded
Stop guessing, start counting: How generative AI fixed an inventory mess
SAP TechEd — session catalogueThe reasoning
nothing recorded
Also byMike Zaschka11
Federating, Replicating, and Caching Remote Data in CAP — Part 2
SAP Community, Mike Zaschka, part 2 of 2The reasoningA recipeRunnable code
nothing recorded
CAP just got faster: What's new in cds-caching 1.0
SAP Community, Mike ZaschkaThe reasoningA reference
Version drift
Boosting performance in SAP Cloud Application Programming Model (CAP) applications with cds-caching
SAP Community, Mike ZaschkaThe reasoningA recipe
Version drift
Using Apache Kafka for messaging in the SAP Cloud Application Programming Model (CAP) – Part 2/2
SAP Community, Mike Zaschka, part 2 of 2The reasoningA recipeRunnable code
nothing recorded
Using Apache Kafka for messaging in the SAP Cloud Application Programming Model (CAP) – Part 1/2
SAP Community, Mike Zaschka, part 1 of 2The reasoningRunnable code
nothing recorded
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 2/3
SAP Community, Mike Zaschka, part 2 of 3The reasoningRunnable code
Gone quiet
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 1/3
SAP Community, Mike Zaschka, part 1 of 3The reasoningRunnable code
Gone quiet
Run and Deploy CAP with PostgreSQL on SAP BTP Cloud Foundry (Node.js)
SAP Community, Mike ZaschkaThe reasoningRunnable code
1 stale part
Getting started with CAP on PostgreSQL (Node.js)
SAP Community, Mike ZaschkaThe reasoningRunnable code
1 stale part
The Full Picture: Federating, Replicating, and Caching Remote Data in CAP — Part 1
SAP Community, Mike Zaschka, part 1 of 2The reasoning
nothing recorded
AI needs a foundation: A map of the plug-in ecosystem for CAP
SAP TechEd — session catalogue, Mike ZaschkaThe reasoning
nothing recorded

Details

Graph7 edges
← POINTS HERE
POINTS OUT →
explainscap-ui5-gpt-chatartifact
explainsLLM integrationcapability, core and community
explainsTypeScript supportcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • explains → applies_to on capability:llm-integrationDoor scope derived from the artifacts this piece also explains, so a door page lists it only where it holds (docs/concepts/content-on-doors.md).
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:a-chatgpt-like-chat-app-with-cap-and-sapui5-part-3
JSON
/content/a-chatgpt-like-chat-app-with-cap-and-sapui5-part-3.json
MCP
Connecting an agent