Académique Documents
Professionnel Documents
Culture Documents
Data Modeling
March-2005
Objectives
The participants will be able to :
Explain Data Modeling
Know uses of Data Modeling
Describe the Basic Components of a Data Model
Know Data Modeler/ABAP Dictionary Terminology
Know about Optionality and Cardinality
Use SAP Graphic Notation and SAP Text Notation
Explain Data Model Hierarchies and the SAP EDM
Link a data model to dictionary objects
March-2005
Real World
Data Model
3
Data Dictionary
March-2005
March-2005
Customer
Entity
Attribute
30 S. 17th St.
Order
Entity Type
March-2005
Entity
Customer
Product
Order
March-2005
Attribute
30 S. 17th St.
Customer
J. Elkins
215-555-8000
March-2005
Entity Type
Customer
Product
Order
March-2005
Data Modeler
ABAP Dictionary
Customer:
entity
record
Customer address:
attribute
field
Customers:
entity type
table
March-2005
Customer
Order
10
March-2005
Cardinality
One - to - Many
One - to - One
Many - to - Many
11
March-2005
Many-to-Many Relationships
Order
Order Lines
Order # Qty Part #
1
1
A26
1
C589
2
1
A26
Primary Keys: Order Number
Product Number
March-2005
Optionality
Customer
Order
Customer
13
March-2005
Customer
Customer ID
Name
Address
...
Referenced
Date of Order
Customer ID
...
Dependent
Order
Order ID
14
March-2005
15
March-2005
Customers
16
Orders
March-2005
Professors
Students
17
March-2005
Professors
Students
18
March-2005
Enrolment
Records
Students
Courses
19
March-2005
CN
20
March-2005
n : m
1
N
CN
21
March-2005
Customers
Orders
1
22
CN
March-2005
Professors
Students
:
23
March-2005
Professors
Students
:
24
March-2005
Enrolment
Records
Students
Courses
:
25
March-2005
Category
?
Hierarchical
Conditional-Referential
Referential
Specialisation
Aggregating
26
March-2005
Course
Department
Key:
Department Number
27
Key:
Department Number
Course Number
March-2005
Student
Key:
Student ID Number
Enrollment Record
Course
Key:
Student ID Number
Course Number
Key:
Course Number
28
March-2005
Professor
Key:
Professor Number
Department
Key:
Department Number
29
March-2005
Professor
Key:
Professor Number
Department
Key:
Department Number
30
March-2005
Customer
Key:
ID Number
Business Customer
Key:
ID Number
31
March-2005
FI
General
Accounting
Chart of
Accounts
32
. . .
.
.
.
.
.
.
Currency
March-2005
Data Model
33
March-2005
Summary
A data model is a graphical representation of the information that is to be stored
and processed by a system.
SAP comes with its own data model, called the Enterprise Data Model (EDM),
that describes the data design of the SAP system.
The basic components of a data model are Entities, Attributes & Entity types.
The cardinality of a relationship describes the number of entities of one type that
relate to entities of other types.
The optionality of a relationship describes whether or not entities of one type must
refer to entities of another type.
Data models in SAP can be organised hierarchically.
34
March-2005
Questions
What is a data model ?
35
March-2005