Академический Документы
Профессиональный Документы
Культура Документы
02-Sep-09
Kaavian Systems
Purpose
The ABAP Dictionary serves as the central description of data used in R/3 system .
It Supports the creation and management of Metadata. New or modified information is automatically provided for all the system components. It ensures data integrity, data consistency and data security.
02-Sep-09
Kaavian Systems
ABAP Dictionary objects can be changed any number of times before being activated and made available to the operative components of the system
Objects can have both an active and an inactive version in the ABAP Dictionary at the same time.
Inactive ABAP Dictionary objects have no effect on the runtime system (ABAP processor, database interface).
02-Sep-09
Kaavian Systems
02-Sep-09
Kaavian Systems
Object Types
02-Sep-09
Kaavian Systems
Tables
The table definition is translated from the ABAP Dictionary to a definition of the particular database.
02-Sep-09
Kaavian Systems
You must specify a reference table for fields containing quantities (data type QUAN) or currency amounts (data type CURR).
This reference table must contain a field with the format for the
02-Sep-09
Kaavian Systems
Components of Tables
Table fields : Define the field names and data types of the fields contained in the table
Foreign keys : Define the relationships between the table and other tables.
Indexes : Speeds up data selection, secondary indexes can be created for the table
02-Sep-09
Kaavian Systems
Include structure
In addition to listing the individual fields, you can also include the fields of another structure in tables .
Only flat structures can be included. Include structures can be included at any line of the field definitions of the table.
The components of the structure now becomes the component of the table.
02-Sep-09
Kaavian Systems
Append structures
An append structure is a structure that is assigned to exactly one table or structure.
It is used to give enhancements to the already existing SAP tables by adding fields at the last.
02-Sep-09
Kaavian Systems
10
Foreign keys
Foreign keys are used to maintain the referential Integrity between dependant tables.
Foreign keys can also be used to link several tables in a view or a lock object.
The dependant table is called foreign key table and the referenced table is called the check table.
02-Sep-09
Kaavian Systems
11
Technical settings
The technical settings of a table define how the table will be handled when it is created in the database .
Data class
Size category : Defines the size of the extents created for the table. The Buffering type should be specified if the buffering is switched on.
02-Sep-09
Kaavian Systems
12
Buffering
Full buffering All the records of the table are loaded into the buffer when one record of the table is accessed. Generic buffering When a record of the table is accessed, all the records having this record in the generic key fields are loaded into the buffer. Single-record buffering Only the records of a table that are really accessed are loaded into the buffer.
02-Sep-09
Kaavian Systems
13
Indexes
Secondary indexes
of the table.
Secondary indexes are created by the user specifying the fields in the table.
02-Sep-09
Kaavian Systems
14
Views
A view is used to project and select the fields from more than one table as a single structure.
View does not store the data physically of its own.
02-Sep-09
Kaavian Systems
15
Types of Views
Database Views
Projection Views Help Views Maintenance Views
02-Sep-09
Kaavian Systems
16
Database Views
Database Views are used to project the particular fields from the different tables using conditions.
A corresponding view is created in the database and hence the technical setting should be maintained.
The foreign key relationship is not required for joining. Always inner join is performed.
02-Sep-09
Kaavian Systems
17
Projection Views
It is used to project only the particular fields of a table. The selection of records is not possible. The maintenance status could be set to read and change the records.
02-Sep-09
Kaavian Systems
18
Help Views
A help view is created if a view with outer join is needed as selection method of a search help.
Foreign key relationship should exist between the tables. It always implements an outer join.
02-Sep-09
Kaavian Systems
19
Maintenance View
02-Sep-09
Kaavian Systems
20
Types
Data Elements
Structure Table types
02-Sep-09
Kaavian Systems
21
Data elements
Data elements describes an elementary data type. The elementary data type could be either a domain or built in data types.
Its used to maintain the field labels. Its used to describe the documentation for the particular data element. (F1 Help)
02-Sep-09
Kaavian Systems
22
Structure
A structure is a sequence of any other data types from the ABAP Dictionary, that is, data elements, structures, table types, or database tables.
When you create a structure in the ABAP Dictionary, each component must have a name and a data type.
In an ABAP program, you can use the TYPE addition to refer directly to a structure.
02-Sep-09
Kaavian Systems
23
Table type
Table types are construction blueprints for internal tables that are stored in the ABAP Dictionary
When you create a table type in the ABAP Dictionary, you specify the line type, access type, and key.
The line type can be any data type from the ABAP Dictionary, that
is, a data element, a structure, a table type, or the type of a database table.
02-Sep-09
Kaavian Systems
24
Domain
A domain defines a value range for a data element. Fields or components that refer to the same domain are also changed when the domain is changed which ensures consistency.
A conversion routine can be assigned to a domain. This conversion routine converts values from display format to internal format for the fields or components that refer to this domain.
02-Sep-09
Kaavian Systems
25
Conversion routines
conversion_exit_xxxxx_input conversion_exit_xxxxx_output
conversion_exit_xxxxx_output is used to convert the format stored in the database to the display format.
02-Sep-09
Kaavian Systems
26
Search helps
Search helps are used to provide the Input Help for the fields in the screen.
02-Sep-09
Kaavian Systems
27
02-Sep-09
Kaavian Systems
28
A collective search help combines several elementary search helps. You only have to specify the search helps that are to be combined in the collective search help.
02-Sep-09
Kaavian Systems
29
02-Sep-09
Kaavian Systems
30
Lock Objects
Lock object is created and maintained by data dictionary When two users simultaneously attempt to access the same data record, this is synchronized by a lock mechanism
Lock Mode
E Exclusive S Shared X Exclusive, But not Cumulative
02-Sep-09
Kaavian Systems
31
Transactions
SE11 - ABAP Dictionary SE13 - Dictionary Technical settings SE14 - Database Utility SE15 - Object Navigator ( Repository Information System )
02-Sep-09
Kaavian Systems
32
Reference
The learning material contained in this PowerPoint Presentation is prepared with the help of http://help.sap.com/ and sap press book. All rights reserved by SAP AG. Unless otherwise specifically stated, this learning material is intended for the sole purpose of class room session, internal use and for knowledge transfer to the Consultants. However, for detailed information on this learning material, http://help.sap.com / sap press book may be referred.
Kaavian is not liable for any legal liability or responsibility for the accuracy, completeness or usefulness of any information disclosed in these learning materials.
No portion of the learning materials shall be modified, reproduced or transmitted in any form by any means, whether by electronic, photocopier or otherwise without the written permission of Kaavian. In no event shall Kaavian be liable for any damage whatsoever resulting in any action arising in connection with the use of learning material.
02-Sep-09
Kaavian Systems
33