Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

field "HELLO" is unknown

0 Kudos
239

sorry, guys,

ABAP newbie question, got error field "HELLO" is unknown

REPORT ZY_01_HELLOWORLD.

write ‘Hello World!’.

1 ACCEPTED SOLUTION

former_member537489
Participant
143

I think the apostrophe symbol ' was copied incorrectly. --> write ‘Hello World!’.

Try replacing it with teh apostroph symbol of your keyboard. I think it will work.

Thanks, Roxani

4 REPLIES 4

former_member537489
Participant
144

I think the apostrophe symbol ' was copied incorrectly. --> write ‘Hello World!’.

Try replacing it with teh apostroph symbol of your keyboard. I think it will work.

Thanks, Roxani

Sandra_Rossi
Active Contributor
0 Kudos
143

ABAP words are case-insensitive.

michael_piesche
Active Contributor
0 Kudos
143
" This statement works, because it uses the correct literal
write 'Hello World!'.


" This is your statement, which doesnt work, because it is the wrong literal
" If you look closely, you see the difference between 'correct' and ‘wrong‘
" And the code tool for ABAP coding displays it correctly as well, showing that the above is recognized as a text whereas in the second it is not
write ‘Hello World!’.

Sandra_Rossi
Active Contributor
0 Kudos
143

Please use the CODE button to format your code so that it's shown in a more user-friendly format (colorized).

Your code, well formatted:

REPORT ZY_01_HELLOWORLD.
write ‘Hello World!’.