Chapter 02 - Introduction To ABAP Programming
Chapter 02 - Introduction To ABAP Programming
Dec-2008
Objectives
The participants will be able to :
Remember basic terms in ABAP programming
Identify ABAP development basics
Examine ABAP programming environment and ABAP Editor
Write basic ABAP program syntax
Dec-2008
Terms to Remember
Program
A series of ABAP statements
Report:
An ABAP program whose output is a list
Module Pool:
A dialog program which is a collection of
screens
List:
The output generated by an ABAP report
program
Dec-2008
ABAP
Development
(SE80)
Dec-2008
Dec-2008
Demonstration
Creation of a custom program using transaction SE80 and displaying it in ABAP
editor.
Dec-2008
Practice
Creation of a custom program using transaction SE80 and displaying it in ABAP
editor
Dec-2008
Dec-2008
Demonstration
Setting Break-points, executing the program and displaying the debugging mode.
Dec-2008
Practice
Setting Break-points, executing the program and displaying the debugging mode.
10
Dec-2008
11
Dec-2008
12
Dec-2008
13
Dec-2008
14
Dec-2008
15
Dec-2008
16
Dec-2008
17
Dec-2008
18
Dec-2008
Demonstration
Displaying basic functions and menu options of the ABAP editor.
19
Dec-2008
Practice
Displaying basic functions and menu options of the ABAP editor.
20
Dec-2008
WRITE COUNT.
Statement
Word 1
Key word
21
Word 2
Word 3
Word 4
22
Dec-2008
Comments in ABAP
23
Dec-2008
24
Dec-2008
Type
25
Dec-2008
An Alternative Method:
From the System Menu,
choose Services Reporting
specify the program
Execute
Dec-2008
Demonstration
Writing a simple ABAP program and executing it.
27
Dec-2008
Practice
Writing a simple ABAP program and executing it.
28
Dec-2008
Summary
The ABAP Editor is used to create, maintain, and execute ABAP programs.
Custom programs must start with a Y or a Z and can be up to 40 characters in
length.
In an ABAP program :
Each statement must end with a period. (full-stop)
Key words are always the first word in a statement
Words must be separated by at least one blank
ABAP statements can be indented and extend over several lines
ABAP programs must start with either the PROGRAM or REPORT statement.
Comments can be written by placing an asterisk (*) in column 1 or placing a
double quotation mark (") within a line.
29
Dec-2008
Questions
What are different types of ABAP programs?
What are the steps to create a simple ABAP program?
How to reach in debugging mode of an ABAP program?
30
Dec-2008