<?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 internal table types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608022#M597954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;whn we are going to use standard , sorted  and harshed table...&lt;/P&gt;&lt;P&gt;wht are the examples for the same..&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;suprith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2007 11:12:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-25T11:12:30Z</dc:date>
    <item>
      <title>internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608022#M597954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;whn we are going to use standard , sorted  and harshed table...&lt;/P&gt;&lt;P&gt;wht are the examples for the same..&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;suprith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608022#M597954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608023#M597955</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;Check these: - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab009.htm" target="test_blank"&gt;http://www.sap-img.com/ab009.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab030.htm" target="test_blank"&gt;http://www.sap-img.com/ab030.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards Points for helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;hk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608023#M597955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608024#M597956</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;STANDARD TABLE or TABLE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For creating standard tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SORTED TABLE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For creating sorted tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;HASHED TABLE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For creating hashed tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fully-specified table types determine how the system will access the entries in the table in key operations. It uses a linear search for standard tables, a binary search for sorted tables, and a search using a hash algorithm for hashed tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF LINE,&lt;/P&gt;&lt;P&gt;COLUMN1 TYPE I,&lt;/P&gt;&lt;P&gt;COLUMN2 TYPE I,&lt;/P&gt;&lt;P&gt;COLUMN3 TYPE I,&lt;/P&gt;&lt;P&gt;END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES ITAB TYPE SORTED TABLE OF LINE WITH UNIQUE KEY COLUMN1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program defines a table type ITAB. It is a sorted table, with line type of the structure LINE and a unique key of the component COLUMN1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES VECTOR TYPE HASHED TABLE OF I WITH UNIQUE KEY TABLE LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF LINE,&lt;/P&gt;&lt;P&gt;COLUMN1 TYPE I,&lt;/P&gt;&lt;P&gt;COLUMN2 TYPE I,&lt;/P&gt;&lt;P&gt;COLUMN3 TYPE I,&lt;/P&gt;&lt;P&gt;END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES ITAB TYPE SORTED TABLE OF LINE WITH UNIQUE KEY COLUMN1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF DEEPLINE,&lt;/P&gt;&lt;P&gt;FIELD TYPE C,&lt;/P&gt;&lt;P&gt;TABLE1 TYPE VECTOR,&lt;/P&gt;&lt;P&gt;TABLE2 TYPE ITAB,&lt;/P&gt;&lt;P&gt;END OF DEEPLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES DEEPTABLE TYPE STANDARD TABLE OF DEEPLINE &lt;/P&gt;&lt;P&gt;WITH DEFAULT KEY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program defines a table type VECTOR with type hashed table, the elementary line type I and a unique key of the entire table line. The second table type is the same as in the previous example. The structure DEEPLINE contains the internal table as a component. The table type DEEPTABLE has the line type DEEPLINE. Therefore, the elements of this internal table are themselves internal tables. The key is the default key - in this case the column FIELD. The key is non-unique, since the table is a standard table. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;reward points for useful ans&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Aarti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608024#M597956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608025#M597957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all normal cases we go for standard&lt;/P&gt;&lt;P&gt;when we are about to use collect we go for sorted or indexed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608025#M597957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608026#M597958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See below link :&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&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 points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Srikanta Gope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608026#M597958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608027#M597959</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;From the following link you can download Abap Programing Complete Guide.  And in that document go to page no. 251.  You can get full details with examples of Internal tables.  The link is:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/ABAP_tutorial.html" target="test_blank"&gt;http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/ABAP_tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608027#M597959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608028#M597960</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;Standard Tables:&lt;/P&gt;&lt;P&gt;Standard tables have a linear index. You can access them using either the index or the key. If you use the key, the response time is in linear relationship to the number of table entries. The key of a standard table is always non-unique, and you may not include any specification for the uniqueness in the table definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table type is particularly appropriate if you want to address individual table entries using the index. This is the quickest way to access table entries. To fill a standard table, append lines using the (APPEND) statement. You should read, modify and delete lines by referring to the index (INDEX option with the relevant ABAP command). The response time for accessing a standard table is in linear relation to the number of table entries. If you need to use key access, standard tables are appropriate if you can fill and process the table in separate steps. For example, you can fill a standard table by appending records and then sort it. If you then use key access with the binary search option (BINARY), the response time is in logarithmic relation to&lt;/P&gt;&lt;P&gt;the number of table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted Tables:&lt;/P&gt;&lt;P&gt;Sorted tables are always saved correctly sorted by key. They also have a linear key, and, like standard tables, you can access them using either the table index or the key. When you use the key, the response time is in logarithmic relationship to the number of table entries, since the system uses a binary search. The key of a sorted table can be either unique, or non-unique, and you must specify either UNIQUE or NON-UNIQUE in the table definition. Standard tables and sorted tables both belong to the generic group index tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table type is particularly suitable if you want the table to be sorted while you are still adding entries to it. You fill the table using the (INSERT) statement, according to the sort sequence defined in the table key. Table entries that do not fit are recognised before they are inserted. The response time for access using the key is in logarithmic relation to the number of&lt;/P&gt;&lt;P&gt;table entries, since the system automatically uses a binary search. Sorted tables are appropriate for partially sequential processing in a LOOP, as long as the WHERE condition contains the beginning of the table key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed Tables:&lt;/P&gt;&lt;P&gt;Hashes tables have no internal linear index. You can only access hashed tables by specifying the key. The response time is constant, regardless of the number of table entries, since the search uses a hash algorithm. The key of a hashed table must be unique, and you must specify UNIQUE in the table definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table type is particularly suitable if you want mainly to use key access for table entries. You cannot access hashed tables using the index. When you use key access, the response time remains constant, regardless of the number of table entries. As with database tables, the key of a hashed table is always unique. Hashed tables are therefore a useful way of constructing and&lt;/P&gt;&lt;P&gt;using internal tables that are similar to database tables.&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;ravish&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608028#M597960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608029#M597961</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;Standard table&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;We recommend using standard tables if you plan to access your data through&lt;/P&gt;&lt;P&gt;an index &amp;#150; that is, when the sequence of the records is important and when&lt;/P&gt;&lt;P&gt;sorting and uniqueness are not essential. Sorting and binary search are&lt;/P&gt;&lt;P&gt;also available when using a standard table, but you have to program these&lt;/P&gt;&lt;P&gt;functions by hand.&lt;/P&gt;&lt;P&gt;Managing rankings is a typical example application.&lt;/P&gt;&lt;P&gt;Moreover, you will often have to use this table type in order to ensure&lt;/P&gt;&lt;P&gt;compatibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Sorted table&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you choose to use a sorted table, it will normally be because you want&lt;/P&gt;&lt;P&gt;to define a unique key. If you decide you need to sort the table or access&lt;/P&gt;&lt;P&gt;it using a binary search, you can always program these functions by hand,&lt;/P&gt;&lt;P&gt;like with standard tables. While hashed tables also provide unique keys, new&lt;/P&gt;&lt;P&gt;records are always added to sorted tables in the appropriate sort sequence.&lt;/P&gt;&lt;P&gt;Moreover, the initial dataset is set up more quickly.&lt;/P&gt;&lt;P&gt;Overall, if a table contains relatively few entries but has to deal with many&lt;/P&gt;&lt;P&gt;changing accesses, a sorted table can deliver better performance than a&lt;/P&gt;&lt;P&gt;hashed table.&lt;/P&gt;&lt;P&gt;A typical area of use here is the preparation and execution of mass database&lt;/P&gt;&lt;P&gt;changes. The most efficient way of doing this is to create a local copy of the&lt;/P&gt;&lt;P&gt;dataset in the program, make the changes to the copy, and then write all of its&lt;/P&gt;&lt;P&gt;data back to the database table. When you are dealing with large amounts of&lt;/P&gt;&lt;P&gt;data, this method both saves runtime and reduces the load on the database&lt;/P&gt;&lt;P&gt;server. Since the internal table represents a database table in this case, you&lt;/P&gt;&lt;P&gt;should use a unique key to ensure the records are unique as well. Automatic&lt;/P&gt;&lt;P&gt;sorting can also bring further advantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Hashed table&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The hash algorithm calculates the address of an entry directly, based on&lt;/P&gt;&lt;P&gt;the key. This means that, with larger tables, the access time is reduced&lt;/P&gt;&lt;P&gt;significantly compared to a binary search.&lt;/P&gt;&lt;P&gt;In a loop, however, a hashed table always has to be searched completely&lt;/P&gt;&lt;P&gt;(table scan). Because the records are usually distributed without any sorting,&lt;/P&gt;&lt;P&gt;a sorted table might deliver better performance after all if you loop over the&lt;/P&gt;&lt;P&gt;first part of the key, or it could even make sense to sort the hashed table.&lt;/P&gt;&lt;P&gt;Therefore, using this table type only makes sense when you have to store&lt;/P&gt;&lt;P&gt;large amounts of data locally for mostly read access. At the same time,&lt;/P&gt;&lt;P&gt;the key of the hashed table has to be designed to enable unique access with&lt;/P&gt;&lt;P&gt;the full key.&lt;/P&gt;&lt;P&gt;Accordingly, hashed tables are generally used for the following situations:&lt;/P&gt;&lt;P&gt;To buffer or compose large quantities of data from several different database&lt;/P&gt;&lt;P&gt;tables where Dictionary views or nested SELECT statements are not possible.&lt;/P&gt;&lt;P&gt;(Open SQL joins bypass the table buffer of the database interface anyway.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608029#M597961</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-25T11:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608030#M597962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Standard table means when you are refering existing or custom  table/structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table with header line.&lt;/P&gt;&lt;P&gt;data:itab like sflight occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data:begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        vbeln type vbap-vbeln,&lt;/P&gt;&lt;P&gt;        posnr type vbap-posnr,&lt;/P&gt;&lt;P&gt;         matnr type vbap-matnr,&lt;/P&gt;&lt;P&gt;        end of itab.      &lt;/P&gt;&lt;P&gt;types:begin of ty_tab,&lt;/P&gt;&lt;P&gt;         vbeln type vbap-vbeln,&lt;/P&gt;&lt;P&gt;        posnr type vbap-posnr,&lt;/P&gt;&lt;P&gt;         matnr type vbap-matnr,&lt;/P&gt;&lt;P&gt;        end of ty_tab.&lt;/P&gt;&lt;P&gt;Internal table with out headerline&lt;/P&gt;&lt;P&gt;data:itab type standard table of ty_tab.&lt;/P&gt;&lt;P&gt;data: x_tab type ty_tab. "work area&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;data:x_tab like line of itab.&lt;/P&gt;&lt;P&gt;sorted table ---&amp;gt;when you want to maintain records in a sorted order &lt;/P&gt;&lt;P&gt;data:itab type sorted table of mara with unique key matnr.&lt;/P&gt;&lt;P&gt;hashed table--&amp;gt;itab type hashed table of mara with unique key matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is similar to database table here we cannt access index we can do only read and processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608030#M597962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608031#M597963</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;Standard tables uses linear search while referring fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorted tables uses binary search it mainly used to sort bulk fields in ascending or descending order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed tables uses hash algorithms while referring fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608031#M597963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608032#M597964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whts the use of internal tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608032#M597964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608033#M597965</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 useWe use internal tables for various reasons,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mainly to get a local copy of the Data the we need from the Data base,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then say update the data and push it back to database or&lt;/P&gt;&lt;P&gt;say Insert inew data and push it onto the database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can also internal tables to share data between Say Calling program and a Funcion module being called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For displaying the data using ALV or TABLE CONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 04:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608033#M597965</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-26T04:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608034#M597966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi suprith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal tables are used for tempoprary storage. in report programing u can make changes directly to the database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so internal tables act as an intermeediate .first the values/ data is stored in internal table and then database  tables are modified through these internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;modify &amp;lt;database&amp;gt; from itab.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it clears ur doubt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 04:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608034#M597966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T04:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: internal table types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608035#M597967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Standard Internal Tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard tables have a linear index. You can access them using either the index or the key. If you use the key, the response time is in linear relationship to the number of table entries. The key of a standard table is always non-unique, and you may not include any specification for the uniqueness in the table definition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table type is particularly appropriate if you want to address individual table entries using the index. This is the quickest way to access table entries. To fill a standard table, append lines using the (APPEND) statement. You should read, modify and delete lines by referring to the index (INDEX option with the relevant ABAP command).  The response time for accessing a standard table is in linear relation to the number of table entries. If you need to use key access, standard tables are appropriate if you can fill and process the table in separate steps. For example, you can fill a standard table by appending records and then sort it. If you then use key access with the binary search option (BINARY), the response time is in logarithmic relation to &lt;/P&gt;&lt;P&gt;the number of table entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted Internal Tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted tables are always saved correctly sorted by key. They also have a linear key, and, like standard tables, you can access them using either the table index or the key. When you use the key, the response time is in logarithmic relationship to the number of table entries, since the system uses a binary search. The key of a sorted table can be either unique, or non-unique, and you must specify either UNIQUE or NON-UNIQUE in the table definition.  Standard tables and sorted tables both belong to the generic group index tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table type is particularly suitable if you want the table to be sorted while you are still adding entries to it. You fill the table using the (INSERT) statement, according to the sort sequence defined in the table key. Table entries that do not fit are recognised before they are inserted. The response time for access using the key is in logarithmic relation to the number of &lt;/P&gt;&lt;P&gt;table entries, since the system automatically uses a binary search. Sorted tables are appropriate for partially sequential processing in a LOOP, as long as the WHERE condition contains the beginning of the table key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed Internal Tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashes tables have no internal linear index. You can only access hashed tables by specifying the key. The response time is constant, regardless of the number of table entries, since the search uses a hash algorithm. The key of a hashed table must be unique, and you must specify UNIQUE in the table definition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table type is particularly suitable if you want mainly to use key access for table entries. You cannot access hashed tables using the index. When you use key access, the response time remains constant, regardless of the number of table entries. As with database tables, the key of a hashed table is always unique. Hashed tables are therefore a useful way of constructing and &lt;/P&gt;&lt;P&gt;using internal tables that are similar to database tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index Tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index table is only used to specify the type of generic parameters in a FORM or FUNCTION. That means that you can't create a table of type INDEX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal tables are not DB tables. Standard and Sorted tables in combined are basically called as Index tables and there nothing else. Here is the hierarchy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                 ANY TABLE &lt;/P&gt;&lt;P&gt;                                            | &lt;/P&gt;&lt;P&gt;                    -&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                     |                                                    | &lt;/P&gt;&lt;P&gt;             Index Tables                                    Hashed Table &lt;/P&gt;&lt;P&gt;                     |           &lt;/P&gt;&lt;P&gt;    -&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    |                                                     | &lt;/P&gt;&lt;P&gt;Standard Table                      Sorted Table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 04:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-types/m-p/2608035#M597967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T04:43:53Z</dc:date>
    </item>
  </channel>
</rss>

