How to Create your First ABAP Program


Steps:

Call Transaction code SE38 then press enter.



Type the name of the program starting with Z/Y and press create.


Type a Title for your program. example my first program title and in attribute section select executable program and press save.


Here we have to select executable program in attribute section.



We will be asked to set a package where the object(program) is 
going to be put in. Currently for a example we select local object.




Now the programming window will appear that is also called ABAP Editor Window.




In this window you can write your program and execute.
For execute any program first save the program then check(ctrl+f2), then activate the program(ctrl+f3) then run the program(f8).

Here is the example. you can use this as your first program.

REPORT Z645PROG1.
data type i"variable declaration
         y type i,
         type i.

*x=10. "syntax error
10.  "initialization
20.
+ y.  "addition
write z"display

output=30

Note:- If anybody want some example of these all topic then kindly send/comment your mail id, i will send the all examples through mail in word format.


**Kindly like and share these all topic with your friends**