First ABAP Program

Let us write a “Hello SAP ABAP” program.

Navigate to ABAP editor under Tools node in SAP easy access.

First-ABAP-Program-1

Double click on “ABAP Editor” to open the editor. ABAP editor can also be opened by entering t-code SE38 in the command field.

First-ABAP-Program-2

This is the ABAP editor’s initial screen. Enter the name of the program you want to create and press create. All the customer programs must begin with “Y” or “Z”.

First-ABAP-Program-3

In the next popup screen(Program attributes) enter the title for your program, select Executable program as type and press save.

First-ABAP-Program-4

Press Local Object to store the program in the temporary folder.

First-ABAP-Program-5

This is the screen where you can write the ABAP code.

First-ABAP-Program-6

Write the code. Press save, then syntax check( Ctrl + F2 ).

First-ABAP-Program-7

If there are any syntax errors, it ill be displayed at the bottom of the screen as shown above. Correct the errors and again check the syntax.

First-ABAP-Program-8

Successful syntax check message will be displayed in the status bar. Then activate( Ctrl + F3 ) the program.

First-ABAP-Program-9

In the following screen select your program and press continue. Then run(F8) the program.

First-ABAP-Program-10

The output will be displayed as shown above.


11 thoughts on “First ABAP Program

  • January 24, 2012 at 5:42 pm
    Permalink

    Hi!

    Please, post about ALV!!!
    His teaching is excellent.

    Thanks.

    Reply
  • October 5, 2012 at 10:25 am
    Permalink

    gr8 teaching sir

    Reply
  • March 6, 2014 at 4:08 am
    Permalink

    you forgot to add “.” operator at the end of the code

    Reply
    • April 2, 2014 at 6:52 am
      Permalink

      yes agree 😀

      Reply
  • December 12, 2014 at 5:08 pm
    Permalink

    Yes , Cool and Nice

    Reply
  • April 25, 2016 at 7:55 am
    Permalink

    hello friends can anyone help me with tcodes and all programs related to abap

    Reply
  • April 26, 2016 at 2:51 pm
    Permalink

    Thanks for sharing your knowledge

    Reply

Leave a Reply

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