Professional Documents
Culture Documents
Data Dictionary
Data Integrity
Data Dictionary
Data Integrity
Data Dictionary
Table A
Table B
Table C
Data Element 1
Data Element 2
Domain
July 13, 2013
Database Utility
Database
Data Dictionary
Database Utility
Data Modeling
What is data modeling? Entities, attributes, & entity types Data modeling vs. ABAP Dictionary terminology Relationships and relationship types Cardinality Optionality Category Data model hierarchies Linking a data model to dictionary objects
Real World
Data Dictionary
Data Model
Data Dictionary
July 13, 2013
Customer
Entity
Entity
Customer
Product
Order
Attribute
Customer
30 S. 17th St.
J. Elkins
215-555-8000
Entity Type
Customer
Product
Order
Customer
Order
Cardinality
One - to - Many
Many - to - Many
One - to - One
July 13, 2013
Many-to-Many Relationships
Order Lines Order # Qty Part 1 1 # A26 1 3 C589 2 1 A26 Primary Keys: Order Number Product Number
Order
Optionality
Customer
Order
Customer
Customer
Customer ID Name Address ... ...
Referenced Dependent
July 13, 2013
Order
Order ID Date of Order Customer ID
Customers
Orders
Professors
Students
Professors
Students
Students
Enrolment Records
Courses
1 C
CN
July 13, 2013
n : m
1 C 1 C N CN
July 13, 2013
Customers
Orders
CN
July 13, 2013
Professors
Students
:
July 13, 2013
Professors
Students
:
July 13, 2013
Students
Enrolment Records
Courses
:
July 13, 2013
Category
Hierarchical
Conditional-Referential
Referential
Aggregating
Specialisation
July 13, 2013
Department
Key: Department Number
Course
Key: Department Number Course Number
Student
Key: Student ID Number
Enrollment Record
Key: Student ID Number Course Number
Course
Key: Course Number
Professor
Key: Professor Number
Department
Key: Department Number
Professor
Key: Professor Number
Department
Key: Department Number
Customer
Key: ID Number
Business Customer
Key: ID Number
FI
. . .
Chart of Accounts
Data Dictionary
Data Model
Data Dictionary
Data Element 1
Data Element 2
Domain
July 13, 2013
Tables
Create a Table
Maintain delivery class Enter a description (short text).
Data Element 1
Data Element 2
Domain
Data Elements
Table A Table B
Data Element 1
aintain field labels and column headers in the Field Label tab
July 13, 2013
Domains
Table A
Data Elements
Domain
Characteristics of Domains
Table A
Data Elements
Domain
Allowed Values
Domain
Domain
Value Table
valid values
invalid values
Create a Domain
Explicit Values, Intervals or a value table may be entered In the Value range tab
The foreign key field and the primary key of the check table must share the same domain. A value table must exist for that domain.
Value Table
Check Table
Check Table
Valu e Tabl e
Check Table
Valu e Tabl e
Data Dictionary
Cardinality
n : m
1 C 1 C N CN
July 13, 2013
Course Enrolment
STUDENT_ID
Faculty
Course
Professor
Course
Maintain cardinality n : m
Field-By-Field Assignment
Check Table
O I B
Structure (INTTAB)
Cluster Table
View
July 13, 2013
Master Data
PROFILE
DB
PROFILE
DB
x
July 13, 2013
Pool Table
Cluster Table
Technical Settings
Data class
Size category
Master Transaction Organization & Customizing User Number of data records in DB storage Single records, generic, full, not buffered on or off
July 13, 2013
Buffering
Data Class
Transaction data
Master data
User data
DB
July 13, 2013
Size Categories
Buffering Type
Single Record
KF1 KF2 KF3 F4 F5 F6 KF1 KF2
Generic
KF3 F4 F5 F6
Full
KF1 KF2 KF3 F4 F5 F6
None
July 13, 2013
Logging
Index
Database Utility
AB Dict AP iona r y
DB
July 13, 2013
Adding Structures
Substructures Customizing Includes Append Structures
SAP Tables
July 13, 2013
Substructure
YS Table
Table
Customizing Include
CI_XXX-F2 CI_XXXCI_XXX CI_XXX-F1 F3 Table Table Field Field XYZ XYZ Data Data element element S1 S1 F1 F1 . .. .. . Fn Fn CI_XXX
.INCLUDE
Append Structure
ZAT
Table
Field T
.APPEND
The Repository Information System Object Searches (Find) Use of Objects in Objects (Where-Used) Searching for Objects Outside the Dictionary
ABAP Dictionary
Enter a single value for the search attributes or use the arrow push-buttons for selection options Use the All Selections pushbutton to limit search criteria on other object attributes
July 13, 2013
Selection Options
Simplified Selection (single values)
Equal Pattern
[]
Inclusive
][
Exclusive
July 13, 2013
Program
Table Data Elements Domains
Screen
July 13, 2013
Modeling
ABAP Dictionary
Programming
Environment
Activation
Data Object
Mass Activation
Online
Background
Table Activation
Screen Painter
ABAP Programs
? Consistency
? Checks
Log Entries
Updates
Database Utility
Log File DB
July 13, 2013
Domain YZIP
NUMC 10
July 13, 2013
Versions
Version Management
active version
temporary versions
July 13, 2013
Version Management
Display
Compare
REMOTE compare
SPDD Transaction
What is a View?
Projection Table 1
Selection Table 2
View A
View C View B
Projection Table 1
View A
Can use any name if database view, otherwise must be same name as table field
July 13, 2013
Selection Table 2
5
July 13, 2013
View C
Employee ID Salary ID 5579 5579 5579 5579 Salary Date Effective 10/1/91 10/1/92 10/1/94 10/1/96
July 13, 2013
Name
Right
Join
Secondary
Table 4
View C
Hit button to see related tables and automatically generate join conditions.
July 13, 2013
Database View
DB
Database
Projection View
View C
Projection View
Database View
TABLES:
YXXEMP_V.
F4
E l e m e n t a r y 1
E l e m e n t a r y 2
Field Z
Field O
E l e m e n t a r y 3
Field A
E l e m e n t a r y 4
1 5 2 3 4
Create search help from Dictionary pushbutton on workbench, or from within Repository Browser.
July 13, 2013
Interface Parameters
F4
Notice there is no selection method. A collective search help is a set of one or more elementary search helps.
F4
Function Module with ABAP code _________ ______ _______ ______ _____ _____
Table THLPF
Progra m
Scree n
Table/fie ld
No entry necessar y
DE Supplement number
From Plain F1 From DE Doc. From DE Doc. or from DE Supp. Doc. if DE Supp. Doc. is maintained
Type Groups
ABAP Editor ABAP Editor PROGRAM 123. TYPE-POOL . . . PROGRAM ABC. TYPE-POOL . . . ABAP Editor PROGRAM XYZ. TYPE-POOL . . .
TYPE GROUP
ABAP Dictionary
July 13, 2013
Table A
Table B
Table C
Data Element 1
Data Element 2
Domain
July 13, 2013
Data Element 1
Data Element 2
Domain
Domains
Table A
Data Elements
Domain
Data Elements
Table A
Table B
Data Element 1
Tables
Customer Table
Order
Cardinality
One - to - Many
Many-to-Many Relationships
Order
Qty 1 3 1
Order Lines
Optionality
Customer
Order
Customer
Category
? Hierarchical Conditional-Referential
Referential
Aggregating
Specialisation
July 13, 2013
Address
. . . Referenced
FI
. . .
Chart of Accounts
n : m
1 C 1 C N CN
July 13, 2013