ABAP RESTful Application Programming Model · open source · MIT

Your RAP business objects,
without an SAP system.

Write your BO as in ADT — tables, CDS views, annotations, behavior definition, behavior pool in ABAP. Open RAP Runtime turns it into an application that runs anywhere: an OData V4 service, the RAP managed runtime with your ABAP code, PostgreSQL and a Fiori UI. The same sources are then imported into SAP with abapGit.

Generated List Report: travels filtered by agency, with columns, actions and table settings

Learn and teach RAP

The complete cycle BDEF → behavior pool → OData → Fiori, locally, in seconds, without a license.

Prototype

Show a working BO to a business team or a customer before opening a system.

Test in CI

Determinations, validations, actions and authorizations tested on every commit.

Ship small

A standalone application on Docker, SAP BTP Cloud Foundry or an internal server.

How it works

A compiler reads your abapGit sources and generates a Node.js application. Nothing proprietary: no SAPUI5, no CAP.

A complete RAP BO

RAP managed runtime

Locks, ETags, numbering, global and instance authorizations, feature control, determinations, validations, actions, savers.

Draft as in Fiori Elements

with draft and with collaborative draft: drafts, Edit / Activate / Discard, editing status, inviting other users.

Your ABAP, executed

Complete EML, messages, ABAP SQL, AUTHORITY-CHECK, released classes: JSON, HTTP, bgPF, e-mail, numbering.

Generated Fiori UI

List Report, Object Page, Worklist, Analytical List Page, Overview Page, Form Entry; variants, value helps, and the Search and Select / Define Conditions filter dialog.

Recent CDS

Calculated elements (CASE, CAST, functions), table entities, simple and enumerated types, standard views (I_Currency, I_Country…) with their data.

Web APIs and OAuth 2.0

Web API binding, OIDC tokens (client credentials, PKCE), built-in development OAuth server.

AI agents (MCP)

The service becomes an MCP server: each tool applies the checks of the BO. And rapt agent helps coding agents (Copilot, Claude Code…) write the BO: check, create objects, read the docs.

Faithful to SAP

standard mode: what builds activates on SAP. enhanced mode for the extensions.

Deployment

The launchpad with all the applications of the workspace, or one application alone: Docker, docker compose, SAP BTP Cloud Foundry (cf push), any Node.js server.

Get started in two minutes

  1. Install the extension (it contains everything: rapt, OpenUI5, an embedded database).
  2. RAP: New complete business object… creates a managed BO with data, and adds it to the launchpad of the workspace.
  3. RAP: Start rapt dev asks for the floorplan (List Report, Worklist…) and opens the application; it is rebuilt on each save.
  4. With several applications, RAP: Start the launchpad runs them all, each rebuilt on save, behind the launchpad of the workspace.
  5. RAP: New RAP object… adds views, BDEFs, services… as in ADT. rapt is also on the PATH of the terminals, and the agent mode of VS Code finds rapt agent.

Or on the command line

npm install -g open-rap-runtime

rapt new my-project Travel --prefix ZRT
rapt dev my-project
# http://localhost:8080/
rapt launchpad dev launchpad.json
# every application of the workspace,
# behind http://localhost:8090/

rapt check my-project       # diagnostics
rapt build my-project --out dist
rapt abapgit my-project     # XML for SAP
rapt agent .                # MCP server for coding agents

Download

VS Code extension, free and open source (MIT). Node.js is not needed: the extension uses the one of VS Code. Without VS Code (CI, terminal): npm install -g open-rap-runtime.

Version 0.4.0 · npm · GitHub · all releases · report a bug

Install

In VS Code, Cursor or VSCodium: Extensions, search for Open RAP Runtime, or:

code --install-extension abaper.open-rap-runtime-vscode

Without access to the marketplaces (a company network): download open-rap-runtime-vscode.vsix, then Extensions → … → Install from VSIX….

Frequently asked questions

Do I need an SAP license?

No. Open RAP Runtime uses no proprietary SAP library: OpenUI5 (Apache 2.0), abaplint (MIT), PostgreSQL. The sources stay yours and are imported into an SAP system with abapGit.

Will my BO behave as on SAP?

That is the rule of the project: in standard mode, a source behaves as on SAP, and what would not activate there is refused with a diagnostic. The known gaps are documented.

And in production?

The generated application is an ordinary Node.js application: Docker, Kubernetes, SAP BTP Cloud Foundry, with PostgreSQL and the OIDC authentication of your identity provider (Keycloak, SAP Cloud Identity Services, Entra ID…). See the deployment guide.

Can an AI agent write the BO?

Yes. In VS Code, the agent mode finds the MCP server of rapt (rapt agent): it checks the project, creates objects and searches this documentation; rapt is also on the PATH of the terminals. Elsewhere: npm install -g open-rap-runtime, then for example claude mcp add rapt -- rapt agent .. See the guide.

Where is the documentation?

On this website (documentation), and in the launchpad of rapt dev (Documentation tile).

How do I report a bug or ask for a feature?

With the feedback form: it opens a pre-filled issue on GitHub. In VS Code: RAP: Report a bug or request a feature… fills in the version and the environment.