一键导入
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.