<?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: Internal Tables!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571492#M859645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can do That&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_BSID,&lt;/P&gt;&lt;P&gt;      BUKRS LIKE BSID-BUKRS,&lt;/P&gt;&lt;P&gt;      KUNNR LIKE BSID-KUNNR,&lt;/P&gt;&lt;P&gt;      PSWBT LIKE BSID-PSWBT,&lt;/P&gt;&lt;P&gt;END OF TY_BSID&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, 26 Mar 2008 07:31:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-26T07:31:50Z</dc:date>
    <item>
      <title>Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571471#M859624</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;&lt;/P&gt;&lt;P&gt;I have a concern on the declaration of Internal tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my knowledge, i can declare the internal table in the following ways :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Data : Begin of Internal table name occurs 0,&lt;/P&gt;&lt;P&gt;              field 1, field 2, field 3...&lt;/P&gt;&lt;P&gt;             End of Internal table name.&lt;/P&gt;&lt;P&gt;2. Types : Begin of structure name,&lt;/P&gt;&lt;P&gt;                field names,&lt;/P&gt;&lt;P&gt;                end of structure name.&lt;/P&gt;&lt;P&gt;    Data : Internal table name type standard table of structure name,&lt;/P&gt;&lt;P&gt;              workarea type internal table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now can I create a Internal table without DATA statement directly i.e., by using Types statement can i create a Internal table or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:40:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571471#M859624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571472#M859625</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;Yes you can do that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types  : begin of &amp;lt;str&amp;gt;,
              fld1,
              fld2,
              fld3,
            end of &amp;lt;str&amp;gt;.

data itab *type* str occurs o with header line.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only use like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the difference is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA -&amp;gt; LIKE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TYPES -&amp;gt; TYPE&lt;/STRONG&gt;&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;V.Balaji&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, 26 Mar 2008 05:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571472#M859625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571473#M859626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Types mean indicating the characteristic of the data.  Only if u create a data variable you can hold data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571473#M859626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571474#M859627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;
By using TYPE statement we are not actually creating internal table, it is like defining the structure. We use the definition later and define internal table with DATA statement. 

Memory allocation happens only with variables are defined with DATA statement.

&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:44:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571474#M859627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571475#M859628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;        By using types u declare the structure that cant contain data,  means it doesn't have body or hat for containig  data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that u have to define using data statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if doubt is clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571475#M859628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571476#M859629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes u can, see the below example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_lfa1         ,&lt;/P&gt;&lt;P&gt;         lifnr TYPE lfa1-lifnr   ,&lt;/P&gt;&lt;P&gt;         name1 TYPE lfa1-name1   ,&lt;/P&gt;&lt;P&gt;        END OF ty_lfa1  .&lt;/P&gt;&lt;P&gt;DATA : i_lfa1 TYPE STANDARD TABLE OF ty_lfa1   ,&lt;/P&gt;&lt;P&gt;          w_lfa1 TYPE ty_lfa1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:45:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571476#M859629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571477#M859630</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;U &lt;STRONG&gt;cannot&lt;/STRONG&gt; create any data-obj using only types statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u hav to either use &lt;STRONG&gt;data / create data&lt;/STRONG&gt; statements......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571477#M859630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571478#M859631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you cannot  create internal tables without using data.you can create structure by using types then you write data  for creating internal table for that structure.&lt;/P&gt;&lt;P&gt;for example...&lt;/P&gt;&lt;P&gt;*................structure declaration&lt;/P&gt;&lt;P&gt;types:begin of st_kna1,&lt;/P&gt;&lt;P&gt;         kunnr type kunnr,&lt;/P&gt;&lt;P&gt;         name1 type name1_gp,&lt;/P&gt;&lt;P&gt;         land1 type land1_gp,&lt;/P&gt;&lt;P&gt;         end of st_kna1.&lt;/P&gt;&lt;P&gt;*...............work area , internal table declaration&lt;/P&gt;&lt;P&gt;data:wa_kna1 type st_kna1,&lt;/P&gt;&lt;P&gt;       it_kna1 type standard table of st_kna1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571478#M859631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571479#M859632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes u can create an internal table using TYPES.Try below &lt;/P&gt;&lt;P&gt;statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES BEGIN OF struc_type. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;     {TYPES dtype ...} | {INCLUDE {TYPE|STRUCTURE} ...}. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;  TYPES END OF struc_type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:49:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571479#M859632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571480#M859633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when using Types it is considered as &lt;STRONG&gt;local Data type or local&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;structured Data Type&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can create structure type with Types statment&lt;/P&gt;&lt;P&gt;and cannot create an internal table with Types declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Types&lt;/STRONG&gt;:begin of str,-----&amp;gt;Local Structure type&lt;/P&gt;&lt;P&gt;          f1&lt;/P&gt;&lt;P&gt;          f2&lt;/P&gt;&lt;P&gt;         end of str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:itab type table of str &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;begin of str, -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&amp;gt;Data Object&lt;/P&gt;&lt;P&gt;          f1&lt;/P&gt;&lt;P&gt;          f2&lt;/P&gt;&lt;P&gt;         end of str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:itab like table of str .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571480#M859633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571481#M859634</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;yes u can do it man...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES  : BEGIN OF ty_itab,&lt;/P&gt;&lt;P&gt;          bukrs         LIKE bkpf-bukrs,&lt;/P&gt;&lt;P&gt;          gjahr          LIKE bkpf-gjahr,&lt;/P&gt;&lt;P&gt;          monat        LIKE bkpf-monat,&lt;/P&gt;&lt;P&gt;          blart           LIKE bkpf-blart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF  ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA    : it_itab TYPE STANDARD TABLE OF ty_itab,&lt;/P&gt;&lt;P&gt;               wa_itab TYPE ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab is the working aria....&lt;/P&gt;&lt;P&gt;it_itab is the internal table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;nawa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571481#M859634</guid>
      <dc:creator>Nawanandana</dc:creator>
      <dc:date>2008-03-26T05:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571482#M859635</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;So i can create an Internal table with out Data statement.am i correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571482#M859635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571483#M859636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when using &lt;STRONG&gt;types statment&lt;/STRONG&gt; and declare it is not considered as&lt;/P&gt;&lt;P&gt;internal table it is a structure type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when using &lt;STRONG&gt;Types it is considered as local Data type&lt;/STRONG&gt; or local &lt;/P&gt;&lt;P&gt;structured Data Type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can create structure type with Types statment&lt;/P&gt;&lt;P&gt;and cannot create an internal table with Types declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Types&lt;/STRONG&gt;:begin of str,-----&amp;gt;Local Structure type&lt;/P&gt;&lt;P&gt;f1&lt;/P&gt;&lt;P&gt;f2&lt;/P&gt;&lt;P&gt;end of str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:itab type table of str &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;begin of str, -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&amp;gt;Data Object&lt;/P&gt;&lt;P&gt;f1&lt;/P&gt;&lt;P&gt;f2&lt;/P&gt;&lt;P&gt;end of str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:itab like table of str .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571483#M859636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571484#M859637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U have to use Data statement to create an internal table ..&lt;/P&gt;&lt;P&gt;Using types UR just declaring the structure .. and not internal table ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 06:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571484#M859637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T06:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571485#M859638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still i have the following concern: see, when ever we use occurs statement then it indicates Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here if we use Types and Data statment, we are not using occurs statement. then how do we know whether this is an internal table or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types : Begin of Structure,&lt;/P&gt;&lt;P&gt;            fields,&lt;/P&gt;&lt;P&gt;            End of Structure.&lt;/P&gt;&lt;P&gt;Data : Internal table type table type of structure.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;here in the above statement, we are not using the occurs statement. now how the system is allocating the memory to the table? Please clarify/.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 06:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571485#M859638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T06:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571486#M859639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Yes , You Can. Read the Following :&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Creating Internal Table Data Types&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create an internal table data type, you use the TYPES statement  as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES &amp;lt;t&amp;gt; &amp;lt;type&amp;gt; OCCURS &amp;lt;n&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This creates an internal table data type &amp;lt;t&amp;gt; by using the OCCURS option of the TYPES statement. The lines of the internal table have the data type specified in &amp;lt;type&amp;gt;. To specify the data type of the lines, you can use either the TYPE or the LIKE parameter. &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: 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;TYPES ITAB TYPE LINE OCCURS 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example creates an internal table data type ITAB which has lines with the same structure as the field string LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Point if Useful.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 06:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571486#M859639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T06:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571487#M859640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;
Considering your example:
&lt;PRE&gt;&lt;CODE&gt;Types : Begin of Structure,   " Just a plain Definition
            fields,
        End of Structure.
Data : Internal table type table type of structure." Internal table declaration. Note the TYPE TABLE in the definition
DATA: WA type structure. " This is like the Work Area/ Header  &lt;/CODE&gt;&lt;/PRE&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 06:14:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571487#M859640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T06:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571488#M859641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when Using types statment it donot have any memory space allocated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while using Data:itab like or type table of structure. or occurs 0 it is considered as an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;occurs 0 ---used for internal table with header line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; like or type table of structure--&amp;gt;used for without header line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here only memory is allocated. not during Types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 06:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571488#M859641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T06:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571489#M859642</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;see &lt;STRONG&gt;data&lt;/STRONG&gt; statement is mandatory to declare an int-table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) data : begin of itab &lt;STRONG&gt;occurs 0&lt;/STRONG&gt; ,&lt;/P&gt;&lt;P&gt;             ............&lt;/P&gt;&lt;P&gt;             end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) data   itab &lt;STRONG&gt;type table of&lt;/STRONG&gt; srtuc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) data   itab type tab_type.  ( here tab_type is a &lt;STRONG&gt;table type&lt;/STRONG&gt; ex 'SOLI_TAB'  see this in SE11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check the syntax of &lt;STRONG&gt;create data&lt;/STRONG&gt; statement in keyword help F1.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 06:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571489#M859642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T06:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571490#M859643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes but best way to do this is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_ekko,&lt;/P&gt;&lt;P&gt;       bukrs TYPE bukrs,&lt;/P&gt;&lt;P&gt;       lifnr TYPE lifnr,&lt;/P&gt;&lt;P&gt;       rlwrt TYPE rlwrt,&lt;/P&gt;&lt;P&gt;       ebeln TYPE ebeln,&lt;/P&gt;&lt;P&gt;       aedat TYPE aedat,&lt;/P&gt;&lt;P&gt;  END OF t_ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: w_ekko TYPE t_ekko,&lt;/P&gt;&lt;P&gt;      i_ekko TYPE TABLE OF t_ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will improve ur efficiency.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 06:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3571490#M859643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T06:23:23Z</dc:date>
    </item>
  </channel>
</rss>

