2020 Mar 04 2:52 PM
This is not syntactically correct, as expected.
cl_demo_output=>write(5).
This is syntactically correct and runs fine. Not expected.
REPORT.
cl_demo_output=>write(`some_text`).
cl_demo_output=>write( `some_text`).
cl_demo_output=>write(`some_text` ).
cl_demo_output=>display( ).
But the language definition says spaces are required after the opening parenthesis and before the closing.
This is not syntactically correct, as expected.
cl_demo_output=>write(5).
This is syntactically correct and runs fine. Not expected.
REPORT.
cl_demo_output=>write(`some_text`).
cl_demo_output=>write( `some_text`).
cl_demo_output=>write(`some_text` ).
cl_demo_output=>display( ).
But the language definition says spaces are required after the opening parenthesis and before the closing.
2020 Mar 04 3:02 PM
It is wrong with variables
data(text) = conv string(`some text`).
cl_demo_output=>write(text).
it looks like the | command :
data(text) = |my text is created :{ sy-datum }| no space before text needed, but space between variable are mandatories
2020 Mar 04 8:36 PM
For me is a compiler problem that has acompanied ABAP from a long time now (...just my opinion...).
2020 Mar 04 8:39 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |