<?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 declarations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declarations/m-p/2824833#M660905</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;please see these declarations, also in debugging screen, I see differentely &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_mara like mara,                                                         &lt;/P&gt;&lt;P&gt;          it1_mara like standard table of mara,&lt;/P&gt;&lt;P&gt;          it2_mara like standard table of mara with header line,&lt;/P&gt;&lt;P&gt;          it3_mara like mara occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any difference in it2_mara and it3_mara, which is the right way to declare in modern ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I have noted that technically we should say internal table only when it is having a header line, Is this right ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I see table ICON in debugging only ITAB with header line only, some times it just say 'Table [initial]' and some time is show values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how is the difference, please let me know. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2007 15:04:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-21T15:04:40Z</dc:date>
    <item>
      <title>internal table declarations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declarations/m-p/2824833#M660905</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;please see these declarations, also in debugging screen, I see differentely &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_mara like mara,                                                         &lt;/P&gt;&lt;P&gt;          it1_mara like standard table of mara,&lt;/P&gt;&lt;P&gt;          it2_mara like standard table of mara with header line,&lt;/P&gt;&lt;P&gt;          it3_mara like mara occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any difference in it2_mara and it3_mara, which is the right way to declare in modern ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I have noted that technically we should say internal table only when it is having a header line, Is this right ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I see table ICON in debugging only ITAB with header line only, some times it just say 'Table [initial]' and some time is show values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how is the difference, please let me know. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 15:04:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declarations/m-p/2824833#M660905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T15:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: internal table declarations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declarations/m-p/2824834#M660906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct form should be this one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: it1_mara type standard table of mara.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;with header line&amp;lt;/i&amp;gt; and &amp;lt;i&amp;gt;occurs 0&amp;lt;/i&amp;gt; are forbidden on OO ABAP...Internal tables shouldn't have header lines...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When &amp;lt;i&amp;gt;Initial&amp;lt;/i&amp;gt; it's because there's no record inside the table...Also, it have been created but nothing attached to it -:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 15:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declarations/m-p/2824834#M660906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: internal table declarations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declarations/m-p/2824835#M660907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OCCURS 0 specifies that it is an internal table which as 0 lines allocated to memory, and the HEADER LINE, means that there is an implicit header line or work area, so you do not need to create a separate explicit workarea in which to read the data into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in simple words.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;occurs provide initial memory... if u want to give more memory then occurs 1 or 2 or 3 also u can give..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with header line.. with it provides a work area which u dont need to create again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 15:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-declarations/m-p/2824835#M660907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T15:10:55Z</dc:date>
    </item>
  </channel>
</rss>

