원클릭으로
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.