원클릭으로
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 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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.
| 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