You are on page 1of 4

Difference between .include and .append?

Include structure allows to add one or more structure into structure or table.Also placed positioning anywhere.
Upto 6 include structure can be used in a table.
Append structure can be placed only at the end of a structure or table which also stops further insertion of
fields.Only one append structure can be used.

What is occurs in internal table?

Occurs addition to the Declaration will give initial size to that table.occur statement allocates 8kb of memory to the
internal table.

Buffering concept usage in SAP Tables?

We have 3 types of buffering

When should single-record buffering be selected?

– For large tables where there are frequent single-record accesses (using SELECT SINGLE …). The size of the
records being accessed should be between 100-200 KB.

– For comparatively small tables for which the access range is large, it is normally advisable to opt for full
buffering. Only one database access is required to load such a table for full buffering, while single-record buffering
calls for a very large number of tableaccesses.

When should generic buffering be selected?

– A table should be buffered generically if usually only certain areas of the table are required. The individual generic
areas are treated like independent tables that are fully buffered. Refer also to the text on complete buffering.

– The generic key area should be selected so that the generic areas are not too small to prevent too may generic areas
being produced. If there are only a few records for each generic area, it is more efficient to use full buffering.

– Generic buffering only makes sense if the table is accessed by a specified generic key. If, when an access takes
place, a field of the generic key is not supplied with a value, the buffer is ignored and the records are read directly
from the database.

– Language-specific tables are an example of good use of generic buffering (with the language key field as generic
key area). When should you select full buffering?

– For tables up to 30 KB in size. If a table is accessed frequently, but all accesses are read accesses, this value can be
exceeded.

– For larger tables where large numbers of records are frequently accessed. However, if the application program is
able to formulate an extremely selective WHERE condition using a database index, it may be advisable to dispense
with full buffering.

– For tables with frequent accesses to data not contained in the table. Since all records are contained in the buffer, a
quick decision can be made as to whether or not the table contains a record for a specific key.

 Buffering is use for improve performance. it improves performance 10 to 100 times more

WHAT IS THE DIFFERENCE BETWEEN CHECK TABLE AND VALUE TABLE?

CHECK TABLE: A foreign key links two tables T1 and T2 by assigning fields of table T1 to the primary key fields
of table T2.

Table T2 is then known as the check table of the foreign key.


VALUE TABLE:

Sometimes when you define a domain, you already know that all fields that use the domain will need to be checked
against a particular table. You can store this information in the domain definition by specifying a value table. If you
try to define a foreign key for a field that points to this domain, the value table of the domain is proposed as the
check table for the foreign key.

WHAT ARE THE DIFFERENCES BETWEEN CLUSTER TABLES AND POOLED TABLES?

Cluster tables:The data of several cluster tables is stored together in a single table cluster in the database. A cluster
table is thus known only in the ABAP Dictionary, not in the database.

Pooled tables:The data of several pooled tables are stored together as a table pool in the database. Therefore, a
pooled table is known in the ABAP Dictionary, but not in the database.

What is the difference between VIEW and a TABLE in SAP?

A table physically stores data.


A view does not store any data on its own. It can contain data from multiple tables and it just accesses/reads data
from those tables.

What is the difference between Master data and Transaction data in SAP?

Master data is data that does not change often and is always needed in the same way by business.

Ex: One time activities like creating Company Codes, Materials, Vendors, Customers etc.

Transaction data keeps on changing and deals with day to day activities carried out in business.

Transactions done by or with Customers, Vendors, and Materials etc. generate Transaction Data. So data related to
Sales, Purchases, Deliveries, Invoices etc. represent transaction data.

Some important transactions here for Master Data:

•Material: MM01 MM02 MM03.

•Vendor: XK01 , XK02 , XK03

•Customer: Xd01 , XD02 , XD03.

Some Important transactions for Transaction data:

•Purchase Order: ME21n , ME22n , ME23n.

•Sales Order: VA01 , VA02 , VA03.

•Goods Receipt: MIGO.

•Invoices: MIRO.

Can you delete a domain, which is being used by data elements?


No, when we try to do it it will through an error.

What is a Data Class in SAP Data Dictionary?

Data class determined the physical area of table inside database, it is available under technical settings of table in
Se11...Example: APPL0, APPL1 etc

What is a Size Category in SAP Data Dictionary?

The Size category describes the probable space requirement of the table in the database.

What are two methods of modifying SAP standard tables?1.Append Structures and
2.Customizing Includes.

To how many tables can an append structure be assigned?

Only One..Append structure can not be reusable, we can not use it for multiple tables.

What is a Match Code in SAP Data Dictionary?

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 is the function of a Domain in SAP Data Dictionary?

 A domain describes the technical settings of a table field.


 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.

Can you delete data element, which is being used by table fields.

No, we can not delete data element which is being used by table fields.

What is a table pool in SAP?

Table pool (or pool) is used to combine several logical tables in the ABAP/4 Dictionary. The definition of a pool
consists of at least two key fields and a long argument field (VARDATA).

What is the difference between Structure and work area?

Structure and Work area have same functionality but structure is defined in data dictionary and can be used in both
program level and data dictionary, work area can only be used in program.

How data is stored in cluster table?

Each field of cluster table behaves as tables which contains the no. of entries.

What are client dependant objects in abap/sap?

SAP Script layout, text element, and some DDIC objects.

Can we create field without data element and how?

In SE11 one option is available above the fields strip. Data element/ direct type.
What are the difference between Table and Structure?

The major difference is , the Data Base tables hold the physical data where as Structures doesn't hold any data.

Can we have the same append structure in more then one Database Table ?

No, you can not have same append structure in more than one database table

DDIC Views - DDIC views is used to define application-dependent view that combines this data. The data from
several table can be viewed together. The table field which are not require can be hidden. The views are not
physically stored but are derived from one or more table.

Steps to Define Views


- Select the base tables of the views.
- Define the join condition to link these tables.
- Select the fields of the base tables.
- Optionally, you can also restrict the records in the views by putting conditions.

There are total four types of views, based on the way in which the view is implemented and the methods that are
permitted for accessing the view data. They are - Database Views, Projection Views, Maintenance Views, and
Helps Views,.

Among these four types of database views, only 'Database Views' implements INNER JOIN, rest all implements an
OUTER JOIN. The detail description of each views has been discussed further below.

You might also like