Professional Documents
Culture Documents
ABAP/ 4 Programming Language: Enterprise Wide Information Systems
ABAP/ 4 Programming Language: Enterprise Wide Information Systems
University of
Southern California
Objectives
Upon completion of this topic, you should be able to:
University of
Southern California
Topics
ABAP/4 Development Workbench
ABAP/4 Data Dictionary
ABAP/4 Repository Information
University of
Southern California
ABAP/4
Editor
ABAP/4
Dictionary
Data
Modeller
Reporting
R/3
Repository
Screen
Painter
Menu
Painter
Function
Modules
University of
Southern California
University of
Southern California
Selection
Screen
List
Screen
Screen
01000
Screen
0200
University of
Southern California
University of
Southern California
ABAP/4 Programs
All ABAP/4 programs (objects) are made up of:
Source code
Text elements
Attributes
ABAP/4 Program
Attributes
Attributes
Source
SourceCode
Code
Text
TextElements
Elements
Titles
Titles
Headers
Headers
Text
Textsymbols
symbols
University of
Southern California
Creating Programs
Begin by first specifying a development class.
University of
Southern California
University of
Southern California
ABAP/4 Syntax
An ABAP/4 program consists of individual statements
University of
Southern California
University of
Southern California
Report
Report ZDEMO1.
ZDEMO1.
TABLES:
TABLES: SBOOK.
SBOOK.
SELECT
SELECT ** FROM
FROMSBOOK
SBOOK
WHERE
WHERECARRID
CARRID == LH.
LH.
ENDSELECT.
ENDSELECT.
WRITE
WRITE:: CARRID,
CARRID,FLTDATE.
FLTDATE.
Table SBOOK
Read table
Table work area
University of
Southern California
SBOOK
F1 F2 F3
Fn
SBOOK
F1
F2
F3
Fn
Database
Report
Program
Report
Report ZDEMO1.
ZDEMO1.
TABLES:
TABLES: SBOOK.
SBOOK.
SELECT
*
SELECT * FROM
FROMSBOOK
SBOOK
WHERE
WHERECARRID
CARRID == LH.
LH.
ENDSELECT.
ENDSELECT.
WRITE
WRITE:: CARRID,
CARRID,FLTDATE.
FLTDATE.
University of
Southern California
Topics
ABAP/4 Development Workbench
ABAP/4 Data Dictionary
ABAP/4 Repository Information
University of
Southern California
uses
Data element
uses
Domain
University of
Southern California
Views allow you to gather information from fields of different tables and
present it to users in the form they require.
University of
Southern California
University of
Southern California
Topics
ABAP/4 Development Workbench
ABAP/4 Data Dictionary
ABAP/4 Repository Information
University of
Southern California
Search by attributes
Where-used lists
Information about
tables and
relationships
Display all table fields
with check table X
Data
Repository
Modified objects
Display all objects of
type X which were changed by
user Y on date DDMMYY
University of
Southern California