ABAP 物件中的 Hello World
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( ).