ABAP is a programming language developed by SAP for programming business applications in the SAP environment.
Previously only procedural, ABAP is now also an object-oriented language thanks to the ABAP Objects enhancement.
PROGRAM zhello_world. START-OF-SELECTION. WRITE 'Hello, World!'.
Instead of printing to the console, ABAP writes values to a list which will be displayed as soon as the main logic was executed.
PROGRAM zhello_world. CLASS main DEFINITION FINAL CREATE PRIVATE. PUBLIC SECTION. CLASS-METHODS: start. ENDCLASS. CLASS main IMPLEMENTATION. METHOD start. cl_demo_output=>display( 'Hello World!' ). ENDMETHOD. ENDCLASS. START-OF-SELECTION. main=>start( ).