ワンクリックで
abap-sql-query
Execute ABAP SQL (OpenSQL) queries against a connected SAP system using the sapcli datapreview osql command.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Execute ABAP SQL (OpenSQL) queries against a connected SAP system using the sapcli datapreview osql command.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | abap-sql-query |
| description | Execute ABAP SQL (OpenSQL) queries against a connected SAP system using the sapcli datapreview osql command. |
I run ABAP SQL (OpenSQL) SELECT queries against a connected SAP system and
display the results. I use the sapcli datapreview osql command under the hood.
Use me when you need to query SAP database tables directly — for example to inspect table contents, check configuration entries, or retrieve data for analysis or debugging.
sapcli datapreview osql "SELECT * FROM <TABLE>"
Use --rows to cap the number of result rows (default is determined by the
system):
sapcli datapreview osql --rows 20 "SELECT MANDT, CARRID, CONNID FROM SPFLI"
Results can be displayed in human-readable form (default) or as JSON:
# Human-readable table (default)
sapcli datapreview osql "SELECT * FROM T000"
# JSON output — useful for scripting or piping to jq
sapcli datapreview osql -o json "SELECT * FROM T000"
Use -n / --noheadings to omit column headers from the output:
sapcli datapreview osql -n "SELECT MANDT FROM T000"
Use --noaging to skip the data aging check:
sapcli datapreview osql --noaging "SELECT * FROM SFLIGHT UP TO 5 ROWS"
statement argument must be valid ABAP SQL syntax without a trailing period.datapreview osql.