0% found this document useful (0 votes)
62 views22 pages

ABAP Training-ABAP Dictionary

ABAP Training-ABAP Dictionary

Uploaded by

deng13590399299
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views22 pages

ABAP Training-ABAP Dictionary

ABAP Training-ABAP Dictionary

Uploaded by

deng13590399299
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 22

ABAP Dictionary

ABAP Dictionary Transactions


SE80 - Repository Browser

SE15 - Repository Information System

SE16 - Data Browser

SE11 - ABAP Dictionary

SE13 - Dictionary technical settings

SM30 - Maintain Table Views

SM31 - Table Maintenance

 SAP AG 2005, 2
Basic Data Dictionary Objects

Table Domain

uses

Data Element

uses

Field

 SAP AG 2005, 3
Levels of Abstraction

Data type

Domain Number of characters


Output length
Value table

Attributes inherited from domain


Data Element Field labels

Table

Field name
Field Primary key indicator
Attributes inherited from data element

 SAP AG 2005, 4
Domain

 SAP AG 2005, 5
Specifying Value Ranges for a Domain

Fixed Values Example:

Domain: S_CLASS (Classes for a Flight Booking)

Values: C (business class)


F (first class)
Y (economy class)

Value Table Example:


Table: SCARR
Domain: S_CARR_ID (Carrier ID) Carrier ID Name
AA American
Value Table: SCARR DL Delta
LH Lufthansa
SA Singapore
UA United

 SAP AG 2005, 6
Data Element

Attributes
inherited from
the domain

 SAP AG 2005, 7
Table

TABLE
Airline Carriers
Table SCARR

Carrier ID Carrier Name

AA American Airlines
DL Delta
Rows (tuples) LH Lufthansa
UA United Airlines
... ...

Primary key (Field) values

 SAP AG 2005, 8
Relationships Between Tables: Foreign Keys

Primary Key

PLANETYPE SEATSMAX CARGOMAX


Check
Table 747-200 200 20000
A310-200 211 24000
757-300 301 17000

Table 1: Airplane Details Table SAPLANE

Primary Key Foreign Key


Foreign
Key CARRID CONNID FLDATE PRICE PLANETYPE SEATSOCC
Table
AA 1234 03/22/1999 500 747-200 125
UA 5678 01/06/1999 600 A310-200 90

Table 2: Flight Table SFLIGHT

 SAP AG 2005, 9
SAP Data

G/L Accounts
Master Vendors
Materials
Data Stock Locations
Metadata
System Programs
Documentation
Data System Settings
Sales Orders
Transaction Purchase Orders
Data Journal Entries
Goods Receipts
Currency Codes
Configuration Order Types
Payment Terms
Data Field Status Codes

 SAP AG 2005, 10
SAP Table Types

Transparent
ABAP
Dictionary Cluster

Pool

ABAP Internal
Program

 SAP AG 2005, 11
Creating / Changing Tables

 SAP AG 2005, 12
Technical Settings


Master data
Data class

Transaction data

Organization & Customizing (System) data

Table category

Number of data records in DB storage area


single

generic (must specify number of key fields)
Buffering 
full

not buffered

Log data changes

 SAP AG 2005, 13
Indexes

Index
ABAP Dictionary

Identific.
Unique
T1 S1 S2 ... F1 F2 ... Desc T1_K

DB
T1 T1_K
S1 S2 ... F1 F2 ... F2 S1 S2

 SAP AG 2005, 14
Data Class

TS1 ... TSn TB1 ... TBn TSYS1 ... TSYSn


APPL2
APPL0 APPL1
(Organization &
(Master) (Transaction)
Customizing)

TS1 .... TS1 ....


TS1 ....
TS2 TS2
TS2
TSn TSn
TSn

DB

 SAP AG 2005, 15
Size Categories

Number of data records


Dict Table Selection in a storage area

T1 0 00 = 0 to 640K
T2 1 11 = 610K to 2400K
T3 2
T4 3 22 = 2400K to 9800K
T5 4
33 = 9800K to 39000K

44 = 39000K plus
DB

TS1 TS1 TS1


TS1

 SAP AG 2005, 16
Views

FIELD A FIELD C FIELD D FIELD F

VIEW 1

FIELD A FIELD B FIELD C FIELD A FIELD D FIELD E FIELD F

TABLE 1 TABLE 2

 SAP AG 2005, 17
Create a View

Enter a description (short text)

A table that was included in the view

Maintain field of view

 SAP AG 2005, 18
Data Browser

Tools

ABAP Workbench

Overview
Data Browser
(SE16)

 SAP AG 2005, 19
User Parameters

 SAP AG 2005, 20
Using the Browser

 SAP AG 2005, 21
ABAP Dictionary

Q&A

 SAP AG 2005, 22

You might also like