<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Difference between Class Pool program and Interface Pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583908#M591065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transparent Table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exists with the same structure both in dictionary as well as in database exactly with the same data and fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" Pooled Table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" Cluster Table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" what is the major difference between Standard tables, Pooled tables and &lt;/P&gt;&lt;P&gt;" Clusterd Tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;. Transparent tables (BKPF, VBAK, VBAP, KNA1, COEP)&lt;/P&gt;&lt;P&gt;Allows secondary indexes (SE11-&amp;gt;Display Table-&amp;gt;Indexes) &lt;/P&gt;&lt;P&gt;Can be buffered (SE11-&amp;gt;Display Table-&amp;gt;technical settings) Heavily updated tables should not be buffered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II. Pool Tables (match codes, look up tables)&lt;/P&gt;&lt;P&gt;Should be accessed via primary key or &lt;/P&gt;&lt;P&gt;Should be buffered (SE11-&amp;gt;Display Table-&amp;gt;technical settings) &lt;/P&gt;&lt;P&gt;No secondary indexes &lt;/P&gt;&lt;P&gt;Select * is Ok because all columns retrieved anyway&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;III. Cluster Tables (BSEG,BSEC)&lt;/P&gt;&lt;P&gt;Should be accessed via primary key - very fast retrieval otherwise very slow &lt;/P&gt;&lt;P&gt;No secondary indexes &lt;/P&gt;&lt;P&gt;Select * is Ok because all columns retrieved anyway. &lt;/P&gt;&lt;P&gt;Performing an operation on multiple rows is more efficient than single row operations. &lt;/P&gt;&lt;P&gt;Therefore you still want to select into an internal table.&lt;/P&gt;&lt;P&gt;If many rows are being selected into the internal table, &lt;/P&gt;&lt;P&gt;you might still like to retrieve specific columns to cut down on the memory required. &lt;/P&gt;&lt;P&gt;Statistical SQL functions (SUM, AVG, MIN, MAX, etc) not supported &lt;/P&gt;&lt;P&gt;Can not be buffered &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IV. Buffered Tables (includes both Transparent &amp;amp; Pool Tables)&lt;/P&gt;&lt;P&gt;While buffering database tables in program memory (SELECT into internal table) is generally a good idea for performance, &lt;/P&gt;&lt;P&gt;it is not always necessary.&lt;/P&gt;&lt;P&gt;Some tables are already buffered in memory.&lt;/P&gt;&lt;P&gt;These are mostly configuration tables.&lt;/P&gt;&lt;P&gt;If a table is already buffered, then a select statement against it is very fast. &lt;/P&gt;&lt;P&gt;To determine if a table is buffered, choose the 'technical settings' soft button from the data dictionary &lt;/P&gt;&lt;P&gt;display of a table (SE12). Pool tables should all be buffered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More at this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transparent Table:&lt;/P&gt;&lt;P&gt;Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooled Table:&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster Table:&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.datamanagementgroup.com/Resources/Articles/Article_0106_2.asp" target="test_blank"&gt;http://www.datamanagementgroup.com/Resources/Articles/Article_0106_2.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cma.zdnet.com/book/abap/ch03/ch03.htm" target="test_blank"&gt;http://cma.zdnet.com/book/abap/ch03/ch03.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.techinterviews.com/?p=198" target="test_blank"&gt;http://www.techinterviews.com/?p=198&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2007 07:01:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-02T07:01:04Z</dc:date>
    <item>
      <title>Difference between Class Pool program and Interface Pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583904#M591061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both Class Pool program and an Interface Pool program indicate that the program contains interfaces that other programs can use globally. What exactly is the difference between them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 06:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583904#M591061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T06:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Class Pool program and Interface Pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583905#M591062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface Pools (J)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contain interfaces. Classes and interfaces are managed (administered)&lt;/P&gt;&lt;P&gt;in the Class Builder; program type J cannot be changed in the attributes.&lt;/P&gt;&lt;P&gt;it contains: propporties, intrefaces, attibutes, methods, events types, and aliases&lt;/P&gt;&lt;P&gt;where as class pools have : propporties, intrefaces, attibutes, methods, events types, and aliases&lt;/P&gt;&lt;P&gt;Interfaces &lt;/P&gt;&lt;P&gt;The components of a class are divided into visibility sections, and this forms the external point of contact between the class and its users. For example, the components of the public section form the public interface of the class, since all attributes and method parameters can be accessed by any user. The protected components form an interface between the class and those classes that inherit from it (subclasses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classes &lt;/P&gt;&lt;P&gt;The type of an object is known as its class. A class is an abstract representation, or, metaphorically speaking, a set of instructions for building objects. So that you can describe the properties of objects, classes contain components, which define the state and behavior of objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global and Local Classes &lt;/P&gt;&lt;P&gt;You can define classes globally in the class library in the repository or locally in an ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global classes are coded in a special ABAP program, a class pool, whereas local classes can be coded in almost every ABAP program. Global classes can be used and are visible in all ABAP programs, which is the case for local classes only in their own program. When a global class is used for the first time, the class pool is loaded into the internal mode of the user. The local classes of a class pool can be used by the pool's global classes.                                                                                &lt;/P&gt;&lt;P&gt;Class Pools (K)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contain interfaces. Classes and interfaces are managed (administered)&lt;/P&gt;&lt;P&gt;in the Class Builder; program type K cannot be changed in the attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 06:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583905#M591062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T06:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Class Pool program and Interface Pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583906#M591063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Interface program&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/64/be5b4150b38147e10000000a1550b0/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/64/be5b4150b38147e10000000a1550b0/frameset.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTERFACE programs are the ones which are run at regular intervals, say weekly, monthly or even daily. Here the legacy system continues to co-exist along with SAP system, the legacy system might be useful for certain functionalities but the data might have to run thru SAP transactions for complex data maintenance at regular intervals. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class Pools are nothing but creating CLASSes and INTERFACEs using the T Code SE24.&lt;/P&gt;&lt;P&gt;This needs little Java/OOPs concepts to create and use them&lt;/P&gt;&lt;P&gt;go through this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 06:57:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583906#M591063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T06:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Class Pool program and Interface Pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583907#M591064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Class is a description of an object, which contains both definition and implementation of methods which also includes interface methods.&lt;/P&gt;&lt;P&gt;In contrast, Interfaces contains only methods definition with signature but no methods implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can refer this link &lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm"&amp;gt;Class and Interface Pools&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 07:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583907#M591064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T07:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Class Pool program and Interface Pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583908#M591065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transparent Table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exists with the same structure both in dictionary as well as in database exactly with the same data and fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" Pooled Table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" Cluster Table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" what is the major difference between Standard tables, Pooled tables and &lt;/P&gt;&lt;P&gt;" Clusterd Tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;. Transparent tables (BKPF, VBAK, VBAP, KNA1, COEP)&lt;/P&gt;&lt;P&gt;Allows secondary indexes (SE11-&amp;gt;Display Table-&amp;gt;Indexes) &lt;/P&gt;&lt;P&gt;Can be buffered (SE11-&amp;gt;Display Table-&amp;gt;technical settings) Heavily updated tables should not be buffered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II. Pool Tables (match codes, look up tables)&lt;/P&gt;&lt;P&gt;Should be accessed via primary key or &lt;/P&gt;&lt;P&gt;Should be buffered (SE11-&amp;gt;Display Table-&amp;gt;technical settings) &lt;/P&gt;&lt;P&gt;No secondary indexes &lt;/P&gt;&lt;P&gt;Select * is Ok because all columns retrieved anyway&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;III. Cluster Tables (BSEG,BSEC)&lt;/P&gt;&lt;P&gt;Should be accessed via primary key - very fast retrieval otherwise very slow &lt;/P&gt;&lt;P&gt;No secondary indexes &lt;/P&gt;&lt;P&gt;Select * is Ok because all columns retrieved anyway. &lt;/P&gt;&lt;P&gt;Performing an operation on multiple rows is more efficient than single row operations. &lt;/P&gt;&lt;P&gt;Therefore you still want to select into an internal table.&lt;/P&gt;&lt;P&gt;If many rows are being selected into the internal table, &lt;/P&gt;&lt;P&gt;you might still like to retrieve specific columns to cut down on the memory required. &lt;/P&gt;&lt;P&gt;Statistical SQL functions (SUM, AVG, MIN, MAX, etc) not supported &lt;/P&gt;&lt;P&gt;Can not be buffered &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IV. Buffered Tables (includes both Transparent &amp;amp; Pool Tables)&lt;/P&gt;&lt;P&gt;While buffering database tables in program memory (SELECT into internal table) is generally a good idea for performance, &lt;/P&gt;&lt;P&gt;it is not always necessary.&lt;/P&gt;&lt;P&gt;Some tables are already buffered in memory.&lt;/P&gt;&lt;P&gt;These are mostly configuration tables.&lt;/P&gt;&lt;P&gt;If a table is already buffered, then a select statement against it is very fast. &lt;/P&gt;&lt;P&gt;To determine if a table is buffered, choose the 'technical settings' soft button from the data dictionary &lt;/P&gt;&lt;P&gt;display of a table (SE12). Pool tables should all be buffered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More at this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transparent Table:&lt;/P&gt;&lt;P&gt;Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooled Table:&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster Table:&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.datamanagementgroup.com/Resources/Articles/Article_0106_2.asp" target="test_blank"&gt;http://www.datamanagementgroup.com/Resources/Articles/Article_0106_2.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cma.zdnet.com/book/abap/ch03/ch03.htm" target="test_blank"&gt;http://cma.zdnet.com/book/abap/ch03/ch03.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.techinterviews.com/?p=198" target="test_blank"&gt;http://www.techinterviews.com/?p=198&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 07:01:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-class-pool-program-and-interface-pool-program/m-p/2583908#M591065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T07:01:04Z</dc:date>
    </item>
  </channel>
</rss>

