ABAP (7.58)

This assessment applies the coupling account — coupling as access to a shared resource, and the coupling floor [1], [2] — and the knowledge-embodiment theorem [3]; the language is assessed against its official reference [4].

Snapshot ABAP (7.58) — released 26 October 2023 · lifecycle current (SAP ships this language level inside current ABAP Platform releases)

Family ABAP — shelf: Application

The language’s main business is building general application software, with a managed runtime or a rich standard library. A shelf groups; it does not classify — the tags below carry every use, paradigm, and platform of this snapshot.

Trajectory R/2 (1983 — first appeared as the SAP report language) · 4.6C (May 2000 — ABAP Objects) · 7.58 (26 October 2023 — assessed release; the language level current ABAP Platform releases carry)

Tags

Use — Application, Web back end

Paradigm — Object-oriented, Imperative, Procedural

Lifecycle — Current

Memory — Runtime-managed

Typing — Static, strong

Resources

The language’s official entry points, and the documents that name the release this page assesses. A link marked this release pins the document to ABAP (7.58); an unmarked link is the current reference for the language.

Landing page

Specification and reference

Tutorial

1 Assessment

This page assesses ABAP in five parts: core coupling — what the language’s own constructs force; ecosystem coupling — what the surrounding platform, tooling, and community cost; engineering readiness — whether the artifact can be reproduced, verified, observed, worked in quickly, connected to other languages, and governed openly; the profile — the unscored facts a score cannot express; and the scoring detail — the mechanism marks and the arithmetic behind every score. A ✅ bullet marks a construct that helps. A ⚠️ or ❌ bullet marks a cost; the scoring model does not price every cost named here.

Core coupling 72.9/100 · Ecosystem coupling 64.5/100 · Engineering readiness 36.8/100

1.1 Core coupling

1.1.1 Type

  • ✅ Static typing is checked at activation: A program is checked against the ABAP Dictionary types before it runs
  • ✅ ABAP Objects gives interfaces and classes: An interface names the methods, and a class implements them without multiple inheritance
  • ✅ The Dictionary is the shared type system: A data element, a domain, or a table type is defined once and referenced by every program
  • ❌ A reference can be unbound: A reference variable starts initial, and the type does not say so; a read without IS BOUND ends the program (T10)
  • ❌ There are no sum types: An alternative is a CASE over a type field or a set of flags, and the compiler does not check that every case is handled (T4)
  • ❌ User code has no generics: A routine that works for many types is written with field symbols or TYPE ANY, which the compiler cannot check (T5)
  • ❌ Run-time type services expose the structure: RTTI reads a type’s components at run time, and ASSIGN COMPONENT reaches a field by name (T7)
  • ⚠️ Two generations share one grammar: A program can mix procedural statements with class-based code in the same include
  • ❌ A call’s effects are not in its type: A signature says what a method returns, not what it writes to the database or the screen (T12)

1.1.2 Construction

  • ✅ A constructor is declared and checked: METHODS constructor runs at CREATE OBJECT, and the class states its own invariants
  • ✅ CREATE OBJECT separates construction from allocation: The runtime allocates, and the class decides what the object holds
  • ⚠️ A class attribute is shared state: A CLASS-DATA attribute is reachable from every caller in the session
  • ❌ Everything is mutable unless declared constant: DATA is the default and CONSTANTS is opt-in, so an object’s fields can change under a holder (C2)
  • ❌ Execution moves with no call in sight: dynamic method invocation (CALL METHOD (name)) and dynamic attribute access run the code a string names, not a call site (C7)

1.1.3 Memory

  • ✅ The runtime manages memory: Objects and internal tables are released by the ABAP runtime, and a program never frees storage by hand
  • ✅ An internal table is the collection type: A table is a typed container the runtime manages, and an index read is bounds-checked
  • ⚠️ No destructor runs at scope exit: A lock, a file, or a cursor is released by the logical unit of work or by an explicit close
  • ⚠️ A large internal table lives in the session’s memory: The runtime’s memory is bounded per work process, and a big table is a sizing decision
  • ❌ The undeclared class has no catch: a runtime error dumps the internal session (documented), below the CATCH cx_ surface (Er6)

1.1.4 Error

  • ❌ Class-based exceptions are declared but not enforced: A method can raise CX_*, and a caller is not required to handle it; a run-time error ends the program (Er2)
  • ❌ There is no result type: A failure travels as an exception or as sy-subrc, and neither composes (Er4)
  • ❌ sy-subrc can be ignored: The classic return code is set by a statement, and nothing forces the next statement to read it (Er3)
  • ✅ TRY ... CATCH ... CLEANUP gives a structured path: A class-based exception is caught by type, and CLEANUP runs on the way out

1.1.5 Concurrency

  • ✅ A function module can start a new task: CALL FUNCTION ... STARTING NEW TASK runs a unit in parallel, and RECEIVE RESULTS collects it
  • ❌ Shared state is the default across sessions: A database row, a shared memory area, or a lock object is reachable from every session, and nothing in the type marks it (K2)
  • ✅ A lock object states the protocol: An ENQUEUE/DEQUEUE pair names the object it protects, so the lock is a repository object
  • ⚠️ The unit of work is the transaction: A logical unit of work commits or rolls back as a whole, and a long dialog step holds it open

1.1.6 Platform

  • ❌ A program runs only inside an SAP system: The ABAP runtime, the Dictionary, and the database interface are the platform, and there is no other host (P1)
  • ✅ The database is abstracted: Open SQL is translated by the database interface, so one program runs on HANA, Db2, Oracle, or SQL Server
  • ✅ The kernel is the virtual machine: The runtime executes the generated code and controls screens, events, and the database interface
  • ⚠️ The cloud flavour restricts the language: ABAP for Cloud Development permits a subset, so an on-premise program may not be allowed in the cloud
  • ❌ Ordinary application work is expensive: There is no general file, socket, or thread API in the language, so a task outside the business model is built from the runtime’s interfaces (P4)

1.1.7 Trade-offs (not coupling)

  • Vendor lock-in is the price of the platform: The Dictionary, the transport system, and the runtime are one product
  • Compatibility is kept at the cost of consistency: Every generation of syntax remains valid, so two idioms coexist indefinitely
  • The deployment unit is a transport, not a build: A program is activated in a system, so the artifact cannot be rebuilt from source alone
  • The business model is the language’s domain: A data model is expressed in the Dictionary, and a task outside it needs the runtime’s interfaces
  • The tooling is integrated and closed: ADT and the transport system are strong inside SAP and unavailable outside it

1.2 Ecosystem coupling

1.2.1 Performance

  • ❌ A program is interpreted from generated code: The kernel executes the generated form, and there is no ahead-of-time path to machine code (R1)
  • ✅ Code pushdown moves work to the database: CDS views and Open SQL carry the set operation to the database instead of looping in ABAP
  • ⚠️ A nested loop over two internal tables is the classic cost: The code-pushdown guidance exists to replace that pattern
  • ✅ Buffering holds hot data in the application server: A table buffer keeps frequently read data in the server’s memory

1.2.2 Ecosystem

  • ❌ The ecosystem belongs to one vendor: SAP ships the language, the runtime, the tooling, and the applications, and no third party can implement ABAP (Ec4)
  • ❌ One runtime and one framework dominate: The SAP programming model, the Dictionary, and the transport system are the only route (Ec6)
  • ❌ Decades of code remain in the repository: A release keeps old syntax, old APIs, and old idioms working, so every new feature coexists with them (Ec7)
  • ✅ ABAP Development Tools is a capable IDE: Eclipse-based editing, syntax check, debugging, and transport are integrated
  • ✅ abapGit brings version control: A repository can be exported to Git, so a team can review changes outside the transport system

1.2.3 Evolution

  • ✅ The compatibility promise is strong: A release keeps old statements working, so an upgrade rarely breaks a program
  • ✅ New syntax is additive: Inline declarations, constructor expressions, and CDS arrived without invalidating older code
  • ⚠️ The repository accumulates every generation: A system carries classic reports, function modules, and classes side by side
  • ⚠️ The language level moves with the platform: A program’s language level changes when the system is upgraded, not on the program’s schedule

1.2.4 Domain

  • ❌ The domain is enterprise business software: A program models orders, invoices, and materials inside an ERP system (D1)
  • ❌ The framework sets the architecture: The dynpro or RESTful Application Programming model, the logical unit of work, and the package hierarchy decide the program’s structure (D3)
  • ✅ The Dictionary and CDS model the data: A business entity is defined once and used by reports, services, and the UI

1.2.5 Learning

  • ❌ The language and the platform are learned together: A newcomer learns the syntax, the Dictionary, the transport system, and the business model at once (L1)
  • ❌ The surface is large: Classic procedural syntax, ABAP Objects, CDS, and the RAP framework are four vocabularies (L2)
  • ✅ The documentation is exhaustive: SAP’s keyword documentation covers the language in detail

1.2.6 Syntax

  • ❌ The syntax is sentence-like and verbose: DATA, TYPE, and WRITE spell out what a C-family language infers from punctuation (S1)
  • ❌ Two generations share one grammar: Procedural statements and class-based expressions coexist, and either style can appear in one program (S2)
  • ✅ Constructor expressions are modern: NEW, VALUE, COND, and SWITCH express a value where older code assigned it

1.2.7 Testing

  • ✅ ABAP Unit runs inside the system: A test class is a repository object, and the runner reports in the same session
  • ✅ The debugger is strong: A program is stepped, a variable is watched, and a run-time error is analysed in the same session
  • ✅ ATC checks against a rule set: The ABAP Test Cockpit applies the rules at transport time
  • ⚠️ A test needs a system: There is no local build and test loop; the test runs in a system with its data

1.2.8 Security

  • ✅ Memory is managed: A program cannot read or write outside its data, and a table read is bounds-checked
  • ✅ The authorization concept is part of the platform: An authority check names the object and the field, and the runtime enforces it
  • ❌ Dynamic SQL and dynamic calls are ordinary statements: A WHERE clause or a method name can be built from a string, so concatenated input is an injection path (Q3)
  • ⚠️ A modification is the risk surface: A change to a standard object must be re-applied at every upgrade

1.2.9 Delivery targets

What ships from a producer to a consumer, and whether the interface across a release boundary is promised. Ec8 is present when one compiled target crosses with no promise.

Target Ships as Crosses a producer boundary Cross-release promise
source in the system repository source no The host system activates the source on the release that runs it

1.3 Engineering readiness

1.3.1 Reproducibility

  • ❌ The artifact is transported, not built: A program is activated in a system, so the deployed object depends on that system’s state and cannot be rebuilt from source alone (Y1)
  • ❌ Dependencies are a system level, not a manifest: A program relies on the SAP_BASIS release and on repository objects, and nothing in the source pins them (Y2)

1.3.2 Supply chain

  • ❌ A transport carries no signature: The import queue moves objects between systems on trust, and a receiver cannot verify who produced them (Y3)

1.3.3 Observability

  • ❌ Trace and statistics are vendor tools: ST05, SAT, and the ABAP trace are the analysis path, and no open tracing standard is built in (Y5)
  • ❌ Logging is a framework API: The application log is a class library, not a language facility, and a program can write nothing at all (Y6)

1.3.4 Feedback

  • ✅ The syntax check is immediate: ADT checks a class or a program in the system, so an error is reported without a build

1.3.5 Interop

  • ❌ There is no portable target: The generated code runs only in the ABAP runtime, and a program cannot be shipped to another platform (Y10)

1.3.6 Governance

  • ❌ One vendor governs the language: SAP defines the syntax, the runtime, and the release schedule, and no independent body ratifies a change (Y11)
  • ❌ The specification is a vendor document: The keyword documentation is authoritative and proprietary, and no public standard defines ABAP (Y12)
  • ❌ Semantics rest on the vendor runtime: the keyword documentation defines the language as the vendor’s runtime behaves, and no published conformance suite exists (Y17)
  • ❌ No parser published: the keyword documentation defines the surface, the kernel’s parser is closed, and no parser API ships (Y19)

1.4 Profile

Unscored, and kept separate from every score on purpose. The profile records what a mechanism price cannot express: what a running program costs, how well a coding model and an agent work in the language, and whether a safety-critical path exists.

1.4.1 Energy and cost

What this axis asks: what does a running program cost in energy and time?

  • ⚠️ Runs on the SAP application server; no independent energy or time benchmark for the language is recorded.

1.4.2 AI and agent readiness

What this axis asks: how well does a coding model and an agent work in this language?

  • ❌ Sparse public training data: models write it less reliably than a mainstream language [5].

1.4.3 Safety certification

What this axis asks: is there a certified or standards-qualified path to a safety-critical system?

  • ⚠️ No certified or standards-qualified path for safety-critical systems.

1.5 Scoring detail

1.5.1 Core coupling Dimensions

Dimension Mechanism Description Imposed by Present Weight
Type T1 dynamic no static check language — 0
T2 weak static language — 0
T3 dynamic/duck dispatch language — 0
T4 no sum types language ✅ −4
T5 no generics language ✅ −4
T6 no namespaces language — 0
T7 type erasure/reflection language ✅ −4
T8 operator overloading language — 0
T9 inheritance required for polymorphism language — 0
T10 no null-safety language ✅ −8
T11 no module boundary language — 0
T12 no effect tracking language ✅ −8
T13 async/sync colouring language — 0
T14 unchecked foreign boundary language — 0
T15 chars are encoding units language — 0
Type cost −8.0 (−28)
Construction C1 global mutable state by default language — 0
C2 no immutability by default language ✅ −4
C3 constructors coupled to allocation language — 0
C4 no constructor/validation language — 0
C5 unpinned collection order language — 0
C6 aliasing by default language — 0
C7 undeclared control transfer language ✅ −8
C8 no source-visible init order language — 0
Construction cost −3.4 (−12)
Memory M1 manual deallocation runtime — 0
M2 GC non-deterministic pauses runtime — 0
M3 no RAII language — 0
M4 no ownership model language — 0
M5 uninitialized reads language — 0
M6 unchecked reinterpretation language — 0
Er6 uncatchable runtime fault language ✅ −8
M7 reference cycles leak runtime — 0
Memory cost −2.3 (−8)
Error Er1 no structured path language — 0
Er2 unchecked exceptions only language ✅ −8
Er3 errors ignored/non-exhaustive language ✅ −4
Er4 no composable result type language ✅ −4
Er5 no isolation unit for a fault runtime — 0
Error cost −4.6 (−16)
Concurrency K1 GIL/no parallel runtime — 0
K2 shared mutable state default language ✅ −8
K3 manual sync no race detection runtime — 0
K4 no structured concurrency language — 0
K5 no primitives language — 0
K6 thread-per-task cost runtime — 0
Concurrency cost −2.3 (−8)
Platform P1 cannot function outside one vendor/domain context ✅ −15
P2 single-vendor but other uses context — 0
P3 legacy/discontinued platform context — 0
P4 poor domain fit context ✅ −8
Platform cost −6.6 (−23)

Core coupling score: 72.9/100 — 95 of the 350 inventory points are present, so the axis cost is 100 × 95 ÷ 350 = 27.1 and the score is 100 − 27.1. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.

1.5.2 Ecosystem coupling Dimensions

Dimension Mechanism Description Imposed by Present Weight
Performance R1 interpreted no AOT/JIT runtime ✅ −8
R2 GC pauses runtime — 0
R3 JIT warmup runtime — 0
Performance cost −3.1 (−8)
Ecosystem Ec1 no package manager context — 0
Ec2 fragmented tooling context — 0
Ec3 small/niche/discontinued context — 0
Ec4 proprietary context ✅ −8
Ec5 platform-locked tooling context — 0
Ec6 monoculture context ✅ −8
Ec7 legacy burden context ✅ −8
Ec8 unpromised binary boundary context — 0
Ec9 unpromised data boundary context — 0
Ecosystem cost −9.4 (−24)
Evolution V1 breaking changes language — 0
V2 frozen context — 0
V3 discontinued context — 0
V4 glacial standards context — 0
V5 silent default drift runtime — 0
V7 build-variant state space context — 0
Evolution cost 0
Domain D1 domain/vendor lock-in context ✅ −15
D3 framework forces architecture context ✅ −8
Domain cost −9.0 (−23)
Learning L1 steep context ✅ −8
L2 large surface/multi-paradigm context ✅ −4
L3 sparse docs context — 0
Learning cost −4.7 (−12)
Syntax S1 verbose language ✅ −8
S2 inconsistent language ✅ −8
S3 punctuation-heavy language — 0
Syntax cost −6.2 (−16)
Testing G1 weak tooling context — 0
G2 poor debugging context — 0
G3 runtime-only errors context — 0
G4 no published monotonic clock runtime — 0
Testing cost 0
Security Q1 memory-unsafe language — 0
Q2 dynamic/weak typing risk language — 0
Q3 known vulnerability/injection context ✅ −8
Q4 silent integer overflow language — 0
Security cost −3.1 (−8)

Ecosystem coupling score: 64.5/100 — 91 of the 256 inventory points are present, so the axis cost is 100 × 91 ÷ 256 = 35.5 and the score is 100 − 35.5. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.

1.5.3 Engineering readiness Dimensions

Dimension Mechanism Description Imposed by Present Weight
Reproducibility Y1 build not reproducible context ✅ −15
Y2 dependencies not pinned context ✅ −8
Y14 no toolchain version pin context — 0
Y18 no machine-read project contract context — 0
Reproducibility cost −13.5 (−23)
Supply chain Y3 no signed provenance context ✅ −15
Y4 registry without namespacing context — 0
Y16 no advisory feed context ✅ −8
Supply chain cost −13.5 (−23)
Observability Y5 no stable tracing standard context ✅ −8
Y6 no structured logging context ✅ −4
Y15 no post-mortem diagnostics runtime — 0
Observability cost −7.0 (−12)
Feedback Y7 slow build context — 0
Y8 no fast in-editor analysis context — 0
Y13 no bundled debugger context — 0
Feedback cost 0
Interop Y9 no foreign-function interface language — 0
Y10 no portable target context ✅ −4
Interop cost −2.3 (−4)
Governance Y11 single-vendor governance context ✅ −15
Y12 closed specification context ✅ −15
Y17 no conformance mechanism context ✅ −8
Y19 no published parser context ✅ −8
Governance cost −26.9 (−46)

Engineering readiness score: 36.8/100 — 108 of the 171 inventory points are present, so the axis cost is 100 × 108 ÷ 171 = 63.2 and the score is 100 − 63.2. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.

Verdict: ABAP’s design yields high language-imposed coupling. The runtime, the Dictionary, and the vendor own the platform, so the deployment unit is one product. Static typing, ABAP Objects, and managed memory remove several language mechanisms, but the classic return code, the untyped dynamic SQL, the mutable-by-default data, and the absence of a result type keep the error and construction paths open. Main strength: a mature, strongly typed business language with a managed runtime and a strong compatibility promise. Main weakness: a program runs only inside an SAP system, the framework decides the architecture, and the repository carries every generation of the language at once.


The formal development. The definitions, theorems, and proofs behind this page are published in:

All published papers

References

[1]
Y. Loth, “On the nature of coupling: All coupling as shared resource access.” Zenodo, Aug. 2026. doi: 10.5281/zenodo.21925121.
[2]
Y. Loth, “Coupling as a consequence of cohesion: Decomposition, the coupling floor, and domain-imposed coupling.” Zenodo, Aug. 2026. doi: 10.5281/zenodo.21925201.
[3]
Y. Loth, “On the nature of cohesion: Cohesion as correctness relative to a partitioning rule.” Zenodo, Jul. 2026. doi: 10.5281/zenodo.20492912.
[4]
SAP SE, “ABAP keyword documentation.” SAP SE, 2026. Available: https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm
[5]
S. Joel, J. J. Wu, and F. H. Fard, “A survey on LLM-based code generation for low-resource and domain-specific programming languages,” ACM Transactions on Software Engineering and Methodology, 2025, doi: 10.1145/3770084.