Skip to Content
author's profile photo Former Member
Former Member

what are different types of tables?

hi,

this is i have faced an interview question.plz give answer.

regards,

balaram.

Add a comment
10|10000 characters needed characters exceeded

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2007 at 03:54 AM

    Hi

    The tables may be

    <b>

    I. Transparent tables (BKPF, VBAK, VBAP, KNA1, COEP)</b>

    • Allows secondary indexes (SE11->Display Table->Indexes)

    • Can be buffered (SE11->Display Table->technical settings) Heavily updated tables should not be buffered.

    <b>

    II. Pool Tables (match codes, look up tables)</b>

    • Should be accessed via primary key or

    • Should be buffered (SE11->Display Table->technical settings)

    • No secondary indexes

    • Select * is Ok because all columns retrieved anyway

    <b>

    III. Cluster Tables (BSEG,BSEC)</b>

    • Should be accessed via primary key - very fast retrieval otherwise very slow

    • No secondary indexes

    • Select * is Ok because all columns retrieved anyway. Performing an operation on multiple rows is more efficient than single row operations. Therefore you still want to select into an internal table. If many rows are being selected into the internal table, you might still like to retrieve specific columns to cut down on the memory required.

    • Statistical SQL functions (SUM, AVG, MIN, MAX, etc) not supported

    • Can not be buffered

    <b>

    IV. Buffered Tables (includes both Transparent & Pool Tables)</b>

    While buffering database tables in program memory (SELECT into internal table) is generally a good idea for performance, it is not always necessary. Some tables are already buffered in memory. These are mostly configuration tables. If a table is already buffered, then a select statement against it is very fast. To determine if a table is buffered, choose the 'technical settings' soft button from the data dictionary display of a table (SE12). Pool tables should all be buffered.

    Different" target="_blank">http://www.sap-img.com/abap/what-are-different-types-of-internal-tables-and-their-usage.htm">Different Types Of Internal Tables

    Different" target="_blank">http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm">Different Types of SAP Tables

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2007 at 04:05 AM

    HI Balaram

    Transparent Table : Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.

    Pooled Table : Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data. Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.

    Cluster Table : Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation.

    Difference between Standard tables, Pooled tables and Clusterd Tables ?

    A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.

    Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.

    A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.

    One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.

    But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.

    All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.

    Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10) cluster table.

    For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.

    A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.

    A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables.

    Reward if it is useful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2007 at 04:28 AM

    Dear balaram reddy,

    The Different Types of SAP Tables

    What is transparent, cluster and pool table? Where and when we use these tables?

    Transparent Table : Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.

    Pooled Table : Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data. Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.

    Cluster Table : Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation.

    Could anyone tell me what is the major difference between Standard tables, Pooled tables and Clusterd Tables?

    A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.

    Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.

    A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.

    One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.

    But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.

    All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.

    Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10) cluster table.

    For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.

    A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.

    A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables.

    A small search on SDN SD forum will help you to answer your query.

    I will suggest you to visit http://sap-img.com/sap-sd.htm. It will give you the overview of SAP SD module.

    Moreover there is a separate section of FAQs with answers which will help you in great deal.

    Hope this helps you.

    Do award points if you found them useful.

    Regards,

    Rakesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 03:19 PM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 05:45 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2007 at 05:41 AM

    Hi,

    1. Transparent tables

    2. Pooled tables

    3. Cluster tables

    reward points if solution helps.

    regards,

    Allabaqsh G. Patil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 10, 2015 at 07:28 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.