Open RAP Runtime
Develop, test and deploy your RAP business objects without an SAP system.
You write your RAP BO as in the ABAP Development Tools — tables, CDS views, UI annotations, behavior definition, behavior pool in ABAP, service — and Open RAP Runtime turns it into an application that runs anywhere: an OData V4 service, the RAP managed runtime with your ABAP code, a PostgreSQL database and a List Report / Object Page UI in OpenUI5. The same sources are then imported into SAP with abapGit.

What it is for
- Learning and teaching RAP without a license or a system: the complete cycle BDEF → behavior pool → OData → Fiori, locally, in a few seconds.
- Prototyping a BO and showing it to a customer or a business team before opening a system.
- Testing the logic of a BO (determinations, validations, actions, authorizations) in CI.
- Shipping a small standalone application (Docker, SAP BTP Cloud Foundry, an internal server) when an SAP system is not justified.
- Opening the BO to AI agents: the service becomes an MCP server whose tools all apply the checks of the BO.
Everything is open source under permissive licenses: no CAP, no SAPUI5, no proprietary SAP library (LICENSES.md).
Get started in two minutes
In VS Code: install the open-rap-runtime-vscode.vsix extension (it contains everything), then run RAP: New complete business object… and RAP: Start rapt dev (which asks for the floorplan). The browser opens on the development launchpad.
On the command line (Node.js 22): npm install -g @open-rap/cli (or npx @open-rap/cli), or from a clone pnpm install && pnpm build, then node packages/compiler/dist/cli.js instead of rapt:
rapt new my-project Travel --prefix ZRT # a complete managed BO, with data
rapt dev my-project # http://localhost:8080/ — rebuilt on each save

What you get
| You write (abapGit format) | Open RAP Runtime produces |
|---|---|
Tables (define table, as in ADT), CDS table entities | PostgreSQL tables, initial data |
| CDS views, projections, CDS types (simple, enumerated), DCL | SQL views, OData V4 $metadata, per-user access controls |
Metadata extensions (@UI) | List Report, Worklist, Analytical List Page, Overview Page (Fiori filters, user views, value helps, charts) and Object Page |
| Behavior definition | RAP managed runtime: draft, locks, ETags, numbering, authorizations, feature control, determinations, validations, actions |
| Behavior pool (ABAP Cloud) | The same code, transpiled and run: EML, messages, ABAP SQL, released classes (JSON, HTTP, bgPF, e-mail…) |
| Service definition | OData V4 service at the SAP paths, $batch, CSRF, OIDC |
rapt/mcp.json | MCP server for AI agents |
launchpad.json | OpenUI5 launchpad: spaces, pages, tiles by role, single sign-on; one per workspace, created and completed when each application is created |

Key features
- Write only ABAP:
rapt new(a complete BO),rapt generate(a table, a view from its table, a projection, a BDEF with its compositions, a behavior pool…),rapt abapgit(the XML files for the import into SAP). - Development loop
rapt dev: embedded database, rebuild on each save, positioned diagnostics (file:line:column), development launchpad with the built-in documentation.rapt launchpad dev launchpad.jsondoes the same for every application of the workspace, each on the port of its URL, behind the launchpad (http://localhost:8090/). - Modes:
standard(strictly as on SAP, activatable on SAP) orenhanced(extensions: mandatory fields checked automatically, managed BO on a custom entity, CDS enumerated types exposed as ODataEnumType). - Draft (
with draft,with collaborative draft): drafts, Edit / Activate / Discard, exclusive lock, editing status, invited users, as in Fiori Elements. - Table entities and CDS types: a complete BO on a
define table entity, simple and enumerated types. - Standard views
I_Currency,I_UnitOfMeasure,I_Country,I_Language,I_Region,I_CalendarDate,I_TimeZone,I_BusinessUserBasic,I_ExchangeRatewith their data, for your value helps. - Fiori UI: List Report, Worklist, Analytical List Page (
$apply), Overview Page, Form entry; filters with conditions (>100,1...5,*abc*,!(…)) and the Search and Select / Define Conditions dialog, views saved per user, table settings, value helps, actions, editable compositions. - CDS expressions: calculated elements (
CASE,CAST, arithmetic, SQL functions) computed by the database view. - Security: OIDC (Keycloak, SAP Cloud Identity Services, Entra ID…), Web API bindings with OAuth 2.0 (client credentials, PKCE), authorization objects and
AUTHORITY-CHECK, DCL, roles; remote APIs called with the methods of ABAP Cloud (basic, X.509 client certificate, OAuth 2.0 with a secret, mTLS or a signed JWT, OAuth 1.0), a bearer token, an API key or a refresh token. - Web APIs: a business object created as an API for other systems (
rapt new … --binding-type webapi, or the first question of New complete business object…) has no UI and stays out of the launchpad. - One launchpad per workspace: each application is added to it when it is created; develop them together behind it (
rapt launchpad dev, RAP: Start the launchpad in VS Code); ship either the launchpad with all its applications (rapt launchpad) or one application alone (rapt build). - Deployment: Docker,
docker compose, SAP BTP Cloud Foundry (cf push), any Node.js server. - VS Code extension: object creation wizard as in ADT, RAP Objects view, floorplan choice, every command of the CLI, diagnostics in the Problems tab, ABAP, CDS and BDEF highlighting;
raptin the integrated terminals. - AI coding agents:
rapt agent, an MCP server that checks the project, creates objects and searches the documentation; registered by the extension for the agent mode of VS Code.

Documentation
| Document | Content |
|---|---|
| Guide | Everything Open RAP Runtime does and how to use it (humans and AI agents) |
| Features | RAP coverage, feature by feature |
| Annotations | Each CDS annotation: what the $metadata and the UI do with it |
| Diagnostics | The codes of rapt check |
| MCP server | The service for AI agents |
| Deployment | Docker, SAP BTP Cloud Foundry, HTTPS, publishing a version (npm, extension) |
| Utility classes, Remote APIs | The behavior pool beyond RAP |
| Known gaps, Roadmap | What is missing, what is coming |
| Decisions, Plan | The technical choices and their reasons |
The same documentation opens from the launchpad of rapt dev (Documentation tile), and on the project website.
The project website (site/, published on GitHub Pages by the site.yml workflow) presents Open RAP Runtime, contains this documentation and serves the .vsix of the latest version.
Feedback
Report a bug or request a feature with the feedback form (it opens a pre-filled issue in the issues of this repository), or in VS Code with RAP: Report a bug or request a feature….
Contributing
pnpm install
pnpm build
pnpm test # vitest: compiler, runtime, browser (Playwright if present)
packages/model/ types of the IR (model.json), shared naming conventions
packages/compiler/ rapt CLI, parsers (BDEF, CDS, SRVD, DCL), IR, generators
packages/runtime/ runtime of the generated applications (OData V4, RAP managed, launchpad, MCP)
packages/vscode/ VS Code extension (calls the rapt CLI)
packages/cli/ npm package @open-rap/cli (the rapt command)
fixtures/ reference BOs: travel (Travel / Booking), custom-entity, table-entity
site/ project website
The rules for working on the repository (for humans and agents alike) are in AGENTS.md.
License
MIT (LICENSE); dependencies under permissive licenses (LICENSES.md).