sql-console
A browser-based SQL console built on abap2UI5abap2UI5One ABAP class implementing z2ui5_if_app is the whole app: the browser loads a generic UI5 shell once, and every interaction after that is an HTTP roundtrip back into ABAP.community org, abap, in an Open SQL and a native ADBC variant, that shows a query's result as a filterable table without Eclipse or SAP GUI.
Type a query, press Run, and the result comes up as a table with search, a range filter, spreadsheet export and a per-user query history that loads a query and its result again. It ships two apps: the Open SQL console (src/abap), which the README calls ABAP-Cloud-clean, and the native console (src/native), which runs the statement through ADBC and needs Standard ABAP. Both install with abapGitabapGitA Git client written in ABAP that runs inside the system, so objects are cloned, pulled and pushed without leaving it; with no package manager in ABAP, a cloned repository is how code is distributed.community org, abap on top of abap2UI5abap2UI5One ABAP class implementing z2ui5_if_app is the whole app: the browser loads a generic UI5 shell once, and every interaction after that is an HTTP roundtrip back into ABAP.community org, abap, after the addon repositories popups and custom-controls, and start like any abap2UI5 app on ABAP Cloud (S/4 Public Cloud, BTP ABAP Environment, S/4 Private Cloud or On-Premise with ABAP for Cloud) or on Standard ABAP from SAP NetWeaver AS ABAP 7.50.
Facts
Where it sits
Who is behind it
In the atlas: maintains 21@abap2UI5-addonsmaintainerchoper725Contributes to this
In the atlas: contributes to 3@choper725feng1976Contributes to this
In the atlas: contributes to 2@feng1976Lars HvamContributes to this
In the atlas: maintains 13, contributes to 92, wrote 1@larshpoblomov-devContributes to this
In the atlas: maintains 4, contributes to 44@oblomov-devFrancisco AlcarazContributes to this
In the atlas: contributes to 3@whothefluff5 contributors
Before choosing this
Conditions
PracticalFunctional boundary
It runs whatever SQL a user types without an authorisation check of its own, and the native path additionally uses ADBC, which bypasses ABAP authorisations and client separation; the README asks anyone running it beyond a development system to add authorisation checks and restrict who may start the app. The native console needs Standard ABAP, so on ABAP Cloud only the Open SQL console is available.
What it declares
Every artifact
- Type
- App
- Origin
- Independently maintained
As an app
- Where it runs
- does not say
- Distributed through
- abapGit
Connections
Looking at the data a system holds while developing or supporting it
UI5 apps written as one ABAP class, rendered by a generic shell
Git client written in ABAP that runs inside the system
Download
README
quoted from abap2UI5-addons/sql-console under MIT, readsql-console
An SQL console in your browser - no Eclipse or SAP GUI installation needed. Type a query, run it and look at the result as a table, with search, filter, export and a per-user query history. Built with abap2UI5, for ABAP developers who want a quick look at the data of a system, on ABAP Cloud as well as on Standard ABAP.
Part of abap2UI5-addons - addons and apps for abap2UI5, installed with abapGit.
Why
A quick query should not need a development environment. The SQL console of ADT needs Eclipse, the classic tools need SAP GUI - and on ABAP Cloud there is no SAP GUI at all. sql-console runs the query in any browser that can reach the system, as an abap2UI5 app.
Good for:
- ABAP developers who want to check data without starting Eclipse or SAP GUI.
- ABAP Cloud systems - the Open SQL console (
src/abap) is ABAP-Cloud-clean. - Native SQL on Standard ABAP - the native console (
src/native) runs the statement through ADBC.
It is a developer tool, not an end-user app - read Security before you use it beyond a development system.
Installation
Requirements
- ABAP Cloud (S/4 Public Cloud, BTP ABAP Environment, S/4 Private Cloud or
On-Premise with ABAP for Cloud) or Standard ABAP on SAP NetWeaver AS ABAP
7.50 or higher. The native SQL console (
src/native, ADBC) needs Standard ABAP; on ABAP Cloud, use the Open SQL console (src/abap). - abap2UI5
- abap2UI5-addons/popups
- abap2UI5-addons/custom-controls -
the spreadsheet export (
z2ui5_cl_cci_spreadsheet)
Steps - with abapGit, in this order:
- abap2UI5
- abap2UI5-addons/popups
- abap2UI5-addons/custom-controls
- this repository (branch
main)
Start - like any abap2UI5 app:
| App | Class | Start |
|---|---|---|
| ABAP SQL Console (Open SQL) | z2ui5_sql_cl_app_01 | ?app_start=z2ui5_sql_cl_app_01 |
| Native SQL Console (ADBC, Standard ABAP only) | zcl_2ui5_native_sql_console | ?app_start=zcl_2ui5_native_sql_console |
Usage
ABAP SQL Console (z2ui5_sql_cl_app_01, package src/abap)
- Type an ABAP SQL query into the editor - it starts with
Select * from T100. - Set Max Rows (default 500) and press Run.
- The result comes up as a table: search it, filter it with a range popup and export it with the spreadsheet button.
- Every query goes into your history. Select an entry to load the query and its result again, or clear the history.
Native SQL Console (zcl_2ui5_native_sql_console, package src/native)
The same idea for native SQL: the statement runs through ADBC, with a
Fallback Limit (default 100) added when the statement has no limit of its
own, a data preview and a query history (table
Z2UI5_NSQL_C_HST) whose entries you load again or delete. Association path
expressions in the statement are mapped to joins (zcl_association_processor).
Features
- Execute SQL commands
- Save query history
- Data preview
Security
This is a developer tool. It runs the SQL the user enters, without an authorization check of its own; the native path additionally uses ADBC and therefore bypasses ABAP authorizations and client separation. Before using it beyond a development system, add your own authorization checks and restrict who may run the app (see the Todo below).
Todo
- Extend the input-to-SQL translation
- Add authorization checks
- XLSX Export
- Fix ABAP Cloud Readiness
Development
npm ci
npm run check # abaplint Standard + ABAP Cloud, abap2UI5-linter, rename check
npm run check runs the same steps as CI. The manual build-rename workflow
pushes a namespace-renamed copy to a branch rename_<name> for a parallel
installation.
Contributing
Issues and pull requests are welcome - whether you're fixing bugs, adding new functionality, or improving documentation. See CONTRIBUTING.md.
License
MIT - see LICENSE.
Credits: logic for query to ABAP SQL translation used from ZTOAD, integrated by choper725.
History
Others providing
Compare all 13 on the Browsing table data page →- sapguisapguiThirty classic transactions, SE80 and SE16N among them, rebuilt as abap2UI5 apps and installed with abapGit into a standard ABAP system.independent, abapThirty classic transactions rebuilt as abap2UI5 apps
- se16nse16nAn abap2UI5 app that browses and filters the content of a table in the browser, on ABAP Cloud systems that have no SE16N as well as on premise.independent, abapTable content browser in abap2UI5, for ABAP Cloud and on premise
- HammerHammerA native macOS code editor for ABAP and CDS, with an Object Navigator, Transport Organizer, Data Browser and Gateway Client in the same app as the editor.independent, abapNative macOS code editor for ABAP and CDS
- abap-db-browserabap-db-browserAn SAP GUI program for browsing tables, views, CDS views, custom queries and joins, installed with abapGit together with two other repositories from the same maintainer and needing ABAP 7.50.independent, abapSAP GUI browser for tables, views, CDS views and joins
- ABAP_DATABASE_MANAGERABAP_DATABASE_MANAGERA report that runs custom SQL queries against the SAP database or an external connection, shows the results in an ALV grid, and inserts, updates and deletes data in the connected database.independent, abapABAP report running custom SQL queries into an ALV grid
- urbani-saplinkurbani-saplinkAn SE16 clone shipped as SAPlink files: an ABAP report that reads a table named at runtime with up to 190 select-options, and a Web Dynpro application beside it.independent, abapSE16 clone shipped as SAPlink files
- ABAP remote filesystemABAP remote filesystemA Visual Studio Code extension that opens an ABAP system over ADT as an editable filesystem and exposes system tools to GitHub Copilot and external MCP clients.independent, abapVS Code extension editing ABAP systems over ADT as a filesystem
- ztoadztoadAn Open SQL editor for ABAP that runs a query written in the editor pane on the server and shows the rows in an ALV window, with a pane of saved queries to reuse and share.independent, abapOpen SQL editor for ABAP with ALV output
- ABAP Development Tools for EclipseABAP Development Tools for EclipseSAP's Eclipse plugins for ABAP: source, dictionary and CDS editors, Project Explorer, Outline and ABAP Unit, calling ADT resources on the connected system.sap official, abapSAP's Eclipse plugins for ABAP development over ADT
- HR_DMEHR_DMEA read-only SAP GUI report that lists every infotype, payroll cluster and assignment table holding data for one SAP HCM person or organisational object.independent, abapRead-only SAP GUI report listing where HCM object data is stored
- Simple Data ExplorerSimple Data ExplorerA multi-window SAP GUI explorer for tables, views and CDS SQL views, with filters that re-read as they change, foreign-key navigation, a join builder and pivot tables.independent, abapMulti-window SAP GUI explorer for tables, views and CDS SQL views
- VERTEXVERTEXAn extension for ABAP Development Tools for Eclipse and VS Code that shows Simple Data Explorer, AVE and ACE in the editor over the developer's ADT connection.independent, abapADT extension for Eclipse and VS Code showing three SAP GUI tools
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
abaplint
Flavors
“the Open SQL console (`src/abap`) is ABAP-Cloud-clean” — abap2UI5-addons/sql-console — README
“Native SQL Console (ADBC, Standard ABAP only)” — abap2UI5-addons/sql-console — README
History in the atlas
- First seen.
For your agent
- Ref
artifact:abap2ui5-addons-sql-console- JSON
- /artifacts/abap2ui5-addons-sql-console.json
- MCP
- Connecting an agent