SAP LeanIX custom report tools: command line interface to initialize, develop and upload custom reports for SAP LeanIX Enterprise Architecture Management.
@lxr/core- Core utilities and types for SAP LeanIX reporting@sap/create-leanix-custom-report- Creation tool to quickly create new SAP LeanIX custom reports@sap/vite-plugin-leanix-custom-report- Vite plugin for fast development with hot reload and seamless deployment
- 🚀 Fast development with Vite's hot module replacement
- 📦 Automatic bundling and optimization for SAP LeanIX reports
- 🔧 Built-in TypeScript support
- 📤 One-command deployment to SAP LeanIX workspace
- 🎯 Framework agnostic (works with vanilla JS, React, Vue, etc.) but provides
react/react-tstemplate out of the box
For detailed documentation on each package see:
- @sap/vite-plugin-leanix-custom-report - Vite plugin documentation
- @sap/create-leanix-custom-report - Project creation documentation
- SAP LeanIX Custom Reports
- Node.js 24+ and npm/yarn/pnpm
- A SAP LeanIX workspace with API access
You can either use published artifacts (on npmjs.com) or build and use the tools manually.
Install all depepdencies using npm install and
npm run create-custom-report-localThis script will:
- Build all packages
- Run the @sap/create-leanix-custom-report creation tool (and create a report in
../REPORT_NAME) - Automatically link the local @sap/vite-plugin-leanix-custom-report to your new project
Create a folder/repository and install the tools from npmjs.com. Use:
# npm
npm create @sap/leanix-custom-report@latest
# yarn
yarn create @sap/leanix-custom-report
# pnpm
pnpm create @sap/leanix-custom-reportto create the report.
This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.
Always ensure to add lxr.json to your .gitignore. This file stores sensitive credentials (OAuth tokens, client secrets, and/or API tokens) and must never be committed to version control. It can exist at two levels — project-level (./lxr.json, takes precedence) and user-level (~/.leanix/lxr.json on macOS/Linux, %APPDATA%\leanix\lxr.json on Windows).
If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.
Copyright 2026 SAP SE or an SAP affiliate company and leanix-custom-report-tools contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.