Professional Documents
Culture Documents
Dicabaptxt
Dicabaptxt
Dicabaptxt
Tables having MANDT field are called as client dependent tables or Client-
Specific tables..
Tables does not have MANDT field are called as Client Independent tables.
6) Size Category -> A table can store how many number of records.
Configuration Data->
(Employee Designation-> Senior Consultant( Vehicle allowance
applicable)
(Employee Designation-> other than Senior consultant( Vehicle
allowance not applicable).
8) Data Class -> Tells us in which portion of database the table data will get
store.
( Data/Record/Row/Tuple will be always in the primary key table, It may or may not
in the foreign key table)
Cardinality -> Number of records in key table, correponds to how many number of
records in to secondary/foreign key table.
1) We can select the checkbox Initial values for table fields, then the type
dependent NOT NULL value be
assigned to that field and the flag for NOT NULL is set to true on database.
2)Many databases, will simply initialize the value of a field as NOT NULL even if
we are not selecting this checkbox.
Scenario: Suppose we added a new column NEW_1 to table ZTORDH_78 and for
NEW_1 , the NOT NULL flag is true.
First Query will not return any result and the second query will return the
result.
DATA : lt_ordh_78 TYPE TABLE OF ZTORDH_78.
SELECT * FROM ZTORDH_78
INTO TABLE lt_ordh_78
WHERE NEW_1 IS NULL. "No Output
1) Transparent table - There is 1:1 relationship between the ABAP dictionary and
the database.( One table in ABAP dictionary corresponds to one table in database)
2) Pooled table - There is N:1 relationship between the ABAP dictionary and the
database.( Many tables in ABAP dictionary corresponds to one table in database)
3) Cluster table - There is N:1 relationship between the ABAP dictionary and the
database.( Many tables in ABAP dictionary corresponds to one table in database )
Structure of a Pooled table at the database layer - Tabname Varkey Dataln vardata
Structure of a cluster table at the database layer - Key Pageno Vardata
Buffering Options:
1) Buffering not allowed-> Table buffering is not performed for the table.
2) Buffering switched on-> Table buffering is performed for the table.
3) Buffering allowed, but switched off-> Buffer is allowed but it is switched OFF
and can be switched ON anytime according to
the requirement of customer.
Types of Buffering:
Single-record buffering should be used for tables where only a few records are
accessed by specifying the complete key.
A table which stores transaction data should not be opted for Full buffering.
Advantage -> Number of iterations between Application and database layer will be
significantly reduced.
Disadvantage -> It will occupy more memory on the application Layer.
3) Generic area buffering -> All Records matches the generic key are loaded in the
buffer.
Imp Point : The numbers of key field for a generic area buffering is less than the
primary keys of the table.
Topic : Structures
Difference between table & Structure -> Table has data , Structure does not have
any data.
Topic : INDEX
Index will store like this - Table name~Index name( Example - ZEMPTABLE~ABC , Where
ZEMPTABLE is table name , ABC is Index name).
Index for all database systems-> Index will be created on all the databases.
Index for Selected database systems-> We can choose database, where we want to
create the index.
No database Index-> Index will remove from the database, It's definition will be
there.
Topic : Views
Differece b/w table and View -> Table has data. View does not have any data.
Imp Point for Maintenance View and Help View : Not More than one record should
exist in the dependent/Secondary table.
Search help -> It is also called as F4 help. It's purpose is to display the various
Types of Search Help -> a) Elementary Search help-> Single search help.
b) Collective search help-> It is a combination of
elementary search helps.
Selection Method -> It is the name of the table or name of the view from where we
are fetching the data.
SDI's -> It's purpose is to make any field in the read only mode.
Exporting ->To Export the values from the hit list to the screen fields(Input
fields).
Hot Key -> The hot key permits the user to select an elementary search help from
the collective search help directly in the
Locking -> If multiple users want to change the same data at the same time ,
then at a time only one user can change the data. The purpose of locking
is to achieve synchronization.
Lock Modes : 1) Read Lock( Shared Lock , S) - Others user can view the data, but
can not changed the data.
2) Write Lock( Exclusive lock , E) - Others user can not view the data
and can not changed the data.
3) Enhanced Write Lock( Exclusive lock without cumulation,X) - Others
user can not view the data and can not changed the data +
It
protect the further access for the same transaction.
1) The database Utility acts as a Interface between the ABAP dictionary and the
database.
2) The database utility allows you to edit database objects.
3) Transaction Code : SE14
Precaution :
1) Do not Perform any database operation on the table while performing the database
utility.