Back to features
Code transformation

Dual RAP & CAP Engine

Generate clean In-App ABAP Cloud (RAP) handlers or decoupled BTP CAP services, with a deterministic AST resolver that prevents structural AI hallucinations.

Stage 3 — Transformation

What it is

Depending on the routing decision, the engine drafts either In-App ABAP Cloud RAP artifacts or decoupled Side-by-Side CAP (Node.js / TypeScript) services.

A deterministic Abstract Syntax Tree (AST) resolver linearizes object-oriented inheritance chains (MRO), maps constructors and interface aliases, and grounds the translation in released APIs before the language model runs — preventing structural hallucinations.

What’s possible

  • Dual output: In-App RAP (ABAP Cloud) or Side-by-Side CAP (Node.js / TypeScript)
  • Deterministic OO / interface resolution before translation
  • Full multi-file abapGit ZIP export + generated ABAP-Unit tests to compile and verify

Honest scope & limitations

  • Generated code is a first, compliant DRAFT for architect review — never a production-ready deliverable.
  • Dynamic ABAP (e.g. CALL FUNCTION with variable names), Dynpro / screen flows and batch-input scenarios cannot be fully resolved automatically and need manual redesign.

Related

Free · community-built · complementary to your SAP tooling

Try it on your own code.

Get free access