First of all we are going to create a simple program:
1. Start transaction SE38, type /se38 into Command field and press enter.
2. Create a test program the name must start with Z. Example: ZHELLOWORLD.
3. Program attributes:
4. Program code:
REPORT ZHELLOWORLD.
WRITE 'hello world'.
5. Save and Activate program (CTRL+F3).
6. Direct Processing (F8)