协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
abap-snippet【开发与工程】Run ABAP code snippet to very syntax, execute Function Modules or perform complicate queries.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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