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.

Generated List Report

What it is for

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

Development launchpad

What you get

You write (abapGit format)Open RAP Runtime produces
Tables (define table, as in ADT), CDS table entitiesPostgreSQL tables, initial data
CDS views, projections, CDS types (simple, enumerated), DCLSQL 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 definitionRAP 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 definitionOData V4 service at the SAP paths, $batch, CSRF, OIDC
rapt/mcp.jsonMCP server for AI agents
launchpad.jsonOpenUI5 launchpad: spaces, pages, tiles by role, single sign-on; one per workspace, created and completed when each application is created

Object Page in edit mode

Key features

Filter dialog: Search and Select, Define Conditions

Documentation

DocumentContent
GuideEverything Open RAP Runtime does and how to use it (humans and AI agents)
FeaturesRAP coverage, feature by feature
AnnotationsEach CDS annotation: what the $metadata and the UI do with it
DiagnosticsThe codes of rapt check
MCP serverThe service for AI agents
DeploymentDocker, SAP BTP Cloud Foundry, HTTPS, publishing a version (npm, extension)
Utility classes, Remote APIsThe behavior pool beyond RAP
Known gaps, RoadmapWhat is missing, what is coming
Decisions, PlanThe 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).