Professional Documents
Culture Documents
We use the ABAP Dictionary to create and manage data definitions (metadata). The ABAP
Dictionary allows a central description of all the data used in the system without redundancies.
New or modified information is automatically updated for all the system components. It ensures
data integrity, data consistency and data security.
What are the features or important object types in the Data Dictionary?
Tables
Tables are defined in the ABAP Dictionary independently of the database.
Views
Views are logical views of more than one table.
Types
The structure of a type can be defined globally in ABAP programs.
Lock objects
These objects are used to synchronize access to the same data by more than one user.
Domains
Different fields having the same technical type can be combined in domains.
We use data elements to define the type of a table field, structure component or the row type of a
table type.
We use foreign keys to define relationships between tables in the ABAP Dictionary, create value
checks for input fields and link several tables in a view or a lock object.
Search helps are objects that you can use to assign input help (F4 Help) to screen fields. You can
do this by creating a search help in the ABAP Dictionary and attaching it to the corresponding
screen field.
The database utility allows you to edit (create, delete and adjust to changes to their definition in
the ABAP Dictionary) database objects derived from objects of the ABAP Dictionary.
Table pools and table clusters are special table types in the ABAP Dictionary. The data from
many different tables can be stored together in a table pool or table cluster. Tables assigned to a
table pool or table cluster are indicated as pooled tables or cluster tables.
We must use a table pool or table cluster exclusively for storing internal control information
(screen sequences, program parameters, temporary data, continuous texts such as documentation).
Data of commercial relevance is stored in transparent tables.
The Data class determines in which table space the table is stored when it is created in the
database.
The Size category describes the probable space requirement of the table in the database.
How many types of size categories and data classes are there?
There are five size categories (0-4) and 11 data classes only three of which are appropriate for
application tables:
•
APPL0- Master data (data frequently accessed but rarely updated).
•
APPL1- Transaction data (data that is changed frequently).
•
APPL2- Organizational data (customizing data that is entered when system is configured and then
rarely changed).
USR
The values specified for the size category and data class are mapped to database-specific values
via control tables.
The function of the transport system and the Workbench Organizer is to control any changes
made to objects of the ABAP/4 Development Workbench and to transport these changes between
different SAP systems.
Domains, Data elements, Tables, Technical settings for tables, Secondary indexes for transparent
tables, Structures, Views,Match code objects, Match code Ids, Lock objects.
Related objects from the ABAP/4 repository are assigned to the same development class. This
enables you to correct and
transport related objects as a unit.
In the ABAP/4 Dictionary Tables can be defined independent of the underlying database ?
Yes.
The table’s attributes determine who is responsible for maintaining a table and which types of
access are allowed for the table.
The most important table attributes are:
Delivery class.
Activation type.
What is the max. no. Of structures that can be included in a table or structure.
Nine.
Customizing Includes.
One.
Can we include customizing include or an append structure with Pooled or Cluster tables?
No.
What are the two ways for restricting the value range for a domain?
Structures can contain data only during the run time of a program (T/F)
True.
Views
Match Code.
Lock Object.
The data of a view is not physically stored, but derived from one or more tables (t/f)
True.
Match code is a tool to help us to search for data records in the system. Match Codes are an
efficient and user-friendly search aid where key of a record
is unknown.
What are the differences between a Database index and a match code?
Match code can contain fields from several tables whereas an index can contain fields from only
one table.
Match code objects can be built on transparent tables and pooled and cluster tables.
A domain defines a value range, which sets the permissible data values for the fields, which
refers to this domain.
A single domain can be used as basis for any number of fields that are identical in structure.
No.
Non-standard conversions from display format to sap internal format and vice-versa are
implemented with so called conversion
routines.
Can you delete data element, which is being used by table fields.
No.
Yes. If you want to specify no data element and therefore no domain for a field, you can enter
data type and field length and a short text directly in the table maintenance.
Structures are constructed the almost the same way as tables, the only difference using that no
database table is generated from them.
What is a view?
A view is a logical view on one or more tables. A view on one or more tables i.e., the data from a
view is not actually physically
stored instead being derived from one or more tables.
Database View
Help View
Projection View
Maintenance View
When two users simultaneously attempt to access the same data record, this is synchronized by a
lock mechanism.
Read Lock (Shared Locked)
The read lock allows other transactions read access but not write access to the locked area of the
table
C: Character.
I: Integer.
Customers can enhance tables and structures of the standard system without having to modify the
table and structure definitions. This means that these enhancements cannot be lost when
upgrading. If a table or structure of the standard system is enhanced with customer fields using a
customizing include, these customer fields are automatically inserted in the new delivered table
or structure definition during an upgrade.
A customizing include is a structure that satisfies a special naming convention. The name of a
customizing include begins with 'CI_' and the include is in the customer namespace.
We use append structures for enhancements that are not included in the standard. This includes
special developments, country versions and adding customer fields to any tables or structures.
An append structure is a structure that is assigned to exactly one table or structure. There can be
more than one append structure for a table or structure.
Maintain (if necessary) the foreign key relationships of the table to other tables.
For tables with the Delivery Class G or E, you must also maintain a customer namespace (key
block of the table) for the table entries.
Transaction Codes
SE54: Generate Table Maintenance Dialog
SE55: Table view maintenance DDIC call
SE56: Table view display DDIC call
SE57: Deletion of Table Maintenance
SM30: Maintenance Table Views:
Authorization Group : If the table needs to be maintained by only particular group of people,
then the Authorization group needs to be filled otherwise fill it as NC. To maintain the
authorization group refer to SU21.
Function group is the name to which the generated maintenance modules will belong to.
Generally Function Group name can be same as table name.
Screen Alterations
User-defined data types can be stored for all programs in the ABAP Dictionary. User-defined
types provide the same functionality as the local types that can be defined in ABAP programs
with TYPES
Select Workbench request. (If the table is customizing table, then select customizing request)
Select the third radio button “Table contents specified by current key”.
SAP issues a warning message when an application table is used. Following is the SAP help that
would appear when we click on the message:
Now transport this request to transport the data to any other system.
Existing development classes are simply containers for development objects with a transport
layer that determines how the objects will be transported. Packages extend the concept of
development classes with the addition of new attributes: nesting, interfaces, visibility, and use
accesses.
· Nesting allows you to embed packages in other packages.
· Visibility is a property of package elements.
Packages use interfaces and visibility to make their services known to other packages. All the
visible elements in a package can, potentially, be sued by other packages. In contrast, invisible
elements cannot be used by other packages as well.
Full buffering:
The system loads all the re
Single-record buffering:
Only the records of a table that are really accessed are loaded into the buffer.
cords of the table 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
(part of the table key that is left-justified, identified by specifying a number of key fields) are
loaded into the buffer.
You create text tables when you want to store explanatory text in several languages. It is not
advisable to store such texts in your primary table. You can make a text table that must comprise
the key of the primary table (for more information, see the example below). Every text table must
also have an additional language key field (field of data type LANG).
What is Logging?
Using the logging flag you can define whether changes to the data records of a table are logged. If
you switch on the logging, each change to an existing data record (with UPDATE, DELETE) by
the user or application program is recorded in the database in a log table (DBTABPRT).
We use indexes to speed up searching a table for data records that satisfy certain search criteria.
The primary index contains the key fields of the table and a pointer to the non-key fields of the
table. The system creates the primary index automatically when the table is created in the
database.
You can also create further indexes on a table in the ABAP Dictionary. These are
called secondary indexes. This is necessary if the table is frequently accessed in a way that does
not take advantage of the sorting of the primary index for the access.