Chapter 02 - Introduction To ABAP Programming
Chapter 02 - Introduction To ABAP Programming
Objectives
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
Reporting(SE38),
Click
ABAP
Development
(SE80)
Demonstration
Practice
Demonstration
Setting Break-points, executing the program and displaying the debugging mode.
Practice
Setting Break-points, executing the program and displaying the debugging mode.
ABAP Help
Standard
toolbar
Find and
Repeat Find
Syntax Check
Toggles from
Program source entry area
display to
change mode
Demonstration
Practice
Statement
MOVE: 1 TO COUNT,
‘President’ TO TITLE.
Comments in ABAP
Declaration Section
Used for defining tables, variables
and constants
Statement Section
Used for coding executable
ABAP statement
Application
Status
Program Title is mandatory
Type
An Alternative Method:
From the System Menu,
choose Services® Reporting
specify the program
Execute
Demonstration
Practice
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.
Questions