<?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 Tabletype and Structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952500#M696295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Structures (structured types)&lt;/P&gt;&lt;P&gt;Structured types describe the structure and functions of any structured data objects, that is of data structures with components of any type.&lt;/P&gt;&lt;P&gt;A component can be a field with an elementary type or can itself be a structure. A table can also be used as a component in a structure.&lt;/P&gt;&lt;P&gt;A database table always has a structure and is therefore implicitly a structured type. However, the fields of a database table can only have an elementary type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table types&lt;/P&gt;&lt;P&gt;Table types describe the structure and functions of internal tables in the ABAP program. Their rows can have any row type. Table types with elementary row type therefore can be defined just the same as multi-dimensional table types (table types with a table type as row type) or table types using structures with table-like components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a simple words,&lt;/P&gt;&lt;P&gt;Structure is just a flat structure but Table type is an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code how to use them to create internal table:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create Internal table from a structure:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: IT_DATA TYPE STANDART TABLE OF Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create Internal table from a table type:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: IT_DATA TYPE table_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;gokul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2007 16:02:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-24T16:02:09Z</dc:date>
    <item>
      <title>Difference between Tabletype and Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952499#M696294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;Can anyone please tell me the difference between a Tabletype and a Structure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 15:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952499#M696294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T15:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Tabletype and Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952500#M696295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Structures (structured types)&lt;/P&gt;&lt;P&gt;Structured types describe the structure and functions of any structured data objects, that is of data structures with components of any type.&lt;/P&gt;&lt;P&gt;A component can be a field with an elementary type or can itself be a structure. A table can also be used as a component in a structure.&lt;/P&gt;&lt;P&gt;A database table always has a structure and is therefore implicitly a structured type. However, the fields of a database table can only have an elementary type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table types&lt;/P&gt;&lt;P&gt;Table types describe the structure and functions of internal tables in the ABAP program. Their rows can have any row type. Table types with elementary row type therefore can be defined just the same as multi-dimensional table types (table types with a table type as row type) or table types using structures with table-like components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a simple words,&lt;/P&gt;&lt;P&gt;Structure is just a flat structure but Table type is an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code how to use them to create internal table:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create Internal table from a structure:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: IT_DATA TYPE STANDART TABLE OF Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create Internal table from a table type:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: IT_DATA TYPE table_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;gokul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 16:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952500#M696295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T16:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Tabletype and Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952501#M696296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prathiba..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure : It is a Data type used to define a stuctured data object like Work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: WA1 TYPE &amp;lt;STRUCTURE&amp;gt;.  "this will create a Work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Type:It is a Data type used to define a Internal data object. It will store all the attributes to define an internal table, such as Table type, Key fields etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: it1 TYPE &amp;lt;table type&amp;gt;.  "this will create a Internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF HELPFUL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 04:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952501#M696296</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-10-25T04:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Tabletype and Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952502#M696297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratibha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.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>Fri, 26 Oct 2007 10:58:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-tabletype-and-structure/m-p/2952502#M696297</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2007-10-26T10:58:33Z</dc:date>
    </item>
  </channel>
</rss>

