<?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: table and structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165517#M458499</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;&amp;lt;b&amp;gt;Tables:&amp;lt;/b&amp;gt;Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP Dictionary. The table definition is translated from the ABAP Dictionary to a definition of the particular database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Structure:&amp;lt;/b&amp;gt;A structure (structured type) comprises components (fields). Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures are used to define the data at the interface of module pools and screens and to define the parameter types of function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful or if it solves ur query.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chinmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 06:00:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T06:00:45Z</dc:date>
    <item>
      <title>table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165509#M458491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pl give me some useful information on a table and a structure. how r they different. why we use some times a table and sometimes a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165509#M458491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165510#M458492</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;The &amp;lt;b&amp;gt;structure&amp;lt;/b&amp;gt; that we create in program are workareas where we can store the data from internal tables.&lt;/P&gt;&lt;P&gt;They are similar to headerline of the internalt table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We declare structure using data statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab,&lt;/P&gt;&lt;P&gt; ebeln like ekpo-ebeln,&lt;/P&gt;&lt;P&gt; ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or we can declare a type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ttab,&lt;/P&gt;&lt;P&gt; ebeln like ekpo-ebeln,&lt;/P&gt;&lt;P&gt; ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;end of ttab.&lt;/P&gt;&lt;P&gt;data : itab type ttab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or the header lines of the table can be used as workarea which are structure which have the same type &lt;/P&gt;&lt;P&gt;and same name as that of table.&lt;/P&gt;&lt;P&gt;data : itab type ttab with header-line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;TABLE&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is use to store data. There are mainly 2 types of table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transparent and master table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just go thru this link f0r more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just go thorugh this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb35de358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb35de358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;'Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165510#M458492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165511#M458493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Table is used to store data with multiple records and exists in Database.&lt;/P&gt;&lt;P&gt;Structure basically doesn't store data , stores a record at run time, acting as a Work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the doc about different types of Tables&lt;/P&gt;&lt;P&gt;The following are the table types used in SAP :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I. 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;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;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. 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.&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;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, 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165511#M458493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165512#M458494</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;&lt;/P&gt;&lt;P&gt;Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use to store the permanent Values for the fields in the Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Values will be stored only at the Runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points if it helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sangeetha.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165512#M458494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165513#M458495</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;Tables: It will store data and have the relation with the underlaying database&lt;/P&gt;&lt;P&gt;Has Primary key and foreign key &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure: It don't have data and no relation with the database. &lt;/P&gt;&lt;P&gt;No key fields like primary keys and secondary keys. It contains components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In simple words Tables(has key relationships)can hold data whereas structure has just fields in it ( w/o keys ) and doesnt contain data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165513#M458495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165514#M458496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;        we can use  strcture for global existence.we can call the strcture in any program.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Database table&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined together with their (database-independent) data types and lengths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table definition in the ABAP Dictionary has the following components:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table fields: The field names and the data types of the fields contained in the table are defined here.&lt;/P&gt;&lt;P&gt;Foreign keys: The foreign keys define the relationships between this table and other tables.&lt;/P&gt;&lt;P&gt;Technical settings: The technical settings define how the table is created on the database.&lt;/P&gt;&lt;P&gt;Indexes: Indexes can be defined for the table to speed up data selection from the table.&lt;/P&gt;&lt;P&gt;There are three categories of database tables in the ABAP Dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A physical table definition is created in the database for the table definition stored in the ABAP Dictionary for transparent tables when the table is activated. The table definition is translated from the ABAP Dictionary to a definition of the particular database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, pooled tables and cluster tables are not created in the database. The data of these tables is stored in the corresponding table pool or table cluster. It is not necessary to create indexes and technical settings for pooled and cluster tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Structure&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;A structure (structured type) consists of components (fields) whose types are defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A component can have an elementary type, a structured type, a table type or a reference type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures are used especially to define the data at the interface of module pools and screens and to define the types of function module parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures that are used more than once can be changed centrally because they were defined centrall. The active ABAP Dictionary makes this change at all relevant locations. ABAP programs or screen templates that use a structure are automatically adjusted when the structure changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165514#M458496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165515#M458497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt; a table is a structure which can hold some data&lt;/P&gt;&lt;P&gt;where as a structure cannot hold data&lt;/P&gt;&lt;P&gt;table occupies  memory&lt;/P&gt;&lt;P&gt;structure does not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:56:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165515#M458497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165516#M458498</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;  Data Base Tables are used to store Permanent data in the Data base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Structures are used as work areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  When we run standard Transactions, data is populated to structures during run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;USR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 05:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165516#M458498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T05:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165517#M458499</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;&amp;lt;b&amp;gt;Tables:&amp;lt;/b&amp;gt;Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP Dictionary. The table definition is translated from the ABAP Dictionary to a definition of the particular database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Structure:&amp;lt;/b&amp;gt;A structure (structured type) comprises components (fields). Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures are used to define the data at the interface of module pools and screens and to define the parameter types of function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful or if it solves ur query.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chinmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165517#M458499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: table and structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165518#M458500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks to all.. this is a super fast forum.. tried my best to give points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-and-structure/m-p/2165518#M458500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:03:25Z</dc:date>
    </item>
  </channel>
</rss>

