MM SDPPCust. Dev.
Database
Hardware
SAP Kernel / Basis
Operating System
FI/CO
Data Dictionary
Hardware
Operating System
Database
SAP Kernel / Basis
FI/CO MM PP SD Cust. Dev.
Quickviewer
SAP Query
ABAP
SAPscript
Remote Function Call
(RFC)
Business Application
Programming Interface (BAPI)
Development Tools Development Tools
Report writer
Application Link Enabling
(ALE)
Data Transfer Workbench
(DX-WB)
Intermediate Documents
(IDOCS)
Legacy System Migration
Workbench (LSMW)
Business Information Warehouse
Development Tools Development Tools
Type definitionsType definitions
StructureStructure
Table typeTable typeData elementsData elements
DB objectsDB objects
DB TableDB Table
TableTable
ServicesServices
ScreenScreen Poss. ValuesPoss. Values
F4F4
Function of the ABAP DictionaryFunction of the ABAP Dictionary
Dictionary Dictionary
Table field
Table
Basic Objects of the ABAP Basic Objects of the ABAP
Data Element
uses
uses
Domain
Data Element Data Element
Difference Between Domain and Difference Between Domain and
= semantic attributes (context / usage)
Personnel No.
P.O. No.
Invoice No.
NUMC10
= technical attributes e.g. data type, length
Example Example
CARRIDMANDT
Table : SPLFITable : SPLFICONNID AIRPFROM AIRPTO... ...
Data element S_FROMAIRP
Domain S_AIRPID
Two-Level Domain Concept : Two-Level Domain Concept :
Data element S_TOAIRP
AIRPORTACAACEBERLCY
BERDENFRALCYLGW
MUCRTMHAM
COUNTNUM00000005000000040000000100000002
0000000700000001000000030000000100000001
000000020000000600000008
CARRIDLHBAUALH
LHAALHBALH
BALHLH
MANDT001001001001
001001001001001
001001001
001 BA 00000003 LHR
001 LH 00000004 LHR
P123678
1449
10
1213
AIRPORTACAACEBERBERDEN FRA HAMLCYLCYLGW
MUCRTM
LHR 5 LHR 11
Index on AIRPORT
SELECT * FROM
SCOUNTER WHERE
AIRPORT = ‘LHR’.
SELECT * FROM
SCOUNTER WHERE
AIRPORT = ‘LHR’.
Binary
search
Structure of an Index Structure of an Index
DATABASEDATABASE
ABAP programSELECT * FROM SBOOKWHERE . . .
ABAP programSELECT * FROM SBOOKWHERE . . .
R/3 table bufferR/3 table buffer
Database interfaceDatabase interface
Data Access using the Buffer Data Access using the Buffer
MANDT CARRID CARRNAME CURRCODE MANDT CARRID CARRNAME CURRCODE
Check Table SCARR Check Table SCARR
MANDT CARRID CONNID . . . MANDT CARRID CONNID . . .
Foreign Key Table SPFLI Foreign Key Table SPFLI
Foreign key fields
Check field
Key fields
Foreign Keys & Check Tables Foreign Keys & Check Tables
ABAP DictionaryABAP Dictionary
Field1Field1 Field2Field2 Field3Field3 Field4Field4 Field1Field1 Field2Field2 Field3Field3 Field4Field4
Transparent Tables and Structures Transparent Tables and Structures
Physical definition of a tablePhysical definition of a table
DatabaseDatabase
Field1Field1 Field2Field2 Field3Field3 Field4Field4TableTable
TableTable StructureStructure
F5 F5 F4 F4F8F8F7F7F6F6F3F3F2F2F1F1
Table 3Table 2Table 1
F8F5F3F2F1
View on datathat isdistributed onmore than onetable
View on the tables
Why do you Need Views? Why do you Need Views?
Maintenance of flights
Carrier
Flight number
. . .
Maintenance of flights
Carrier
Flight number
. . .
LH
Carrier LH
No Depart. City Arrival city
0400 Frankfurt New York
0402 Frankfurt New York
2402 Frankfurt Berlin
. . . . . . . . .
Carrier LH
No Depart. City Arrival city
0400 Frankfurt New York
0402 Frankfurt New York
2402 Frankfurt Berlin
. . . . . . . . .
F4
R/3 Standard Function: Input Help R/3 Standard Function: Input Help
ABAP Dictionary ABAP Dictionary
ABAP Editor ABAP Editor
Screen Painter Screen Painter
Menu Painter Menu Painter
Function Builder Function Builder
Object Navigator Object Navigator
ABAP Workbench ABAP Workbench
=> manage data definitions / services
=> create programs
=> create screens
=> create interface
=> create / test functions
=> organize and manage development environment
Interactive Report
Program
Simple Report
Program
Dialog Program
Batch input program
Types of ABAP Programs Types of ABAP Programs
ABAP SyntaxABAP Syntax
First word is key word
Each statement ends with period
Similar statements can be joined together
You can insert comments
Commands Commands
LIST-HEADINGS
SKIP
NEWPAGE
ULINE
REPORTWRITE FORMAT
Simple Output / Formatting Simple Output / Formatting
Examples:SY- DATUM (system date)SY- UZEIT (system time)SU- UNAME (user id)
Examples:SY- DATUM (system date)SY- UZEIT (system time)SU- UNAME (user id)
System VariablesSystem Variables
• Declared by the system• Automatically filled by the system
See table SYST for complete list
TEXT - xxx (xxx is a three character string)
‘string’(xxx)
Text Symbols Text Symbols