data storage in sap (ist 331)
TRANSCRIPT
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 1/40
Prof. Dr.-Ing. Alexander Kolb
Data Storage in SAP R/3
An Introduction
CSU IST 331
Prof. Dr.-Ing. Alexander R. R. Kolb
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 2/40
Prof. Dr.-Ing. Alexander Kolb2
The Company SAP
Introduction
What does SAP stand for ?
Systeme, Anwendungen und Produkte in der Datenverarbeitung
Systems, Applications and Products in Data Processing
Some Figures
revenues in 2003 : ¼ 7.0 billion
79,800 installations
more than 23,400 companies run SAP
30,945 SAP employees (June 2004)
12 million users in 120+ countries
more than 1,500 partners
more than 60,000 students work with SAP software in business
management classes in over 500 institutions globally
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 3/40
Prof. Dr.-Ing. Alexander Kolb3
The System R/3
Introduction
HumanResources
Industry Solutions
Accounting
Workflow
Logistics
R/3R/3Client / Server
ABAP/4
SD
MM
PP
QM
PM
HR
FI
CO
AM
PS
WF
IS
Controlling
Asset
Mgmt
Project-system
Workflow
Industry
SolutionsHuman
Resources
Sales &
Distrbution
Production
planing
QualitätsMgmt
Financials
ProductMaint.
Material-Mgmt.
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 4/40
Prof. Dr.-Ing. Alexander Kolb4
Characteristics of an ERP-System
Introduction
ÄAll combined in one³
ERP (Enterprise Resource Planning):
Suite of integrated corporate wide software applications thatdrives manufacturing, financial, distribution, human resources,
and other business functions in real time.
Important:
One integrated system with real time information. If information
is not accurate, the system is not reliable.
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 5/40
Prof. Dr.-Ing. Alexander Kolb
Hands On 1
(You know the table)
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 6/40
Prof. Dr.-Ing. Alexander Kolb6
There are (always) several ways to get somew
h
ere
Access to Database Tables ± Ver. 1 (1/2)
The Way to the Data 1
enter the transaction codeSE16 and press Enter
double click in theEasy Access Menu
enter a tablename (e.g. MARA)and press Enter
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 7/40
Prof. Dr.-Ing. Alexander Kolb7
You donµt know the table name ± search for it !
Excursion : The Search Button (1/3)
The Way to the Data 1
Press the .search button
Search in theInformation System
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 8/40
Prof. Dr.-Ing. Alexander Kolb8
Excursion : The Search Button (2/3)
The Way to the Data 1
SAP (always) gives you a lot of choices «
e.g. enter*Material*
The expressions are case sensitive
The results for *material* are notthe same as for *Material* !!!
Keep the max. of hits in mind !
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 9/40
Prof. Dr.-Ing. Alexander Kolb9
Excursion : The Search Button (3/3)
The Way to the Data 1
Well, now it is easy to find ± or ?
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 10/40
Prof. Dr.-Ing. Alexander Kolb10
Access to Database Tables ± Ver. 1 (2/2)
The Way to the Data 1
From the Table to the Data
(define a filter and)execute with
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 11/40
Prof. Dr.-Ing. Alexander Kolb
Hands On 2
(You know nearly nothing)
Welcome to the club ;-))
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 12/40
Prof. Dr.-Ing. Alexander Kolb12
Access to Database Tables ± Ver. 2 (1/4)
The Way to the Data 2
From the Entry Field to the Technical Info
place the cursor in theentry field and press F1
select
Technical Information
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 13/40
Prof. Dr.-Ing. Alexander Kolb13
Access to Database Tables ± Ver. 2 (2/4)
The Way to the Data 2
From the Technical Info to the Table / Structure Components
double-click
change register
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 14/40
Prof. Dr.-Ing. Alexander Kolb14
Access to Database Tables ± Ver. 2 (3/4)
The Way to the Data 2
From the Components to the Table
display content
(or SAP-Menue: Utilities -> Table
Contens -> Display)
Ann.: Further
interesting displays
with (Object List)
and (Graphic)
double-
click
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 15/40
Prof. Dr.-Ing. Alexander Kolb15
Access to Database Tables ± Ver. 2 (4/4)
The Way to the Data 2
From the Table to the Data
(define a filter and)execute with
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 16/40
Prof. Dr.-Ing. Alexander Kolb
The Link between Application and Database
(What academics love -> some Theory)
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 17/40
Prof. Dr.-Ing. Alexander Kolb17
Database-Interface
The Link between Application and Database
How does it work ?
native SQLModule
Database specific Layer
Open SQL Module
Open SQLnative SQL
Relational Database
Database-Interface
Programms of theR/3-System
ABAP Dictionary
Business Applications
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 18/40
Prof. Dr.-Ing. Alexander Kolb18
ABAP Dictionary (1/2)
The Link between Application and Database
Central and redundant free information storage for all application-and systemdata in the R/3-system
Description of the logical structure of e.g.
- Tables,
- Views,
- Dataelements,
- Domains,
- Structures
and their definition in the structures of the underlying relationaldatabase.
Avoidance of redundancy
(All components of the runtime environment, e.g. the businessapplications or the database interface, fetch their information aboutthese objects directly from the ABAP Dictionary.)
An active Dictionary that is completely integrated in the ABAPWorkbench.
Itµs a Repository - what is it good for ?
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 19/40
Prof. Dr.-Ing. Alexander Kolb19
ABAP Dictionary (2/2)
The Link between Application and Database
An Overview
- ABAP Programs
- Dokumentation- Online Help
Dynpros
Databasetables «
Classes
ABAP Dictionary
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 20/40
Prof. Dr.-Ing. Alexander Kolb20
Data-Elements, Domains, Data-Types «
The Link between Application and Database
wage-payment
accountno.
month amount
bookings
bookingno.
amount
account
accountno.
balanceTables
+Fields
booking amount[$]
balance[$]
amount with 2 decimals [$]
Data-Element(semantic domain)
Domain(technical domain)
SAP Basis-Data-Typ
Database Basis-Data-Typ
CURR (12 digits, 2 decimals)
DEC
Complex but logical
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 21/40
Prof. Dr.-Ing. Alexander Kolb21
Data(base)organisation in the R/3-System
The Link between Application and Database
real world
SAP-Reference-model
(conceptual level)
ABAP/4Dictionary
(logical level)
RelationalDatabase
(physical level )
Entitytyp 12127
Vendor-Invoice-Posting
Database-Tables Tabeble RFBLG
(physical table)
View ENT2127Vendor-Invoice-Posting
Table BSEG (clustertable)Accounting DocumentSegment
Accounting
Logistics
HR
Example:
Views
normalised tables
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 22/40
Prof. Dr.-Ing. Alexander Kolb22
Tabletypes in the R/3-Repository
The Link between Application and Database
Transparent Tables
1:1 relation ±> one logical table matches one database table
businessdata
39,047 transparent tables in SAP R/3 4.7 (Enterprise)
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 23/40
Prof. Dr.-Ing. Alexander Kolb23
Tabletypes in the R/3-Repository
The Link between Application and Database
Pool-Tables
Several SAP-tables with the same pattern resolve in one databasetable
In the database every tupel has the information to which SAP-tableit belongs
2,022 pool tables in SAP R/3 4.7 (Enterprise)
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 24/40
Prof. Dr.-Ing. Alexander Kolb24
Tabletypes in the R/3-Repository
The Link between Application and Database
Cluster-Tabellen
Several tables that belong together logically are stored in onedatabase table (objectwise saving)
prerequisite: datarecords belonging together (tupel of the SAP-tables) can be identified via the same primary key
75 cluster tables in SAP R/3 4.7 (Enterprise)
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 25/40
Prof. Dr.-Ing. Alexander Kolb25
Tabletypes in the R/3-Repository
The Link between Application and Database
Internal Tables
Datastructure, that is only available during the runtime of aprogram
Can be linked to several programs
Similar to a view
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 26/40
Prof. Dr.-Ing. Alexander Kolb
Hands On 3
(A look to the SAP-Repository)
a bit deep-diving ;-))
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 27/40
Prof. Dr.-Ing. Alexander Kolb27
First Step into the SAP-Repository
The Way to the Data 3
Letµs get into IT
enter the transaction codeSE84 and press Enter
double click in theEasy Access Menu
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 28/40
Prof. Dr.-Ing. Alexander Kolb28
A Look at the Data Models (1/6)
The Way to the Data 3
Chose one out of 2,959 Data Models* !
e.g. enter *order*and execute
* for R/3 4.7(Enterprise)
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 29/40
Prof. Dr.-Ing. Alexander Kolb29
A Look at the Data Models (2/6)
The Way to the Data 3
Only 125 Data Models containing Äorder³
double click
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 30/40
Prof. Dr.-Ing. Alexander Kolb30
A Look at the Data Models (3/6)
The Way to the Data 3
Rather boring, but a good starting point «
have a look atthe graphics
have a look atthe hierarchy
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 31/40
Prof. Dr.-Ing. Alexander Kolb31
A Look at the Data Models (4/6)
The Way to the Data 3
23 Representations (Entity Types) belonging to a Sales Order
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 32/40
Prof. Dr.-Ing. Alexander Kolb32
A Look at the Data Models (5/6)
The Way to the Data 3
And here is the graphical version ;-)
Select an entity typeand press Dictionary
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 33/40
Prof. Dr.-Ing. Alexander Kolb33
A Look at the Data Models (6/6)
The Way to the Data 3
You should recognize some of this !
place the cursur inthe field of a table
an press the DataBrowser button
run the Report via
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 34/40
Prof. Dr.-Ing. Alexander Kolb34
A Look at the Entity Types (1/6)
The Way to the Data 3
Chose one out of 4,622 Entity Types* !
e.g. enter *order*and execute
* for R/3 4.7(Enterprise)
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 35/40
Prof. Dr.-Ing. Alexander Kolb35
A Look at the Entity Types (2/6)
The Way to the Data 3
Over 200 Entity Types containing Äorder³
double click
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 36/40
Prof. Dr.-Ing. Alexander Kolb 36
A Look at the Entity Types (3/6)
The Way to the Data 3
Again rather boring, but a good starting point «
have a look atthe dictionary
have a look atthe relations
have a look atthe where used
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 37/40
Prof. Dr.-Ing. Alexander Kolb 37
A Look at the Entity Types (4/6)
The Way to the Data 3
The incoming relationships with their cardinality
try a double click :-)
what does C : CN «stand for ?
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 38/40
Prof. Dr.-Ing. Alexander Kolb 38
A Look at the Entity Types (5/6)
The Way to the Data 3
The Dictionary (you should know this !)
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 39/40
Prof. Dr.-Ing. Alexander Kolb 39
A Look at the Entity Types (6/6)
The Way to the Data 3
Where is this Entity used ?
8/8/2019 Data Storage in SAP (IST 331)
http://slidepdf.com/reader/full/data-storage-in-sap-ist-331 40/40
Prof. Dr.-Ing. Alexander Kolb
Thatµs ÄIT³
I hope it was a bit interesting and you learndsomething you can utilize in the future