Max Titov IV @ TechSplice

The most beautiful music of all is the music of what happens.
  • Home
  • About
21 Aug 2007

Hello World [ABAP]

One of the first and most well known attempts to tackle any programming language is to write a ‘Hello World’ application. Lets begin by creating a new program Z_HELLO_WORLD.

Note: use transaction SE38 to gain access to ABAP editor. 

Every program written in ABAP has to begin with a specific line:

REPORT <PROGRAM NAME>.

REPORT Z_HELLO_WORLD.

Notice that ABAP has its own particular syntax. Every statement must be concluded with a period, just like in Java you would use a semicolon.

To finish off our program we will use a write command.

WRITE <format> <field> <options>

<format> output format specifications. The ‘/’ symbol signifies the new line symbol.
<field> can be data variables, text literals, or numbered text.
<options> specify a number of formatting options.

WRITE / ‘Hello World’.

Tags: program, sap, SAP/ABAP, test

This entry was posted on Tuesday, August 21st, 2007 at 5:58 pm and is filed under SAP/ABAP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Click here to cancel reply.

« Toronto Comic Arts Festival
Retrieving user data [ABAP] »
  • Subscribe using FeedBurner
  • Cloud

    abap adobe animation basic beautiful builder camera code configuration contribution design development digital engineering fix flash Flex friends function images interesting lesson new paypal Photography php problem problems program programmer review sap SAP/ABAP sdk setup soap software solution story system tables transaction transports user video

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • My Links

    • Cooking
    • Gallery
    • Resume
  • Online Tools

    • Airline Ticket Search
    • Estimate Shipping Cost [from US]
    • Link your Blog
  • Software Engineering Blogs

    • Adam Goucher
    • Joel on Software
    • The Third Bit
    • Wide Awake Developers
  • Categories

    • Everyday stuff
    • Flex
    • Photography
    • SAP/ABAP
    • Short Stories
    • Software Engineering
    • Web Development
  • Gallery

    Roy Tanck's Flickr Widget requires Flash Player 9 or better.

Max Titov IV @ TechSplice is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).
Podcast Powered by podPress (v8.8)