Академический Документы
Профессиональный Документы
Культура Документы
Dec-2008
Objectives
The participants will be able to:
Recognize the different types of ABAP programs.
Recognize the elements of an Online program:
Screen components
Screen layout
ABAP program components
Processing control
Program work areas
Screen work areas
Dec-2008
Online Programs
(do not produce lists..are a collection of
screens)
Conventional Report
(do not allow interaction
by the user)
Interactive Report
(allow interaction by the
user)
Dec-2008
Dec-2008
Screen Components
The Screen Painter is used to maintain all components
of a screen
Screen Painter
Screen Attributes
Screen Layout
Field Attributes
Flow Logic
Dec-2008
Screen Layout
Some of the elements that can be painted on a screen in the Fullscreen Editor.
Text
Fields
Text
Fields
1
I/O Template
Radio Buttons
Frame
7
Tabstrip Controls
4
Check Boxes
6
6
Push Button
Dec-2008
ABAP
PBO Modules
(Called before the screen is
displayed)
Form Include
(Subroutines)
PAI Modules
(called after the user has invoked a
function code or pressed the Enter
key)
Dec-2008
ABAP PROCESSOR
** INCLUDE MZAVGO01
** SCREEN 9000 **
ENDMODULE.
MODULE CLEAR.
PROCESS AFTER INPUT.
MODULE CHECK.
MODULE SELECT.
** SCREEN 9001 **
ENDMODULE.
MODULE UPDATE.
** INCLUDE MZAVGI01
ENDMODULE.
Dec-2008
PBO
Program Work Area
DATA
Transport occurs
if the field names
are identical
city
Philadelphia
Aaron
name(10).
DATA num(12).
DATA city(20).
Philadelphia
PAI
Dec-2008
Demonstration
Creation of an online program through transaction SE80.
Creating a screen for that program to display data for an employee of an
organization ( name, employee number , designation, etc )
Attaching a transaction code to the Online program.
Displaying the screen with employee data, on execution of the transaction
code.
10
Dec-2008
Practice
Creation of an online program through transaction SE80.
Creating a screen for that program to display data for an employee of an
organization ( name, employee number , designation, etc )
Attaching a transaction code to the Online program.
Displaying the screen with employee data, on execution of the transaction
code.
11
Dec-2008
Summary
You should always use the Object Navigator to create online programs
because the system will automatically maintain an online programs subobjects and you will be able to see the hierarchy list of these sub-objects.
In ABAP, basically there are two different types of programs: Report
programs and Online programs.
The Screen Painter is used to maintain all components of a screen: screen
attributes, screen layout, field attributes, and Flow Logic.
The Fullscreen Editor supports two modes: Graphical and alphanumeric.
An online program consists not only of the screens and their Flow Logic, but
also ABAP program components: Global data, PBO modules, PAI modules,
and subroutines.
The run-time environment of an online program is made up of two
components: dynpro (online) processor and ABAP processor.
An online program consists of two distinct work areas the screen work area
and the program (module pool) work area.
12
Dec-2008
Questions
What are the different elements of an online program ?
What is the difference between a PBO event and a PAI event in an online
program ?
What are the two components of the run-time environment of an online program ?
13
Dec-2008