ワンクリックで
abap-snippet
Run ABAP code snippet to very syntax, execute Function Modules or perform complicate queries.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run ABAP code snippet to very syntax, execute Function Modules or perform complicate queries.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Fetch and displays ABAP system information such as system ID, client, and user details.
Execute ABAP SQL (OpenSQL) queries against a connected SAP system using the sapcli datapreview osql command.
SOC 職業分類に基づく
| name | abap-snippet |
| description | Run ABAP code snippet to very syntax, execute Function Modules or perform complicate queries. |
I create a temporary ABAP class implementing the interface IF_OO_ADT_CLASSRUN
and put your ABAP code snippet into implementation of the method IF_OO_ADT_CLASSRUN~MAIN.
I run syntax check for the temporary class and if there are no syntax errors, I execute
the method IF_OO_ADT_CLASSRUN~MAIN and print the output of the execution into
the standard output.
echo "out->write( |Hello, { sy-uname }!| )." | sapcli abap run -
sapcli abap run - <<EOF
out->write( |Hello, { sy-uname }!| ).
out->write( |Current date is { sy-datum }| ).
EOF
First create a file snippet.abap with the following content:
out->write( |Hello, { sy-uname }!| ).
out->write( |Current date is { sy-datum }| ).
Then run the code snippet from the file:
sapcli abap run snippet.abap