SAP Program: Hello World in ABAP

I believe a programmer is born with Hello World program. So, we will start with this SAP program only.

Follow the following steps to make your first program (Happy Coding)

  1. Open Transaction SE38
  2. Write your program name starting with Z or Y (Reason is in our ABAP syntax post)

Example: ZBARRY_ALLEN

  1. Click on Create
  2. Write Title

Example: This is My First Program

  1. In Attributes Select Executable Program in Type and click Save
  2. Press Local Object to save it in Temporary folder (Reason will be discussed in upcoming posts)
  3. Now, this is the screen where you can write your codes(Excited?)
  4. Just Write the code below:
 WRITE “HELLO WORLD”.
  1. Now, click Save, Check and Activate one by one as shown below
  2. Now Run the program by clicking on Run or pressing F8.

That’s it. You have successfully written your first ABAP program

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translate »