Beruflich Dokumente
Kultur Dokumente
annotation_id=channel%3A96e95aa8-1847-224c-83b8e0cd302e2&feature=iv&src_vid=2vwjP7QX_NU&v=qxW_DGFpJnk
SAP ABAP VIDEOS
http://www.youtube.com/user/pcmoxon/videos
Indexes
The purpose of defining secondary indexes for tables is to enhance
the access time when performing select operations on the table.
The secondary indexes do actually occupy physical space in the
database; therefore, every table update implies a real updating of the
secondary indexes. So, defining secondary indexes helps the search
performance, they, however, slow down the updating process. For
this reason, tables in which entries are very frequently written
generally should only have a few indexes.
The database system sometimes does not use a suitable index for a
selection, even if there is one. The index used depends on the
optimizer used for the database system. You should therefore check
if the index you created is also used for the selection by using trace.
To create indexes for a table, from the main table maintenance
screen, select Goto _ Indexes from the menu or click on the Indexes
push button on the application toolbar. (Hernandez, 2000)
Lock Objects
In an information system where users can access the same data in a
concurrent way it is necessary to have a control system in charge of
granting the integrity and consistency of data. In the SAP R/3
system, this synchronization method for user access to data is built
on a datalocking mechanism by the definition and use of lock
objects over table records.
The locks are established and released by calling function modules
which are automatically generated when defining the lock objects in
the ABAP dictionary. This synchronization system is independent of
the locking mechanism used by the underlying DBMS. This section
introduces how lock objects are created, modified, and deleted with
some easy examples.
Creating Lock Objects. As previously introduced, a lock object is a