Download - SAP ABAP Dictionary Bc030
-
8/10/2019 SAP ABAP Dictionary Bc030
1/183
-
8/10/2019 SAP ABAP Dictionary Bc030
2/183
-
8/10/2019 SAP ABAP Dictionary Bc030
3/183
-
8/10/2019 SAP ABAP Dictionary Bc030
4/183
-
8/10/2019 SAP ABAP Dictionary Bc030
5/183
-
8/10/2019 SAP ABAP Dictionary Bc030
6/183
-
8/10/2019 SAP ABAP Dictionary Bc030
7/183
-
8/10/2019 SAP ABAP Dictionary Bc030
8/183
-
8/10/2019 SAP ABAP Dictionary Bc030
9/183
-
8/10/2019 SAP ABAP Dictionary Bc030
10/183
-
8/10/2019 SAP ABAP Dictionary Bc030
11/183
-
8/10/2019 SAP ABAP Dictionary Bc030
12/183
-
8/10/2019 SAP ABAP Dictionary Bc030
13/183
-
8/10/2019 SAP ABAP Dictionary Bc030
14/183
-
8/10/2019 SAP ABAP Dictionary Bc030
15/183
-
8/10/2019 SAP ABAP Dictionary Bc030
16/183
-
8/10/2019 SAP ABAP Dictionary Bc030
17/183
-
8/10/2019 SAP ABAP Dictionary Bc030
18/183
-
8/10/2019 SAP ABAP Dictionary Bc030
19/183
-
8/10/2019 SAP ABAP Dictionary Bc030
20/183
-
8/10/2019 SAP ABAP Dictionary Bc030
21/183
-
8/10/2019 SAP ABAP Dictionary Bc030
22/183
-
8/10/2019 SAP ABAP Dictionary Bc030
23/183
-
8/10/2019 SAP ABAP Dictionary Bc030
24/183
-
8/10/2019 SAP ABAP Dictionary Bc030
25/183
-
8/10/2019 SAP ABAP Dictionary Bc030
26/183
-
8/10/2019 SAP ABAP Dictionary Bc030
27/183
-
8/10/2019 SAP ABAP Dictionary Bc030
28/183
-
8/10/2019 SAP ABAP Dictionary Bc030
29/183
-
8/10/2019 SAP ABAP Dictionary Bc030
30/183
-
8/10/2019 SAP ABAP Dictionary Bc030
31/183
-
8/10/2019 SAP ABAP Dictionary Bc030
32/183
-
8/10/2019 SAP ABAP Dictionary Bc030
33/183
-
8/10/2019 SAP ABAP Dictionary Bc030
34/183
-
8/10/2019 SAP ABAP Dictionary Bc030
35/183
-
8/10/2019 SAP ABAP Dictionary Bc030
36/183
-
8/10/2019 SAP ABAP Dictionary Bc030
37/183
-
8/10/2019 SAP ABAP Dictionary Bc030
38/183
-
8/10/2019 SAP ABAP Dictionary Bc030
39/183
-
8/10/2019 SAP ABAP Dictionary Bc030
40/183
-
8/10/2019 SAP ABAP Dictionary Bc030
41/183
-
8/10/2019 SAP ABAP Dictionary Bc030
42/183
Linking a Data Model to
ABAP/4 Dictionary Objects
Data Model
-
8/10/2019 SAP ABAP Dictionary Bc030
43/183
CHAPTER 3Dictionary Objects
TablesData ElementsDomains
Using a Table in an ABAP/4 Program
-
8/10/2019 SAP ABAP Dictionary Bc030
44/183
Accessing the ABAP/4Dictionary
SCREENSHOT :
-
8/10/2019 SAP ABAP Dictionary Bc030
45/183
SCREENSHOT :
-
8/10/2019 SAP ABAP Dictionary Bc030
46/183
Basic Objects of the ABAP/4Dictionary
Data Element 1 Data Element 2
Domain
Table CTable BTable A
-
8/10/2019 SAP ABAP Dictionary Bc030
47/183
Tables
TABLE KNA1(Customers)
Name 1 ORT 02MANDT KUNNR
Table: KNA1
SCREENSHOT : SE11 TRANSACTION ABAP DICTIONARY
-
8/10/2019 SAP ABAP Dictionary Bc030
48/183
SCREENSHOT : SE11 TRANSACTION - ABAP DICTIONARY
-
8/10/2019 SAP ABAP Dictionary Bc030
49/183
-
8/10/2019 SAP ABAP Dictionary Bc030
50/183
Two-Level Domain Concept
Data Element 1 Data Element 2
Domain
-
8/10/2019 SAP ABAP Dictionary Bc030
51/183
Data Elements
Data Element 1
Table BTable A
-
8/10/2019 SAP ABAP Dictionary Bc030
52/183
Pre-Defined Data Elements
-
8/10/2019 SAP ABAP Dictionary Bc030
53/183
Data Element Documentation
-
8/10/2019 SAP ABAP Dictionary Bc030
54/183
Enter a description (short text).
Enter domain name.
SCREENSHOT : SE11 - create, change and display data elements
-
8/10/2019 SAP ABAP Dictionary Bc030
55/183
: SE11 create, change and display data elements
-
8/10/2019 SAP ABAP Dictionary Bc030
56/183
TO CREATE A DATA ELEMENT :
-
8/10/2019 SAP ABAP Dictionary Bc030
57/183
TO CREATE A DATA ELEMENT :
FIELD LABEL LIMITS FOR SPACE MANAGEMENT
-
8/10/2019 SAP ABAP Dictionary Bc030
58/183
FIELD LABEL LIMITS FOR SPACE MANAGEMENT
Maintain field labelsand column header.
-
8/10/2019 SAP ABAP Dictionary Bc030
59/183
Domains
Path Elements
Table A
Domain
-
8/10/2019 SAP ABAP Dictionary Bc030
60/183
Characteristics of Domains
Path Elements
Table A
Domain
-
8/10/2019 SAP ABAP Dictionary Bc030
61/183
Allowed Values
Value TableJanuaryFebruary
March.......December
DomainDomain
-
8/10/2019 SAP ABAP Dictionary Bc030
62/183
Benefits of Using Allowed Values
CREATE DOMAIN:
-
8/10/2019 SAP ABAP Dictionary Bc030
63/183
-
8/10/2019 SAP ABAP Dictionary Bc030
64/183
SCREENSHOT : SE11 to create, change and display domains
-
8/10/2019 SAP ABAP Dictionary Bc030
65/183
: SE11 to create, change and display domains
SCREENSHOT : CREATE TABLE THROUGH SE11
-
8/10/2019 SAP ABAP Dictionary Bc030
66/183
: CREATE TABLE THROUGH SE11
SCREENSHOT : CREATE TABLE THROUGH SE11
-
8/10/2019 SAP ABAP Dictionary Bc030
67/183
Enter a description (short text).
Table maintenance attribute
Maintain field attributes
Maintain delivery class
S
-
8/10/2019 SAP ABAP Dictionary Bc030
68/183
-
8/10/2019 SAP ABAP Dictionary Bc030
69/183
Using a Table in Program Code
TABLES: YEMPLOY.
SELECT * FROM YEMPLOY.
WRITE: / YEMPLOY_1D, YEMPLOY_NAME, YEMPLOY_SALARY.
ENDSELECT.
-
8/10/2019 SAP ABAP Dictionary Bc030
70/183
CHAPTER 4
Foreign Key RelationshipsDefinition & Uses of Foreign KeysPrerequisites for Constructing Foreign Key
RelationshipsKey Terminology
Cardinality and Foreign Key Field TypesForeign Keys with Multiple Fields
-
8/10/2019 SAP ABAP Dictionary Bc030
71/183
Definition of Foreign Keys
-
8/10/2019 SAP ABAP Dictionary Bc030
72/183
Uses of Foreign Keys
Maintain data integrity
Provide help texts Create aggregate
dictionary objects
-
8/10/2019 SAP ABAP Dictionary Bc030
73/183
Prerequisites for Constructing
Foreign Key Relationships The foreign key field and the
primary key of the checktable must share the samedomain.
A value table must exist forthat domain.
-
8/10/2019 SAP ABAP Dictionary Bc030
74/183
Check Table
Value Table
Foreign Keys: Key Terminology
Foreign Key Table
-
8/10/2019 SAP ABAP Dictionary Bc030
75/183
Foreign Key Terminology:
Example 1
CheckTable
ValueTable
-
8/10/2019 SAP ABAP Dictionary Bc030
76/183
Foreign Key Terminology:
Example 2
CheckTable
ValueTable
-
8/10/2019 SAP ABAP Dictionary Bc030
77/183
Establishing a Foreign Key
Relationship in the ABAP/4Dictionary
-
8/10/2019 SAP ABAP Dictionary Bc030
78/183
Cardinality
1
C
N
CN
1
C
n : m
-
8/10/2019 SAP ABAP Dictionary Bc030
79/183
Students
Check Table: Students Foreign Key Table: Course Enrollment
Foreign Key Field Type
STUDENT_ID
?
-
8/10/2019 SAP ABAP Dictionary Bc030
80/183
Foreign Key Type:
Key Fields or Key FieldCandidates
Faculty Course
-
8/10/2019 SAP ABAP Dictionary Bc030
81/183
Foreign Key Type:
Key Fields of a Text Table
T005(Country Codes)
(T002)(Language Codes)
T005T(Country descriptions)
-
8/10/2019 SAP ABAP Dictionary Bc030
82/183
Foreign Key Type:
Non-Key Field Candidates
Professor
Course
-
8/10/2019 SAP ABAP Dictionary Bc030
83/183
-
8/10/2019 SAP ABAP Dictionary Bc030
84/183
Enter a description (short text).
Maintain cardinality n : m
Maintain foreignkey type
Check table(defaults tovalue table)
-
8/10/2019 SAP ABAP Dictionary Bc030
85/183
Foreign Keys with Multiple
Fields
-
8/10/2019 SAP ABAP Dictionary Bc030
86/183
Check Table
Field-By-Field Assignment
Foreign Key Table
-
8/10/2019 SAP ABAP Dictionary Bc030
87/183
Partial Foreign Keys
-
8/10/2019 SAP ABAP Dictionary Bc030
88/183
Constant Foreign Keys
-
8/10/2019 SAP ABAP Dictionary Bc030
89/183
Generic foreign key
Constant foreign key
-
8/10/2019 SAP ABAP Dictionary Bc030
90/183
CHAPTER 5ABAP/4 Dictionary Tables
in Relational DatabasesSAP Table Types
Technical SettingsIndexes
-
8/10/2019 SAP ABAP Dictionary Bc030
91/183
-
8/10/2019 SAP ABAP Dictionary Bc030
92/183
Transparent Tables
Type = TRANSP
Master Data
-
8/10/2019 SAP ABAP Dictionary Bc030
93/183
Table Types TRANSP
in the Database
DB
PROFILE
Mapping a Table of Type
-
8/10/2019 SAP ABAP Dictionary Bc030
94/183
Mapping a Table of TypeINTTAB
DB
PROFILE
Pool and Cluster Tables:
-
8/10/2019 SAP ABAP Dictionary Bc030
95/183
Pool and Cluster Tables:Overview
Pool Table Cluster Table
-
8/10/2019 SAP ABAP Dictionary Bc030
96/183
Master TransactionOrganization &
Customizing User
Technical Settings
Data class
Size category
Buffering
Log data changes
Number of data records inDB storage
Single records, generic,
full, not buffered
on or off
-
8/10/2019 SAP ABAP Dictionary Bc030
97/183
Master data User data
Data Class
Organization andcustomizing dataTransaction data
DB
-
8/10/2019 SAP ABAP Dictionary Bc030
98/183
Size Categories
-
8/10/2019 SAP ABAP Dictionary Bc030
99/183
Buffering Type
None
KF1 KF2 KF3 F4 F5 F6
Single RecordKF1 KF2 KF3 F4 F5 F6
Generic
KF1 KF2 KF3 F4 F5 F6
Full
-
8/10/2019 SAP ABAP Dictionary Bc030
100/183
Logging
Technical Settings
-
8/10/2019 SAP ABAP Dictionary Bc030
101/183
-
8/10/2019 SAP ABAP Dictionary Bc030
102/183
GOTO --- > Indexes in SE11 Database table
-
8/10/2019 SAP ABAP Dictionary Bc030
103/183
-
8/10/2019 SAP ABAP Dictionary Bc030
104/183
-
8/10/2019 SAP ABAP Dictionary Bc030
105/183
SCREENSHOT : SE14 - DATABASE UTILITY
-
8/10/2019 SAP ABAP Dictionary Bc030
106/183
-
8/10/2019 SAP ABAP Dictionary Bc030
107/183
-
8/10/2019 SAP ABAP Dictionary Bc030
108/183
CHAPTER 6Adding Structures
SubstructuresCustomizing Includes
Append Structures
I l di S i T bl
-
8/10/2019 SAP ABAP Dictionary Bc030
109/183
Table XYZ
.INCLUDE CI_XXX
Table T
.APPEND ZAT
Including Structures in Tables
Table YCUSTAB
.INCLUDE YSTRUC
Append Structures
Substructures Customizing IncludesCustomer Tables SAP Tables
SAP Tables
Field 1Field 2...
Field n
-
8/10/2019 SAP ABAP Dictionary Bc030
110/183
-
8/10/2019 SAP ABAP Dictionary Bc030
111/183
.INCLUDE IN TABLES : example
-
8/10/2019 SAP ABAP Dictionary Bc030
112/183
A d St t
-
8/10/2019 SAP ABAP Dictionary Bc030
113/183
Table Field Data elementT S1
F1. . .Fn
.APPEND ZAT
Append Structure
ZAT ZAT-F1 ZAT-F2 ZAT-F3
APPENDING STRUCTURE INTO SAP TABLE: example
-
8/10/2019 SAP ABAP Dictionary Bc030
114/183
CHAPTER 7
-
8/10/2019 SAP ABAP Dictionary Bc030
115/183
CHAPTER 7
ABAP/4 RepositoryInformation System
The Repository Information System
Object Searches (Find)Use of Objects in Objects (Where-Used)
Searching for Objects Outside the Dictionary
ABAP/4 R it I f S t
-
8/10/2019 SAP ABAP Dictionary Bc030
116/183
ABAP/4 Repository Info System:
Typical QueriesABAP/4
Dictionary
Find (Object Search)
Find all objects oftype A with
attributes X, Y, Z.
Where-used lists
Find all objects oftype A that use
object B
-
8/10/2019 SAP ABAP Dictionary Bc030
117/183
SCREENSHOT : SE84 - REPOSITORY INFO. SYSTEM
-
8/10/2019 SAP ABAP Dictionary Bc030
118/183
-
8/10/2019 SAP ABAP Dictionary Bc030
119/183
Selection Options
-
8/10/2019 SAP ABAP Dictionary Bc030
120/183
Selection OptionsSimplified Selection (single values)
>