Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
Laszlo_Thoma
Product and Topic Expert
Product and Topic Expert
8,788

SAP_Community_2025_Content_Banner_.png

last updated: 2025-03-12

Introduction
The article explains the SAP GUI – TCODE (Transaction Code): DBACOCKPIT (SQL Editor) usage in details.

SAP GUI

Description
The SQL editor allows to flexibly executes SQL statements for analysis purposes, e.g. SQL statements provided via SAP Note 1969700 (further details in SAP Knowledge Base Article 3311408)

Transaction Code:
DBACOCKPIT 

DBA Cockpit menu structure (Navigation Panel):
Diagnostics > SQL Editor

Screen: SQL Editor
The following image represents an empty SQL Editor.
1_empty_editor.png

Usage:

General SQL statement / command can be executed.
2_dummy_editor.png
Result
3_dummy_editor_result.png

Advanced SQL Statement from SQL Statement Collection reports also can be executed.
4_advancedSQL_editor.png
Result
4_advancedSQL_result.png

Related SAP documentations
The following SAP documentations belongs to the topic.

  • 3506374 - How-to: Execute SQL command for HANA DB
  • 3509699 - How to execute SQL scripts from SAP note 1969700

Other articles in this series
🔖 3428763 - Bookmark of frequently used SAP GUI transaction codes for SAP HANA related investigations

Do you have further questions?
Please do not hesitate to contact me if you have question or observation regarding the article.
SAP Community for SAP GUI: https://community.sap.com/topics/gui

Contribution
If you find any missing information belongs to the topic, please let me know. I am happy to add the new content. My intention is to maintain the content continuously to keep the info up-to-date.

Release Information

Release DateDescription
2025.03.12First/initial Release of the SAP Blog Post documentation (Product Information).