A sample project showcasing how to use abaplint and abap-transpiler to perform off-stack ABAP linting and unit testing — no SAP system required.
This project demonstrates that ABAP code quality checks and unit tests can be executed entirely locally or in a CI/CD pipeline, without connecting to a SAP backend.
- Static code analysis via
abaplint - Unit test execution via
abap_transpile+ Node.js
- Lint:
abaplintparses and analyzes the ABAP source files in/srcagainst the rules defined inabaplint.jsonc. - Transpile:
abap_transpileconverts the ABAP classes (including local test classes) into JavaScript. - Run: The transpiled output is executed with Node.js, which runs the ABAP unit tests off-stack.
src/ # ABAP source files
abaplint.jsonc # abaplint configuration (rules, syntax version, file paths)
package.json # Node.js dependencies and scripts
- Node.js (LTS recommended)
npm install| Command | Description |
|---|---|
npm run lint |
Run abaplint static code analysis |
npm run unit |
Transpile ABAP and run unit tests via Node.js |
npm test |
Run lint + unit tests |
The .github/workflows/qualitychecks.yml workflow runs abaplint automatically on every push and pull request.