Hi All,
I am new to programming in ABAP and writing some code from some online tutorial available on SDN. I am receiving the following error with the code below
method SHOW.
Data msg type string.
msg = `Vehicle` && |{ID}| &&
`,Speed = ` && |{speed}| &&
`,max-speed = ` && |{max_speed}|.
Message msg Type 'I'.
endmethod.
ID, speed and max_speed are of type integer. This code is supposed to give a message "Vehicle 7, speed 10, max-speed = 50" by concatenating the strings
However I receive the following error
Incorrect arithmetic or bit expression: Instead of "&&", an operator
(+, -, *, /, ... or BIT-AND, BIT-XOR, BIT-OR) was expected.
Read the online documentation and the code seem to be consistent with the guidelines.
What am i missing.
Thank
BRS